diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-07 15:23:57 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-07 15:23:57 +0000 |
commit | 2cb79089bf0fe44f820edc14a0dec6ba99b87346 (patch) | |
tree | 554f59c9cc2f636460e46256e81c62a2daa2160f | |
parent | 30500d634078197bc06e8c3d8286ddf4740d7506 (diff) |
INTEGRATION: CWS cjksp1_DEV300 (1.6.774); FILE MERGED
2007/11/11 03:11:00 pflin 1.6.774.3: not write layout-grid-standard-mode inside the <style:page-layout>
2007/10/23 06:03:24 pflin 1.6.774.2: RESYNC: (1.6-1.7); FILE MERGED
2007/04/23 08:01:32 pflin 1.6.774.1: Text grid enhancement: grid layout refactor
-rw-r--r-- | sw/inc/tgrditem.hxx | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/sw/inc/tgrditem.hxx b/sw/inc/tgrditem.hxx index 3e2551ff25..a3c387a6f3 100644 --- a/sw/inc/tgrditem.hxx +++ b/sw/inc/tgrditem.hxx @@ -4,9 +4,9 @@ * * $RCSfile: tgrditem.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2007-09-27 08:13:36 $ + * last change: $Author: kz $ $Date: 2008-03-07 16:23:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -65,6 +65,10 @@ class SW_DLLPUBLIC SwTextGridItem : public SfxPoolItem BOOL bPrintGrid; BOOL bDisplayGrid; + //for textgrid enhancement + sal_uInt16 nBaseWidth; + BOOL bSnapToChars; + BOOL bSquaredMode; public: SwTextGridItem(); virtual ~SwTextGridItem(); @@ -108,6 +112,21 @@ public: BOOL IsDisplayGrid() const { return bDisplayGrid; } BOOL GetDisplayGrid() const { return bDisplayGrid; } void SetDisplayGrid( BOOL bNew ) { bDisplayGrid = bNew; } + + //for textgrid enhancement + sal_uInt16 GetBaseWidth() const { return nBaseWidth;} + void SetBaseWidth( sal_uInt16 nNew ) { nBaseWidth = nNew; } + + BOOL IsSnapToChars() const { return bSnapToChars; } + BOOL GetSnapToChars() const { return bSnapToChars; } + void SetSnapToChars( BOOL bNew ) { bSnapToChars = bNew; } + + BOOL IsSquaredMode() const { return bSquaredMode; } + BOOL GetSquaredMode() const { return bSquaredMode; } + void SetSquaredMode( BOOL bNew ) { bSquaredMode = bNew; } + void SwitchPaperMode(BOOL bNew ); + + void Init(); }; inline const SwTextGridItem &SwAttrSet::GetTextGrid(BOOL bInP) const |