From 99d8b66a1338be179c4df4e4eca7d2f4817f716a Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 18 May 2004 13:48:10 +0000 Subject: INTEGRATION: CWS swautowidth (1.7.130); FILE MERGED 2004/04/05 13:08:30 fme 1.7.130.1: i27205# Feature - Automatic frame width --- sw/inc/fmtfsize.hxx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'sw/inc/fmtfsize.hxx') 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; } -- cgit v1.2.3