2000-09-18 16:15:01 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 10:38:19 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:38:19 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:38:19 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:38:19 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:38:19 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:38:19 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _SWATRSET_HXX
|
|
|
|
#define _SWATRSET_HXX
|
|
|
|
#include <tools/solar.h>
|
|
|
|
#include <tools/mempool.hxx>
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/itemset.hxx>
|
|
|
|
#include <svl/itempool.hxx>
|
2009-01-05 14:06:42 +00:00
|
|
|
#include <swdllapi.h>
|
2007-11-23 15:22:34 +00:00
|
|
|
|
2000-09-18 16:15:01 +00:00
|
|
|
class SwModify;
|
|
|
|
class SwDoc;
|
2002-12-10 08:42:08 +00:00
|
|
|
class OutputDevice;
|
2006-08-14 14:32:11 +00:00
|
|
|
class IDocumentSettingAccess;
|
2000-09-18 16:15:01 +00:00
|
|
|
class SfxBoolItem;
|
|
|
|
class SvxPostureItem;
|
|
|
|
class SvxWeightItem;
|
|
|
|
class SvxShadowedItem;
|
|
|
|
class SvxAutoKernItem;
|
|
|
|
class SvxWordLineModeItem;
|
|
|
|
class SvxContourItem;
|
|
|
|
class SvxKerningItem;
|
|
|
|
class SvxUnderlineItem;
|
2009-01-05 17:49:45 +00:00
|
|
|
class SvxOverlineItem;
|
2000-09-18 16:15:01 +00:00
|
|
|
class SvxCrossedOutItem;
|
|
|
|
class SvxFontHeightItem;
|
|
|
|
class SvxPropSizeItem;
|
|
|
|
class SvxFontItem;
|
|
|
|
class SvxColorItem;
|
|
|
|
class SvxCharSetColorItem;
|
|
|
|
class SvxLanguageItem;
|
|
|
|
class SvxEscapementItem;
|
|
|
|
class SvxCaseMapItem;
|
|
|
|
class SvxNoHyphenItem;
|
|
|
|
class SvxBlinkItem;
|
2000-10-30 11:51:04 +00:00
|
|
|
class SvxEmphasisMarkItem;
|
2000-11-16 20:31:21 +00:00
|
|
|
class SvxTwoLinesItem;
|
2001-02-15 19:10:39 +00:00
|
|
|
class SvxCharScaleWidthItem;
|
|
|
|
class SvxCharRotateItem;
|
2001-03-05 12:50:48 +00:00
|
|
|
class SvxCharReliefItem;
|
2004-02-26 14:24:06 +00:00
|
|
|
class SvxCharHiddenItem;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// Frame-Attribute
|
|
|
|
class SwFmtFillOrder;
|
|
|
|
class SwFmtFrmSize;
|
|
|
|
class SvxPaperBinItem;
|
|
|
|
class SvxLRSpaceItem;
|
|
|
|
class SvxULSpaceItem;
|
|
|
|
class SwFmtCntnt;
|
|
|
|
class SwFmtHeader;
|
|
|
|
class SwFmtFooter;
|
|
|
|
class SvxPrintItem;
|
|
|
|
class SvxOpaqueItem;
|
|
|
|
class SvxProtectItem;
|
|
|
|
class SwFmtSurround;
|
|
|
|
class SwFmtVertOrient;
|
|
|
|
class SwFmtHoriOrient;
|
|
|
|
class SwFmtAnchor;
|
|
|
|
class SvxBoxItem;
|
|
|
|
class SvxBrushItem;
|
|
|
|
class SvxShadowItem;
|
|
|
|
class SwFmtPageDesc;
|
|
|
|
class SvxFmtBreakItem;
|
|
|
|
class SwFmtCol;
|
|
|
|
class SvxMacroItem;
|
|
|
|
class SvxFmtKeepItem;
|
|
|
|
class SwFmtURL;
|
|
|
|
class SwFmtLineNumber;
|
|
|
|
class SwFmtEditInReadonly;
|
|
|
|
class SwFmtLayoutSplit;
|
2004-01-13 10:06:46 +00:00
|
|
|
class SwFmtRowSplit;
|
2000-09-18 16:15:01 +00:00
|
|
|
class SwFmtChain;
|
|
|
|
class SwFmtFtnAtTxtEnd;
|
|
|
|
class SwFmtEndAtTxtEnd;
|
|
|
|
class SwFmtNoBalancedColumns;
|
2002-01-25 15:32:27 +00:00
|
|
|
class SvxFrameDirectionItem;
|
2002-02-06 15:07:13 +00:00
|
|
|
class SwTextGridItem;
|
2002-08-05 09:55:12 +00:00
|
|
|
class SwHeaderAndFooterEatSpacingItem;
|
2004-02-02 17:15:36 +00:00
|
|
|
// OD 18.09.2003 #i18732#
|
|
|
|
class SwFmtFollowTextFlow;
|
2004-08-02 12:57:53 +00:00
|
|
|
// OD 2004-05-05 #i28701#
|
|
|
|
class SwFmtWrapInfluenceOnObjPos;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// Grafik-Attribute
|
|
|
|
class SwMirrorGrf;
|
|
|
|
class SwCropGrf;
|
|
|
|
class SwRotationGrf;
|
|
|
|
class SwLuminanceGrf;
|
|
|
|
class SwContrastGrf;
|
|
|
|
class SwChannelRGrf;
|
|
|
|
class SwChannelGGrf;
|
|
|
|
class SwChannelBGrf;
|
|
|
|
class SwGammaGrf;
|
|
|
|
class SwInvertGrf;
|
|
|
|
class SwTransparencyGrf;
|
|
|
|
class SwDrawModeGrf;
|
|
|
|
|
|
|
|
// Paragraph-Attribute
|
|
|
|
class SvxLineSpacingItem;
|
|
|
|
class SvxAdjustItem;
|
|
|
|
class SvxFmtSplitItem;
|
|
|
|
class SwRegisterItem;
|
|
|
|
class SwNumRuleItem;
|
|
|
|
class SvxWidowsItem;
|
|
|
|
class SvxOrphansItem;
|
|
|
|
class SvxTabStopItem;
|
|
|
|
class SvxHyphenZoneItem;
|
|
|
|
class SwFmtDrop;
|
2000-11-20 08:41:15 +00:00
|
|
|
class SvxScriptSpaceItem;
|
|
|
|
class SvxHangingPunctuationItem;
|
2000-11-29 16:20:06 +00:00
|
|
|
class SvxForbiddenRuleItem;
|
2001-04-10 13:18:33 +00:00
|
|
|
class SvxParaVertAlignItem;
|
2002-02-06 15:07:13 +00:00
|
|
|
class SvxParaGridItem;
|
2003-05-27 15:10:00 +00:00
|
|
|
class SwParaConnectBorderItem;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// TabellenBox-Attribute
|
|
|
|
class SwTblBoxNumFormat;
|
|
|
|
class SwTblBoxFormula;
|
|
|
|
class SwTblBoxValue;
|
|
|
|
|
|
|
|
class SwAttrPool : public SfxItemPool
|
|
|
|
{
|
|
|
|
friend void _InitCore(); // fuers anlegen/zerstoeren der
|
|
|
|
friend void _FinitCore(); // Versionsmaps
|
|
|
|
static USHORT* pVersionMap1;
|
|
|
|
static USHORT* pVersionMap2;
|
|
|
|
static USHORT* pVersionMap3;
|
2000-11-20 08:41:15 +00:00
|
|
|
static USHORT* pVersionMap4;
|
2004-02-02 17:15:36 +00:00
|
|
|
// OD 2004-01-21 #i18732# - due to extension of attribute set a new version
|
|
|
|
// map for binary filter is necessary (version map 5).
|
|
|
|
static USHORT* pVersionMap5;
|
2009-01-05 17:49:45 +00:00
|
|
|
static USHORT* pVersionMap6;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
SwDoc* pDoc;
|
|
|
|
|
|
|
|
public:
|
|
|
|
SwAttrPool( SwDoc* pDoc );
|
CWS-TOOLING: integrate CWS aw063
2009-02-12 13:10:24 +0100 aw r267649 : #i99123# when a primitive is invisible, it is not sufficient to produce no output when decomposing, but to add invisible data using HitTestPrimitive2D. This is needed for the slideshow which relies on geometry data in MetaFiles when painting invisible objects
2009-02-12 13:08:39 +0100 aw r267648 : #i99123# do not ignore HitTestPrimitive2D, but draw empty rectangles instead. This is needed since Slideshow is based on getting MetaFile content when painting invisible objects
2009-02-11 16:04:28 +0100 aw r267620 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:04:10 +0100 aw r267619 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:03:56 +0100 aw r267618 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:03:39 +0100 aw r267617 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:03:21 +0100 aw r267615 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:02:48 +0100 aw r267614 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:02:24 +0100 aw r267613 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:02:01 +0100 aw r267612 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:01:32 +0100 aw r267611 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:01:05 +0100 aw r267610 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 16:00:15 +0100 aw r267608 : #i98788# made SfxItemPool destructor protected, added static ::Free method
2009-02-11 11:27:33 +0100 aw r267585 : #i98788# added missing include for STL
2009-02-10 17:46:50 +0100 aw r267570 : #i98788# added reaction on pool destruction
2009-02-10 17:11:58 +0100 aw r267562 : #i98788# added messaging mechanism to register for pool destruction
2009-02-10 13:35:35 +0100 aw r267549 : #i98788# removing changes, too complicated and risky for 3.1
2009-02-10 12:13:48 +0100 aw r267546 : #i98788# 4th round
2009-02-10 12:13:37 +0100 aw r267545 : #i98788# 4th round
2009-02-10 12:13:26 +0100 aw r267544 : #i98788# 4th round
2009-02-10 12:13:14 +0100 aw r267543 : #i98788# 4th round
2009-02-10 12:13:03 +0100 aw r267542 : #i98788# 4th round
2009-02-10 12:12:50 +0100 aw r267541 : #i98788# 4th round
2009-02-10 12:12:37 +0100 aw r267540 : #i98788# 4th round
2009-02-08 14:38:22 +0100 aw r267495 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:38:06 +0100 aw r267494 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:37:48 +0100 aw r267493 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:37:17 +0100 aw r267492 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:36:56 +0100 aw r267491 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:36:44 +0100 aw r267490 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:36:29 +0100 aw r267489 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:36:16 +0100 aw r267488 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:36:02 +0100 aw r267487 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-08 14:35:46 +0100 aw r267486 : #i98788# 3rd round of changes to SfxItemPool handling
2009-02-05 12:20:39 +0100 aw r267415 : #i98788# 2nd batch of adaptions for SfxItemPoolHolder addition
2009-02-04 15:12:54 +0100 aw r267385 : #i98788# added newline at EOF
2009-02-04 13:26:04 +0100 aw r267379 : #i98788# make SfxItemPool holdable
2009-02-04 13:25:40 +0100 aw r267378 : #i98788# make SfxItemPool holdable
2009-02-04 13:25:08 +0100 aw r267377 : #i98788# make SfxItemPool holdable
2009-02-04 13:24:42 +0100 aw r267376 : #i98788# make SfxItemPool holdable
2009-02-04 13:23:14 +0100 aw r267375 : #i98788# make SfxItemPool holdable
2009-02-04 13:23:02 +0100 aw r267374 : #i98788# make SfxItemPool holdable
2009-01-29 17:08:31 +0100 aw r267159 : #i97628# completed the fix
2009-01-29 17:08:15 +0100 aw r267158 : #i97628# completed the fix
2009-01-29 14:09:07 +0100 aw r267132 : #i97628# Corrected usage of ParagraphData in headers
2009-01-29 14:06:58 +0100 iha r267131 : #i98344# incorrect font size in charts
2009-01-29 12:13:46 +0100 aw r267115 : #i97628# back to old state; triggers too many errors in other modules
2009-01-29 12:03:51 +0100 aw r267114 : #i97628# enabled exceptions due to STL vector include
2009-01-29 11:21:37 +0100 aw r267107 : #i97628# added needed include
2009-01-28 17:58:29 +0100 aw r267077 : #i97628# first version of newly implemented OutlinerParaObject and adaptions
2009-01-28 17:58:12 +0100 aw r267076 : #i97628# first version of newly implemented OutlinerParaObject and adaptions
2009-01-28 17:57:51 +0100 aw r267074 : #i97628# first version of newly implemented OutlinerParaObject and adaptions
2009-01-28 17:57:21 +0100 aw r267073 : #i97628# first version of newly implemented OutlinerParaObject and adaptions
2009-01-27 17:07:33 +0100 aw r267011 : #i98402# added support for ViewRange when exporting MetaFiles in ObjectContactOfPageView::DoProcessDisplay to avoid to paint too much
2009-01-27 11:45:48 +0100 aw r266973 : #i98404# Added a warning to a place where a conversion to rectangle should not be copied from
2009-01-26 21:44:36 +0100 iha r266949 : #i98497# 3D charts are rendered with wrong size
2009-01-26 20:47:07 +0100 aw r266947 : #i98404# handle BackgroundColorPrimitive2D directly in PixelRenderers and avoid AA under all circumstances
2009-01-26 14:50:36 +0100 aw r266926 : #i98386# secured cloning of SdrObject in IMapUserData by boost::shared_prt usage
2009-01-26 12:51:30 +0100 aw r266916 : #i96581# added separated FontStretching and fallback for small X!=Y scale differences
2009-01-23 16:14:55 +0100 aw r266834 : #i96475# added missing implementation of TextDecoratedPortionPrimitive2D::getB2DRange
2009-01-23 15:24:34 +0100 aw r266826 : #i98405# fixed fallback to DrawAlphaRect to use the correctly sized rectangle
2009-01-23 13:34:43 +0100 aw r266813 : #i96474# fixed impSplitSingleWords for an unexpected case
2009-01-23 10:47:31 +0100 aw r266786 : #i98289#,#i96474# tooling and new flags for tasks
2009-01-23 10:47:20 +0100 aw r266785 : #i98289#,#i96474# tooling and new flags for tasks
2009-01-23 10:47:09 +0100 aw r266783 : #i98289#,#i96474# tooling and new flags for tasks
2009-01-23 10:46:58 +0100 aw r266782 : #i98289#,#i96474# tooling and new flags for tasks
2009-01-23 10:46:48 +0100 aw r266781 : #i98289#,#i96474# tooling and new flags for tasks
2009-03-04 14:16:02 +00:00
|
|
|
protected:
|
|
|
|
virtual ~SwAttrPool();
|
|
|
|
public:
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
SwDoc* GetDoc() { return pDoc; }
|
|
|
|
const SwDoc* GetDoc() const { return pDoc; }
|
|
|
|
|
|
|
|
static USHORT* GetVersionMap1() { return pVersionMap1; }
|
|
|
|
static USHORT* GetVersionMap2() { return pVersionMap2; }
|
|
|
|
static USHORT* GetVersionMap3() { return pVersionMap3; }
|
2000-11-20 08:41:15 +00:00
|
|
|
static USHORT* GetVersionMap6() { return pVersionMap4; }
|
2000-09-18 16:15:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2009-01-05 14:06:42 +00:00
|
|
|
class SW_DLLPUBLIC SwAttrSet : public SfxItemSet
|
2000-09-18 16:15:01 +00:00
|
|
|
{
|
|
|
|
// Pointer fuers Modify-System
|
|
|
|
SwAttrSet *pOldSet, *pNewSet;
|
|
|
|
|
|
|
|
// Notification-Callback
|
|
|
|
virtual void Changed( const SfxPoolItem& rOld, const SfxPoolItem& rNew );
|
|
|
|
|
|
|
|
void PutChgd( const SfxPoolItem& rI ) { SfxItemSet::PutDirect( rI ); }
|
|
|
|
public:
|
|
|
|
SwAttrSet( SwAttrPool&, USHORT nWhich1, USHORT nWhich2 );
|
|
|
|
SwAttrSet( SwAttrPool&, const USHORT* nWhichPairTable );
|
|
|
|
SwAttrSet( const SwAttrSet& );
|
|
|
|
|
2006-12-01 14:33:55 +00:00
|
|
|
virtual SfxItemSet* Clone(BOOL bItems = TRUE, SfxItemPool *pToPool = 0) const;
|
|
|
|
|
2000-09-18 16:15:01 +00:00
|
|
|
int Put_BC( const SfxPoolItem& rAttr, SwAttrSet* pOld, SwAttrSet* pNew );
|
|
|
|
int Put_BC( const SfxItemSet& rSet, SwAttrSet* pOld, SwAttrSet* pNew );
|
|
|
|
|
|
|
|
// ein Item oder einen Bereich loeschen
|
|
|
|
USHORT ClearItem_BC( USHORT nWhich, SwAttrSet* pOld, SwAttrSet* pNew );
|
|
|
|
USHORT ClearItem_BC( USHORT nWhich1, USHORT nWhich2,
|
|
|
|
SwAttrSet* pOld = 0, SwAttrSet* pNew = 0 );
|
|
|
|
|
|
|
|
int Intersect_BC( const SfxItemSet& rSet, SwAttrSet* pOld, SwAttrSet* pNew );
|
|
|
|
|
|
|
|
void GetPresentation( SfxItemPresentation ePres,
|
|
|
|
SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const;
|
|
|
|
|
|
|
|
SwAttrPool* GetPool() const { return (SwAttrPool*)SfxItemSet::GetPool(); }
|
|
|
|
|
|
|
|
// kopiere die Attribute ggfs. ueber Dokumentgrenzen
|
|
|
|
void CopyToModify( SwModify& rMod ) const;
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------
|
|
|
|
// Sonderbehandlung fuer einige Attribute
|
|
|
|
// Setze den Modify-Pointer (alten pDefinedIn) bei folgenden Attributen:
|
|
|
|
// - SwFmtDropCaps
|
|
|
|
// - SwFmtPageDesc
|
|
|
|
// (Wird beim Einfuegen in Formate/Nodes gerufen)
|
2006-12-01 14:33:55 +00:00
|
|
|
// Second version is for the SwAttrSet handles of SwCntntNode.
|
|
|
|
bool SetModifyAtAttr( const SwModify* pModify );
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// Das Doc wird jetzt am SwAttrPool gesetzt. Dadurch hat man es immer
|
|
|
|
// im Zugriff.
|
|
|
|
const SwDoc *GetDoc() const { return GetPool()->GetDoc(); }
|
|
|
|
SwDoc *GetDoc() { return GetPool()->GetDoc(); }
|
|
|
|
|
|
|
|
// GetMethoden: das Bool gibt an, ob nur im Set (FALSE) oder auch in
|
|
|
|
// den Parents gesucht werden soll. Wird nichts gefunden,
|
|
|
|
// wird das deflt. Attribut returnt.
|
|
|
|
// Charakter-Attribute - impl. steht im charatr.hxx
|
|
|
|
// AMA 12.10.94: Umstellung von SwFmt... auf Svx...
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SvxPostureItem &GetPosture( BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
inline const SvxWeightItem &GetWeight( BOOL = TRUE ) const;
|
|
|
|
inline const SvxShadowedItem &GetShadowed( BOOL = TRUE ) const;
|
|
|
|
inline const SvxAutoKernItem &GetAutoKern( BOOL = TRUE ) const;
|
|
|
|
inline const SvxWordLineModeItem &GetWordLineMode( BOOL = TRUE ) const;
|
|
|
|
inline const SvxContourItem &GetContour( BOOL = TRUE ) const;
|
|
|
|
inline const SvxKerningItem &GetKerning( BOOL = TRUE ) const;
|
|
|
|
inline const SvxUnderlineItem &GetUnderline( BOOL = TRUE ) const;
|
2009-01-05 17:49:45 +00:00
|
|
|
inline const SvxOverlineItem &GetOverline( BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
inline const SvxCrossedOutItem &GetCrossedOut( BOOL = TRUE ) const;
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SvxFontHeightItem &GetSize( BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
inline const SvxPropSizeItem &GetPropSize( BOOL = TRUE ) const;
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SvxFontItem &GetFont( BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
inline const SvxColorItem &GetColor( BOOL = TRUE ) const;
|
|
|
|
inline const SvxCharSetColorItem &GetCharSetColor( BOOL = TRUE ) const;
|
|
|
|
inline const SvxLanguageItem &GetLanguage( BOOL = TRUE ) const;
|
|
|
|
inline const SvxEscapementItem &GetEscapement( BOOL = TRUE ) const;
|
|
|
|
inline const SvxCaseMapItem &GetCaseMap( BOOL = TRUE ) const;
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SvxNoHyphenItem &GetNoHyphenHere( BOOL = TRUE ) const;
|
|
|
|
inline const SvxBlinkItem &GetBlink( BOOL = TRUE ) const;
|
|
|
|
inline const SvxBrushItem &GetChrBackground( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFontItem &GetCJKFont( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFontHeightItem &GetCJKSize( BOOL = TRUE ) const;
|
|
|
|
inline const SvxLanguageItem &GetCJKLanguage( BOOL = TRUE ) const;
|
|
|
|
inline const SvxPostureItem &GetCJKPosture( BOOL = TRUE ) const;
|
|
|
|
inline const SvxWeightItem &GetCJKWeight( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFontItem &GetCTLFont( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFontHeightItem &GetCTLSize( BOOL = TRUE ) const;
|
|
|
|
inline const SvxLanguageItem &GetCTLLanguage( BOOL = TRUE ) const;
|
|
|
|
inline const SvxPostureItem &GetCTLPosture( BOOL = TRUE ) const;
|
|
|
|
inline const SvxWeightItem &GetCTLWeight( BOOL = TRUE ) const;
|
|
|
|
inline const SfxBoolItem &GetWritingDirection( BOOL = TRUE ) const;
|
|
|
|
inline const SvxEmphasisMarkItem &GetEmphasisMark( BOOL = TRUE ) const;
|
|
|
|
inline const SvxTwoLinesItem &Get2Lines( BOOL = TRUE ) const;
|
|
|
|
inline const SvxCharScaleWidthItem &GetCharScaleW( BOOL = TRUE ) const;
|
|
|
|
inline const SvxCharRotateItem &GetCharRotate( BOOL = TRUE ) const;
|
|
|
|
inline const SvxCharReliefItem &GetCharRelief( BOOL = TRUE ) const;
|
2004-02-26 14:24:06 +00:00
|
|
|
inline const SvxCharHiddenItem &GetCharHidden( BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// Frame-Attribute - impl. steht im frmatr.hxx
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SwFmtFillOrder &GetFillOrder( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtFrmSize &GetFrmSize( BOOL = TRUE ) const;
|
|
|
|
inline const SvxPaperBinItem &GetPaperBin( BOOL = TRUE ) const;
|
|
|
|
inline const SvxLRSpaceItem &GetLRSpace( BOOL = TRUE ) const;
|
|
|
|
inline const SvxULSpaceItem &GetULSpace( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtCntnt &GetCntnt( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtHeader &GetHeader( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtFooter &GetFooter( BOOL = TRUE ) const;
|
|
|
|
inline const SvxPrintItem &GetPrint( BOOL = TRUE ) const;
|
|
|
|
inline const SvxOpaqueItem &GetOpaque( BOOL = TRUE ) const;
|
|
|
|
inline const SvxProtectItem &GetProtect( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtSurround &GetSurround( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtVertOrient &GetVertOrient( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtHoriOrient &GetHoriOrient( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtAnchor &GetAnchor( BOOL = TRUE ) const;
|
|
|
|
inline const SvxBoxItem &GetBox( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFmtKeepItem &GetKeep( BOOL = TRUE ) const;
|
|
|
|
inline const SvxBrushItem &GetBackground( BOOL = TRUE ) const;
|
|
|
|
inline const SvxShadowItem &GetShadow( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtPageDesc &GetPageDesc( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFmtBreakItem &GetBreak( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtCol &GetCol( BOOL = TRUE ) const;
|
|
|
|
inline const SvxMacroItem &GetMacro( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtURL &GetURL( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtEditInReadonly &GetEditInReadonly( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtLayoutSplit &GetLayoutSplit( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtRowSplit &GetRowSplit( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtChain &GetChain( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtLineNumber &GetLineNumber( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtFtnAtTxtEnd &GetFtnAtTxtEnd( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtEndAtTxtEnd &GetEndAtTxtEnd( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtNoBalancedColumns &GetBalancedColumns( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFrameDirectionItem &GetFrmDir( BOOL = TRUE ) const;
|
|
|
|
inline const SwTextGridItem &GetTextGrid( BOOL = TRUE ) const;
|
2002-08-05 09:55:12 +00:00
|
|
|
inline const SwHeaderAndFooterEatSpacingItem &GetHeaderAndFooterEatSpacing( BOOL = TRUE ) const;
|
2004-02-02 17:15:36 +00:00
|
|
|
// OD 18.09.2003 #i18732#
|
|
|
|
inline const SwFmtFollowTextFlow &GetFollowTextFlow(BOOL = TRUE) const;
|
2004-08-02 12:57:53 +00:00
|
|
|
// OD 2004-05-05 #i28701#
|
|
|
|
inline const SwFmtWrapInfluenceOnObjPos& GetWrapInfluenceOnObjPos(BOOL = TRUE) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// Grafik-Attribute - impl. steht im grfatr.hxx
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SwMirrorGrf &GetMirrorGrf( BOOL = TRUE ) const;
|
|
|
|
inline const SwCropGrf &GetCropGrf( BOOL = TRUE ) const;
|
|
|
|
inline const SwRotationGrf &GetRotationGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwLuminanceGrf &GetLuminanceGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwContrastGrf &GetContrastGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwChannelRGrf &GetChannelRGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwChannelGGrf &GetChannelGGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwChannelBGrf &GetChannelBGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwGammaGrf &GetGammaGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwInvertGrf &GetInvertGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwTransparencyGrf &GetTransparencyGrf(BOOL = TRUE ) const;
|
|
|
|
inline const SwDrawModeGrf &GetDrawModeGrf(BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// Paragraph-Attribute - impl. steht im paratr.hxx
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SvxLineSpacingItem &GetLineSpacing( BOOL = TRUE ) const;
|
|
|
|
inline const SvxAdjustItem &GetAdjust( BOOL = TRUE ) const;
|
|
|
|
inline const SvxFmtSplitItem &GetSplit( BOOL = TRUE ) const;
|
|
|
|
inline const SwRegisterItem &GetRegister( BOOL = TRUE ) const;
|
|
|
|
inline const SwNumRuleItem &GetNumRule( BOOL = TRUE ) const;
|
|
|
|
inline const SvxWidowsItem &GetWidows( BOOL = TRUE ) const;
|
|
|
|
inline const SvxOrphansItem &GetOrphans( BOOL = TRUE ) const;
|
|
|
|
inline const SvxTabStopItem &GetTabStops( BOOL = TRUE ) const;
|
|
|
|
inline const SvxHyphenZoneItem &GetHyphenZone( BOOL = TRUE ) const;
|
|
|
|
inline const SwFmtDrop &GetDrop( BOOL = TRUE ) const;
|
|
|
|
inline const SvxScriptSpaceItem &GetScriptSpace(BOOL = TRUE) const;
|
2000-11-20 08:41:15 +00:00
|
|
|
inline const SvxHangingPunctuationItem &GetHangingPunctuation(BOOL = TRUE) const;
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SvxForbiddenRuleItem &GetForbiddenRule(BOOL = TRUE) const;
|
|
|
|
inline const SvxParaVertAlignItem &GetParaVertAlign(BOOL = TRUE) const;
|
2002-02-06 15:07:13 +00:00
|
|
|
inline const SvxParaGridItem &GetParaGrid(BOOL = TRUE) const;
|
2003-05-27 15:10:00 +00:00
|
|
|
inline const SwParaConnectBorderItem &GetParaConnectBorder(BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
// TabellenBox-Attribute - impl. steht im cellatr.hxx
|
2006-08-14 14:32:11 +00:00
|
|
|
inline const SwTblBoxNumFormat &GetTblBoxNumFmt( BOOL = TRUE ) const;
|
|
|
|
inline const SwTblBoxFormula &GetTblBoxFormula( BOOL = TRUE ) const;
|
|
|
|
inline const SwTblBoxValue &GetTblBoxValue( BOOL = TRUE ) const;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
DECL_FIXEDMEMPOOL_NEWDEL(SwAttrSet)
|
|
|
|
};
|
|
|
|
|
2002-12-10 08:42:08 +00:00
|
|
|
//Helper for filters to find true lineheight of a font
|
2009-01-05 14:06:42 +00:00
|
|
|
SW_DLLPUBLIC long AttrSetToLineHeight( const IDocumentSettingAccess& rIDocumentSettingAccess,
|
2006-08-14 14:32:11 +00:00
|
|
|
const SwAttrSet &rSet,
|
|
|
|
const OutputDevice &rOut, sal_Int16 nScript);
|
2000-09-18 16:15:01 +00:00
|
|
|
#endif
|