https://bugs.freedesktop.org/show_bug.cgi?id=61479
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|medium |high Summary|DOCX style inheritance not |DOCX style inheritance not |respecting pageBreakBefore |respecting style attributes |being turned off |being turned off --- Comment #7 from [email protected] --- Changing the title on this one and upping the importance. It seems that any style attributes that are inherited and are then over-written are ignored. Another simple test case is attached where: Style 1 is bold Style 2 is based on style one but is not bold in this case, Style 2, still renders bold. This effect is most dramatic when effects like borders, page breaks, all caps etc. are used - the document can really render badly. Style inheritance is a best practice in Word too - same reasons we do so in CSS. In the latest test case, the DOCX style definitions look like this: <w:style w:customStyle="1" w:styleId="Style1" w:type="paragraph"> <w:name w:val="Style1"/> <w:basedOn w:val="Normal"/> <w:qFormat/> <w:rsid w:val="002C755C"/> <w:rPr> <w:b/> <w:lang w:val="en-US"/> </w:rPr> </w:style> <w:style w:customStyle="1" w:styleId="Style2" w:type="paragraph"> <w:name w:val="Style2"/> <w:basedOn w:val="Style1"/> <w:qFormat/> <w:rsid w:val="002C755C"/> <w:rPr> <w:b w:val="0"/> </w:rPr> </w:style> -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
