diff options
author | Oliver-Rainer Wittmann <orw@apache.org> | 2012-09-17 11:46:16 +0000 |
---|---|---|
committer | Oliver-Rainer Wittmann <orw@apache.org> | 2012-09-17 11:46:16 +0000 |
commit | 8f2a21eac4a904db3cc4c448179e2d2cf5878ef4 (patch) | |
tree | 54508b7e8e0c89206ccc997025f5784d8aeaee7d /sw/inc | |
parent | ee1039e37376a1880200747572a6b0fefc26ebec (diff) |
#119963#,#120877# - WW8 filter enhancement: import and export actual TOC content
Patch by: zhengfan, Oliver
Review by: Oliver
reintegrate from branch writer001
Notes
Notes:
merged as: c4498251cb7181a9f272b0720f398597c0daef09
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/tox.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 07210242df27..8955935434a4 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -501,6 +501,13 @@ class SW_DLLPUBLIC SwTOXBase : public SwClient sal_Bool bFromObjectNames : 1; // create a table or object index // from the names rather than the caption sal_Bool bLevelFromChapter : 1; // User index: get the level from the source chapter + +protected: + // Add a data member, for record the TOC field expression of MS Word binary format + // For keeping fedality and may giving a better exporting performance + String maMSTOCExpression; + sal_Bool mbKeepExpression; + public: SwTOXBase( const SwTOXType* pTyp, const SwForm& rForm, sal_uInt16 nCreaType, const String& rTitle ); @@ -520,6 +527,12 @@ public: const String& GetTOXName() const {return aName;} void SetTOXName(const String& rSet) {aName = rSet;} + // for record the TOC field expression of MS Word binary format + const String& GetMSTOCExpression() const{return maMSTOCExpression;} + void SetMSTOCExpression(const String& rExp) {maMSTOCExpression = rExp;} + void EnableKeepExpression() {mbKeepExpression = sal_True;} + void DisableKeepExpression() {mbKeepExpression = sal_False;} + const String& GetTitle() const; // Title const String& GetTypeName() const; // Name const SwForm& GetTOXForm() const; // description of the lines |