diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-04-30 14:31:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-04-30 14:58:22 +0200 |
commit | 284b421f40078275e5e647a4f7e82e4ef7fec6a7 (patch) | |
tree | e3ae8d4a13801f9740ea3e569690bb3c01a31f21 /sw/source/filter/html/wrthtml.hxx | |
parent | 9a482b4ea49c3ce964de4c0f81d8d3206ac75dc8 (diff) |
fdo#41796: sw: HTML: spurious semicolons in STYLE:
The STYLE attributes on TD elements (except for the first) start with a
spurious semicolon, because the bFirstCSS1Prop variable is not reset.
Apparently the semicolon is a separator in STYLE attributes, so it is
probably invalid to write a spurious one, but Mozilla can still render
the borders right, so add a workaround to CSS1Parser::ParseStyleOption
to skip initial semicolons.
Fix the export by using the SwCSS1OutMode to set the mode (also turning
on encoding while at it), which is the only way to reset bFirstCSS1Prop.
(regression from d18feffd49f4481626417daac7984b2a7e70c3bf)
Diffstat (limited to 'sw/source/filter/html/wrthtml.hxx')
-rw-r--r-- | sw/source/filter/html/wrthtml.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx index 96e2d06ef2ec..9ebbb2692b4d 100644 --- a/sw/source/filter/html/wrthtml.hxx +++ b/sw/source/filter/html/wrthtml.hxx @@ -406,6 +406,7 @@ public: rtl::OString OutFrmFmtOptions( const SwFrmFmt& rFrmFmt, const String& rAltTxt, sal_uInt32 nFrmOpts, const rtl::OString& rEndTags = rtl::OString() ); void OutCSS1_TableFrmFmtOptions( const SwFrmFmt& rFrmFmt ); + void OutCSS1_TableCellBorderHack(const SwFrmFmt& rFrmFmt); void OutCSS1_SectionFmtOptions( const SwFrmFmt& rFrmFmt ); void OutCSS1_FrmFmtOptions( const SwFrmFmt& rFrmFmt, sal_uInt32 nFrmOpts, const SdrObject *pSdrObj=0, |