Convert all Query/Put Value() to bool

This commit is contained in:
Norbert Thiebaud 2010-10-04 15:23:49 +01:00 committed by Michael Meeks
parent c85da5656b
commit 45169c93d5
129 changed files with 890 additions and 893 deletions

View File

@ -82,8 +82,8 @@ public:
SfxMapUnit ePresUnit, SfxMapUnit ePresUnit,
XubString& rText, XubString& rText,
const IntlWrapper *pIntl ) const; const IntlWrapper *pIntl ) const;
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
void merge( const MediaItem& rMediaItem ); void merge( const MediaItem& rMediaItem );

View File

@ -122,7 +122,7 @@ SfxItemPresentation MediaItem::GetPresentation( SfxItemPresentation,
//------------------------------------------------------------------------ //------------------------------------------------------------------------
BOOL MediaItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const bool MediaItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
{ {
uno::Sequence< uno::Any > aSeq( 9 ); uno::Sequence< uno::Any > aSeq( 9 );
@ -143,10 +143,10 @@ BOOL MediaItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
//------------------------------------------------------------------------ //------------------------------------------------------------------------
BOOL MediaItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE ) bool MediaItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
{ {
uno::Sequence< uno::Any > aSeq; uno::Sequence< uno::Any > aSeq;
BOOL bRet = false; bool bRet = false;
if( ( rVal >>= aSeq ) && ( aSeq.getLength() == 9 ) ) if( ( rVal >>= aSeq ) && ( aSeq.getLength() == 9 ) )
{ {

View File

@ -70,8 +70,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -56,8 +56,8 @@ public:
~SvxLineItem(); ~SvxLineItem();
SvxLineItem &operator=( const SvxLineItem& rLine ); SvxLineItem &operator=( const SvxLineItem& rLine );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -70,8 +70,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
@ -185,8 +185,8 @@ public:
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const; virtual SfxPoolItem* Create(SvStream &, USHORT) const;

View File

@ -59,8 +59,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -99,8 +99,8 @@ public:
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create( SvStream&, USHORT nVersion ) const; virtual SfxPoolItem* Create( SvStream&, USHORT nVersion ) const;

View File

@ -64,9 +64,9 @@ public:
String &rText, String &rText,
const IntlWrapper * = 0 ) const; const IntlWrapper * = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ); BYTE nMemberId );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const; BYTE nMemberId ) const;
inline SvxCharReliefItem& operator=( const SvxCharReliefItem& rItem ) inline SvxCharReliefItem& operator=( const SvxCharReliefItem& rItem )

View File

@ -64,9 +64,9 @@ public:
String &rText, String &rText,
const IntlWrapper * = 0 ) const; const IntlWrapper * = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ); BYTE nMemberId );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const; BYTE nMemberId ) const;
inline SvxCharRotateItem& operator=( const SvxCharRotateItem& rItem ) inline SvxCharRotateItem& operator=( const SvxCharRotateItem& rItem )

View File

@ -61,9 +61,9 @@ public:
String &rText, String &rText,
const IntlWrapper * = 0 ) const; const IntlWrapper * = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ); BYTE nMemberId );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const; BYTE nMemberId ) const;
inline SvxCharScaleWidthItem& operator=(const SvxCharScaleWidthItem& rItem ) inline SvxCharScaleWidthItem& operator=(const SvxCharScaleWidthItem& rItem )

View File

@ -81,8 +81,8 @@ public:
{ return (SvxCaseMap)GetValue(); } { return (SvxCaseMap)GetValue(); }
void SetCaseMap( SvxCaseMap eNew ) void SetCaseMap( SvxCaseMap eNew )
{ SetValue( (USHORT)eNew ); } { SetValue( (USHORT)eNew ); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -64,8 +64,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual USHORT GetVersion( USHORT nFileVersion ) const; virtual USHORT GetVersion( USHORT nFileVersion ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,

View File

@ -65,8 +65,8 @@ public:
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
virtual String GetValueTextByPos( USHORT nPos ) const; virtual String GetValueTextByPos( USHORT nPos ) const;
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
// MS VC4.0 kommt durcheinander // MS VC4.0 kommt durcheinander
void SetValue( USHORT nNewVal ) void SetValue( USHORT nNewVal )

View File

@ -66,9 +66,9 @@ public:
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
virtual USHORT GetVersion( USHORT nFileVersion ) const; virtual USHORT GetVersion( USHORT nFileVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const; BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ); BYTE nMemberId = 0 );
inline SvxEmphasisMarkItem& operator=(const SvxEmphasisMarkItem& rItem ) inline SvxEmphasisMarkItem& operator=(const SvxEmphasisMarkItem& rItem )

View File

@ -72,8 +72,8 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const; virtual SfxPoolItem* Create(SvStream &, USHORT) const;

View File

@ -63,8 +63,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -61,7 +61,7 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -72,8 +72,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const; virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -64,9 +64,9 @@ public:
String &rText, String &rText,
const IntlWrapper * = 0 ) const; const IntlWrapper * = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ); BYTE nMemberId );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const; BYTE nMemberId ) const;
inline SvxFrameDirectionItem& operator=( const SvxFrameDirectionItem& rItem ) inline SvxFrameDirectionItem& operator=( const SvxFrameDirectionItem& rItem )

View File

@ -54,8 +54,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -64,8 +64,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -72,8 +72,8 @@ public:
return *this; return *this;
} }
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -76,9 +76,8 @@ public:
{ return (LanguageType)GetValue(); } { return (LanguageType)GetValue(); }
void SetLanguage( const LanguageType eLang ) void SetLanguage( const LanguageType eLang )
{ SetValue( (USHORT)eLang ); } { SetValue( (USHORT)eLang ); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -87,8 +87,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -70,8 +70,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -319,8 +319,8 @@ public:
SvxNumRule* GetNumRule() const {return pNumRule;} SvxNumRule* GetNumRule() const {return pNumRule;}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
/* -----------------28.10.98 15:21------------------- /* -----------------28.10.98 15:21-------------------
* *

View File

@ -61,9 +61,9 @@ public:
String &rText, String &rText,
const IntlWrapper * = 0 ) const; const IntlWrapper * = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ); BYTE nMemberId );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const; BYTE nMemberId ) const;
inline SvxParaVertAlignItem& operator=( const SvxParaVertAlignItem& rItem ) inline SvxParaVertAlignItem& operator=( const SvxParaVertAlignItem& rItem )

View File

@ -59,8 +59,8 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
BOOL IsAuto() const { return bAuto; } BOOL IsAuto() const { return bAuto; }
}; };

View File

@ -66,8 +66,8 @@ public:
virtual String GetValueTextByPos( USHORT nPos ) const; virtual String GetValueTextByPos( USHORT nPos ) const;
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual int HasBoolValue() const; virtual int HasBoolValue() const;
virtual BOOL GetBoolValue() const; virtual BOOL GetBoolValue() const;

View File

@ -80,8 +80,8 @@ public:
void SetSizeProtect ( BOOL bNew ) { bSize = bNew; } void SetSizeProtect ( BOOL bNew ) { bSize = bNew; }
void SetPosProtect ( BOOL bNew ) { bPos = bNew; } void SetPosProtect ( BOOL bNew ) { bPos = bNew; }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
inline SvxProtectItem::SvxProtectItem( const USHORT nId ) inline SvxProtectItem::SvxProtectItem( const USHORT nId )

View File

@ -67,8 +67,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -55,8 +55,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -165,8 +165,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -61,9 +61,9 @@ public:
String &rText, String &rText,
const IntlWrapper* pIntl = 0 ) const; const IntlWrapper* pIntl = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const; BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ); BYTE nMemberId = 0 );
virtual USHORT GetVersion( USHORT nFFVer ) const; virtual USHORT GetVersion( USHORT nFFVer ) const;

View File

@ -65,9 +65,9 @@ public:
virtual String GetValueTextByPos( USHORT nPos ) const; virtual String GetValueTextByPos( USHORT nPos ) const;
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const; BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ); BYTE nMemberId = 0 );
// MS VC4.0 kommt durcheinander // MS VC4.0 kommt durcheinander

View File

@ -62,8 +62,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -66,8 +66,8 @@ public:
virtual String GetValueTextByPos( USHORT nPos ) const; virtual String GetValueTextByPos( USHORT nPos ) const;
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual int HasBoolValue() const; virtual int HasBoolValue() const;
virtual BOOL GetBoolValue() const; virtual BOOL GetBoolValue() const;

View File

@ -58,9 +58,9 @@ public:
String &rText, String &rText,
const IntlWrapper * = 0 ) const; const IntlWrapper * = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ); BYTE nMemberId );
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const; BYTE nMemberId ) const;
}; };

View File

@ -62,8 +62,8 @@ public:
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const; virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxPoolItem *Clone( SfxItemPool * = 0) const virtual SfxPoolItem *Clone( SfxItemPool * = 0) const
{ return new SvXMLAttrContainerItem( *this ); } { return new SvXMLAttrContainerItem( *this ); }

View File

@ -218,7 +218,7 @@ SvxSizeItem::SvxSizeItem( const sal_uInt16 nId, const Size& rSize ) :
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxSizeItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxSizeItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -235,13 +235,13 @@ sal_Bool SvxSizeItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
case MID_SIZE_SIZE: rVal <<= aTmp; break; case MID_SIZE_SIZE: rVal <<= aTmp; break;
case MID_SIZE_WIDTH: rVal <<= aTmp.Width; break; case MID_SIZE_WIDTH: rVal <<= aTmp.Width; break;
case MID_SIZE_HEIGHT: rVal <<= aTmp.Height; break; case MID_SIZE_HEIGHT: rVal <<= aTmp.Height; break;
default: DBG_ERROR("Wrong MemberId!"); return sal_False; default: DBG_ERROR("Wrong MemberId!"); return false;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxSizeItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxSizeItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -262,7 +262,7 @@ sal_Bool SvxSizeItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
} }
else else
{ {
return sal_False; return false;
} }
} }
break; break;
@ -270,7 +270,7 @@ sal_Bool SvxSizeItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Int32 nVal = 0; sal_Int32 nVal = 0;
if(!(rVal >>= nVal )) if(!(rVal >>= nVal ))
return sal_False; return false;
aSize.Width() = bConvert ? MM100_TO_TWIP(nVal) : nVal; aSize.Width() = bConvert ? MM100_TO_TWIP(nVal) : nVal;
} }
@ -279,15 +279,15 @@ sal_Bool SvxSizeItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Int32 nVal = 0; sal_Int32 nVal = 0;
if(!(rVal >>= nVal)) if(!(rVal >>= nVal))
return sal_True; return true;
aSize.Height() = bConvert ? MM100_TO_TWIP(nVal) : nVal; aSize.Height() = bConvert ? MM100_TO_TWIP(nVal) : nVal;
} }
break; break;
default: DBG_ERROR("Wrong MemberId!"); default: DBG_ERROR("Wrong MemberId!");
return sal_False; return false;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -430,9 +430,9 @@ SvxLRSpaceItem::SvxLRSpaceItem( const long nLeft, const long nRight,
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxLRSpaceItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxLRSpaceItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bRet = sal_True; bool bRet = true;
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
switch( nMemberId ) switch( nMemberId )
@ -468,14 +468,14 @@ sal_Bool SvxLRSpaceItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
break; break;
default: default:
bRet = sal_False; bRet = false;
DBG_ERROR("unknown MemberId"); DBG_ERROR("unknown MemberId");
} }
return bRet; return bRet;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxLRSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxLRSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -510,7 +510,7 @@ sal_Bool SvxLRSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
nPropRightMargin = (USHORT)nRel; nPropRightMargin = (USHORT)nRel;
} }
else else
return FALSE; return false;
} }
break; break;
case MID_FIRST_LINE_INDENT : case MID_FIRST_LINE_INDENT :
@ -527,9 +527,9 @@ sal_Bool SvxLRSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
default: default:
DBG_ERROR("unknown MemberId"); DBG_ERROR("unknown MemberId");
return sal_False; return false;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -824,9 +824,9 @@ SvxULSpaceItem::SvxULSpaceItem( const sal_uInt16 nUp, const sal_uInt16 nLow,
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxULSpaceItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxULSpaceItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
switch( nMemberId ) switch( nMemberId )
{ {
@ -846,11 +846,11 @@ sal_Bool SvxULSpaceItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
case MID_UP_REL_MARGIN: rVal <<= (sal_Int16) nPropUpper; break; case MID_UP_REL_MARGIN: rVal <<= (sal_Int16) nPropUpper; break;
case MID_LO_REL_MARGIN: rVal <<= (sal_Int16) nPropLower; break; case MID_LO_REL_MARGIN: rVal <<= (sal_Int16) nPropLower; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxULSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxULSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -861,7 +861,7 @@ sal_Bool SvxULSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
::com::sun::star::frame::status::UpperLowerMarginScale aUpperLowerMarginScale; ::com::sun::star::frame::status::UpperLowerMarginScale aUpperLowerMarginScale;
if ( !(rVal >>= aUpperLowerMarginScale )) if ( !(rVal >>= aUpperLowerMarginScale ))
return sal_False; return false;
{ {
SetUpper((sal_uInt16)(bConvert ? MM100_TO_TWIP( aUpperLowerMarginScale.Upper ) : aUpperLowerMarginScale.Upper)); SetUpper((sal_uInt16)(bConvert ? MM100_TO_TWIP( aUpperLowerMarginScale.Upper ) : aUpperLowerMarginScale.Upper));
SetLower((sal_uInt16)(bConvert ? MM100_TO_TWIP( aUpperLowerMarginScale.Lower ) : aUpperLowerMarginScale.Lower)); SetLower((sal_uInt16)(bConvert ? MM100_TO_TWIP( aUpperLowerMarginScale.Lower ) : aUpperLowerMarginScale.Lower));
@ -874,12 +874,12 @@ sal_Bool SvxULSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
case MID_UP_MARGIN : case MID_UP_MARGIN :
if(!(rVal >>= nVal) || nVal < 0) if(!(rVal >>= nVal) || nVal < 0)
return sal_False; return false;
SetUpper((USHORT)(bConvert ? MM100_TO_TWIP(nVal) : nVal)); SetUpper((USHORT)(bConvert ? MM100_TO_TWIP(nVal) : nVal));
break; break;
case MID_LO_MARGIN : case MID_LO_MARGIN :
if(!(rVal >>= nVal) || nVal < 0) if(!(rVal >>= nVal) || nVal < 0)
return sal_False; return false;
SetLower((USHORT)(bConvert ? MM100_TO_TWIP(nVal) : nVal)); SetLower((USHORT)(bConvert ? MM100_TO_TWIP(nVal) : nVal));
break; break;
case MID_UP_REL_MARGIN: case MID_UP_REL_MARGIN:
@ -894,16 +894,16 @@ sal_Bool SvxULSpaceItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
nPropLower = (USHORT)nRel; nPropLower = (USHORT)nRel;
} }
else else
return FALSE; return false;
} }
break; break;
default: default:
DBG_ERROR("unknown MemberId"); DBG_ERROR("unknown MemberId");
return sal_False; return false;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -1167,7 +1167,7 @@ int SvxProtectItem::operator==( const SfxPoolItem& rAttr ) const
/*-----------------16.03.98 12:42------------------- /*-----------------16.03.98 12:42-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxProtectItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxProtectItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1179,16 +1179,16 @@ sal_Bool SvxProtectItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
case MID_PROTECT_POSITION: bValue = bPos; break; case MID_PROTECT_POSITION: bValue = bPos; break;
default: default:
DBG_ERROR("falsche MemberId"); DBG_ERROR("falsche MemberId");
return sal_False; return false;
} }
rVal = Bool2Any( bValue ); rVal = Bool2Any( bValue );
return sal_True; return true;
} }
/*-----------------16.03.98 12:42------------------- /*-----------------16.03.98 12:42-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxProtectItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxProtectItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1200,9 +1200,9 @@ sal_Bool SvxProtectItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
case MID_PROTECT_POSITION: bPos = bVal; break; case MID_PROTECT_POSITION: bPos = bVal; break;
default: default:
DBG_ERROR("falsche MemberId"); DBG_ERROR("falsche MemberId");
return sal_False; return false;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -1297,7 +1297,7 @@ SvxShadowItem::SvxShadowItem( const USHORT nId,
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxShadowItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxShadowItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1324,20 +1324,20 @@ sal_Bool SvxShadowItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
case MID_TRANSPARENT: rVal <<= aShadow.IsTransparent; break; case MID_TRANSPARENT: rVal <<= aShadow.IsTransparent; break;
case MID_BG_COLOR: rVal <<= aShadow.Color; break; case MID_BG_COLOR: rVal <<= aShadow.Color; break;
case 0: rVal <<= aShadow; break; case 0: rVal <<= aShadow; break;
default: DBG_ERROR("Wrong MemberId!"); return sal_False; default: DBG_ERROR("Wrong MemberId!"); return false;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxShadowItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxShadowItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
table::ShadowFormat aShadow; table::ShadowFormat aShadow;
uno::Any aAny; uno::Any aAny;
sal_Bool bRet = QueryValue( aAny, bConvert ? CONVERT_TWIPS : 0 ) && ( aAny >>= aShadow ); bool bRet = QueryValue( aAny, bConvert ? CONVERT_TWIPS : 0 ) && ( aAny >>= aShadow );
switch ( nMemberId ) switch ( nMemberId )
{ {
case MID_LOCATION: case MID_LOCATION:
@ -1842,7 +1842,7 @@ table::BorderLine SvxBoxItem::SvxLineToLine(const SvxBorderLine* pLine, sal_Bool
return aLine; return aLine;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxBoxItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxBoxItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
table::BorderLine aRetLine; table::BorderLine aRetLine;
@ -1929,7 +1929,7 @@ sal_Bool SvxBoxItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal <<= aRetLine; rVal <<= aRetLine;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -1945,7 +1945,7 @@ sal_Bool SvxBoxItem::LineToSvxLine(const ::com::sun::star::table::BorderLine& rL
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxBoxItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxBoxItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
sal_uInt16 nLine = BOX_LINE_TOP; sal_uInt16 nLine = BOX_LINE_TOP;
@ -2779,7 +2779,7 @@ void SvxBoxInfoItem::ResetFlags()
nValidFlags = 0x7F; // alles g"ultig au/ser Disable nValidFlags = 0x7F; // alles g"ultig au/ser Disable
} }
sal_Bool SvxBoxInfoItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxBoxInfoItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
table::BorderLine aRetLine; table::BorderLine aRetLine;
@ -2836,7 +2836,7 @@ sal_Bool SvxBoxInfoItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
bIntMember = sal_True; bIntMember = sal_True;
rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100_UNSIGNED(GetDefDist()) : GetDefDist()); rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100_UNSIGNED(GetDefDist()) : GetDefDist());
break; break;
default: DBG_ERROR("Wrong MemberId!"); return sal_False; default: DBG_ERROR("Wrong MemberId!"); return false;
} }
if( !bIntMember ) if( !bIntMember )
@ -2856,12 +2856,12 @@ sal_Bool SvxBoxInfoItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal <<= aRetLine; rVal <<= aRetLine;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxBoxInfoItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxBoxInfoItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
// sal_uInt16 nLine = BOX_LINE_TOP; // sal_uInt16 nLine = BOX_LINE_TOP;
@ -3064,7 +3064,7 @@ XubString SvxFmtBreakItem::GetValueTextByPos( sal_uInt16 nPos ) const
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxFmtBreakItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvxFmtBreakItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
style::BreakType eBreak = style::BreakType_NONE; style::BreakType eBreak = style::BreakType_NONE;
switch ( (SvxBreak)GetValue() ) switch ( (SvxBreak)GetValue() )
@ -3078,10 +3078,10 @@ sal_Bool SvxFmtBreakItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
default: ;//prevent warning default: ;//prevent warning
} }
rVal <<= eBreak; rVal <<= eBreak;
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxFmtBreakItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ ) bool SvxFmtBreakItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
style::BreakType nBreak; style::BreakType nBreak;
@ -3107,7 +3107,7 @@ sal_Bool SvxFmtBreakItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
} }
SetValue((sal_uInt16) eBreak); SetValue((sal_uInt16) eBreak);
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -3266,14 +3266,14 @@ SfxPoolItem* SvxLineItem::Clone( SfxItemPool* ) const
return new SvxLineItem( *this ); return new SvxLineItem( *this );
} }
sal_Bool SvxLineItem::QueryValue( uno::Any& rVal, BYTE nMemId ) const bool SvxLineItem::QueryValue( uno::Any& rVal, BYTE nMemId ) const
{ {
sal_Bool bConvert = 0!=(nMemId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemId&CONVERT_TWIPS);
nMemId &= ~CONVERT_TWIPS; nMemId &= ~CONVERT_TWIPS;
if ( nMemId == 0 ) if ( nMemId == 0 )
{ {
rVal <<= uno::makeAny( SvxBoxItem::SvxLineToLine(pLine, bConvert) ); rVal <<= uno::makeAny( SvxBoxItem::SvxLineToLine(pLine, bConvert) );
return sal_True; return true;
} }
else if ( pLine ) else if ( pLine )
{ {
@ -3285,16 +3285,16 @@ sal_Bool SvxLineItem::QueryValue( uno::Any& rVal, BYTE nMemId ) const
case MID_DISTANCE: rVal <<= sal_Int32(pLine->GetDistance()); break; case MID_DISTANCE: rVal <<= sal_Int32(pLine->GetDistance()); break;
default: default:
DBG_ERROR( "Wrong MemberId" ); DBG_ERROR( "Wrong MemberId" );
return sal_False; return false;
} }
} }
return TRUE; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxLineItem::PutValue( const uno::Any& rVal, BYTE nMemId ) bool SvxLineItem::PutValue( const uno::Any& rVal, BYTE nMemId )
{ {
sal_Bool bConvert = 0!=(nMemId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemId&CONVERT_TWIPS);
nMemId &= ~CONVERT_TWIPS; nMemId &= ~CONVERT_TWIPS;
@ -3308,9 +3308,9 @@ sal_Bool SvxLineItem::PutValue( const uno::Any& rVal, BYTE nMemId )
pLine = new SvxBorderLine; pLine = new SvxBorderLine;
if( !SvxBoxItem::LineToSvxLine(aLine, *pLine, bConvert) ) if( !SvxBoxItem::LineToSvxLine(aLine, *pLine, bConvert) )
DELETEZ( pLine ); DELETEZ( pLine );
return sal_True; return true;
} }
return sal_False; return false;
} }
else if ( rVal >>= nVal ) else if ( rVal >>= nVal )
{ {
@ -3328,10 +3328,10 @@ sal_Bool SvxLineItem::PutValue( const uno::Any& rVal, BYTE nMemId )
return sal_False; return sal_False;
} }
return sal_True; return true;
} }
return sal_False; return false;
} }
//------------------------------------------------------------------------ //------------------------------------------------------------------------
@ -3701,7 +3701,7 @@ inline sal_Int8 lcl_TransparencyToPercent(sal_Int32 nTrans)
return (sal_Int8)((nTrans * 100 + 127) / 254); return (sal_Int8)((nTrans * 100 + 127) / 254);
} }
sal_Bool SvxBrushItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxBrushItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -3758,12 +3758,12 @@ sal_Bool SvxBrushItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
break; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxBrushItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxBrushItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -3874,7 +3874,7 @@ sal_Bool SvxBrushItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
break; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -4394,7 +4394,7 @@ SfxItemPresentation SvxFrameDirectionItem::GetPresentation(
return eRet; return eRet;
} }
sal_Bool SvxFrameDirectionItem::PutValue( const com::sun::star::uno::Any& rVal, bool SvxFrameDirectionItem::PutValue( const com::sun::star::uno::Any& rVal,
BYTE ) BYTE )
{ {
sal_Int16 nVal = sal_Int16(); sal_Int16 nVal = sal_Int16();
@ -4420,7 +4420,7 @@ sal_Bool SvxFrameDirectionItem::PutValue( const com::sun::star::uno::Any& rVal,
SetValue( FRMDIR_ENVIRONMENT ); SetValue( FRMDIR_ENVIRONMENT );
break; break;
default: default:
bRet = sal_False; bRet = false;
break; break;
} }
} }
@ -4428,12 +4428,12 @@ sal_Bool SvxFrameDirectionItem::PutValue( const com::sun::star::uno::Any& rVal,
return bRet; return bRet;
} }
sal_Bool SvxFrameDirectionItem::QueryValue( com::sun::star::uno::Any& rVal, bool SvxFrameDirectionItem::QueryValue( com::sun::star::uno::Any& rVal,
BYTE ) const BYTE ) const
{ {
// translate SvxFrameDirection into WritingDirection2 // translate SvxFrameDirection into WritingDirection2
sal_Int16 nVal; sal_Int16 nVal;
sal_Bool bRet = sal_True; bool bRet = true;
switch( GetValue() ) switch( GetValue() )
{ {
case FRMDIR_HORI_LEFT_TOP: case FRMDIR_HORI_LEFT_TOP:
@ -4453,7 +4453,7 @@ sal_Bool SvxFrameDirectionItem::QueryValue( com::sun::star::uno::Any& rVal,
break; break;
default: default:
DBG_ERROR("Unknown SvxFrameDirection value!"); DBG_ERROR("Unknown SvxFrameDirection value!");
bRet = sal_False; bRet = false;
break; break;
} }

View File

@ -1090,13 +1090,13 @@ SvStream& SvxNumBulletItem::Store(SvStream &rStream, USHORT /*nItemVersion*/ )
return rStream; return rStream;
} }
sal_Bool SvxNumBulletItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvxNumBulletItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
rVal <<= SvxCreateNumRule( pNumRule ); rVal <<= SvxCreateNumRule( pNumRule );
return sal_True; return true;
} }
sal_Bool SvxNumBulletItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) bool SvxNumBulletItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
uno::Reference< container::XIndexReplace > xRule; uno::Reference< container::XIndexReplace > xRule;
if( rVal >>= xRule ) if( rVal >>= xRule )
@ -1113,13 +1113,13 @@ sal_Bool SvxNumBulletItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE
} }
delete pNumRule; delete pNumRule;
pNumRule = pNewRule; pNumRule = pNewRule;
return sal_True; return true;
} }
catch(lang::IllegalArgumentException&) catch(lang::IllegalArgumentException&)
{ {
} }
} }
return sal_False; return false;
} }
SvxNumRule* SvxConvertNumRule( const SvxNumRule* pRule, USHORT nLevels, SvxNumRuleType eType ) SvxNumRule* SvxConvertNumRule( const SvxNumRule* pRule, USHORT nLevels, SvxNumRuleType eType )

View File

@ -148,7 +148,7 @@ int SvxLineSpacingItem::operator==( const SfxPoolItem& rAttr ) const
- ein sal_uInt32 fuer alle Werte (Abstand, Hoehe, rel. Angaben) - ein sal_uInt32 fuer alle Werte (Abstand, Hoehe, rel. Angaben)
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxLineSpacingItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxLineSpacingItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -190,12 +190,12 @@ sal_Bool SvxLineSpacingItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
default: DBG_ERROR("Wrong MemberId!"); break; default: DBG_ERROR("Wrong MemberId!"); break;
} }
return sal_True; return true;
} }
/*-----------------18.03.98 16:32------------------- /*-----------------18.03.98 16:32-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxLineSpacingItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxLineSpacingItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -390,7 +390,7 @@ int SvxAdjustItem::operator==( const SfxPoolItem& rAttr ) const
/*-----------------18.03.98 16:15------------------- /*-----------------18.03.98 16:15-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxAdjustItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxAdjustItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -406,13 +406,13 @@ sal_Bool SvxAdjustItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
} }
default: ;//prevent warning default: ;//prevent warning
} }
return sal_True; return true;
} }
/*-----------------18.03.98 16:15------------------- /*-----------------18.03.98 16:15-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxAdjustItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxAdjustItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -445,7 +445,7 @@ sal_Bool SvxAdjustItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
bOneBlock = Any2Bool(rVal); bOneBlock = Any2Bool(rVal);
break; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -709,7 +709,7 @@ SvxHyphenZoneItem::SvxHyphenZoneItem( const sal_Bool bHyph, const sal_uInt16 nId
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxHyphenZoneItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxHyphenZoneItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -728,10 +728,10 @@ sal_Bool SvxHyphenZoneItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) cons
rVal <<= (sal_Int16)nMaxHyphens; rVal <<= (sal_Int16)nMaxHyphens;
break; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxHyphenZoneItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxHyphenZoneItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -739,7 +739,7 @@ sal_Bool SvxHyphenZoneItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
if( nMemberId != MID_IS_HYPHEN ) if( nMemberId != MID_IS_HYPHEN )
if(!(rVal >>= nNewVal)) if(!(rVal >>= nNewVal))
return sal_False; return false;
switch(nMemberId) switch(nMemberId)
{ {
@ -756,7 +756,7 @@ sal_Bool SvxHyphenZoneItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
nMaxHyphens = (BYTE)nNewVal; nMaxHyphens = (BYTE)nNewVal;
break; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -1015,7 +1015,7 @@ typedef sequence ::com::sun::star::style::TabStop> TabSTopSequence;
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxTabStopItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxTabStopItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1059,7 +1059,7 @@ sal_Bool SvxTabStopItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxTabStopItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxTabStopItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1380,7 +1380,7 @@ SfxPoolItem* SvxPageModelItem::Clone( SfxItemPool* ) const
//------------------------------------------------------------------------ //------------------------------------------------------------------------
sal_Bool SvxPageModelItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const bool SvxPageModelItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1395,7 +1395,7 @@ sal_Bool SvxPageModelItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMem
return sal_True; return sal_True;
} }
sal_Bool SvxPageModelItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ) bool SvxPageModelItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1675,14 +1675,14 @@ SfxItemPresentation SvxParaVertAlignItem::GetPresentation(
return SFX_ITEM_PRESENTATION_NONE; return SFX_ITEM_PRESENTATION_NONE;
} }
sal_Bool SvxParaVertAlignItem::QueryValue( com::sun::star::uno::Any& rVal, bool SvxParaVertAlignItem::QueryValue( com::sun::star::uno::Any& rVal,
BYTE /*nMemberId*/ ) const BYTE /*nMemberId*/ ) const
{ {
rVal <<= (sal_Int16)GetValue(); rVal <<= (sal_Int16)GetValue();
return sal_True; return sal_True;
} }
sal_Bool SvxParaVertAlignItem::PutValue( const com::sun::star::uno::Any& rVal, bool SvxParaVertAlignItem::PutValue( const com::sun::star::uno::Any& rVal,
BYTE /*nMemberId*/ ) BYTE /*nMemberId*/ )
{ {
sal_Int16 nVal = sal_Int16(); sal_Int16 nVal = sal_Int16();

View File

@ -209,10 +209,10 @@ int SvxFontListItem::operator==( const SfxPoolItem& rAttr ) const
return( pFontList == ((SvxFontListItem&)rAttr).pFontList ); return( pFontList == ((SvxFontListItem&)rAttr).pFontList );
} }
sal_Bool SvxFontListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvxFontListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
rVal <<= aFontNameSeq; rVal <<= aFontNameSeq;
return sal_True; return true;
} }
//------------------------------------------------------------------------ //------------------------------------------------------------------------
@ -257,7 +257,7 @@ SvxFontItem::SvxFontItem( const FontFamily eFam, const XubString& aName,
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxFontItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxFontItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -284,10 +284,10 @@ sal_Bool SvxFontItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
case MID_FONT_CHAR_SET : rVal <<= (sal_Int16)(eTextEncoding); break; case MID_FONT_CHAR_SET : rVal <<= (sal_Int16)(eTextEncoding); break;
case MID_FONT_PITCH : rVal <<= (sal_Int16)(ePitch); break; case MID_FONT_PITCH : rVal <<= (sal_Int16)(ePitch); break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxFontItem::PutValue( const uno::Any& rVal, BYTE nMemberId) bool SvxFontItem::PutValue( const uno::Any& rVal, BYTE nMemberId)
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -347,7 +347,7 @@ sal_Bool SvxFontItem::PutValue( const uno::Any& rVal, BYTE nMemberId)
} }
break; break;
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -575,7 +575,7 @@ XubString SvxPostureItem::GetValueTextByPos( USHORT nPos ) const
/*-----------------13.03.98 14:28------------------- /*-----------------13.03.98 14:28-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxPostureItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxPostureItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -588,12 +588,12 @@ sal_Bool SvxPostureItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal <<= (awt::FontSlant)GetValue(); // Werte von awt::FontSlant und FontItalic sind gleich rVal <<= (awt::FontSlant)GetValue(); // Werte von awt::FontSlant und FontItalic sind gleich
break; break;
} }
return sal_True; return true;
} }
/*-----------------13.03.98 14:28------------------- /*-----------------13.03.98 14:28-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxPostureItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxPostureItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -616,7 +616,7 @@ sal_Bool SvxPostureItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
SetValue((USHORT)eSlant); SetValue((USHORT)eSlant);
} }
} }
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -627,7 +627,7 @@ int SvxPostureItem::HasBoolValue() const
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxPostureItem::GetBoolValue() const BOOL SvxPostureItem::GetBoolValue() const
{ {
return ( (FontItalic)GetValue() >= ITALIC_OBLIQUE ); return ( (FontItalic)GetValue() >= ITALIC_OBLIQUE );
} }
@ -735,7 +735,7 @@ XubString SvxWeightItem::GetValueTextByPos( USHORT nPos ) const
/*-----------------13.03.98 14:18------------------- /*-----------------13.03.98 14:18-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxWeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxWeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -750,12 +750,12 @@ sal_Bool SvxWeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
} }
break; break;
} }
return sal_True; return true;
} }
/*-----------------13.03.98 14:18------------------- /*-----------------13.03.98 14:18-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxWeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxWeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -778,7 +778,7 @@ sal_Bool SvxWeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
} }
break; break;
} }
return sal_True; return true;
} }
// class SvxFontHeightItem ----------------------------------------------- // class SvxFontHeightItem -----------------------------------------------
@ -857,7 +857,7 @@ int SvxFontHeightItem::operator==( const SfxPoolItem& rItem ) const
/*-----------------13.03.98 14:53------------------- /*-----------------13.03.98 14:53-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxFontHeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxFontHeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// In StarOne sind im uno::Any immer 1/100mm. Ueber die MemberId wird // In StarOne sind im uno::Any immer 1/100mm. Ueber die MemberId wird
// gesteuert, ob der Wert im Item 1/100mm oder Twips sind. // gesteuert, ob der Wert im Item 1/100mm oder Twips sind.
@ -995,7 +995,7 @@ sal_uInt32 lcl_GetRealHeight_Impl(sal_uInt32 nHeight, sal_uInt16 nProp, SfxMapUn
/*-----------------13.03.98 14:53------------------- /*-----------------13.03.98 14:53-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxFontHeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxFontHeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1252,7 +1252,7 @@ int SvxFontWidthItem::operator==( const SfxPoolItem& rItem ) const
/*-----------------13.03.98 16:03------------------- /*-----------------13.03.98 16:03-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxFontWidthItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxFontWidthItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1265,12 +1265,12 @@ sal_Bool SvxFontWidthItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal <<= (sal_Int16)(nProp); rVal <<= (sal_Int16)(nProp);
break; break;
} }
return sal_True; return true;
} }
/*-----------------13.03.98 16:03------------------- /*-----------------13.03.98 16:03-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxFontWidthItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxFontWidthItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1287,7 +1287,7 @@ sal_Bool SvxFontWidthItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
nWidth = nVal; nWidth = nVal;
break; break;
} }
return sal_True; return true;
} }
//------------------------------------------------------------------------ //------------------------------------------------------------------------
@ -1425,7 +1425,7 @@ XubString SvxTextLineItem::GetValueTextByPos( USHORT /*nPos*/ ) const
/*-----------------13.03.98 16:25------------------- /*-----------------13.03.98 16:25-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxTextLineItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxTextLineItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1444,13 +1444,13 @@ sal_Bool SvxTextLineItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal = Bool2Any( !mColor.GetTransparency() ); rVal = Bool2Any( !mColor.GetTransparency() );
break; break;
} }
return sal_True; return true;
} }
/*-----------------13.03.98 16:28------------------- /*-----------------13.03.98 16:28-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxTextLineItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxTextLineItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1658,7 +1658,7 @@ XubString SvxCrossedOutItem::GetValueTextByPos( USHORT nPos ) const
/*-----------------13.03.98 16:28------------------- /*-----------------13.03.98 16:28-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxCrossedOutItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxCrossedOutItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -1671,12 +1671,12 @@ sal_Bool SvxCrossedOutItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal <<= (sal_Int16)(GetValue()); rVal <<= (sal_Int16)(GetValue());
break; break;
} }
return sal_True; return true;
} }
/*-----------------13.03.98 16:29------------------- /*-----------------13.03.98 16:29-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxCrossedOutItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxCrossedOutItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -2047,22 +2047,22 @@ int SvxColorItem::operator==( const SfxPoolItem& rAttr ) const
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxColorItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvxColorItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
rVal <<= (sal_Int32)(mColor.GetColor()); rVal <<= (sal_Int32)(mColor.GetColor());
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxColorItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ ) bool SvxColorItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
sal_Int32 nColor = 0; sal_Int32 nColor = 0;
if(!(rVal >>= nColor)) if(!(rVal >>= nColor))
return sal_False; return sal_False;
mColor.SetColor( nColor ); mColor.SetColor( nColor );
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -2277,24 +2277,24 @@ SfxItemPresentation SvxKerningItem::GetPresentation
/* -----------------------------19.02.01 12:21-------------------------------- /* -----------------------------19.02.01 12:21--------------------------------
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
sal_Bool SvxKerningItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxKerningItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
sal_Int16 nVal = GetValue(); sal_Int16 nVal = GetValue();
if(nMemberId & CONVERT_TWIPS) if(nMemberId & CONVERT_TWIPS)
nVal = (sal_Int16)TWIP_TO_MM100(nVal); nVal = (sal_Int16)TWIP_TO_MM100(nVal);
rVal <<= nVal; rVal <<= nVal;
return sal_True; return true;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxKerningItem::PutValue( const uno::Any& rVal, BYTE nMemberId) bool SvxKerningItem::PutValue( const uno::Any& rVal, BYTE nMemberId)
{ {
sal_Int16 nVal = sal_Int16(); sal_Int16 nVal = sal_Int16();
if(!(rVal >>= nVal)) if(!(rVal >>= nVal))
return sal_False; return false;
if(nMemberId & CONVERT_TWIPS) if(nMemberId & CONVERT_TWIPS)
nVal = (sal_Int16)MM100_TO_TWIP(nVal); nVal = (sal_Int16)MM100_TO_TWIP(nVal);
SetValue(nVal); SetValue(nVal);
return sal_True; return true;
} }
// class SvxCaseMapItem -------------------------------------------------- // class SvxCaseMapItem --------------------------------------------------
@ -2370,7 +2370,7 @@ XubString SvxCaseMapItem::GetValueTextByPos( USHORT nPos ) const
/*-----------------13.03.98 16:29------------------- /*-----------------13.03.98 16:29-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxCaseMapItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvxCaseMapItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
sal_Int16 nRet = style::CaseMap::NONE; sal_Int16 nRet = style::CaseMap::NONE;
switch( GetValue() ) switch( GetValue() )
@ -2382,12 +2382,12 @@ sal_Bool SvxCaseMapItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
case SVX_CASEMAP_KAPITAELCHEN: nRet = style::CaseMap::SMALLCAPS; break; case SVX_CASEMAP_KAPITAELCHEN: nRet = style::CaseMap::SMALLCAPS; break;
} }
rVal <<= (sal_Int16)(nRet); rVal <<= (sal_Int16)(nRet);
return sal_True; return true;
} }
/*-----------------13.03.98 16:29------------------- /*-----------------13.03.98 16:29-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxCaseMapItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ ) bool SvxCaseMapItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
sal_uInt16 nVal = sal_uInt16(); sal_uInt16 nVal = sal_uInt16();
if(!(rVal >>= nVal)) if(!(rVal >>= nVal))
@ -2402,7 +2402,7 @@ sal_Bool SvxCaseMapItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
case style::CaseMap::SMALLCAPS: nVal = SVX_CASEMAP_KAPITAELCHEN; break; case style::CaseMap::SMALLCAPS: nVal = SVX_CASEMAP_KAPITAELCHEN; break;
} }
SetValue(nVal); SetValue(nVal);
return sal_True; return true;
} }
// class SvxEscapementItem ----------------------------------------------- // class SvxEscapementItem -----------------------------------------------
@ -2552,7 +2552,7 @@ void SvxEscapementItem::SetEnumValue( USHORT nVal )
/*-----------------13.03.98 17:05------------------- /*-----------------13.03.98 17:05-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxEscapementItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxEscapementItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -2568,12 +2568,12 @@ sal_Bool SvxEscapementItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal = Bool2Any(DFLT_ESC_AUTO_SUB == nEsc || DFLT_ESC_AUTO_SUPER == nEsc); rVal = Bool2Any(DFLT_ESC_AUTO_SUB == nEsc || DFLT_ESC_AUTO_SUPER == nEsc);
break; break;
} }
return sal_True; return true;
} }
/*-----------------13.03.98 17:05------------------- /*-----------------13.03.98 17:05-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxEscapementItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxEscapementItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -2615,7 +2615,7 @@ sal_Bool SvxEscapementItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
} }
break; break;
} }
return sal_True; return true;
} }
// class SvxLanguageItem ------------------------------------------------- // class SvxLanguageItem -------------------------------------------------
@ -2693,7 +2693,7 @@ SfxItemPresentation SvxLanguageItem::GetPresentation
/*-----------------14.03.98 14:13------------------- /*-----------------14.03.98 14:13-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxLanguageItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxLanguageItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -2707,12 +2707,12 @@ sal_Bool SvxLanguageItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal <<= aRet; rVal <<= aRet;
break; break;
} }
return sal_True; return true;
} }
/*-----------------14.03.98 14:13------------------- /*-----------------14.03.98 14:13-------------------
--------------------------------------------------*/ --------------------------------------------------*/
sal_Bool SvxLanguageItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxLanguageItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -2722,7 +2722,7 @@ sal_Bool SvxLanguageItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
sal_Int32 nValue = 0; sal_Int32 nValue = 0;
if(!(rVal >>= nValue)) if(!(rVal >>= nValue))
return sal_False; return false;
SetValue((sal_Int16)nValue); SetValue((sal_Int16)nValue);
} }
@ -2740,11 +2740,11 @@ sal_Bool SvxLanguageItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
} }
break; break;
} }
return sal_True; return true;
} }
// class SvxNoLinebreakItem ---------------------------------------------- // class SvxNoLinebreakItem ----------------------------------------------
SvxNoLinebreakItem::SvxNoLinebreakItem( const sal_Bool bBreak, const USHORT nId ) : SvxNoLinebreakItem::SvxNoLinebreakItem( const BOOL bBreak, const USHORT nId ) :
SfxBoolItem( nId, bBreak ) SfxBoolItem( nId, bBreak )
{ {
} }
@ -3021,7 +3021,7 @@ SfxItemPresentation SvxEmphasisMarkItem::GetPresentation
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_Bool SvxEmphasisMarkItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const bool SvxEmphasisMarkItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
@ -3045,14 +3045,14 @@ sal_Bool SvxEmphasisMarkItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
} }
break; break;
} }
return sal_True; return true;
} }
sal_Bool SvxEmphasisMarkItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) bool SvxEmphasisMarkItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
sal_Bool bRet = sal_True; sal_Bool bRet = true;
switch( nMemberId ) switch( nMemberId )
{ {
case MID_EMPHASIS: case MID_EMPHASIS:
@ -3070,7 +3070,7 @@ sal_Bool SvxEmphasisMarkItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
case FontEmphasis::CIRCLE_BELOW: nValue = EMPHASISMARK_CIRCLE|EMPHASISMARK_POS_BELOW; break; case FontEmphasis::CIRCLE_BELOW: nValue = EMPHASISMARK_CIRCLE|EMPHASISMARK_POS_BELOW; break;
case FontEmphasis::DISK_BELOW : nValue = EMPHASISMARK_DISC|EMPHASISMARK_POS_BELOW; break; case FontEmphasis::DISK_BELOW : nValue = EMPHASISMARK_DISC|EMPHASISMARK_POS_BELOW; break;
case FontEmphasis::ACCENT_BELOW: nValue = EMPHASISMARK_ACCENT|EMPHASISMARK_POS_BELOW; break; case FontEmphasis::ACCENT_BELOW: nValue = EMPHASISMARK_ACCENT|EMPHASISMARK_POS_BELOW; break;
default: return sal_False; default: return false;
} }
SetValue( (sal_Int16)nValue ); SetValue( (sal_Int16)nValue );
} }
@ -3126,12 +3126,12 @@ SfxPoolItem* SvxTwoLinesItem::Clone( SfxItemPool* ) const
return new SvxTwoLinesItem( *this ); return new SvxTwoLinesItem( *this );
} }
sal_Bool SvxTwoLinesItem::QueryValue( com::sun::star::uno::Any& rVal, bool SvxTwoLinesItem::QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
sal_Bool bRet = sal_True; sal_Bool bRet = true;
switch( nMemberId ) switch( nMemberId )
{ {
case MID_TWOLINES: case MID_TWOLINES:
@ -3154,13 +3154,13 @@ sal_Bool SvxTwoLinesItem::QueryValue( com::sun::star::uno::Any& rVal,
} }
break; break;
default: default:
bRet = sal_False; bRet = false;
break; break;
} }
return bRet; return bRet;
} }
sal_Bool SvxTwoLinesItem::PutValue( const com::sun::star::uno::Any& rVal, bool SvxTwoLinesItem::PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ) BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@ -3312,12 +3312,12 @@ SfxItemPresentation SvxCharRotateItem::GetPresentation(
return SFX_ITEM_PRESENTATION_NONE; return SFX_ITEM_PRESENTATION_NONE;
} }
sal_Bool SvxCharRotateItem::QueryValue( com::sun::star::uno::Any& rVal, bool SvxCharRotateItem::QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
sal_Bool bRet = sal_True; bool bRet = true;
switch( nMemberId ) switch( nMemberId )
{ {
case MID_ROTATE: case MID_ROTATE:
@ -3327,18 +3327,18 @@ sal_Bool SvxCharRotateItem::QueryValue( com::sun::star::uno::Any& rVal,
rVal = Bool2Any( IsFitToLine() ); rVal = Bool2Any( IsFitToLine() );
break; break;
default: default:
bRet = sal_False; bRet = false;
break; break;
} }
return bRet; return bRet;
} }
sal_Bool SvxCharRotateItem::PutValue( const com::sun::star::uno::Any& rVal, bool SvxCharRotateItem::PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ) BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
sal_Bool bRet = sal_True; bool bRet = true;
switch( nMemberId ) switch( nMemberId )
{ {
case MID_ROTATE: case MID_ROTATE:
@ -3355,7 +3355,7 @@ sal_Bool SvxCharRotateItem::PutValue( const com::sun::star::uno::Any& rVal,
SetFitToLine( Any2Bool( rVal ) ); SetFitToLine( Any2Bool( rVal ) );
break; break;
default: default:
bRet = sal_False; bRet = false;
} }
return bRet; return bRet;
} }
@ -3455,7 +3455,7 @@ SfxItemPresentation SvxCharScaleWidthItem::GetPresentation(
return SFX_ITEM_PRESENTATION_NONE; return SFX_ITEM_PRESENTATION_NONE;
} }
sal_Bool SvxCharScaleWidthItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ ) bool SvxCharScaleWidthItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
// SfxUInt16Item::QueryValue returns sal_Int32 in Any now... (srx642w) // SfxUInt16Item::QueryValue returns sal_Int32 in Any now... (srx642w)
// where we still want this to be a sal_Int16 // where we still want this to be a sal_Int16
@ -3463,19 +3463,19 @@ sal_Bool SvxCharScaleWidthItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId
if (rVal >>= nValue) if (rVal >>= nValue)
{ {
SetValue( (UINT16) nValue ); SetValue( (UINT16) nValue );
return TRUE; return true;
} }
DBG_ERROR( "SvxCharScaleWidthItem::PutValue - Wrong type!" ); DBG_ERROR( "SvxCharScaleWidthItem::PutValue - Wrong type!" );
return FALSE; return false;
} }
sal_Bool SvxCharScaleWidthItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvxCharScaleWidthItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
// SfxUInt16Item::QueryValue returns sal_Int32 in Any now... (srx642w) // SfxUInt16Item::QueryValue returns sal_Int32 in Any now... (srx642w)
// where we still want this to be a sal_Int16 // where we still want this to be a sal_Int16
rVal <<= (sal_Int16)GetValue(); rVal <<= (sal_Int16)GetValue();
return TRUE; return true;
} }
/************************************************************************* /*************************************************************************
@ -3550,12 +3550,12 @@ SfxItemPresentation SvxCharReliefItem::GetPresentation
return eRet; return eRet;
} }
sal_Bool SvxCharReliefItem::PutValue( const com::sun::star::uno::Any& rVal, bool SvxCharReliefItem::PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId ) BYTE nMemberId )
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
sal_Bool bRet = sal_True; bool bRet = true;
switch( nMemberId ) switch( nMemberId )
{ {
case MID_RELIEF: case MID_RELIEF:
@ -3565,29 +3565,29 @@ sal_Bool SvxCharReliefItem::PutValue( const com::sun::star::uno::Any& rVal,
if(nVal >= 0 && nVal <= RELIEF_ENGRAVED) if(nVal >= 0 && nVal <= RELIEF_ENGRAVED)
SetValue( (USHORT)nVal ); SetValue( (USHORT)nVal );
else else
bRet = sal_False; bRet = false;
} }
break; break;
default: default:
bRet = sal_False; bRet = false;
break; break;
} }
return bRet; return bRet;
} }
sal_Bool SvxCharReliefItem::QueryValue( com::sun::star::uno::Any& rVal, bool SvxCharReliefItem::QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId ) const BYTE nMemberId ) const
{ {
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
sal_Bool bRet = sal_True; bool bRet = true;
switch( nMemberId ) switch( nMemberId )
{ {
case MID_RELIEF: case MID_RELIEF:
rVal <<= (sal_Int16)GetValue(); rVal <<= (sal_Int16)GetValue();
break; break;
default: default:
bRet = sal_False; bRet = false;
break; break;
} }
return bRet; return bRet;

View File

@ -104,10 +104,10 @@ SfxItemPresentation SvxWritingModeItem::GetPresentation( SfxItemPresentation ePr
return eRet; return eRet;
} }
sal_Bool SvxWritingModeItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE ) bool SvxWritingModeItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
{ {
sal_Int32 nVal = 0; sal_Int32 nVal = 0;
sal_Bool bRet = ( rVal >>= nVal ); bool bRet = ( rVal >>= nVal );
if( !bRet ) if( !bRet )
{ {
@ -139,7 +139,7 @@ sal_Bool SvxWritingModeItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
return bRet; return bRet;
} }
sal_Bool SvxWritingModeItem::QueryValue( com::sun::star::uno::Any& rVal, bool SvxWritingModeItem::QueryValue( com::sun::star::uno::Any& rVal,
BYTE ) const BYTE ) const
{ {
rVal <<= (WritingMode)GetValue(); rVal <<= (WritingMode)GetValue();

View File

@ -90,15 +90,16 @@ USHORT SvXMLAttrContainerItem::GetVersion( USHORT /*nFileFormatVersion*/ ) const
return USHRT_MAX; return USHRT_MAX;
} }
BOOL SvXMLAttrContainerItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SvXMLAttrContainerItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
Reference<XNameContainer> xContainer = Reference<XNameContainer> xContainer =
new SvUnoAttributeContainer( new SvXMLAttrContainerData( *pImpl ) ); new SvUnoAttributeContainer( new SvXMLAttrContainerData( *pImpl ) );
rVal.setValue( &xContainer, ::getCppuType((Reference<XNameContainer>*)0) ); rVal.setValue( &xContainer, ::getCppuType((Reference<XNameContainer>*)0) );
return TRUE; return true;
} }
BOOL SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
bool SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
Reference<XInterface> xRef; Reference<XInterface> xRef;
SvUnoAttributeContainer* pContainer = NULL; SvUnoAttributeContainer* pContainer = NULL;
@ -174,16 +175,16 @@ BOOL SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
else else
{ {
delete pNewImpl; delete pNewImpl;
return FALSE; return false;
} }
} }
catch(...) catch(...)
{ {
delete pNewImpl; delete pNewImpl;
return FALSE; return false;
} }
} }
return TRUE; return true;
} }

View File

@ -162,8 +162,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
// class SfxDocumentPage ------------------------------------------------- // class SfxDocumentPage -------------------------------------------------

View File

@ -267,8 +267,8 @@ public:
virtual String GetValueText() const; virtual String GetValueText() const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
sal_Bool FrameKilled() const { return &wFrame != pFrame; } sal_Bool FrameKilled() const { return &wFrame != pFrame; }
@ -286,8 +286,8 @@ public:
{ return aValue; } { return aValue; }
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SFX2_DLLPUBLIC SfxUnoFrameItem : public SfxPoolItem class SFX2_DLLPUBLIC SfxUnoFrameItem : public SfxPoolItem
@ -304,8 +304,8 @@ public:
{ return m_xFrame; } { return m_xFrame; }
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
typedef SfxUsrAnyItem SfxUnoAnyItem; typedef SfxUsrAnyItem SfxUnoAnyItem;

View File

@ -882,8 +882,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual String GetValueText() const; virtual String GetValueText() const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SfxObjectShell* GetObjectShell() const SfxObjectShell* GetObjectShell() const
{ return pObjSh; } { return pObjSh; }

View File

@ -342,7 +342,7 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
const com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor >& GetVerbList() const { return aVerbs; } const com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor >& GetVerbList() const { return aVerbs; }
}; };

View File

@ -45,8 +45,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
String getLanguage() { return aLanguage; }; String getLanguage() { return aLanguage; };
}; };

View File

@ -49,8 +49,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual BYTE GetFlagCount() const; virtual BYTE GetFlagCount() const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -88,7 +88,7 @@ int SfxScriptOrganizerItem::operator==( const SfxPoolItem& rItem) const
} }
sal_Bool SfxScriptOrganizerItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const bool SfxScriptOrganizerItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{ {
String aValue; String aValue;
BOOL bIsString = FALSE; BOOL bIsString = FALSE;
@ -103,20 +103,20 @@ sal_Bool SfxScriptOrganizerItem::QueryValue( com::sun::star::uno::Any& rVal, BYT
break; break;
default: default:
DBG_ERROR("Wrong MemberId!"); DBG_ERROR("Wrong MemberId!");
return sal_False; return false;
} }
if ( bIsString ) if ( bIsString )
rVal <<= ::rtl::OUString( aValue ); rVal <<= ::rtl::OUString( aValue );
else else
rVal <<= bValue; rVal <<= bValue;
return sal_True; return true;
} }
sal_Bool SfxScriptOrganizerItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ) bool SfxScriptOrganizerItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
sal_Bool bRet = sal_False; sal_Bool bRet = false;
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
switch ( nMemberId ) switch ( nMemberId )
{ {
@ -128,7 +128,7 @@ sal_Bool SfxScriptOrganizerItem::PutValue( const com::sun::star::uno::Any& rVal,
break; break;
default: default:
DBG_ERROR("Wrong MemberId!"); DBG_ERROR("Wrong MemberId!");
return sal_False; return false;
} }
return bRet; return bRet;

View File

@ -510,7 +510,7 @@ void SfxDocumentInfoItem::AddCustomProperty( const ::rtl::OUString& sName, const
m_aCustomProperties.push_back( pProp ); m_aCustomProperties.push_back( pProp );
} }
sal_Bool SfxDocumentInfoItem::QueryValue( Any& rVal, BYTE nMemberId ) const bool SfxDocumentInfoItem::QueryValue( Any& rVal, BYTE nMemberId ) const
{ {
String aValue; String aValue;
sal_Int32 nValue = 0; sal_Int32 nValue = 0;
@ -568,15 +568,15 @@ sal_Bool SfxDocumentInfoItem::QueryValue( Any& rVal, BYTE nMemberId ) const
rVal <<= nValue; rVal <<= nValue;
else else
rVal <<= bValue; rVal <<= bValue;
return sal_True; return true;
} }
sal_Bool SfxDocumentInfoItem::PutValue( const Any& rVal, BYTE nMemberId ) bool SfxDocumentInfoItem::PutValue( const Any& rVal, BYTE nMemberId )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
sal_Int32 nValue=0; sal_Int32 nValue=0;
sal_Bool bValue = sal_False; sal_Bool bValue = sal_False;
sal_Bool bRet = sal_False; bool bRet = false;
nMemberId &= ~CONVERT_TWIPS; nMemberId &= ~CONVERT_TWIPS;
switch ( nMemberId ) switch ( nMemberId )
{ {
@ -633,7 +633,7 @@ sal_Bool SfxDocumentInfoItem::PutValue( const Any& rVal, BYTE nMemberId )
break; break;
default: default:
DBG_ERROR("Wrong MemberId!"); DBG_ERROR("Wrong MemberId!");
return sal_False; return false;
} }
return bRet; return bRet;

View File

@ -87,7 +87,7 @@ SfxPoolItem* SfxTemplateItem::Clone( SfxItemPool *) const
} }
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
sal_Bool SfxTemplateItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SfxTemplateItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
::com::sun::star::frame::status::Template aTemplate; ::com::sun::star::frame::status::Template aTemplate;
@ -95,11 +95,11 @@ sal_Bool SfxTemplateItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMe
aTemplate.StyleName = aStyle; aTemplate.StyleName = aStyle;
rVal <<= aTemplate; rVal <<= aTemplate;
return sal_True; return true;
} }
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
sal_Bool SfxTemplateItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) bool SfxTemplateItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
::com::sun::star::frame::status::Template aTemplate; ::com::sun::star::frame::status::Template aTemplate;
@ -107,10 +107,10 @@ sal_Bool SfxTemplateItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /
{ {
SetValue( sal::static_int_cast< USHORT >( aTemplate.Value ) ); SetValue( sal::static_int_cast< USHORT >( aTemplate.Value ) );
aStyle = aTemplate.StyleName; aStyle = aTemplate.StyleName;
return sal_True; return true;
} }
return sal_False; return false;
} }
//------------------------------------------------------------------------- //-------------------------------------------------------------------------

View File

@ -64,7 +64,7 @@ SfxPoolItem* SfxObjectShellItem::Clone( SfxItemPool *) const
//-------------------------------------------------------------------- //--------------------------------------------------------------------
sal_Bool SfxObjectShellItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SfxObjectShellItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
if ( pObjSh ) if ( pObjSh )
{ {
@ -76,12 +76,12 @@ sal_Bool SfxObjectShellItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*
{ {
rVal <<= ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >(); rVal <<= ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >();
} }
return TRUE; return true;
} }
//-------------------------------------------------------------------- //--------------------------------------------------------------------
sal_Bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
// This item MUST have a model. Please don't change this, there are UNO-based // This item MUST have a model. Please don't change this, there are UNO-based
// implementations which need it!! // implementations which need it!!
@ -100,16 +100,16 @@ sal_Bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
if ( nHandle ) if ( nHandle )
{ {
pObjSh = reinterpret_cast< SfxObjectShell* >(sal::static_int_cast<sal_IntPtr>( nHandle )); pObjSh = reinterpret_cast< SfxObjectShell* >(sal::static_int_cast<sal_IntPtr>( nHandle ));
return TRUE; return true;
} }
} }
} }
pObjSh = 0; pObjSh = 0;
return TRUE; return true;
} }
return FALSE; return true;
} }
//========================================================================= //=========================================================================

View File

@ -592,7 +592,7 @@ SfxPoolItem* SfxFrameItem::Clone( SfxItemPool *) const
return pNew; return pNew;
} }
sal_Bool SfxFrameItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const bool SfxFrameItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
{ {
if ( wFrame ) if ( wFrame )
{ {
@ -603,7 +603,7 @@ sal_Bool SfxFrameItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
return FALSE; return FALSE;
} }
sal_Bool SfxFrameItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE ) bool SfxFrameItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
{ {
Reference < XFrame > xFrame; Reference < XFrame > xFrame;
if ( (rVal >>= xFrame) && xFrame.is() ) if ( (rVal >>= xFrame) && xFrame.is() )
@ -643,13 +643,13 @@ SfxPoolItem* SfxUsrAnyItem::Clone( SfxItemPool *) const
return new SfxUsrAnyItem( Which(), aValue ); return new SfxUsrAnyItem( Which(), aValue );
} }
sal_Bool SfxUsrAnyItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SfxUsrAnyItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
rVal = aValue; rVal = aValue;
return sal_True; return sal_True;
} }
sal_Bool SfxUsrAnyItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) bool SfxUsrAnyItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
aValue = rVal; aValue = rVal;
return sal_True; return sal_True;
@ -677,13 +677,13 @@ SfxPoolItem* SfxUnoFrameItem::Clone( SfxItemPool* ) const
return new SfxUnoFrameItem( Which(), m_xFrame ); return new SfxUnoFrameItem( Which(), m_xFrame );
} }
sal_Bool SfxUnoFrameItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const bool SfxUnoFrameItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
{ {
rVal <<= m_xFrame; rVal <<= m_xFrame;
return sal_True; return sal_True;
} }
sal_Bool SfxUnoFrameItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) bool SfxUnoFrameItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
{ {
return ( rVal >>= m_xFrame ); return ( rVal >>= m_xFrame );
} }

View File

@ -274,8 +274,8 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
USHORT GetValueCount() const { return CHTXTORDER_COUNT; } USHORT GetValueCount() const { return CHTXTORDER_COUNT; }
SvxChartTextOrder GetValue() const SvxChartTextOrder GetValue() const
@ -355,11 +355,8 @@ public:
SvxDoubleItem(SvStream& rIn, USHORT nId ); SvxDoubleItem(SvStream& rIn, USHORT nId );
SvxDoubleItem(const SvxDoubleItem& rItem); SvxDoubleItem(const SvxDoubleItem& rItem);
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueText() const; virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres,

View File

@ -50,8 +50,8 @@ public:
SvxClipboardFmtItem( const SvxClipboardFmtItem& ); SvxClipboardFmtItem( const SvxClipboardFmtItem& );
virtual ~SvxClipboardFmtItem(); virtual ~SvxClipboardFmtItem();
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
void AddClipbrdFormat( ULONG nId, USHORT nPos = USHRT_MAX ); void AddClipbrdFormat( ULONG nId, USHORT nPos = USHRT_MAX );
void AddClipbrdFormat( ULONG nId, const String& rName, void AddClipbrdFormat( ULONG nId, const String& rName,

View File

@ -58,8 +58,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
XColorTable* GetColorTable() const { return pColorTable; } XColorTable* GetColorTable() const { return pColorTable; }
void SetColorTable( XColorTable* pTable ) { void SetColorTable( XColorTable* pTable ) {
@ -92,8 +92,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
XGradientList* GetGradientList() const { return pGradientList; } XGradientList* GetGradientList() const { return pGradientList; }
void SetGradientList( XGradientList* pList ) { void SetGradientList( XGradientList* pList ) {
@ -127,8 +127,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
XHatchList* GetHatchList() const { return pHatchList; } XHatchList* GetHatchList() const { return pHatchList; }
void SetHatchList( XHatchList* pList ) { void SetHatchList( XHatchList* pList ) {
@ -162,8 +162,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
XBitmapList* GetBitmapList() const { return pBitmapList; } XBitmapList* GetBitmapList() const { return pBitmapList; }
void SetBitmapList( XBitmapList* pList ) { void SetBitmapList( XBitmapList* pList ) {
@ -197,8 +197,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
XDashList* GetDashList() const { return pDashList; } XDashList* GetDashList() const { return pDashList; }
void SetDashList( XDashList* pList ); void SetDashList( XDashList* pList );
@ -231,8 +231,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
XLineEndList* GetLineEndList() const { return pLineEndList; } XLineEndList* GetLineEndList() const { return pLineEndList; }
void SetLineEndList( XLineEndList* pList ) { void SetLineEndList( XLineEndList* pList ) {

View File

@ -74,8 +74,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
const String& GetName() const { return sName; } const String& GetName() const { return sName; }
void SetName(const String& rName) { sName = rName; } void SetName(const String& rName) { sName = rName; }

View File

@ -60,8 +60,8 @@ public:
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String& rText, const IntlWrapper * = 0 ) const; String& rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };

View File

@ -44,8 +44,8 @@ class SVX_DLLPUBLIC SvxLongLRSpaceItem : public SfxPoolItem
protected: protected:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueText() const; virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@ -80,8 +80,8 @@ class SVX_DLLPUBLIC SvxLongULSpaceItem : public SfxPoolItem
protected: protected:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueText() const; virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@ -115,8 +115,8 @@ class SVX_DLLPUBLIC SvxPagePosSizeItem : public SfxPoolItem
long lHeight; long lHeight;
protected: protected:
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueText() const; virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@ -210,8 +210,8 @@ protected:
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
public: public:
TYPEINFO(); TYPEINFO();
// rechter Rand des umgebenden Rahmens // rechter Rand des umgebenden Rahmens
@ -274,8 +274,8 @@ protected:
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
private: private:
SVX_DLLPRIVATE const SvxObjectItem &operator=(const SvxObjectItem &); // n.i. SVX_DLLPRIVATE const SvxObjectItem &operator=(const SvxObjectItem &); // n.i.
public: public:

View File

@ -78,8 +78,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const; // leer virtual SfxPoolItem* Create(SvStream &, USHORT) const; // leer
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; // leer virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; // leer
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; // leer virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; // leer
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // leer virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // leer
const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > >& GetActionComponentsSequence() const { return maActionComponentsSequence; } const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > >& GetActionComponentsSequence() const { return maActionComponentsSequence; }
const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > >& GetActionIndicesSequence() const { return maActionIndicesSequence; } const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > >& GetActionIndicesSequence() const { return maActionIndicesSequence; }

View File

@ -57,8 +57,8 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual String GetValueText( USHORT nVal ) const; virtual String GetValueText( USHORT nVal ) const;
@ -92,8 +92,8 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual String GetValueText( USHORT nVal ) const; virtual String GetValueText( USHORT nVal ) const;
@ -128,8 +128,8 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
virtual String GetValueText( USHORT nVal ) const; virtual String GetValueText( USHORT nVal ) const;
@ -176,8 +176,8 @@ public:
virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVer ) const; virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVer ) const;
virtual SvStream& Store( SvStream&, USHORT nItemVersion ) const; virtual SvStream& Store( SvStream&, USHORT nItemVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
INT16 GetLeftMargin() const {return nLeftMargin; } INT16 GetLeftMargin() const {return nLeftMargin; }
BOOL SetLeftMargin(INT16 nLeft); BOOL SetLeftMargin(INT16 nLeft);

View File

@ -54,8 +54,8 @@ public:
virtual SfxPoolItem* Create(SvStream &, USHORT nVersion) const; virtual SfxPoolItem* Create(SvStream &, USHORT nVersion) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const; virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
const basegfx::B3DVector& GetValue() const { return aVal; } const basegfx::B3DVector& GetValue() const { return aVal; }
void SetValue( const basegfx::B3DVector& rNewVal ) { void SetValue( const basegfx::B3DVector& rNewVal ) {

View File

@ -53,9 +53,9 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, String &rText,
const IntlWrapper* pIntl = 0 ) const; const IntlWrapper* pIntl = 0 ) const;
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, virtual bool QueryValue( com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ) const; BYTE nMemberId = 0 ) const;
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, virtual bool PutValue( const com::sun::star::uno::Any& rVal,
BYTE nMemberId = 0 ); BYTE nMemberId = 0 );
void SetLeft( sal_Int32 nVal ) { nLeft = nVal; } void SetLeft( sal_Int32 nVal ) { nLeft = nVal; }

View File

@ -98,8 +98,8 @@ public:
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxPoolItem* Create( SvStream&, USHORT ) const; virtual SfxPoolItem* Create( SvStream&, USHORT ) const;
virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const; virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const;

View File

@ -64,8 +64,8 @@ class SdrCustomShapeAdjustmentItem : public SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const; virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
#ifdef SDR_ISPOOLABLE #ifdef SDR_ISPOOLABLE

View File

@ -99,8 +99,8 @@ private:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const; virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& GetGeometry() const; const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& GetGeometry() const;

View File

@ -48,8 +48,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const; virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif // _SDGGAITM_HXX #endif // _SDGGAITM_HXX

View File

@ -50,8 +50,8 @@ public:
virtual USHORT GetValueCount() const; // { return 4; } virtual USHORT GetValueCount() const; // { return 4; }
SdrTextAniDirection GetValue() const { return (SdrTextAniDirection)SfxEnumItem::GetValue(); } SdrTextAniDirection GetValue() const { return (SdrTextAniDirection)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;

View File

@ -52,8 +52,8 @@ public:
virtual USHORT GetValueCount() const; // { return 5; } virtual USHORT GetValueCount() const; // { return 5; }
SdrTextVertAdjust GetValue() const { return (SdrTextVertAdjust)SfxEnumItem::GetValue(); } SdrTextVertAdjust GetValue() const { return (SdrTextVertAdjust)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
@ -79,8 +79,8 @@ public:
virtual USHORT GetValueCount() const; // { return 5; } virtual USHORT GetValueCount() const; // { return 5; }
SdrTextHorzAdjust GetValue() const { return (SdrTextHorzAdjust)SfxEnumItem::GetValue(); } SdrTextHorzAdjust GetValue() const { return (SdrTextHorzAdjust)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -95,8 +95,8 @@ public:
virtual USHORT GetValueCount() const; // { return 5; } virtual USHORT GetValueCount() const; // { return 5; }
SdrTextAniKind GetValue() const { return (SdrTextAniKind)SfxEnumItem::GetValue(); } SdrTextAniKind GetValue() const { return (SdrTextAniKind)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -46,8 +46,8 @@ public:
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
SVX_DLLPRIVATE virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const; SVX_DLLPRIVATE virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
#ifdef SDR_ISPOOLABLE #ifdef SDR_ISPOOLABLE
SVX_DLLPRIVATE virtual int IsPoolable() const; SVX_DLLPRIVATE virtual int IsPoolable() const;

View File

@ -60,8 +60,8 @@ public:
virtual USHORT GetValueCount() const; // { return 4; } virtual USHORT GetValueCount() const; // { return 4; }
SdrFitToSizeType GetValue() const { return (SdrFitToSizeType)SfxEnumItem::GetValue(); } SdrFitToSizeType GetValue() const { return (SdrFitToSizeType)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -87,8 +87,8 @@ public:
Svx3DNormalsKindItem(sal_uInt16 nVal = 0); Svx3DNormalsKindItem(sal_uInt16 nVal = 0);
// use drawing::NormalsKind // use drawing::NormalsKind
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };
@ -102,8 +102,8 @@ public:
Svx3DTextureProjectionXItem(sal_uInt16 nVal = 0); Svx3DTextureProjectionXItem(sal_uInt16 nVal = 0);
// use drawing::TextureProjectionMode // use drawing::TextureProjectionMode
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };
@ -112,8 +112,8 @@ public:
Svx3DTextureProjectionYItem(sal_uInt16 nVal = 0); Svx3DTextureProjectionYItem(sal_uInt16 nVal = 0);
// use drawing::TextureProjectionMode // use drawing::TextureProjectionMode
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };
@ -147,8 +147,8 @@ public:
Svx3DTextureKindItem(sal_uInt16 nVal = 3); Svx3DTextureKindItem(sal_uInt16 nVal = 3);
// use drawing::TextureKind // use drawing::TextureKind
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };
@ -157,8 +157,8 @@ public:
Svx3DTextureModeItem(sal_uInt16 nVal = 2); Svx3DTextureModeItem(sal_uInt16 nVal = 2);
// use drawing:TextureMode // use drawing:TextureMode
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };
@ -173,8 +173,8 @@ public:
Svx3DPerspectiveItem(sal_uInt16 nVal = (sal_uInt16)PR_PERSPECTIVE); Svx3DPerspectiveItem(sal_uInt16 nVal = (sal_uInt16)PR_PERSPECTIVE);
// use drawing::ProjectionMode // use drawing::ProjectionMode
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };
@ -328,8 +328,8 @@ public:
Svx3DShadeModeItem(sal_uInt16 nVal = 2); Svx3DShadeModeItem(sal_uInt16 nVal = 2);
// use drawing::ShadeMode // use drawing::ShadeMode
SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
}; };

View File

@ -45,8 +45,8 @@ public:
virtual USHORT GetValueCount() const; // { return 4; } virtual USHORT GetValueCount() const; // { return 4; }
SdrCircKind GetValue() const { return (SdrCircKind)SfxEnumItem::GetValue(); } SdrCircKind GetValue() const { return (SdrCircKind)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -49,8 +49,8 @@ public:
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual USHORT GetValueCount() const; // { return 5; } virtual USHORT GetValueCount() const; // { return 5; }
SdrEdgeKind GetValue() const { return (SdrEdgeKind)SfxEnumItem::GetValue(); } SdrEdgeKind GetValue() const { return (SdrEdgeKind)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
}; };

View File

@ -41,24 +41,24 @@ class SVX_DLLPUBLIC SdrEdgeLine1DeltaItem: public SdrMetricItem {
public: public:
SdrEdgeLine1DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE1DELTA,nVal) {} SdrEdgeLine1DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE1DELTA,nVal) {}
SdrEdgeLine1DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE1DELTA,rIn) {} SdrEdgeLine1DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE1DELTA,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SVX_DLLPUBLIC SdrEdgeLine2DeltaItem: public SdrMetricItem { class SVX_DLLPUBLIC SdrEdgeLine2DeltaItem: public SdrMetricItem {
public: public:
SdrEdgeLine2DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE2DELTA,nVal) {} SdrEdgeLine2DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE2DELTA,nVal) {}
SdrEdgeLine2DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE2DELTA,rIn) {} SdrEdgeLine2DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE2DELTA,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SVX_DLLPUBLIC SdrEdgeLine3DeltaItem: public SdrMetricItem { class SVX_DLLPUBLIC SdrEdgeLine3DeltaItem: public SdrMetricItem {
public: public:
SdrEdgeLine3DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE3DELTA,nVal) {} SdrEdgeLine3DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE3DELTA,nVal) {}
SdrEdgeLine3DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE3DELTA,rIn) {} SdrEdgeLine3DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE3DELTA,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -35,32 +35,32 @@ class SVX_DLLPUBLIC SdrEdgeNode1HorzDistItem: public SdrMetricItem {
public: public:
SdrEdgeNode1HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,nVal) {} SdrEdgeNode1HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,nVal) {}
SdrEdgeNode1HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,rIn) {} SdrEdgeNode1HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SVX_DLLPUBLIC SdrEdgeNode1VertDistItem: public SdrMetricItem { class SVX_DLLPUBLIC SdrEdgeNode1VertDistItem: public SdrMetricItem {
public: public:
SdrEdgeNode1VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,nVal) {} SdrEdgeNode1VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,nVal) {}
SdrEdgeNode1VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,rIn) {} SdrEdgeNode1VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SVX_DLLPUBLIC SdrEdgeNode2HorzDistItem: public SdrMetricItem { class SVX_DLLPUBLIC SdrEdgeNode2HorzDistItem: public SdrMetricItem {
public: public:
SdrEdgeNode2HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,nVal) {} SdrEdgeNode2HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,nVal) {}
SdrEdgeNode2HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,rIn) {} SdrEdgeNode2HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SVX_DLLPUBLIC SdrEdgeNode2VertDistItem: public SdrMetricItem { class SVX_DLLPUBLIC SdrEdgeNode2VertDistItem: public SdrMetricItem {
public: public:
SdrEdgeNode2VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,nVal) {} SdrEdgeNode2VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,nVal) {}
SdrEdgeNode2VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,rIn) {} SdrEdgeNode2VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,rIn) {}
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
class SdrEdgeNode1GlueDistItem: public SdrMetricItem { class SdrEdgeNode1GlueDistItem: public SdrMetricItem {

View File

@ -45,8 +45,8 @@ public:
virtual USHORT GetValueCount() const; // { return 2; } virtual USHORT GetValueCount() const; // { return 2; }
SdrMeasureKind GetValue() const { return (SdrMeasureKind)SfxEnumItem::GetValue(); } SdrMeasureKind GetValue() const { return (SdrMeasureKind)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -47,8 +47,8 @@ public:
virtual USHORT GetValueCount() const; // { return 4; } virtual USHORT GetValueCount() const; // { return 4; }
SdrMeasureTextHPos GetValue() const { return (SdrMeasureTextHPos)SfxEnumItem::GetValue(); } SdrMeasureTextHPos GetValue() const { return (SdrMeasureTextHPos)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
@ -67,8 +67,8 @@ public:
virtual USHORT GetValueCount() const; // { return 5; } virtual USHORT GetValueCount() const; // { return 5; }
SdrMeasureTextVPos GetValue() const { return (SdrMeasureTextVPos)SfxEnumItem::GetValue(); } SdrMeasureTextVPos GetValue() const { return (SdrMeasureTextVPos)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -44,8 +44,8 @@ public:
virtual USHORT GetValueCount() const; // { return 14; } virtual USHORT GetValueCount() const; // { return 14; }
FieldUnit GetValue() const { return (FieldUnit)SfxEnumItem::GetValue(); } FieldUnit GetValue() const { return (FieldUnit)SfxEnumItem::GetValue(); }
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual String GetValueTextByPos(USHORT nPos) const; virtual String GetValueTextByPos(USHORT nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;

View File

@ -54,8 +54,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create( SvStream& rStrm, USHORT nVersion ) const; // leer virtual SfxPoolItem* Create( SvStream& rStrm, USHORT nVersion ) const; // leer
virtual SvStream& Store( SvStream& rStrm , USHORT nItemVersion ) const; // leer virtual SvStream& Store( SvStream& rStrm , USHORT nItemVersion ) const; // leer
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; // leer virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; // leer
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // leer virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // leer
}; };
//------------------------------------------------------------------------ //------------------------------------------------------------------------

View File

@ -58,8 +58,8 @@ public:
virtual SvStream& Store( SvStream& rOut, USHORT nItemVersion ) const; virtual SvStream& Store( SvStream& rOut, USHORT nItemVersion ) const;
virtual USHORT GetVersion( USHORT nFileFormatVersion ) const; virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -47,8 +47,8 @@ public:
XColorItem() {} XColorItem() {}
XColorItem(USHORT nWhich, INT32 nIndex, const Color& rTheColor); XColorItem(USHORT nWhich, INT32 nIndex, const Color& rTheColor);
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
XColorItem(USHORT nWhich, const String& rName, const Color& rTheColor); XColorItem(USHORT nWhich, const String& rName, const Color& rTheColor);
XColorItem(USHORT nWhich, SvStream& rIn); XColorItem(USHORT nWhich, SvStream& rIn);

View File

@ -48,8 +48,8 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -50,8 +50,8 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -56,8 +56,8 @@ public:
virtual int operator==( const SfxPoolItem& rItem ) const; virtual int operator==( const SfxPoolItem& rItem ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual USHORT GetVersion( USHORT nFileFormatVersion ) const; virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric, String &rText, const IntlWrapper * pIntlWrapper = 0 ) const; SfxMapUnit ePresMetric, String &rText, const IntlWrapper * pIntlWrapper = 0 ) const;

View File

@ -57,8 +57,8 @@ public:
virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const; virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
virtual USHORT GetVersion( USHORT nFileFormatVersion ) const; virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,

View File

@ -56,8 +56,8 @@ public:
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const; virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric, SfxMapUnit ePresMetric,

View File

@ -48,8 +48,8 @@ public:
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
XFormTextAdjust GetValue() const { return (XFormTextAdjust) SfxEnumItem::GetValue(); } XFormTextAdjust GetValue() const { return (XFormTextAdjust) SfxEnumItem::GetValue(); }
// #FontWork# // #FontWork#
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -47,8 +47,8 @@ public:
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
XFormTextStdForm GetValue() const { return (XFormTextStdForm) SfxEnumItem::GetValue(); } XFormTextStdForm GetValue() const { return (XFormTextStdForm) SfxEnumItem::GetValue(); }
// #FontWork# // #FontWork#
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -48,8 +48,8 @@ public:
virtual USHORT GetValueCount() const; virtual USHORT GetValueCount() const;
XFormTextShadow GetValue() const { return (XFormTextShadow) SfxEnumItem::GetValue(); } XFormTextShadow GetValue() const { return (XFormTextShadow) SfxEnumItem::GetValue(); }
// #FontWork# // #FontWork#
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
}; };
#endif #endif

View File

@ -44,8 +44,8 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -47,8 +47,8 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const; virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const; String &rText, const IntlWrapper * = 0 ) const;

View File

@ -46,8 +46,8 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -59,8 +59,8 @@ public:
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const; virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -43,8 +43,8 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

View File

@ -55,8 +55,8 @@ public:
virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const; virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const; virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,

Some files were not shown because too many files have changed in this diff Show More