diff options
Diffstat (limited to 'sw/inc/tblafmt.hxx')
-rw-r--r-- | sw/inc/tblafmt.hxx | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx index f391cb862d5a..b3ffb668868f 100644 --- a/sw/inc/tblafmt.hxx +++ b/sw/inc/tblafmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,7 +46,7 @@ JP 20.07.95: **************************************************************************/ #include <svl/svarray.hxx> -#include "hintids.hxx" //_immmer_ vor den solar-items! +#include "hintids.hxx" //_immmer_ vor den solar-items! #include <svx/algitem.hxx> #include <editeng/fontitem.hxx> #include <editeng/fhgtitem.hxx> @@ -89,32 +89,32 @@ class SwBoxAutoFmt SvxWeightItem aCTLWeight; SvxPostureItem aCTLPosture; - SvxUnderlineItem aUnderline; - SvxOverlineItem aOverline; - SvxCrossedOutItem aCrossedOut; - SvxContourItem aContour; - SvxShadowedItem aShadowed; - SvxColorItem aColor; - SvxBoxItem aBox; + SvxUnderlineItem aUnderline; + SvxOverlineItem aOverline; + SvxCrossedOutItem aCrossedOut; + SvxContourItem aContour; + SvxShadowedItem aShadowed; + SvxColorItem aColor; + SvxBoxItem aBox; SvxLineItem aTLBR; SvxLineItem aBLTR; - SvxBrushItem aBackground; + SvxBrushItem aBackground; // Writer specific - SvxAdjustItem aAdjust; + SvxAdjustItem aAdjust; // Calc specific - SvxHorJustifyItem aHorJustify; - SvxVerJustifyItem aVerJustify; + SvxHorJustifyItem aHorJustify; + SvxVerJustifyItem aVerJustify; SfxBoolItem aStacked; - SvxMarginItem aMargin; - SfxBoolItem aLinebreak; - SfxInt32Item aRotateAngle; - SvxRotateModeItem aRotateMode; + SvxMarginItem aMargin; + SfxBoolItem aLinebreak; + SfxInt32Item aRotateAngle; + SvxRotateModeItem aRotateMode; // number format - String sNumFmtString; - LanguageType eSysLanguage, eNumFmtLanguage; + String sNumFmtString; + LanguageType eSysLanguage, eNumFmtLanguage; public: SwBoxAutoFmt(); @@ -125,10 +125,10 @@ public: SwBoxAutoFmt& operator=( const SwBoxAutoFmt& rNew ); // die Get-Methoden - const SvxFontItem &GetFont() const { return aFont; } - const SvxFontHeightItem &GetHeight() const { return aHeight; } - const SvxWeightItem &GetWeight() const { return aWeight; } - const SvxPostureItem &GetPosture() const { return aPosture; } + const SvxFontItem &GetFont() const { return aFont; } + const SvxFontHeightItem &GetHeight() const { return aHeight; } + const SvxWeightItem &GetWeight() const { return aWeight; } + const SvxPostureItem &GetPosture() const { return aPosture; } const SvxFontItem &GetCJKFont() const { return aCJKFont; } const SvxFontHeightItem &GetCJKHeight() const { return aCJKHeight; } const SvxWeightItem &GetCJKWeight() const { return aCJKWeight; } @@ -137,25 +137,25 @@ public: const SvxFontHeightItem &GetCTLHeight() const { return aCTLHeight; } const SvxWeightItem &GetCTLWeight() const { return aCTLWeight; } const SvxPostureItem &GetCTLPosture() const { return aCTLPosture; } - const SvxUnderlineItem &GetUnderline() const { return aUnderline; } - const SvxOverlineItem &GetOverline() const { return aOverline; } - const SvxCrossedOutItem &GetCrossedOut() const { return aCrossedOut; } - const SvxContourItem &GetContour() const { return aContour; } - const SvxShadowedItem &GetShadowed() const { return aShadowed; } - const SvxColorItem &GetColor() const { return aColor; } - const SvxAdjustItem &GetAdjust() const { return aAdjust; } - const SvxBoxItem &GetBox() const { return aBox; } + const SvxUnderlineItem &GetUnderline() const { return aUnderline; } + const SvxOverlineItem &GetOverline() const { return aOverline; } + const SvxCrossedOutItem &GetCrossedOut() const { return aCrossedOut; } + const SvxContourItem &GetContour() const { return aContour; } + const SvxShadowedItem &GetShadowed() const { return aShadowed; } + const SvxColorItem &GetColor() const { return aColor; } + const SvxAdjustItem &GetAdjust() const { return aAdjust; } + const SvxBoxItem &GetBox() const { return aBox; } const SvxLineItem &GetTLBR() const { return aTLBR; } const SvxLineItem &GetBLTR() const { return aBLTR; } - const SvxBrushItem &GetBackground() const { return aBackground; } + const SvxBrushItem &GetBackground() const { return aBackground; } void GetValueFormat( String& rFmt, LanguageType& rLng, LanguageType& rSys ) const { rFmt = sNumFmtString; rLng = eNumFmtLanguage; rSys = eSysLanguage; } // die SetMethoden - void SetFont( const SvxFontItem& rNew ) { aFont = rNew; } - void SetHeight( const SvxFontHeightItem& rNew ) { aHeight = rNew; } - void SetWeight( const SvxWeightItem& rNew ) { aWeight = rNew; } - void SetPosture( const SvxPostureItem& rNew ) { aPosture = rNew; } + void SetFont( const SvxFontItem& rNew ) { aFont = rNew; } + void SetHeight( const SvxFontHeightItem& rNew ) { aHeight = rNew; } + void SetWeight( const SvxWeightItem& rNew ) { aWeight = rNew; } + void SetPosture( const SvxPostureItem& rNew ) { aPosture = rNew; } void SetCJKFont( const SvxFontItem& rNew ) { aCJKFont = rNew; } void SetCJKHeight( const SvxFontHeightItem& rNew ) { aCJKHeight = rNew; } void SetCJKWeight( const SvxWeightItem& rNew ) { aCJKWeight = rNew; } @@ -164,19 +164,19 @@ public: void SetCTLHeight( const SvxFontHeightItem& rNew ) { aCTLHeight = rNew; } void SetCTLWeight( const SvxWeightItem& rNew ) { aCTLWeight = rNew; } void SetCTLPosture( const SvxPostureItem& rNew ) { aCTLPosture = rNew; } - void SetUnderline( const SvxUnderlineItem& rNew ) { aUnderline = rNew; } - void SetOverline( const SvxOverlineItem& rNew ) { aOverline = rNew; } - void SetCrossedOut( const SvxCrossedOutItem& rNew ) { aCrossedOut = rNew; } - void SetContour( const SvxContourItem& rNew ) { aContour = rNew; } - void SetShadowed( const SvxShadowedItem& rNew ) { aShadowed = rNew; } - void SetColor( const SvxColorItem& rNew ) { aColor = rNew; } + void SetUnderline( const SvxUnderlineItem& rNew ) { aUnderline = rNew; } + void SetOverline( const SvxOverlineItem& rNew ) { aOverline = rNew; } + void SetCrossedOut( const SvxCrossedOutItem& rNew ) { aCrossedOut = rNew; } + void SetContour( const SvxContourItem& rNew ) { aContour = rNew; } + void SetShadowed( const SvxShadowedItem& rNew ) { aShadowed = rNew; } + void SetColor( const SvxColorItem& rNew ) { aColor = rNew; } void SetAdjust( const SvxAdjustItem& rNew ) { aAdjust.SetAdjust( rNew.GetAdjust() ); aAdjust.SetOneWord( rNew.GetOneWord() ); aAdjust.SetLastBlock( rNew.GetLastBlock() ); } - void SetBox( const SvxBoxItem& rNew ) { aBox = rNew; } + void SetBox( const SvxBoxItem& rNew ) { aBox = rNew; } void SetBackground( const SvxBrushItem& rNew ) { aBackground = rNew; } void SetValueFormat( const String& rFmt, LanguageType eLng, LanguageType eSys ) { sNumFmtString = rFmt; eNumFmtLanguage = eLng; eSysLanguage = eSys; } @@ -193,7 +193,7 @@ public: class SW_DLLPUBLIC SwTableAutoFmt { - friend void _FinitCore(); // zum Zerstoeren des dflt. Pointers + friend void _FinitCore(); // zum Zerstoeren des dflt. Pointers static SwBoxAutoFmt* pDfltBoxAutoFmt; String aName; @@ -230,18 +230,18 @@ public: void UpdateToSet( BYTE nPos, SfxItemSet& rSet, UpdateFlags eFlags, SvNumberFormatter* ) const ; - BOOL IsFont() const { return bInclFont; } - BOOL IsJustify() const { return bInclJustify; } - BOOL IsFrame() const { return bInclFrame; } - BOOL IsBackground() const { return bInclBackground; } - BOOL IsValueFormat() const { return bInclValueFormat; } - - void SetFont( const BOOL bNew ) { bInclFont = bNew; } - void SetJustify( const BOOL bNew ) { bInclJustify = bNew; } - void SetFrame( const BOOL bNew ) { bInclFrame = bNew; } - void SetBackground( const BOOL bNew ) { bInclBackground = bNew; } - void SetValueFormat( const BOOL bNew ) { bInclValueFormat = bNew; } - void SetWidthHeight( const BOOL bNew ) { bInclWidthHeight = bNew; } + BOOL IsFont() const { return bInclFont; } + BOOL IsJustify() const { return bInclJustify; } + BOOL IsFrame() const { return bInclFrame; } + BOOL IsBackground() const { return bInclBackground; } + BOOL IsValueFormat() const { return bInclValueFormat; } + + void SetFont( const BOOL bNew ) { bInclFont = bNew; } + void SetJustify( const BOOL bNew ) { bInclJustify = bNew; } + void SetFrame( const BOOL bNew ) { bInclFrame = bNew; } + void SetBackground( const BOOL bNew ) { bInclBackground = bNew; } + void SetValueFormat( const BOOL bNew ) { bInclValueFormat = bNew; } + void SetWidthHeight( const BOOL bNew ) { bInclWidthHeight = bNew; } BOOL Load( SvStream& rStream, const SwAfVersions& ); BOOL Save( SvStream& rStream ) const; |