diff options
-rw-r--r-- | sw/inc/txatbase.hxx | 10 | ||||
-rw-r--r-- | sw/source/core/txtnode/txatbase.cxx | 8 |
2 files changed, 12 insertions, 6 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index 21e96cd450d9..a96c4246f783 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -2,9 +2,9 @@ * * $RCSfile: txatbase.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: jp $ $Date: 2001-02-15 20:10:39 $ + * last change: $Author: ama $ $Date: 2001-02-28 10:58:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -124,6 +124,7 @@ class SwTxtAttr BOOL bDontMoveAttr : 1; // refmarks, toxmarks BOOL bCharFmtAttr : 1; // charfmt, inet BOOL bOverlapAllowedAttr : 1; // refmarks, toxmarks + BOOL bRedlineAttr : 1; // redlining attribute protected: SwTxtAttr( const SfxPoolItem& rAttr, xub_StrLen nStart ); @@ -132,6 +133,7 @@ protected: void SetDontMoveAttr( BOOL bFlag ) { bDontMoveAttr = bFlag; } void SetCharFmtAttr( BOOL bFlag ) { bCharFmtAttr = bFlag; } void SetOverlapAllowedAttr( BOOL bFlag ){ bOverlapAllowedAttr = bFlag; } + void SetRedlineAttr( BOOL bFlag ) { bRedlineAttr = bFlag; } public: virtual ~SwTxtAttr(); @@ -155,6 +157,7 @@ public: BOOL IsDontMoveAttr() const { return bDontMoveAttr; } BOOL IsCharFmtAttr() const { return bCharFmtAttr; } BOOL IsOverlapAllowedAttr() const { return bOverlapAllowedAttr; } + BOOL IsRedlineAttr() const { return bRedlineAttr; } inline const SfxPoolItem& GetAttr() const; inline USHORT Which() const { return GetAttr().Which(); } @@ -460,6 +463,9 @@ inline const SvxCharRotateItem& SwTxtAttr::GetCharRotate() const /************************************************************************* $Log: not supported by cvs2svn $ + Revision 1.7 2001/02/15 20:10:39 jp + new character attribute: rotate and scalewidth + Revision 1.6 2000/11/16 21:29:02 jp SwFmt2Lines moved to SVX and renamed diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx index 2b89d72f3c53..ee911e212ca8 100644 --- a/sw/source/core/txtnode/txatbase.cxx +++ b/sw/source/core/txtnode/txatbase.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txatbase.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jp $ $Date: 2000-11-06 10:43:55 $ + * last change: $Author: ama $ $Date: 2001-02-28 10:59:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,8 +79,8 @@ SwTxtAttr::SwTxtAttr( const SfxPoolItem& rAttr, xub_StrLen nStt ) : pAttr( &rAttr ), nStart( nStt ) { - bDontExpand = bLockExpandFlag = bDontMergeAttr = - bDontMoveAttr = bCharFmtAttr = bOverlapAllowedAttr = FALSE; + bDontExpand = bLockExpandFlag = bDontMergeAttr = bDontMoveAttr = + bCharFmtAttr = bOverlapAllowedAttr = bRedlineAttr = FALSE; } SwTxtAttr::~SwTxtAttr( ) |