[composer] Allow user to set maximum distance for page breaking in html items.
[composer] Fix smart page breaks not being applied to html items when first calculating new frames