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 | 28752cbb4f7eaf8cd7e55dd6b5049200c44cf750 (patch) | |
tree | 159c1a08e86b73a41bff0bc5ae9f86505f8d849a /sw/inc/tgrditem.hxx | |
parent | 4a98c4c2923eb7f053035da7bbc4100b50b82cfb (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
Diffstat (limited to 'sw/inc/tgrditem.hxx')
-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 3445fbdb492c..72f18fd46cd2 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 |