diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-09-06 17:34:08 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-09-06 17:35:48 +0200 |
commit | 7a045f48bad2177538c43f76019c1caecdd5baf7 (patch) | |
tree | e2bf7d81f67a33eb772c7cffcf6be956977345f9 /sw/inc | |
parent | basic .docx read support for embedded fonts (w:embedRegular etc.) (diff) | |
download | core-7a045f48bad2177538c43f76019c1caecdd5baf7.tar.gz core-7a045f48bad2177538c43f76019c1caecdd5baf7.zip |
read support for docx w:embedTrueTypeFonts/w:embedSystemFonts
No write support yet.
Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/IDocumentSettingAccess.hxx | 4 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx index 44eef470f140..b7d2c13d2db4 100644 --- a/sw/inc/IDocumentSettingAccess.hxx +++ b/sw/inc/IDocumentSettingAccess.hxx @@ -96,7 +96,9 @@ namespace com { namespace sun { namespace star { namespace i18n { struct Forbidd KERN_ASIAN_PUNCTUATION, MATH_BASELINE_ALIGNMENT, STYLES_NODEFAULT, - FLOATTABLE_NOMARGINS + FLOATTABLE_NOMARGINS, + EMBED_FONTS, + EMBED_SYSTEM_FONTS }; public: diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 51c4f2873e7d..001ebf89f98a 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -568,6 +568,8 @@ private: bool mbMathBaselineAlignment : 1; // TL 2010-10-29 #i972# bool mbStylesNoDefault : 1; bool mbFloattableNomargins : 1; ///< If paragraph margins next to a floating table should be ignored. + bool mEmbedFonts : 1; ///< Whether to embed fonts used by the document when saving. + bool mEmbedSystemFonts : 1; ///< Whether to embed also system fonts. // non-ui-compatibility flags: bool mbOldNumbering : 1; |