https://bugs.documentfoundation.org/show_bug.cgi?id=133507
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=15 | |5813 --- Comment #6 from Justin L <[email protected]> --- A simple patch to correct the problem is at https://gerrit.libreoffice.org/c/core/+/153033. The question is whether to just fix the implementation problem, or to create a compat flag to handle any possible documents created since 3.6. The full spec is: 20.255 style:contextual-spacing The fo:margin-bottom attribute of a paragraph and the fo:margin-top attribute of the next paragraph are ignored, so that the space between the paragraphs is zero, if all of the following conditions hold: • The style:contextual-spacing attribute of both paragraphs has the value true. • The paragraphs belong to the same content area. • The text:style-name attribute of the paragraphs refer to the same common paragraph style. In case a text:style-name attribute refers to an automatic style, the value of the style:parent-style-name attribute of the automatic style is taken for the style comparison. If a paragraph has a conditional style, the value of its text:cond-style-name attribute is taken for the style comparison. Our code really does nothing intentional about attempting to define "different content areas". It looks like it is simply based on one TEXTFRAME following another. (see bug 75221, which also references the 3.6 commits) Based on an MSO example, it suggests that they also don't have extremely intentional areas where it does or does not apply either. - at the beginning of the document, the upper spacing is applied (LO OK) - however the lower spacing is not applied at document end (LO OK). - the upper spacing is not applied after a table (LO applies it), - but lower spacing is applied before a table (LO OK). - upper spacing is applied at the beginning of a table cell (LO OK) - but lower spacing is not applied at the end of a table cell. (bug 155813) - at section breaks, both upper and lower apply (LO merges like everywhere else) - upper spacing is applied to header top (LO OK), - and lower spacing is applied to header bottom. (bug 128195) -- You are receiving this mail because: You are the assignee for the bug.
