1*1d2dbeb0SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*1d2dbeb0SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*1d2dbeb0SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*1d2dbeb0SAndrew Rist * distributed with this work for additional information 6*1d2dbeb0SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*1d2dbeb0SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*1d2dbeb0SAndrew Rist * "License"); you may not use this file except in compliance 9*1d2dbeb0SAndrew Rist * with the License. You may obtain a copy of the License at 10*1d2dbeb0SAndrew Rist * 11*1d2dbeb0SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*1d2dbeb0SAndrew Rist * 13*1d2dbeb0SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*1d2dbeb0SAndrew Rist * software distributed under the License is distributed on an 15*1d2dbeb0SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*1d2dbeb0SAndrew Rist * KIND, either express or implied. See the License for the 17*1d2dbeb0SAndrew Rist * specific language governing permissions and limitations 18*1d2dbeb0SAndrew Rist * under the License. 19*1d2dbeb0SAndrew Rist * 20*1d2dbeb0SAndrew Rist *************************************************************/ 21*1d2dbeb0SAndrew Rist 22*1d2dbeb0SAndrew Rist 23cdf0e10cSrcweir #ifndef _SWATRSET_HXX 24cdf0e10cSrcweir #define _SWATRSET_HXX 25cdf0e10cSrcweir #include <tools/solar.h> 26cdf0e10cSrcweir #include <tools/mempool.hxx> 27cdf0e10cSrcweir #include <svl/itemset.hxx> 28cdf0e10cSrcweir #include <svl/itempool.hxx> 29cdf0e10cSrcweir #include <swdllapi.h> 30cdf0e10cSrcweir 31cdf0e10cSrcweir class SwModify; 32cdf0e10cSrcweir class SwDoc; 33cdf0e10cSrcweir class OutputDevice; 34cdf0e10cSrcweir class IDocumentSettingAccess; 35cdf0e10cSrcweir class SfxBoolItem; 36cdf0e10cSrcweir class SvxPostureItem; 37cdf0e10cSrcweir class SvxWeightItem; 38cdf0e10cSrcweir class SvxShadowedItem; 39cdf0e10cSrcweir class SvxAutoKernItem; 40cdf0e10cSrcweir class SvxWordLineModeItem; 41cdf0e10cSrcweir class SvxContourItem; 42cdf0e10cSrcweir class SvxKerningItem; 43cdf0e10cSrcweir class SvxUnderlineItem; 44cdf0e10cSrcweir class SvxOverlineItem; 45cdf0e10cSrcweir class SvxCrossedOutItem; 46cdf0e10cSrcweir class SvxFontHeightItem; 47cdf0e10cSrcweir class SvxPropSizeItem; 48cdf0e10cSrcweir class SvxFontItem; 49cdf0e10cSrcweir class SvxColorItem; 50cdf0e10cSrcweir class SvxCharSetColorItem; 51cdf0e10cSrcweir class SvxLanguageItem; 52cdf0e10cSrcweir class SvxEscapementItem; 53cdf0e10cSrcweir class SvxCaseMapItem; 54cdf0e10cSrcweir class SvxNoHyphenItem; 55cdf0e10cSrcweir class SvxBlinkItem; 56cdf0e10cSrcweir class SvxEmphasisMarkItem; 57cdf0e10cSrcweir class SvxTwoLinesItem; 58cdf0e10cSrcweir class SvxCharScaleWidthItem; 59cdf0e10cSrcweir class SvxCharRotateItem; 60cdf0e10cSrcweir class SvxCharReliefItem; 61cdf0e10cSrcweir class SvxCharHiddenItem; 62cdf0e10cSrcweir 63cdf0e10cSrcweir // Frame-Attribute 64cdf0e10cSrcweir class SwFmtFillOrder; 65cdf0e10cSrcweir class SwFmtFrmSize; 66cdf0e10cSrcweir class SvxPaperBinItem; 67cdf0e10cSrcweir class SvxLRSpaceItem; 68cdf0e10cSrcweir class SvxULSpaceItem; 69cdf0e10cSrcweir class SwFmtCntnt; 70cdf0e10cSrcweir class SwFmtHeader; 71cdf0e10cSrcweir class SwFmtFooter; 72cdf0e10cSrcweir class SvxPrintItem; 73cdf0e10cSrcweir class SvxOpaqueItem; 74cdf0e10cSrcweir class SvxProtectItem; 75cdf0e10cSrcweir class SwFmtSurround; 76cdf0e10cSrcweir class SwFmtVertOrient; 77cdf0e10cSrcweir class SwFmtHoriOrient; 78cdf0e10cSrcweir class SwFmtAnchor; 79cdf0e10cSrcweir class SvxBoxItem; 80cdf0e10cSrcweir class SvxBrushItem; 81cdf0e10cSrcweir class SvxShadowItem; 82cdf0e10cSrcweir class SwFmtPageDesc; 83cdf0e10cSrcweir class SvxFmtBreakItem; 84cdf0e10cSrcweir class SwFmtCol; 85cdf0e10cSrcweir class SvxMacroItem; 86cdf0e10cSrcweir class SvxFmtKeepItem; 87cdf0e10cSrcweir class SwFmtURL; 88cdf0e10cSrcweir class SwFmtLineNumber; 89cdf0e10cSrcweir class SwFmtEditInReadonly; 90cdf0e10cSrcweir class SwFmtLayoutSplit; 91cdf0e10cSrcweir class SwFmtRowSplit; 92cdf0e10cSrcweir class SwFmtChain; 93cdf0e10cSrcweir class SwFmtFtnAtTxtEnd; 94cdf0e10cSrcweir class SwFmtEndAtTxtEnd; 95cdf0e10cSrcweir class SwFmtNoBalancedColumns; 96cdf0e10cSrcweir class SvxFrameDirectionItem; 97cdf0e10cSrcweir class SwTextGridItem; 98cdf0e10cSrcweir class SwHeaderAndFooterEatSpacingItem; 99cdf0e10cSrcweir // OD 18.09.2003 #i18732# 100cdf0e10cSrcweir class SwFmtFollowTextFlow; 101cdf0e10cSrcweir // OD 2004-05-05 #i28701# 102cdf0e10cSrcweir class SwFmtWrapInfluenceOnObjPos; 103cdf0e10cSrcweir 104cdf0e10cSrcweir // Grafik-Attribute 105cdf0e10cSrcweir class SwMirrorGrf; 106cdf0e10cSrcweir class SwCropGrf; 107cdf0e10cSrcweir class SwRotationGrf; 108cdf0e10cSrcweir class SwLuminanceGrf; 109cdf0e10cSrcweir class SwContrastGrf; 110cdf0e10cSrcweir class SwChannelRGrf; 111cdf0e10cSrcweir class SwChannelGGrf; 112cdf0e10cSrcweir class SwChannelBGrf; 113cdf0e10cSrcweir class SwGammaGrf; 114cdf0e10cSrcweir class SwInvertGrf; 115cdf0e10cSrcweir class SwTransparencyGrf; 116cdf0e10cSrcweir class SwDrawModeGrf; 117cdf0e10cSrcweir 118cdf0e10cSrcweir // Paragraph-Attribute 119cdf0e10cSrcweir class SvxLineSpacingItem; 120cdf0e10cSrcweir class SvxAdjustItem; 121cdf0e10cSrcweir class SvxFmtSplitItem; 122cdf0e10cSrcweir class SwRegisterItem; 123cdf0e10cSrcweir class SwNumRuleItem; 124cdf0e10cSrcweir class SvxWidowsItem; 125cdf0e10cSrcweir class SvxOrphansItem; 126cdf0e10cSrcweir class SvxTabStopItem; 127cdf0e10cSrcweir class SvxHyphenZoneItem; 128cdf0e10cSrcweir class SwFmtDrop; 129cdf0e10cSrcweir class SvxScriptSpaceItem; 130cdf0e10cSrcweir class SvxHangingPunctuationItem; 131cdf0e10cSrcweir class SvxForbiddenRuleItem; 132cdf0e10cSrcweir class SvxParaVertAlignItem; 133cdf0e10cSrcweir class SvxParaGridItem; 134cdf0e10cSrcweir class SwParaConnectBorderItem; 135cdf0e10cSrcweir 136cdf0e10cSrcweir // TabellenBox-Attribute 137cdf0e10cSrcweir class SwTblBoxNumFormat; 138cdf0e10cSrcweir class SwTblBoxFormula; 139cdf0e10cSrcweir class SwTblBoxValue; 140cdf0e10cSrcweir 141cdf0e10cSrcweir class SwAttrPool : public SfxItemPool 142cdf0e10cSrcweir { 143cdf0e10cSrcweir friend void _InitCore(); // fuers anlegen/zerstoeren der 144cdf0e10cSrcweir friend void _FinitCore(); // Versionsmaps 145cdf0e10cSrcweir static sal_uInt16* pVersionMap1; 146cdf0e10cSrcweir static sal_uInt16* pVersionMap2; 147cdf0e10cSrcweir static sal_uInt16* pVersionMap3; 148cdf0e10cSrcweir static sal_uInt16* pVersionMap4; 149cdf0e10cSrcweir // OD 2004-01-21 #i18732# - due to extension of attribute set a new version 150cdf0e10cSrcweir // map for binary filter is necessary (version map 5). 151cdf0e10cSrcweir static sal_uInt16* pVersionMap5; 152cdf0e10cSrcweir static sal_uInt16* pVersionMap6; 153cdf0e10cSrcweir 154cdf0e10cSrcweir SwDoc* pDoc; 155cdf0e10cSrcweir 156cdf0e10cSrcweir public: 157cdf0e10cSrcweir SwAttrPool( SwDoc* pDoc ); 158cdf0e10cSrcweir protected: 159cdf0e10cSrcweir virtual ~SwAttrPool(); 160cdf0e10cSrcweir public: 161cdf0e10cSrcweir GetDoc()162cdf0e10cSrcweir SwDoc* GetDoc() { return pDoc; } GetDoc() const163cdf0e10cSrcweir const SwDoc* GetDoc() const { return pDoc; } 164cdf0e10cSrcweir GetVersionMap1()165cdf0e10cSrcweir static sal_uInt16* GetVersionMap1() { return pVersionMap1; } GetVersionMap2()166cdf0e10cSrcweir static sal_uInt16* GetVersionMap2() { return pVersionMap2; } GetVersionMap3()167cdf0e10cSrcweir static sal_uInt16* GetVersionMap3() { return pVersionMap3; } GetVersionMap6()168cdf0e10cSrcweir static sal_uInt16* GetVersionMap6() { return pVersionMap4; } 169cdf0e10cSrcweir }; 170cdf0e10cSrcweir 171cdf0e10cSrcweir 172cdf0e10cSrcweir class SW_DLLPUBLIC SwAttrSet : public SfxItemSet 173cdf0e10cSrcweir { 174cdf0e10cSrcweir // Pointer fuers Modify-System 175cdf0e10cSrcweir SwAttrSet *pOldSet, *pNewSet; 176cdf0e10cSrcweir 177cdf0e10cSrcweir // Notification-Callback 178cdf0e10cSrcweir virtual void Changed( const SfxPoolItem& rOld, const SfxPoolItem& rNew ); 179cdf0e10cSrcweir PutChgd(const SfxPoolItem & rI)180cdf0e10cSrcweir void PutChgd( const SfxPoolItem& rI ) { SfxItemSet::PutDirect( rI ); } 181cdf0e10cSrcweir public: 182cdf0e10cSrcweir SwAttrSet( SwAttrPool&, sal_uInt16 nWhich1, sal_uInt16 nWhich2 ); 183cdf0e10cSrcweir SwAttrSet( SwAttrPool&, const sal_uInt16* nWhichPairTable ); 184cdf0e10cSrcweir SwAttrSet( const SwAttrSet& ); 185cdf0e10cSrcweir 186cdf0e10cSrcweir virtual SfxItemSet* Clone(sal_Bool bItems = sal_True, SfxItemPool *pToPool = 0) const; 187cdf0e10cSrcweir 188cdf0e10cSrcweir int Put_BC( const SfxPoolItem& rAttr, SwAttrSet* pOld, SwAttrSet* pNew ); 189cdf0e10cSrcweir int Put_BC( const SfxItemSet& rSet, SwAttrSet* pOld, SwAttrSet* pNew ); 190cdf0e10cSrcweir 191cdf0e10cSrcweir // ein Item oder einen Bereich loeschen 192cdf0e10cSrcweir sal_uInt16 ClearItem_BC( sal_uInt16 nWhich, SwAttrSet* pOld, SwAttrSet* pNew ); 193cdf0e10cSrcweir sal_uInt16 ClearItem_BC( sal_uInt16 nWhich1, sal_uInt16 nWhich2, 194cdf0e10cSrcweir SwAttrSet* pOld = 0, SwAttrSet* pNew = 0 ); 195cdf0e10cSrcweir 196cdf0e10cSrcweir int Intersect_BC( const SfxItemSet& rSet, SwAttrSet* pOld, SwAttrSet* pNew ); 197cdf0e10cSrcweir 198cdf0e10cSrcweir void GetPresentation( SfxItemPresentation ePres, 199cdf0e10cSrcweir SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; 200cdf0e10cSrcweir GetPool() const201cdf0e10cSrcweir SwAttrPool* GetPool() const { return (SwAttrPool*)SfxItemSet::GetPool(); } 202cdf0e10cSrcweir 203cdf0e10cSrcweir // kopiere die Attribute ggfs. ueber Dokumentgrenzen 204cdf0e10cSrcweir void CopyToModify( SwModify& rMod ) const; 205cdf0e10cSrcweir 206cdf0e10cSrcweir // ---------------------------------------------------------------- 207cdf0e10cSrcweir // Sonderbehandlung fuer einige Attribute 208cdf0e10cSrcweir // Setze den Modify-Pointer (alten pDefinedIn) bei folgenden Attributen: 209cdf0e10cSrcweir // - SwFmtDropCaps 210cdf0e10cSrcweir // - SwFmtPageDesc 211cdf0e10cSrcweir // (Wird beim Einfuegen in Formate/Nodes gerufen) 212cdf0e10cSrcweir // Second version is for the SwAttrSet handles of SwCntntNode. 213cdf0e10cSrcweir bool SetModifyAtAttr( const SwModify* pModify ); 214cdf0e10cSrcweir 215cdf0e10cSrcweir // Das Doc wird jetzt am SwAttrPool gesetzt. Dadurch hat man es immer 216cdf0e10cSrcweir // im Zugriff. GetDoc() const217cdf0e10cSrcweir const SwDoc *GetDoc() const { return GetPool()->GetDoc(); } GetDoc()218cdf0e10cSrcweir SwDoc *GetDoc() { return GetPool()->GetDoc(); } 219cdf0e10cSrcweir 220cdf0e10cSrcweir // GetMethoden: das Bool gibt an, ob nur im Set (sal_False) oder auch in 221cdf0e10cSrcweir // den Parents gesucht werden soll. Wird nichts gefunden, 222cdf0e10cSrcweir // wird das deflt. Attribut returnt. 223cdf0e10cSrcweir // Charakter-Attribute - impl. steht im charatr.hxx 224cdf0e10cSrcweir // AMA 12.10.94: Umstellung von SwFmt... auf Svx... 225cdf0e10cSrcweir inline const SvxPostureItem &GetPosture( sal_Bool = sal_True ) const; 226cdf0e10cSrcweir inline const SvxWeightItem &GetWeight( sal_Bool = sal_True ) const; 227cdf0e10cSrcweir inline const SvxShadowedItem &GetShadowed( sal_Bool = sal_True ) const; 228cdf0e10cSrcweir inline const SvxAutoKernItem &GetAutoKern( sal_Bool = sal_True ) const; 229cdf0e10cSrcweir inline const SvxWordLineModeItem &GetWordLineMode( sal_Bool = sal_True ) const; 230cdf0e10cSrcweir inline const SvxContourItem &GetContour( sal_Bool = sal_True ) const; 231cdf0e10cSrcweir inline const SvxKerningItem &GetKerning( sal_Bool = sal_True ) const; 232cdf0e10cSrcweir inline const SvxUnderlineItem &GetUnderline( sal_Bool = sal_True ) const; 233cdf0e10cSrcweir inline const SvxOverlineItem &GetOverline( sal_Bool = sal_True ) const; 234cdf0e10cSrcweir inline const SvxCrossedOutItem &GetCrossedOut( sal_Bool = sal_True ) const; 235cdf0e10cSrcweir inline const SvxFontHeightItem &GetSize( sal_Bool = sal_True ) const; 236cdf0e10cSrcweir inline const SvxPropSizeItem &GetPropSize( sal_Bool = sal_True ) const; 237cdf0e10cSrcweir inline const SvxFontItem &GetFont( sal_Bool = sal_True ) const; 238cdf0e10cSrcweir inline const SvxColorItem &GetColor( sal_Bool = sal_True ) const; 239cdf0e10cSrcweir inline const SvxCharSetColorItem &GetCharSetColor( sal_Bool = sal_True ) const; 240cdf0e10cSrcweir inline const SvxLanguageItem &GetLanguage( sal_Bool = sal_True ) const; 241cdf0e10cSrcweir inline const SvxEscapementItem &GetEscapement( sal_Bool = sal_True ) const; 242cdf0e10cSrcweir inline const SvxCaseMapItem &GetCaseMap( sal_Bool = sal_True ) const; 243cdf0e10cSrcweir inline const SvxNoHyphenItem &GetNoHyphenHere( sal_Bool = sal_True ) const; 244cdf0e10cSrcweir inline const SvxBlinkItem &GetBlink( sal_Bool = sal_True ) const; 245cdf0e10cSrcweir inline const SvxBrushItem &GetChrBackground( sal_Bool = sal_True ) const; 246cdf0e10cSrcweir inline const SvxFontItem &GetCJKFont( sal_Bool = sal_True ) const; 247cdf0e10cSrcweir inline const SvxFontHeightItem &GetCJKSize( sal_Bool = sal_True ) const; 248cdf0e10cSrcweir inline const SvxLanguageItem &GetCJKLanguage( sal_Bool = sal_True ) const; 249cdf0e10cSrcweir inline const SvxPostureItem &GetCJKPosture( sal_Bool = sal_True ) const; 250cdf0e10cSrcweir inline const SvxWeightItem &GetCJKWeight( sal_Bool = sal_True ) const; 251cdf0e10cSrcweir inline const SvxFontItem &GetCTLFont( sal_Bool = sal_True ) const; 252cdf0e10cSrcweir inline const SvxFontHeightItem &GetCTLSize( sal_Bool = sal_True ) const; 253cdf0e10cSrcweir inline const SvxLanguageItem &GetCTLLanguage( sal_Bool = sal_True ) const; 254cdf0e10cSrcweir inline const SvxPostureItem &GetCTLPosture( sal_Bool = sal_True ) const; 255cdf0e10cSrcweir inline const SvxWeightItem &GetCTLWeight( sal_Bool = sal_True ) const; 256cdf0e10cSrcweir inline const SfxBoolItem &GetWritingDirection( sal_Bool = sal_True ) const; 257cdf0e10cSrcweir inline const SvxEmphasisMarkItem &GetEmphasisMark( sal_Bool = sal_True ) const; 258cdf0e10cSrcweir inline const SvxTwoLinesItem &Get2Lines( sal_Bool = sal_True ) const; 259cdf0e10cSrcweir inline const SvxCharScaleWidthItem &GetCharScaleW( sal_Bool = sal_True ) const; 260cdf0e10cSrcweir inline const SvxCharRotateItem &GetCharRotate( sal_Bool = sal_True ) const; 261cdf0e10cSrcweir inline const SvxCharReliefItem &GetCharRelief( sal_Bool = sal_True ) const; 262cdf0e10cSrcweir inline const SvxCharHiddenItem &GetCharHidden( sal_Bool = sal_True ) const; 263cdf0e10cSrcweir 264cdf0e10cSrcweir // Frame-Attribute - impl. steht im frmatr.hxx 265cdf0e10cSrcweir inline const SwFmtFillOrder &GetFillOrder( sal_Bool = sal_True ) const; 266cdf0e10cSrcweir inline const SwFmtFrmSize &GetFrmSize( sal_Bool = sal_True ) const; 267cdf0e10cSrcweir inline const SvxPaperBinItem &GetPaperBin( sal_Bool = sal_True ) const; 268cdf0e10cSrcweir inline const SvxLRSpaceItem &GetLRSpace( sal_Bool = sal_True ) const; 269cdf0e10cSrcweir inline const SvxULSpaceItem &GetULSpace( sal_Bool = sal_True ) const; 270cdf0e10cSrcweir inline const SwFmtCntnt &GetCntnt( sal_Bool = sal_True ) const; 271cdf0e10cSrcweir inline const SwFmtHeader &GetHeader( sal_Bool = sal_True ) const; 272cdf0e10cSrcweir inline const SwFmtFooter &GetFooter( sal_Bool = sal_True ) const; 273cdf0e10cSrcweir inline const SvxPrintItem &GetPrint( sal_Bool = sal_True ) const; 274cdf0e10cSrcweir inline const SvxOpaqueItem &GetOpaque( sal_Bool = sal_True ) const; 275cdf0e10cSrcweir inline const SvxProtectItem &GetProtect( sal_Bool = sal_True ) const; 276cdf0e10cSrcweir inline const SwFmtSurround &GetSurround( sal_Bool = sal_True ) const; 277cdf0e10cSrcweir inline const SwFmtVertOrient &GetVertOrient( sal_Bool = sal_True ) const; 278cdf0e10cSrcweir inline const SwFmtHoriOrient &GetHoriOrient( sal_Bool = sal_True ) const; 279cdf0e10cSrcweir inline const SwFmtAnchor &GetAnchor( sal_Bool = sal_True ) const; 280cdf0e10cSrcweir inline const SvxBoxItem &GetBox( sal_Bool = sal_True ) const; 281cdf0e10cSrcweir inline const SvxFmtKeepItem &GetKeep( sal_Bool = sal_True ) const; 282cdf0e10cSrcweir inline const SvxBrushItem &GetBackground( sal_Bool = sal_True ) const; 283cdf0e10cSrcweir inline const SvxShadowItem &GetShadow( sal_Bool = sal_True ) const; 284cdf0e10cSrcweir inline const SwFmtPageDesc &GetPageDesc( sal_Bool = sal_True ) const; 285cdf0e10cSrcweir inline const SvxFmtBreakItem &GetBreak( sal_Bool = sal_True ) const; 286cdf0e10cSrcweir inline const SwFmtCol &GetCol( sal_Bool = sal_True ) const; 287cdf0e10cSrcweir inline const SvxMacroItem &GetMacro( sal_Bool = sal_True ) const; 288cdf0e10cSrcweir inline const SwFmtURL &GetURL( sal_Bool = sal_True ) const; 289cdf0e10cSrcweir inline const SwFmtEditInReadonly &GetEditInReadonly( sal_Bool = sal_True ) const; 290cdf0e10cSrcweir inline const SwFmtLayoutSplit &GetLayoutSplit( sal_Bool = sal_True ) const; 291cdf0e10cSrcweir inline const SwFmtRowSplit &GetRowSplit( sal_Bool = sal_True ) const; 292cdf0e10cSrcweir inline const SwFmtChain &GetChain( sal_Bool = sal_True ) const; 293cdf0e10cSrcweir inline const SwFmtLineNumber &GetLineNumber( sal_Bool = sal_True ) const; 294cdf0e10cSrcweir inline const SwFmtFtnAtTxtEnd &GetFtnAtTxtEnd( sal_Bool = sal_True ) const; 295cdf0e10cSrcweir inline const SwFmtEndAtTxtEnd &GetEndAtTxtEnd( sal_Bool = sal_True ) const; 296cdf0e10cSrcweir inline const SwFmtNoBalancedColumns &GetBalancedColumns( sal_Bool = sal_True ) const; 297cdf0e10cSrcweir inline const SvxFrameDirectionItem &GetFrmDir( sal_Bool = sal_True ) const; 298cdf0e10cSrcweir inline const SwTextGridItem &GetTextGrid( sal_Bool = sal_True ) const; 299cdf0e10cSrcweir inline const SwHeaderAndFooterEatSpacingItem &GetHeaderAndFooterEatSpacing( sal_Bool = sal_True ) const; 300cdf0e10cSrcweir // OD 18.09.2003 #i18732# 301cdf0e10cSrcweir inline const SwFmtFollowTextFlow &GetFollowTextFlow(sal_Bool = sal_True) const; 302cdf0e10cSrcweir // OD 2004-05-05 #i28701# 303cdf0e10cSrcweir inline const SwFmtWrapInfluenceOnObjPos& GetWrapInfluenceOnObjPos(sal_Bool = sal_True) const; 304cdf0e10cSrcweir 305cdf0e10cSrcweir // Grafik-Attribute - impl. steht im grfatr.hxx 306cdf0e10cSrcweir inline const SwMirrorGrf &GetMirrorGrf( sal_Bool = sal_True ) const; 307cdf0e10cSrcweir inline const SwCropGrf &GetCropGrf( sal_Bool = sal_True ) const; 308cdf0e10cSrcweir inline const SwRotationGrf &GetRotationGrf(sal_Bool = sal_True ) const; 309cdf0e10cSrcweir inline const SwLuminanceGrf &GetLuminanceGrf(sal_Bool = sal_True ) const; 310cdf0e10cSrcweir inline const SwContrastGrf &GetContrastGrf(sal_Bool = sal_True ) const; 311cdf0e10cSrcweir inline const SwChannelRGrf &GetChannelRGrf(sal_Bool = sal_True ) const; 312cdf0e10cSrcweir inline const SwChannelGGrf &GetChannelGGrf(sal_Bool = sal_True ) const; 313cdf0e10cSrcweir inline const SwChannelBGrf &GetChannelBGrf(sal_Bool = sal_True ) const; 314cdf0e10cSrcweir inline const SwGammaGrf &GetGammaGrf(sal_Bool = sal_True ) const; 315cdf0e10cSrcweir inline const SwInvertGrf &GetInvertGrf(sal_Bool = sal_True ) const; 316cdf0e10cSrcweir inline const SwTransparencyGrf &GetTransparencyGrf(sal_Bool = sal_True ) const; 317cdf0e10cSrcweir inline const SwDrawModeGrf &GetDrawModeGrf(sal_Bool = sal_True ) const; 318cdf0e10cSrcweir 319cdf0e10cSrcweir // Paragraph-Attribute - impl. steht im paratr.hxx 320cdf0e10cSrcweir inline const SvxLineSpacingItem &GetLineSpacing( sal_Bool = sal_True ) const; 321cdf0e10cSrcweir inline const SvxAdjustItem &GetAdjust( sal_Bool = sal_True ) const; 322cdf0e10cSrcweir inline const SvxFmtSplitItem &GetSplit( sal_Bool = sal_True ) const; 323cdf0e10cSrcweir inline const SwRegisterItem &GetRegister( sal_Bool = sal_True ) const; 324cdf0e10cSrcweir inline const SwNumRuleItem &GetNumRule( sal_Bool = sal_True ) const; 325cdf0e10cSrcweir inline const SvxWidowsItem &GetWidows( sal_Bool = sal_True ) const; 326cdf0e10cSrcweir inline const SvxOrphansItem &GetOrphans( sal_Bool = sal_True ) const; 327cdf0e10cSrcweir inline const SvxTabStopItem &GetTabStops( sal_Bool = sal_True ) const; 328cdf0e10cSrcweir inline const SvxHyphenZoneItem &GetHyphenZone( sal_Bool = sal_True ) const; 329cdf0e10cSrcweir inline const SwFmtDrop &GetDrop( sal_Bool = sal_True ) const; 330cdf0e10cSrcweir inline const SvxScriptSpaceItem &GetScriptSpace(sal_Bool = sal_True) const; 331cdf0e10cSrcweir inline const SvxHangingPunctuationItem &GetHangingPunctuation(sal_Bool = sal_True) const; 332cdf0e10cSrcweir inline const SvxForbiddenRuleItem &GetForbiddenRule(sal_Bool = sal_True) const; 333cdf0e10cSrcweir inline const SvxParaVertAlignItem &GetParaVertAlign(sal_Bool = sal_True) const; 334cdf0e10cSrcweir inline const SvxParaGridItem &GetParaGrid(sal_Bool = sal_True) const; 335cdf0e10cSrcweir inline const SwParaConnectBorderItem &GetParaConnectBorder(sal_Bool = sal_True ) const; 336cdf0e10cSrcweir 337cdf0e10cSrcweir // TabellenBox-Attribute - impl. steht im cellatr.hxx 338cdf0e10cSrcweir inline const SwTblBoxNumFormat &GetTblBoxNumFmt( sal_Bool = sal_True ) const; 339cdf0e10cSrcweir inline const SwTblBoxFormula &GetTblBoxFormula( sal_Bool = sal_True ) const; 340cdf0e10cSrcweir inline const SwTblBoxValue &GetTblBoxValue( sal_Bool = sal_True ) const; 341cdf0e10cSrcweir 342cdf0e10cSrcweir DECL_FIXEDMEMPOOL_NEWDEL(SwAttrSet) 343cdf0e10cSrcweir }; 344cdf0e10cSrcweir 345cdf0e10cSrcweir //Helper for filters to find true lineheight of a font 346cdf0e10cSrcweir SW_DLLPUBLIC long AttrSetToLineHeight( const IDocumentSettingAccess& rIDocumentSettingAccess, 347cdf0e10cSrcweir const SwAttrSet &rSet, 348cdf0e10cSrcweir const OutputDevice &rOut, sal_Int16 nScript); 349cdf0e10cSrcweir #endif 350