Apache OpenOffice (AOO) Bugzilla – Issue 18525
WW8: Add paragraph spacing at top of pages isn't exactly equivalent to what word does
Last modified: 2017-05-20 11:19:51 UTC
Normal cases: Do Use HTML autospacing (default) With an explicit before after spacing value applied in this mode the spacing added to tops of pages in word works like... 1. Adds spacing to the top of the first page 2. Does not add spacing after an implied page break 3. Does not add spacing after an explicit page break Don't Use HTML autospacing With an explicit before after spacing value applied in this mode the spacing added to tops of pages in word works like... 1. Adds spacing to the top of the first page 2. Does not add spacing after an implied page break 3. Adds spacing after an explicit page break Special case of "auto" before/after on a paragraph: Do Use HTML autospacing (default) With an "auto" before after spacing value applied in this mode the spacing added to tops of pages in word works like... 1. Does not add spacing to the top of the first page (c.1: special case) 2. Does not add spacing after an implied page break 3. Does not add spacing after an explicit page break And the auto value equates to 14points Don't Use HTML autospacing With an "auto" before after spacing value applied in this mode the spacing added to tops of pages in word works like... 1. Adds spacing to the top of the first page 2. Does not add spacing after an implied page break 3. Adds spacing after an explicit page break And the auto value equates to 5points So I think that spacing is a) never put at the top of a normal page which exists because of an implied page break. b) put at the top of a page after an explicit page break only in "don't use html autospacing" (add spacing between paragraphs) mode c) always put at the top of the first page, except for one special case... c.1) if the spacing happens to be "auto before" and the mode is "do use html autospacing" and its the top of the first page the value of "auto" is 0
Created attachment 8661 [details] Example 1
Created attachment 8662 [details] Example 2
Created attachment 8663 [details] Example 3
Created attachment 8664 [details] Example 4
cmc->ama: When word allows or doesn't allow spacing at the top of a page seems a little complex and depends on a compatability option, what do you think ? Point c.1 above could be handled in the filter as a special case, and the different value used for "auto" spaced paragraphs is also possible i n the filter e.g. issue 18519. But for the rest of it...
I think we have to create at least another compatibility flag. Do you have a similiar analysis for the paragraph distances in textboxes and in table cells?
Performing some further investigations: (1) Influence of option "Suppress space before after a hard page or column break" on the given example documents: No spacing after an explicit page break, if "Don't use HTML autospacing". Thus, rule b) has to be adjusted to <put at the top of a page after an explicit page break only in "don't use html autospacing" (add spacing between paragraphs) mode and "don't suppress space before after a hard page or column break">. (2) Paragraph spacing in table cells: Space before/after the paragraph is always add, even if the table starts at the top of a page because of a implicit/explicit page break. Exception: The amount of "auto" is 0 at the top of the first paragraph and the bottom of the last paragraph in a table cell, if "Don't use HTML auto spacing".
Because of a shortage of resources. New Target "OOo Later".
ama->hbrinkm: Yet another open filter issue...
Reset assigne to the default "issues@openoffice.apache.org".