https://bugs.documentfoundation.org/show_bug.cgi?id=156155
Bug ID: 156155
Summary: Writer frame styles don't export draw:fill="none" to
ODF
Product: LibreOffice
Version: 24.2.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Blocks: 156093
The SwDoc::mpDfltFrameFormat contains some items that are set in SwDoc
constructor:
mpDfltFrameFormat->SetFormatAttr(XFillStyleItem(drawing::FillStyle_NONE));
// prevent paragraph default margins being applied to everything
mpDfltFrameFormat->SetFormatAttr(SvxULSpaceItem(RES_UL_SPACE));
mpDfltFrameFormat->SetFormatAttr(SvxLRSpaceItem(RES_LR_SPACE));
now the margins shouldn't matter but the fill style causes a problem:
the pool default (which is exported to ODF as default style, family "graphic")
has a fill colour, while the Writer flys are by default transparent (that's
why the item is set in the mpDfltFrameFormat).
but the problem is, the XFillStyleItem from mpDfltFrameFormat is never exported
to ODF.
so a ODF consumer may apply the fill colour from the default style to the
Writer flys; this is what happens in bug 156093.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=156093
[Bug 156093] XHTML-Export: White background of caption will be shown as blue
background
--
You are receiving this mail because:
You are the assignee for the bug.