diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2013-11-27 12:40:59 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2013-12-04 18:52:03 +0100 |
commit | 9e47df8fd7c3cb1dcf556e009cec2d37b928d9b0 (patch) | |
tree | 990df0689fcf26555d1067a79069e4d6bfbda552 /sw/source/filter/ww8/ww8attributeoutput.hxx | |
parent | 0fa60a7f5c1d3510c4fe1ea3d2a51527baf102bc (diff) |
fdo#64232: Save font theme attributes back to the docx
Font theme attributes were saved to an InteropGrabBag on import, and
they have to be saved back to the document when exporting to docx.
If the user modified the font in a text fragment during edition, the
theme attribute should be discarded in favour of the font attribute.
The attributes in the grab bag are processed in the last place so we
can compare the font attributes with the original fonts to know if
they have changed.
Change-Id: I2502b4aa96213e74b46fccd1a20f99421f7cf98b
Diffstat (limited to 'sw/source/filter/ww8/ww8attributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/ww8attributeoutput.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8attributeoutput.hxx b/sw/source/filter/ww8/ww8attributeoutput.hxx index cea26ef2147b..ef844ea7273b 100644 --- a/sw/source/filter/ww8/ww8attributeoutput.hxx +++ b/sw/source/filter/ww8/ww8attributeoutput.hxx @@ -402,6 +402,9 @@ protected: /// Sfx item RES_PARATR_GRABBAG virtual void ParaGrabBag( const SfxGrabBagItem& ); + /// Sfx item RES_TXTATR_GRABBAG + virtual void CharGrabBag( const SfxGrabBagItem& ); + // Sfx item RES_PARATR_OUTLINELEVEL virtual void ParaOutlineLevel( const SfxUInt16Item& ); |