LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SdrModel Class Reference

#include <svdmodel.hxx>

Inheritance diagram for SdrModel:
[legend]
Collaboration diagram for SdrModel:
[legend]

Public Member Functions

std::vector< SdrOutliner * > GetActiveOutliners () const
 
sal_uInt16 getHandoutPageCount () const
 
void setHandoutPageCount (sal_uInt16 nHandoutPageCount)
 
virtual void adaptSizeAndBorderForAllPages (const Size &rNewSize, long nLeft=0, long nRight=0, long nUpper=0, long nLower=0)
 
virtual SVX_DLLPRIVATE bool IsCreatingDataObj () const
 
bool IsTransportContainer () const
 
bool IsPasteResize () const
 
void SetPasteResize (bool bOn)
 
 SdrModel (SfxItemPool *pPool=nullptr,::comphelper::IEmbeddedHelper *pPers=nullptr, bool bDisablePropertyFiles=false)
 
virtual ~SdrModel () override
 
void ClearModel (bool bCalledFromDestructor)
 
virtual css::uno::Reference< css::embed::XStorage > GetDocumentStorage () const
 
css::uno::Reference< css::io::XInputStream > GetDocumentStream (OUString const &rURL,::comphelper::LifecycleProxy const &rProxy) const
 
void BurnInStyleSheetAttributes ()
 
virtual SdrPageAllocPage (bool bMasterPage)
 
virtual SdrModelAllocModel () const
 
const SdrLayerAdminGetLayerAdmin () const
 
SdrLayerAdminGetLayerAdmin ()
 
const SfxItemPoolGetItemPool () const
 
SfxItemPoolGetItemPool ()
 
SdrOutlinerGetDrawOutliner (const SdrTextObj *pObj=nullptr) const
 
SdrOutlinerGetHitTestOutliner () const
 
const SdrTextObjGetFormattingTextObj () const
 
void SetTextDefaults () const
 
SdrOutlinerGetChainingOutliner (const SdrTextObj *pObj) const
 
TextChainGetTextChain () const
 
void SetRefDevice (OutputDevice *pDev)
 
OutputDeviceGetRefDevice () const
 
void RefDeviceChanged ()
 
void SetDefaultFontHeight (sal_Int32 nVal)
 
void SetDefaultTabulator (sal_uInt16 nVal)
 
sal_uInt16 GetDefaultTabulator () const
 
SfxStyleSheetGetDefaultStyleSheet () const
 
void SetDefaultStyleSheet (SfxStyleSheet *pDefSS)
 
SfxStyleSheetGetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj () const
 
void SetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj (SfxStyleSheet *pDefSS)
 
sfx2::LinkManagerGetLinkManager ()
 
void SetLinkManager (sfx2::LinkManager *pLinkMgr)
 
::comphelper::IEmbeddedHelperGetPersist () const
 
void SetPersist (::comphelper::IEmbeddedHelper *p)
 
MapUnit GetScaleUnit () const
 
void SetScaleUnit (MapUnit eMap)
 
const FractionGetScaleFraction () const
 
void SetScaleFraction (const Fraction &rFrac)
 
void SetScaleUnit (MapUnit eMap, const Fraction &rFrac)
 
const SizeGetMaxObjSize () const
 
void SetMaxObjSize (const Size &rSiz)
 
void SetUIUnit (FieldUnit eUnit)
 
FieldUnit GetUIUnit () const
 
void SetUIScale (const Fraction &rScale)
 
const FractionGetUIScale () const
 
void SetUIUnit (FieldUnit eUnit, const Fraction &rScale)
 
OUString GetMetricString (long nVal, bool bNoUnitChars=false, sal_Int32 nNumDigits=-1) const
 
bool IsPagNumsDirty () const
 
bool IsMPgNumsDirty () const
 
void RecalcPageNums (bool bMaster)
 
virtual void InsertPage (SdrPage *pPage, sal_uInt16 nPos=0xFFFF)
 
virtual void DeletePage (sal_uInt16 nPgNum)
 
virtual SdrPageRemovePage (sal_uInt16 nPgNum)
 
virtual void MovePage (sal_uInt16 nPgNum, sal_uInt16 nNewPos)
 
const SdrPageGetPage (sal_uInt16 nPgNum) const
 
SdrPageGetPage (sal_uInt16 nPgNum)
 
sal_uInt16 GetPageCount () const
 
virtual void PageListChanged ()
 
virtual void InsertMasterPage (SdrPage *pPage, sal_uInt16 nPos=0xFFFF)
 
void DeleteMasterPage (sal_uInt16 nPgNum)
 
virtual SdrPageRemoveMasterPage (sal_uInt16 nPgNum)
 
void MoveMasterPage (sal_uInt16 nPgNum, sal_uInt16 nNewPos)
 
const SdrPageGetMasterPage (sal_uInt16 nPgNum) const
 
SdrPageGetMasterPage (sal_uInt16 nPgNum)
 
sal_uInt16 GetMasterPageCount () const
 
virtual void MasterPageListChanged ()
 
bool IsChanged () const
 
virtual void SetChanged (bool bFlg=true)
 
bool IsSwapGraphics () const
 
void SetSwapGraphics ()
 
bool IsPickThroughTransparentTextFrames () const
 
void SetPickThroughTransparentTextFrames (bool bOn)
 
virtual bool IsReadOnly () const
 
void SetReadOnly (bool bYes)
 
virtual void Merge (SdrModel &rSourceModel, sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum, sal_uInt16 nDestPos, bool bMergeMasterPages, bool bAllMasterPages, bool bUndo=true, bool bTreadSourceAsConst=false)
 
void CopyPages (sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum, sal_uInt16 nDestPos, bool bUndo, bool bMoveNoCopy)
 
void BegUndo ()
 
void BegUndo (const OUString &rComment)
 
void BegUndo (const OUString &rComment, const OUString &rObjDescr, SdrRepeatFunc eFunc)
 
void EndUndo ()
 
void AddUndo (std::unique_ptr< SdrUndoAction > pUndo)
 
sal_uInt16 GetUndoBracketLevel () const
 
void SetUndoComment (const OUString &rComment)
 
void SetUndoComment (const OUString &rComment, const OUString &rObjDescr)
 
void SetMaxUndoActionCount (sal_uInt32 nCount)
 
void ClearUndoBuffer ()
 
bool HasUndoActions () const
 
bool HasRedoActions () const
 
void Undo ()
 
void Redo ()
 
void Repeat (SfxRepeatTarget &)
 
void SetNotifyUndoActionHdl (const std::function< void(std::unique_ptr< SdrUndoAction >)> &rLink)
 
void SetSdrUndoManager (SfxUndoManager *pUndoManager)
 application can set its own undo manager, BegUndo, EndUndo and AddUndoAction calls are routed to this interface if given More...
 
SfxUndoManagerGetSdrUndoManager () const
 
void SetSdrUndoFactory (SdrUndoFactory *pUndoFactory)
 applications can set their own undo factory to override creation of undo actions. More...
 
SdrUndoFactoryGetSdrUndoFactory () const
 returns the models undo factory. More...
 
const XPropertyListRefGetPropertyList (XPropertyListType t) const
 
void SetPropertyList (XPropertyListRef const &p)
 
XDashListRef GetDashList () const
 
XHatchListRef GetHatchList () const
 
XColorListRef GetColorList () const
 
XBitmapListRef GetBitmapList () const
 
XPatternListRef GetPatternList () const
 
XLineEndListRef GetLineEndList () const
 
XGradientListRef GetGradientList () const
 
SfxStyleSheetBasePoolGetStyleSheetPool () const
 
void SetStyleSheetPool (SfxStyleSheetBasePool *pPool)
 
void SetStarDrawPreviewMode (bool bPreview)
 
bool IsStarDrawPreviewMode () const
 
bool GetDisableTextEditUsesCommonUndoManager () const
 
void SetDisableTextEditUsesCommonUndoManager (bool bNew)
 
css::uno::Reference< css::uno::XInterface > const & getUnoModel ()
 
void setUnoModel (const css::uno::Reference< css::uno::XInterface > &xModel)
 
bool isLocked () const
 
void setLock (bool bLock)
 
void SetForbiddenCharsTable (const std::shared_ptr< SvxForbiddenCharactersTable > &xForbiddenChars)
 
const std::shared_ptr< SvxForbiddenCharactersTable > & GetForbiddenCharsTable () const
 
void SetCharCompressType (CharCompressType nType)
 
CharCompressType GetCharCompressType () const
 
void SetKernAsianPunctuation (bool bEnabled)
 
bool IsKernAsianPunctuation () const
 
void SetAddExtLeading (bool bEnabled)
 
bool IsAddExtLeading () const
 
void SetAnchoredTextOverflowLegacy (bool bEnabled)
 
bool IsAnchoredTextOverflowLegacy () const
 
void ReformatAllTextObjects ()
 
std::unique_ptr< SdrOutlinercreateOutliner (OutlinerMode nOutlinerMode)
 
void disposeOutliner (std::unique_ptr< SdrOutliner > pOutliner)
 
bool IsWriter () const
 
void ReadUserDataSequenceValue (const css::beans::PropertyValue *pValue)
 
void WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
virtual SvxNumType GetPageNumType () const
 returns the numbering type that is used to format page fields in drawing shapes More...
 
bool IsInDestruction () const
 
void EnableUndo (bool bEnable)
 enables (true) or disables (false) recording of undo actions If undo actions are added while undo is disabled, they are deleted. More...
 
bool IsUndoEnabled () const
 returns true if undo is currently enabled This returns false if undo was disabled using EnableUndo( false ) and also during the runtime of the Undo() and Redo() methods. More...
 
bool DoesMakePageObjectsNamesUnique () const
 
void DoMakePageObjectsNamesUnique (bool bDo)
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) const
 
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
 
virtual ~WeakBase ()
 
void clearWeak ()
 

Static Public Member Functions

static void SetTextDefaults (SfxItemPool *pItemPool, sal_Int32 nDefTextHgt)
 
static OUString GetUnitString (FieldUnit eUnit)
 
static OUString GetAngleString (long nAngle)
 
static OUString GetPercentString (const Fraction &rVal)
 
static void MigrateItemSet (const SfxItemSet *pSourceSet, SfxItemSet *pDestSet, SdrModel *pNewModel)
 copies the items from the source set to the destination set. More...
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Public Attributes

std::shared_ptr< SvxForbiddenCharactersTablempForbiddenCharactersTable
 
std::unique_ptr< SdrOutlinerCachempOutlinerCache
 
std::unique_ptr< SdrModelImplmpImpl
 
CharCompressType mnCharCompressType
 
sal_uInt16 mnHandoutPageCount
 
bool mbModelLocked
 
bool mbKernAsianPunctuation
 
bool mbAddExtLeading
 
bool mbInDestruction
 
o3tl::enumarray< XPropertyListType, XPropertyListRefmaProperties
 

Protected Member Functions

virtual css::uno::Reference< css::uno::XInterface > createUnoModel ()
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 

Protected Attributes

std::vector< SdrPage * > maMaPag
 
std::vector< SdrPage * > maPages
 
std::function< void(std::unique_ptr< SdrUndoAction >)> m_aUndoLink
 
Size m_aMaxObjSize
 
Fraction m_aObjUnit
 
MapUnit m_eObjUnit
 
FieldUnit m_eUIUnit
 
Fraction m_aUIScale
 
OUString m_aUIUnitStr
 
Fraction m_aUIUnitFact
 
int m_nUIUnitDecimalMark
 
std::unique_ptr< SdrLayerAdminm_pLayerAdmin
 
SfxItemPoolm_pItemPool
 
comphelper::IEmbeddedHelperm_pEmbeddedHelper
 
std::unique_ptr< SdrOutlinerm_pDrawOutliner
 
std::unique_ptr< SdrOutlinerm_pHitTestOutliner
 
std::unique_ptr< SdrOutlinerm_pChainingOutliner
 
sal_Int32 mnDefTextHgt
 
VclPtr< OutputDevicem_pRefOutDev
 
rtl::Reference< SfxStyleSheetBasePoolmxStyleSheetPool
 
SfxStyleSheetm_pDefaultStyleSheet
 
SfxStyleSheetmpDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj
 
sfx2::LinkManagerm_pLinkManager
 
std::unique_ptr< std::deque< std::unique_ptr< SfxUndoAction > > > m_pUndoStack
 
std::unique_ptr< std::deque< std::unique_ptr< SfxUndoAction > > > m_pRedoStack
 
std::unique_ptr< SdrUndoGroupm_pCurrentUndoGroup
 
sal_uInt16 m_nUndoLevel
 
bool m_bMyPool:1
 
bool mbUndoEnabled:1
 
bool mbChanged:1
 
bool m_bPagNumsDirty:1
 
bool m_bMPgNumsDirty:1
 
bool m_bTransportContainer:1
 
bool m_bReadOnly:1
 
bool m_bTransparentTextFrames:1
 
bool m_bSwapGraphics:1
 
bool m_bPasteResize:1
 
bool m_bStarDrawPreviewMode:1
 
bool mbDisableTextEditUsesCommonUndoManager:1
 
sal_uInt16 m_nDefaultTabulator
 
sal_uInt32 m_nMaxUndoCount
 
std::unique_ptr< TextChainm_pTextChain
 

Private Member Functions

 SdrModel (const SdrModel &rSrcModel)=delete
 
void operator= (const SdrModel &rSrcModel)=delete
 
bool operator== (const SdrModel &rCmpModel) const =delete
 
SVX_DLLPRIVATE void ImpPostUndoAction (std::unique_ptr< SdrUndoAction > pUndo)
 
SVX_DLLPRIVATE void ImpSetUIUnit ()
 
SVX_DLLPRIVATE void ImpSetOutlinerDefaults (SdrOutliner *pOutliner, bool bInit=false)
 
SVX_DLLPRIVATE void ImpReformatAllTextObjects ()
 
SVX_DLLPRIVATE void ImpReformatAllEdgeObjects ()
 
SVX_DLLPRIVATE void ImpCreateTables (bool bDisablePropertyFiles)
 
SVX_DLLPRIVATE void ImpCtor (SfxItemPool *pPool,::comphelper::IEmbeddedHelper *pPers, bool bDisablePropertyFiles)
 

Private Attributes

std::unordered_set< const SdrObject * > maAllIncarnatedObjects
 
css::uno::Reference< css::uno::XInterface > mxUnoModel
 
bool mbMakePageObjectsNamesUnique = true
 

Friends

void impAddIncarnatedSdrObjectToSdrModel (const SdrObject &rSdrObject, SdrModel &rSdrModel)
 
void impRemoveIncarnatedSdrObjectToSdrModel (const SdrObject &rSdrObject, SdrModel &rSdrModel)
 

Detailed Description

Definition at line 139 of file svdmodel.hxx.

Constructor & Destructor Documentation

SdrModel::SdrModel ( const SdrModel rSrcModel)
privatedelete

Referenced by AllocModel().

SdrModel::SdrModel ( SfxItemPool pPool = nullptr,
::comphelper::IEmbeddedHelper pPers = nullptr,
bool  bDisablePropertyFiles = false 
)
explicit

Definition at line 204 of file svdmodel.cxx.

References ImpCtor().

SdrModel::~SdrModel ( )
overridevirtual

Member Function Documentation

void SdrModel::adaptSizeAndBorderForAllPages ( const Size rNewSize,
long  nLeft = 0,
long  nRight = 0,
long  nUpper = 0,
long  nLower = 0 
)
virtual

Definition at line 1709 of file svdmodel.cxx.

void SdrModel::AddUndo ( std::unique_ptr< SdrUndoAction pUndo)
SdrModel * SdrModel::AllocModel ( ) const
virtual

Definition at line 642 of file svdmodel.cxx.

References m_aObjUnit, m_eObjUnit, SdrModel(), and SetScaleUnit().

Referenced by SdrExchangeView::CreateMarkedObjModel().

SdrPage * SdrModel::AllocPage ( bool  bMasterPage)
virtual

Reimplemented in FmFormModel.

Definition at line 649 of file svdmodel.cxx.

void SdrModel::BegUndo ( )
void SdrModel::BegUndo ( const OUString &  rComment)
void SdrModel::BegUndo ( const OUString &  rComment,
const OUString &  rObjDescr,
SdrRepeatFunc  eFunc 
)
void SdrModel::BurnInStyleSheetAttributes ( )
void SdrModel::ClearModel ( bool  bCalledFromDestructor)
void SdrModel::ClearUndoBuffer ( )

Definition at line 318 of file svdmodel.cxx.

References m_pRedoStack, and m_pUndoStack.

Referenced by FmFormModel::~FmFormModel(), and ~SdrModel().

void SdrModel::CopyPages ( sal_uInt16  nFirstPageNum,
sal_uInt16  nLastPageNum,
sal_uInt16  nDestPos,
bool  bUndo,
bool  bMoveNoCopy 
)
std::unique_ptr< SdrOutliner > SdrModel::createOutliner ( OutlinerMode  nOutlinerMode)

Definition at line 1853 of file svdmodel.cxx.

References mpOutlinerCache.

Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().

uno::Reference< uno::XInterface > SdrModel::createUnoModel ( )
protectedvirtual

Definition at line 1721 of file svdmodel.cxx.

Referenced by getUnoModel().

void SdrModel::DeleteMasterPage ( sal_uInt16  nPgNum)

Definition at line 1373 of file svdmodel.cxx.

References RemoveMasterPage().

Referenced by ClearModel().

void SdrModel::DeletePage ( sal_uInt16  nPgNum)
virtual

Definition at line 1321 of file svdmodel.cxx.

References RemovePage().

Referenced by ClearModel(), and SvxUnoDrawPagesAccess::remove().

void SdrModel::disposeOutliner ( std::unique_ptr< SdrOutliner pOutliner)

Definition at line 1870 of file svdmodel.cxx.

References mpOutlinerCache.

Referenced by SvxTextEditSourceImpl::dispose().

bool SdrModel::DoesMakePageObjectsNamesUnique ( ) const
inline

Definition at line 604 of file svdmodel.hxx.

void SdrModel::DoMakePageObjectsNamesUnique ( bool  bDo)
inline

Definition at line 605 of file svdmodel.hxx.

void SdrModel::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual

Definition at line 1990 of file svdmodel.cxx.

References GetPage(), GetPageCount(), and i.

void SdrModel::EnableUndo ( bool  bEnable)

enables (true) or disables (false) recording of undo actions If undo actions are added while undo is disabled, they are deleted.

Disabling undo does not clear the current undo buffer!

Definition at line 578 of file svdmodel.cxx.

References mbUndoEnabled, and mpImpl.

void SdrModel::EndUndo ( )
std::vector< SdrOutliner * > SdrModel::GetActiveOutliners ( ) const

Definition at line 1861 of file svdmodel.cxx.

References m_pDrawOutliner, m_pHitTestOutliner, and mpOutlinerCache.

OUString SdrModel::GetAngleString ( long  nAngle)
static
XBitmapListRef SdrModel::GetBitmapList ( ) const
inline

Definition at line 531 of file svdmodel.hxx.

References XPropertyList::AsBitmapList(), and Bitmap.

Referenced by SvxShape::SetFillAttribute().

SdrOutliner & SdrModel::GetChainingOutliner ( const SdrTextObj pObj) const

Definition at line 713 of file svdmodel.cxx.

References m_pChainingOutliner.

CharCompressType SdrModel::GetCharCompressType ( ) const
inline

Definition at line 559 of file svdmodel.hxx.

Referenced by SdrMakeOutliner().

XColorListRef SdrModel::GetColorList ( ) const
inline

Definition at line 530 of file svdmodel.hxx.

References XPropertyList::AsColorList(), and Color.

XDashListRef SdrModel::GetDashList ( ) const
inline

Definition at line 528 of file svdmodel.hxx.

References XPropertyList::AsDashList(), and Dash.

Referenced by SvxShape::SetFillAttribute().

SfxStyleSheet* SdrModel::GetDefaultStyleSheet ( ) const
inline

Definition at line 341 of file svdmodel.hxx.

Referenced by SdrPaintView::ImpClearVars().

SfxStyleSheet* SdrModel::GetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj ( ) const
inline

Definition at line 345 of file svdmodel.hxx.

sal_uInt16 SdrModel::GetDefaultTabulator ( ) const
inline

Definition at line 337 of file svdmodel.hxx.

Referenced by SdrObjEditView::Notify(), and SdrMakeOutliner().

bool SdrModel::GetDisableTextEditUsesCommonUndoManager ( ) const
inline

Definition at line 544 of file svdmodel.hxx.

uno::Reference< embed::XStorage > SdrModel::GetDocumentStorage ( ) const
virtual

Definition at line 797 of file svdmodel.cxx.

References getUnoModel(), and SAL_WARN.

Referenced by GetDocumentStream().

uno::Reference< io::XInputStream > SdrModel::GetDocumentStream ( OUString const &  rURL,
::comphelper::LifecycleProxy const &  rProxy 
) const
SdrOutliner & SdrModel::GetDrawOutliner ( const SdrTextObj pObj = nullptr) const
const std::shared_ptr<SvxForbiddenCharactersTable>& SdrModel::GetForbiddenCharsTable ( ) const
inline

Definition at line 556 of file svdmodel.hxx.

Referenced by ImpSetOutlinerDefaults(), and SdrMakeOutliner().

const SdrTextObj * SdrModel::GetFormattingTextObj ( ) const

Definition at line 719 of file svdmodel.cxx.

References m_pDrawOutliner.

XGradientListRef SdrModel::GetGradientList ( ) const
inline

Definition at line 534 of file svdmodel.hxx.

References XPropertyList::AsGradientList(), and Gradient.

Referenced by SvxShape::SetFillAttribute().

sal_uInt16 SdrModel::getHandoutPageCount ( ) const
inline

Definition at line 229 of file svdmodel.hxx.

XHatchListRef SdrModel::GetHatchList ( ) const
inline

Definition at line 529 of file svdmodel.hxx.

References XPropertyList::AsHatchList(), and Hatch.

Referenced by SvxShape::SetFillAttribute().

SdrOutliner& SdrModel::GetHitTestOutliner ( ) const
inline
const SfxItemPool& SdrModel::GetItemPool ( ) const
inline
SfxItemPool& SdrModel::GetItemPool ( )
inline

Definition at line 315 of file svdmodel.hxx.

const SdrLayerAdmin& SdrModel::GetLayerAdmin ( ) const
inline
SdrLayerAdmin& SdrModel::GetLayerAdmin ( )
inline

Definition at line 312 of file svdmodel.hxx.

XLineEndListRef SdrModel::GetLineEndList ( ) const
inline

Definition at line 533 of file svdmodel.hxx.

References XPropertyList::AsLineEndList(), and LineEnd.

Referenced by SvxShape::SetFillAttribute().

sfx2::LinkManager* SdrModel::GetLinkManager ( )
inline

Definition at line 348 of file svdmodel.hxx.

const SdrPage * SdrModel::GetMasterPage ( sal_uInt16  nPgNum) const
SdrPage * SdrModel::GetMasterPage ( sal_uInt16  nPgNum)

Definition at line 1949 of file svdmodel.cxx.

References DBG_ASSERT, and maMaPag.

sal_uInt16 SdrModel::GetMasterPageCount ( ) const
const Size& SdrModel::GetMaxObjSize ( ) const
inline

Definition at line 375 of file svdmodel.hxx.

OUString SdrModel::GetMetricString ( long  nVal,
bool  bNoUnitChars = false,
sal_Int32  nNumDigits = -1 
) const
const SdrPage * SdrModel::GetPage ( sal_uInt16  nPgNum) const
SdrPage * SdrModel::GetPage ( sal_uInt16  nPgNum)

Definition at line 1923 of file svdmodel.cxx.

References DBG_ASSERT, and maPages.

sal_uInt16 SdrModel::GetPageCount ( ) const
SvxNumType SdrModel::GetPageNumType ( ) const
virtual

returns the numbering type that is used to format page fields in drawing shapes

Definition at line 1876 of file svdmodel.cxx.

References SVX_NUM_ARABIC.

XPatternListRef SdrModel::GetPatternList ( ) const
inline

Definition at line 532 of file svdmodel.hxx.

References XPropertyList::AsPatternList(), and Pattern.

OUString SdrModel::GetPercentString ( const Fraction rVal)
static
::comphelper::IEmbeddedHelper* SdrModel::GetPersist ( ) const
inline
const XPropertyListRef& SdrModel::GetPropertyList ( XPropertyListType  t) const
inline
OutputDevice* SdrModel::GetRefDevice ( ) const
inline
const Fraction& SdrModel::GetScaleFraction ( ) const
inline
MapUnit SdrModel::GetScaleUnit ( ) const
inline
SdrUndoFactory & SdrModel::GetSdrUndoFactory ( ) const
SfxUndoManager * SdrModel::GetSdrUndoManager ( ) const

Definition at line 1969 of file svdmodel.cxx.

References mpImpl.

Referenced by SdrObjEditView::getSdrUndoManagerForEnhancedTextEdit().

SfxStyleSheetBasePool* SdrModel::GetStyleSheetPool ( ) const
inline
TextChain * SdrModel::GetTextChain ( ) const

Definition at line 1938 of file svdmodel.cxx.

References m_pTextChain.

Referenced by SdrTextObj::GetTextChain().

const Fraction& SdrModel::GetUIScale ( ) const
inline
FieldUnit SdrModel::GetUIUnit ( ) const
inline

Definition at line 380 of file svdmodel.hxx.

Referenced by getExtrusionDepthState(), and SdrMeasureObj::TakeRepresentation().

sal_uInt16 SdrModel::GetUndoBracketLevel ( ) const
inline

Definition at line 485 of file svdmodel.hxx.

Referenced by SdrEditView::EndUndo().

OUString SdrModel::GetUnitString ( FieldUnit  eUnit)
static

Definition at line 1061 of file svdmodel.cxx.

Referenced by ImpSetUIUnit(), and SdrMeasureObj::TakeRepresentation().

uno::Reference< uno::XInterface > const & SdrModel::getUnoModel ( )

Definition at line 1696 of file svdmodel.cxx.

References createUnoModel(), and mxUnoModel.

Referenced by SdrOle2Obj::Disconnect_Impl(), and GetDocumentStorage().

const css::uno::Sequence< sal_Int8 > & SdrModel::getUnoTunnelId ( )
static

Definition at line 2010 of file svdmodel.cxx.

Referenced by SvxGalleryDrawModel::SvxGalleryDrawModel().

bool SdrModel::HasRedoActions ( ) const

Definition at line 329 of file svdmodel.cxx.

References m_pRedoStack.

Referenced by IMPL_LINK(), and Redo().

bool SdrModel::HasUndoActions ( ) const

Definition at line 324 of file svdmodel.cxx.

References m_pUndoStack.

Referenced by IMPL_LINK(), Repeat(), and Undo().

void SdrModel::ImpCreateTables ( bool  bDisablePropertyFiles)
private

Definition at line 602 of file svdmodel.cxx.

References XPropertyList::CreatePropertyList(), i, and maProperties.

Referenced by ImpCtor().

void SdrModel::ImpCtor ( SfxItemPool pPool,
::comphelper::IEmbeddedHelper pPers,
bool  bDisablePropertyFiles 
)
private
void SdrModel::ImpPostUndoAction ( std::unique_ptr< SdrUndoAction pUndo)
private

Definition at line 401 of file svdmodel.cxx.

References DBG_ASSERT, IsUndoEnabled(), m_aUndoLink, m_nMaxUndoCount, m_pRedoStack, m_pUndoStack, and mpImpl.

Referenced by AddUndo(), and EndUndo().

void SdrModel::ImpReformatAllEdgeObjects ( )
private
void SdrModel::ImpReformatAllTextObjects ( )
private
void SdrModel::ImpSetOutlinerDefaults ( SdrOutliner pOutliner,
bool  bInit = false 
)
private
void SdrModel::ImpSetUIUnit ( )
private
void SdrModel::InsertMasterPage ( SdrPage pPage,
sal_uInt16  nPos = 0xFFFF 
)
virtual
void SdrModel::InsertPage ( SdrPage pPage,
sal_uInt16  nPos = 0xFFFF 
)
virtual
bool SdrModel::IsAddExtLeading ( ) const
inline

Definition at line 565 of file svdmodel.hxx.

Referenced by ImpSetOutlinerDefaults(), and SdrMakeOutliner().

bool SdrModel::IsAnchoredTextOverflowLegacy ( ) const

Definition at line 1843 of file svdmodel.cxx.

References mpImpl.

Referenced by WriteUserDataSequence().

bool SdrModel::IsChanged ( ) const
inline

Definition at line 420 of file svdmodel.hxx.

References mbChanged.

Referenced by SvxIMapDlg::DoSave().

virtual SVX_DLLPRIVATE bool SdrModel::IsCreatingDataObj ( ) const
inlinevirtual

Definition at line 267 of file svdmodel.hxx.

bool SdrModel::IsInDestruction ( ) const
inline

Definition at line 589 of file svdmodel.hxx.

Referenced by SdrOle2Obj::Disconnect_Impl(), and SdrObject::IsInDestruction().

bool SdrModel::IsKernAsianPunctuation ( ) const
inline

Definition at line 562 of file svdmodel.hxx.

Referenced by ImpSetOutlinerDefaults(), and SdrMakeOutliner().

bool SdrModel::isLocked ( ) const
inline
bool SdrModel::IsMPgNumsDirty ( ) const
inline

Definition at line 394 of file svdmodel.hxx.

bool SdrModel::IsPagNumsDirty ( ) const
inline

Definition at line 393 of file svdmodel.hxx.

bool SdrModel::IsPasteResize ( ) const
inline

Definition at line 269 of file svdmodel.hxx.

bool SdrModel::IsPickThroughTransparentTextFrames ( ) const
inline

Definition at line 435 of file svdmodel.hxx.

bool SdrModel::IsReadOnly ( ) const
virtual

Definition at line 296 of file svdmodel.cxx.

References m_bReadOnly.

bool SdrModel::IsStarDrawPreviewMode ( ) const
inline

Definition at line 542 of file svdmodel.hxx.

bool SdrModel::IsSwapGraphics ( ) const
inline

Definition at line 429 of file svdmodel.hxx.

bool SdrModel::IsTransportContainer ( ) const
inline

Definition at line 268 of file svdmodel.hxx.

bool SdrModel::IsUndoEnabled ( ) const
bool SdrModel::IsWriter ( ) const
inline
void SdrModel::MasterPageListChanged ( )
virtual

Definition at line 1960 of file svdmodel.cxx.

Referenced by ClearModel(), InsertMasterPage(), Merge(), MoveMasterPage(), and RemoveMasterPage().

void SdrModel::Merge ( SdrModel rSourceModel,
sal_uInt16  nFirstPageNum,
sal_uInt16  nLastPageNum,
sal_uInt16  nDestPos,
bool  bMergeMasterPages,
bool  bAllMasterPages,
bool  bUndo = true,
bool  bTreadSourceAsConst = false 
)
virtual
void SdrModel::MigrateItemSet ( const SfxItemSet pSourceSet,
SfxItemSet pDestSet,
SdrModel pNewModel 
)
static

copies the items from the source set to the destination set.

Both sets must have same ranges but can have different pools.

Definition at line 1743 of file svdmodel.cxx.

References SfxWhichIter::FirstWhich(), SfxItemSet::GetItemState(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), XATTR_FILLBITMAP, XATTR_FILLFLOATTRANSPARENCE, XATTR_FILLGRADIENT, XATTR_FILLHATCH, XATTR_LINEDASH, XATTR_LINEEND, and XATTR_LINESTART.

void SdrModel::MoveMasterPage ( sal_uInt16  nPgNum,
sal_uInt16  nNewPos 
)
void SdrModel::MovePage ( sal_uInt16  nPgNum,
sal_uInt16  nNewPos 
)
virtual
void SdrModel::operator= ( const SdrModel rSrcModel)
privatedelete
bool SdrModel::operator== ( const SdrModel rCmpModel) const
privatedelete
void SdrModel::PageListChanged ( )
virtual

Definition at line 1934 of file svdmodel.cxx.

Referenced by ClearModel(), InsertPage(), MovePage(), and RemovePage().

void SdrModel::ReadUserDataSequenceValue ( const css::beans::PropertyValue *  pValue)

Definition at line 1881 of file svdmodel.cxx.

References mpImpl.

void SdrModel::RecalcPageNums ( bool  bMaster)

Definition at line 1279 of file svdmodel.cxx.

References i, m_bMPgNumsDirty, m_bPagNumsDirty, maMaPag, maPages, and SdrPage::SetPageNum().

Referenced by SdrPage::GetPageNum().

void SdrModel::Redo ( )
void SdrModel::RefDeviceChanged ( )

Definition at line 850 of file svdmodel.cxx.

References SfxBroadcaster::Broadcast(), ImpReformatAllTextObjects(), and RefDeviceChange.

Referenced by SetRefDevice().

void SdrModel::ReformatAllTextObjects ( )

Definition at line 1848 of file svdmodel.cxx.

References ImpReformatAllTextObjects().

SdrPage * SdrModel::RemoveMasterPage ( sal_uInt16  nPgNum)
virtual
SdrPage * SdrModel::RemovePage ( sal_uInt16  nPgNum)
virtual
void SdrModel::Repeat ( SfxRepeatTarget rView)
void SdrModel::SetAddExtLeading ( bool  bEnabled)
void SdrModel::SetAnchoredTextOverflowLegacy ( bool  bEnabled)

Definition at line 1838 of file svdmodel.cxx.

References mpImpl.

void SdrModel::SetChanged ( bool  bFlg = true)
virtual

Definition at line 1274 of file svdmodel.cxx.

References mbChanged.

Referenced by SvxShape::_setPropertyToDefault(), SvxShape::_setPropertyValue(), SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), SvxShapeGroup::addUnoShape(), SdrLayerAdmin::Broadcast(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), SdrEditView::DeleteLayer(), SdrGlueEditView::DeleteMarkedGluePoints(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), SvxIMapDlg::DoSave(), SdrOle2Obj::GetObjRef_Impl(), SvxDrawPage::group(), SdrObjList::impClearSdrObjList(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), ImpPageChange(), SdrGrafObj::ImpSetLinkedGraphic(), SdrGlueEditView::ImpTransformMarkedGluePoints(), InsertMasterPage(), SdrEditView::InsertNewLayer(), SdrObjList::InsertObject(), InsertPage(), SdrObjEditView::KeyInput(), Merge(), MoveMasterPage(), SvxDrawPage::remove(), SvxShapeGroup::remove(), RemoveMasterPage(), SdrObjList::RemoveObject(), RemovePage(), SdrObjList::ReplaceObject(), SvxShape::setAllPropertiesToDefault(), SdrObjEditView::SetAttributes(), SdrPage::SetChanged(), SdrObject::SetChanged(), SvxShapeControl::setControl(), SdrLayer::SetName(), SdrObjList::SetObjectNavigationPosition(), SdrObjList::SetObjectOrdNum(), SvxShape::setPosition(), sdr::table::Cell::setPropertyToDefault(), sdr::table::Cell::setPropertyValue(), SvxGraphicObject::setPropertyValueImpl(), SvxShape::setSize(), and SvxDrawPage::ungroup().

void SdrModel::SetCharCompressType ( CharCompressType  nType)
void SdrModel::SetDefaultFontHeight ( sal_Int32  nVal)

Definition at line 856 of file svdmodel.cxx.

References ImpReformatAllTextObjects(), and mnDefTextHgt.

void SdrModel::SetDefaultStyleSheet ( SfxStyleSheet pDefSS)
inline

Definition at line 342 of file svdmodel.hxx.

void SdrModel::SetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj ( SfxStyleSheet pDefSS)
inline

Definition at line 346 of file svdmodel.hxx.

void SdrModel::SetDefaultTabulator ( sal_uInt16  nVal)
void SdrModel::SetDisableTextEditUsesCommonUndoManager ( bool  bNew)
inline

Definition at line 545 of file svdmodel.hxx.

void SdrModel::SetForbiddenCharsTable ( const std::shared_ptr< SvxForbiddenCharactersTable > &  xForbiddenChars)
void SdrModel::setHandoutPageCount ( sal_uInt16  nHandoutPageCount)
inline

Definition at line 230 of file svdmodel.hxx.

void SdrModel::SetKernAsianPunctuation ( bool  bEnabled)
void SdrModel::SetLinkManager ( sfx2::LinkManager pLinkMgr)
inline

Definition at line 349 of file svdmodel.hxx.

void SdrModel::setLock ( bool  bLock)
void SdrModel::SetMaxObjSize ( const Size rSiz)
inline

Definition at line 376 of file svdmodel.hxx.

void SdrModel::SetMaxUndoActionCount ( sal_uInt32  nCount)

Definition at line 307 of file svdmodel.cxx.

References m_nMaxUndoCount, and m_pUndoStack.

Referenced by FmFormModel::~FmFormModel().

void SdrModel::SetNotifyUndoActionHdl ( const std::function< void(std::unique_ptr< SdrUndoAction >)> &  rLink)
inline

Definition at line 506 of file svdmodel.hxx.

void SdrModel::SetPasteResize ( bool  bOn)
inline

Definition at line 270 of file svdmodel.hxx.

Referenced by SdrExchangeView::Paste().

void SdrModel::SetPersist ( ::comphelper::IEmbeddedHelper p)
inline

Definition at line 352 of file svdmodel.hxx.

void SdrModel::SetPickThroughTransparentTextFrames ( bool  bOn)
inline

Definition at line 436 of file svdmodel.hxx.

void SdrModel::SetPropertyList ( XPropertyListRef const &  p)
inline

Definition at line 525 of file svdmodel.hxx.

void SdrModel::SetReadOnly ( bool  bYes)

Definition at line 301 of file svdmodel.cxx.

References m_bReadOnly.

void SdrModel::SetRefDevice ( OutputDevice pDev)
void SdrModel::SetScaleFraction ( const Fraction rFrac)
void SdrModel::SetScaleUnit ( MapUnit  eMap)
void SdrModel::SetScaleUnit ( MapUnit  eMap,
const Fraction rFrac 
)
void SdrModel::SetSdrUndoFactory ( SdrUndoFactory pUndoFactory)

applications can set their own undo factory to override creation of undo actions.

The SdrModel will become owner of the given SdrUndoFactory and delete it upon its destruction.

Definition at line 1981 of file svdmodel.cxx.

References mpImpl.

void SdrModel::SetSdrUndoManager ( SfxUndoManager pUndoManager)

application can set its own undo manager, BegUndo, EndUndo and AddUndoAction calls are routed to this interface if given

Definition at line 1964 of file svdmodel.cxx.

References mpImpl.

void SdrModel::SetStarDrawPreviewMode ( bool  bPreview)

Definition at line 1683 of file svdmodel.cxx.

References GetPageCount(), m_bStarDrawPreviewMode, and SAL_WARN.

void SdrModel::SetStyleSheetPool ( SfxStyleSheetBasePool pPool)
inline

Definition at line 539 of file svdmodel.hxx.

void SdrModel::SetSwapGraphics ( )

Definition at line 291 of file svdmodel.cxx.

References m_bSwapGraphics.

void SdrModel::SetTextDefaults ( ) const

Definition at line 654 of file svdmodel.cxx.

References m_pItemPool, and mnDefTextHgt.

Referenced by ImpCtor(), and SvxUnoDrawPool::init().

void SdrModel::SetTextDefaults ( SfxItemPool pItemPool,
sal_Int32  nDefTextHgt 
)
static
void SdrModel::SetUIScale ( const Fraction rScale)

Definition at line 1042 of file svdmodel.cxx.

References ImpReformatAllTextObjects(), ImpSetUIUnit(), and m_aUIScale.

void SdrModel::SetUIUnit ( FieldUnit  eUnit)

Definition at line 1033 of file svdmodel.cxx.

References ImpReformatAllTextObjects(), ImpSetUIUnit(), and m_eUIUnit.

void SdrModel::SetUIUnit ( FieldUnit  eUnit,
const Fraction rScale 
)

Definition at line 1051 of file svdmodel.cxx.

References ImpReformatAllTextObjects(), ImpSetUIUnit(), m_aUIScale, and m_eUIUnit.

void SdrModel::SetUndoComment ( const OUString &  rComment)

Definition at line 528 of file svdmodel.cxx.

References DBG_ASSERT, IsUndoEnabled(), m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.

void SdrModel::SetUndoComment ( const OUString &  rComment,
const OUString &  rObjDescr 
)

Definition at line 542 of file svdmodel.cxx.

References DBG_ASSERT, m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.

void SdrModel::setUnoModel ( const css::uno::Reference< css::uno::XInterface > &  xModel)
void SdrModel::Undo ( )
void SdrModel::WriteUserDataSequence ( css::uno::Sequence< css::beans::PropertyValue > &  rValues)

Definition at line 1899 of file svdmodel.cxx.

References addPair(), and IsAnchoredTextOverflowLegacy().

Friends And Related Function Documentation

void impAddIncarnatedSdrObjectToSdrModel ( const SdrObject rSdrObject,
SdrModel rSdrModel 
)
friend

Definition at line 343 of file svdobj.cxx.

void impRemoveIncarnatedSdrObjectToSdrModel ( const SdrObject rSdrObject,
SdrModel rSdrModel 
)
friend

Definition at line 347 of file svdobj.cxx.

Member Data Documentation

Size SdrModel::m_aMaxObjSize
protected

Definition at line 168 of file svdmodel.hxx.

Fraction SdrModel::m_aObjUnit
protected
Fraction SdrModel::m_aUIScale
protected

Definition at line 172 of file svdmodel.hxx.

Referenced by ImpCtor(), ImpSetUIUnit(), SetUIScale(), and SetUIUnit().

Fraction SdrModel::m_aUIUnitFact
protected

Definition at line 174 of file svdmodel.hxx.

Referenced by GetMetricString(), and ImpSetUIUnit().

OUString SdrModel::m_aUIUnitStr
protected

Definition at line 173 of file svdmodel.hxx.

Referenced by GetMetricString(), and ImpSetUIUnit().

std::function<void(std::unique_ptr<SdrUndoAction>)> SdrModel::m_aUndoLink
protected

Definition at line 167 of file svdmodel.hxx.

Referenced by ImpPostUndoAction().

bool SdrModel::m_bMPgNumsDirty
protected
bool SdrModel::m_bMyPool
protected

Definition at line 194 of file svdmodel.hxx.

Referenced by ImpCtor(), and ~SdrModel().

bool SdrModel::m_bPagNumsDirty
protected

Definition at line 197 of file svdmodel.hxx.

Referenced by ImpCtor(), InsertPage(), Merge(), RecalcPageNums(), and RemovePage().

bool SdrModel::m_bPasteResize
protected

Definition at line 203 of file svdmodel.hxx.

Referenced by ImpCtor().

bool SdrModel::m_bReadOnly
protected

Definition at line 200 of file svdmodel.hxx.

Referenced by ImpCtor(), IsReadOnly(), and SetReadOnly().

bool SdrModel::m_bStarDrawPreviewMode
protected

Definition at line 204 of file svdmodel.hxx.

Referenced by ImpCtor(), and SetStarDrawPreviewMode().

bool SdrModel::m_bSwapGraphics
protected

Definition at line 202 of file svdmodel.hxx.

Referenced by ImpCtor(), and SetSwapGraphics().

bool SdrModel::m_bTransparentTextFrames
protected

Definition at line 201 of file svdmodel.hxx.

Referenced by ImpCtor().

bool SdrModel::m_bTransportContainer
protected

Definition at line 199 of file svdmodel.hxx.

Referenced by ImpCtor().

MapUnit SdrModel::m_eObjUnit
protected

Definition at line 170 of file svdmodel.hxx.

Referenced by AllocModel(), ImpCtor(), ImpSetOutlinerDefaults(), ImpSetUIUnit(), and SetScaleUnit().

FieldUnit SdrModel::m_eUIUnit
protected

Definition at line 171 of file svdmodel.hxx.

Referenced by ImpCtor(), ImpSetUIUnit(), and SetUIUnit().

sal_uInt16 SdrModel::m_nDefaultTabulator
protected

Definition at line 206 of file svdmodel.hxx.

Referenced by ImpCtor(), ImpSetOutlinerDefaults(), and SetDefaultTabulator().

sal_uInt32 SdrModel::m_nMaxUndoCount
protected

Definition at line 207 of file svdmodel.hxx.

Referenced by ImpCtor(), ImpPostUndoAction(), and SetMaxUndoActionCount().

int SdrModel::m_nUIUnitDecimalMark
protected

Definition at line 175 of file svdmodel.hxx.

Referenced by GetMetricString(), ImpCtor(), and ImpSetUIUnit().

sal_uInt16 SdrModel::m_nUndoLevel
protected

Definition at line 193 of file svdmodel.hxx.

Referenced by BegUndo(), EndUndo(), ImpCtor(), and SetUndoComment().

std::unique_ptr<SdrOutliner> SdrModel::m_pChainingOutliner
protected

Definition at line 183 of file svdmodel.hxx.

Referenced by GetChainingOutliner(), ImpCtor(), and ~SdrModel().

std::unique_ptr<SdrUndoGroup> SdrModel::m_pCurrentUndoGroup
protected

Definition at line 192 of file svdmodel.hxx.

Referenced by AddUndo(), BegUndo(), EndUndo(), ImpCtor(), SetUndoComment(), and ~SdrModel().

SfxStyleSheet* SdrModel::m_pDefaultStyleSheet
protected

Definition at line 187 of file svdmodel.hxx.

Referenced by ImpCtor().

std::unique_ptr<SdrOutliner> SdrModel::m_pDrawOutliner
protected
comphelper::IEmbeddedHelper* SdrModel::m_pEmbeddedHelper
protected

Definition at line 180 of file svdmodel.hxx.

Referenced by ImpCtor().

std::unique_ptr<SdrOutliner> SdrModel::m_pHitTestOutliner
protected
SfxItemPool* SdrModel::m_pItemPool
protected
std::unique_ptr<SdrLayerAdmin> SdrModel::m_pLayerAdmin
protected

Definition at line 177 of file svdmodel.hxx.

Referenced by ClearModel(), ImpCtor(), and ~SdrModel().

sfx2::LinkManager* SdrModel::m_pLinkManager
protected

Definition at line 189 of file svdmodel.hxx.

Referenced by ImpCtor().

std::unique_ptr<std::deque<std::unique_ptr<SfxUndoAction> > > SdrModel::m_pRedoStack
protected

Definition at line 191 of file svdmodel.hxx.

Referenced by ClearUndoBuffer(), HasRedoActions(), ImpCtor(), ImpPostUndoAction(), Redo(), and Undo().

VclPtr<OutputDevice> SdrModel::m_pRefOutDev
protected

Definition at line 185 of file svdmodel.hxx.

Referenced by ImpCtor(), and SetRefDevice().

std::unique_ptr<TextChain> SdrModel::m_pTextChain
protected

Definition at line 209 of file svdmodel.hxx.

Referenced by GetTextChain(), ImpCtor(), and ~SdrModel().

std::unique_ptr<std::deque<std::unique_ptr<SfxUndoAction> > > SdrModel::m_pUndoStack
protected
std::unordered_set< const SdrObject* > SdrModel::maAllIncarnatedObjects
private
std::vector<SdrPage*> SdrModel::maMaPag
protected
std::vector<SdrPage*> SdrModel::maPages
protected

Definition at line 227 of file svdmodel.hxx.

Referenced by ImpCreateTables().

bool SdrModel::mbAddExtLeading

Definition at line 223 of file svdmodel.hxx.

Referenced by ImpCtor(), and SetAddExtLeading().

bool SdrModel::mbChanged
protected

Definition at line 196 of file svdmodel.hxx.

Referenced by ImpCtor(), and SetChanged().

bool SdrModel::mbDisableTextEditUsesCommonUndoManager
protected

Definition at line 205 of file svdmodel.hxx.

Referenced by ImpCtor().

bool SdrModel::mbInDestruction

Definition at line 224 of file svdmodel.hxx.

Referenced by ClearModel(), ImpCtor(), and ~SdrModel().

bool SdrModel::mbKernAsianPunctuation

Definition at line 222 of file svdmodel.hxx.

Referenced by ImpCtor(), and SetKernAsianPunctuation().

bool SdrModel::mbMakePageObjectsNamesUnique = true
private

Definition at line 264 of file svdmodel.hxx.

Referenced by InsertPage().

bool SdrModel::mbModelLocked

Definition at line 221 of file svdmodel.hxx.

Referenced by ImpCtor(), and setLock().

bool SdrModel::mbUndoEnabled
protected

Definition at line 195 of file svdmodel.hxx.

Referenced by EnableUndo(), ImpCtor(), IsUndoEnabled(), Redo(), and Undo().

CharCompressType SdrModel::mnCharCompressType

Definition at line 219 of file svdmodel.hxx.

Referenced by ImpCtor(), ImpSetOutlinerDefaults(), and SetCharCompressType().

sal_Int32 SdrModel::mnDefTextHgt
protected

Definition at line 184 of file svdmodel.hxx.

Referenced by ImpCtor(), SetDefaultFontHeight(), and SetTextDefaults().

sal_uInt16 SdrModel::mnHandoutPageCount

Definition at line 220 of file svdmodel.hxx.

Referenced by ImpCtor().

SfxStyleSheet* SdrModel::mpDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj
protected

Definition at line 188 of file svdmodel.hxx.

Referenced by ImpCtor().

std::shared_ptr<SvxForbiddenCharactersTable> SdrModel::mpForbiddenCharactersTable

Definition at line 213 of file svdmodel.hxx.

Referenced by ImpCtor(), SetForbiddenCharsTable(), and ~SdrModel().

std::unique_ptr<SdrModelImpl> SdrModel::mpImpl
std::unique_ptr<SdrOutlinerCache> SdrModel::mpOutlinerCache

Definition at line 215 of file svdmodel.hxx.

Referenced by createOutliner(), disposeOutliner(), GetActiveOutliners(), ImpCtor(), and ~SdrModel().

rtl::Reference< SfxStyleSheetBasePool > SdrModel::mxStyleSheetPool
protected

Definition at line 186 of file svdmodel.hxx.

Referenced by ~SdrModel().

css::uno::Reference< css::uno::XInterface > SdrModel::mxUnoModel
private

Definition at line 261 of file svdmodel.hxx.

Referenced by getUnoModel(), and setUnoModel().


The documentation for this class was generated from the following files: