summaryrefslogtreecommitdiff
path: root/sw/inc/fmtfsize.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-05-18 13:48:10 +0000
committerKurt Zenker <kz@openoffice.org>2004-05-18 13:48:10 +0000
commit99d8b66a1338be179c4df4e4eca7d2f4817f716a (patch)
tree688e2a76565b4f100dad11eaf7e68b7402220514 /sw/inc/fmtfsize.hxx
parent3a03663dec980285cb9c09abdb04c60944ea2490 (diff)
INTEGRATION: CWS swautowidth (1.7.130); FILE MERGED
2004/04/05 13:08:30 fme 1.7.130.1: i27205# Feature - Automatic frame width
Diffstat (limited to 'sw/inc/fmtfsize.hxx')
-rw-r--r--sw/inc/fmtfsize.hxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/sw/inc/fmtfsize.hxx b/sw/inc/fmtfsize.hxx
index 7874aaa20779..be0544b56e5a 100644
--- a/sw/inc/fmtfsize.hxx
+++ b/sw/inc/fmtfsize.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fmtfsize.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2004-02-02 17:56:18 $
+ * last change: $Author: kz $ $Date: 2004-05-18 14:48:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,7 +93,8 @@ enum SwFrmSize
class SwFmtFrmSize: public SfxPoolItem
{
Size aSize;
- SwFrmSize eFrmSize;
+ SwFrmSize eFrmHeightType;
+ SwFrmSize eFrmWidthType;
BYTE nWidthPercent; //Fuer Tabellen kann die Breite in Prozent
BYTE nHeightPercent; //angegeben sein.
//Fuer Rahmen koennen Hoehe und/oder Breite
@@ -128,8 +129,11 @@ public:
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual USHORT GetVersion( USHORT nFFVer ) const;
- SwFrmSize GetSizeType() const { return eFrmSize; }
- void SetSizeType( SwFrmSize eSize ) { eFrmSize = eSize; }
+ SwFrmSize GetHeightSizeType() const { return eFrmHeightType; }
+ void SetHeightSizeType( SwFrmSize eSize ) { eFrmHeightType = eSize; }
+
+ SwFrmSize GetWidthSizeType() const { return eFrmWidthType; }
+ void SetWidthSizeType( SwFrmSize eSize ) { eFrmWidthType = eSize; }
const Size& GetSize() const { return aSize; }
void SetSize( const Size &rNew ) { aSize = rNew; }