LibreOffice Module svx (master)
1
|
#include <svdmodel.hxx>
Public Member Functions | |
std::vector< SdrOutliner * > | GetActiveOutliners () const |
sal_uInt16 | getHandoutPageCount () const |
void | setHandoutPageCount (sal_uInt16 nHandoutPageCount) |
virtual void | adaptSizeAndBorderForAllPages (const Size &rNewSize, tools::Long nLeft=0, tools::Long nRight=0, tools::Long nUpper=0, tools::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 rtl::Reference< SdrPage > | AllocPage (bool bMasterPage) |
virtual SdrModel * | AllocModel () const |
const SdrLayerAdmin & | GetLayerAdmin () const |
SdrLayerAdmin & | GetLayerAdmin () |
const SfxItemPool & | GetItemPool () const |
SfxItemPool & | GetItemPool () |
SdrOutliner & | GetDrawOutliner (const SdrTextObj *pObj=nullptr) const |
SdrOutliner & | GetHitTestOutliner () const |
const SdrTextObj * | GetFormattingTextObj () const |
void | SetTextDefaults () const |
SdrOutliner & | GetChainingOutliner (const SdrTextObj *pObj) const |
TextChain * | GetTextChain () const |
void | SetRefDevice (OutputDevice *pDev) |
OutputDevice * | GetRefDevice () const |
void | RefDeviceChanged () |
void | SetDefaultFontHeight (sal_Int32 nVal) |
void | SetDefaultTabulator (sal_uInt16 nVal) |
sal_uInt16 | GetDefaultTabulator () const |
SfxStyleSheet * | GetDefaultStyleSheet () const |
void | SetDefaultStyleSheet (SfxStyleSheet *pDefSS) |
SfxStyleSheet * | GetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj () const |
void | SetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj (SfxStyleSheet *pDefSS) |
sfx2::LinkManager * | GetLinkManager () |
void | SetLinkManager (sfx2::LinkManager *pLinkMgr) |
::comphelper::IEmbeddedHelper * | GetPersist () const |
void | SetPersist (::comphelper::IEmbeddedHelper *p) |
MapUnit | GetScaleUnit () const |
void | SetScaleUnit (MapUnit eMap) |
const Fraction & | GetScaleFraction () const |
void | SetScaleFraction (const Fraction &rFrac) |
void | SetScaleUnit (MapUnit eMap, const Fraction &rFrac) |
const Size & | GetMaxObjSize () const |
void | SetMaxObjSize (const Size &rSiz) |
void | SetUIUnit (FieldUnit eUnit) |
FieldUnit | GetUIUnit () const |
void | SetUIScale (const Fraction &rScale) |
const Fraction & | GetUIScale () const |
void | SetUIUnit (FieldUnit eUnit, const Fraction &rScale) |
OUString | GetMetricString (tools::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 rtl::Reference< SdrPage > | RemovePage (sal_uInt16 nPgNum) |
virtual void | MovePage (sal_uInt16 nPgNum, sal_uInt16 nNewPos) |
const SdrPage * | GetPage (sal_uInt16 nPgNum) const |
SdrPage * | GetPage (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 rtl::Reference< SdrPage > | RemoveMasterPage (sal_uInt16 nPgNum) |
void | MoveMasterPage (sal_uInt16 nPgNum, sal_uInt16 nNewPos) |
const SdrPage * | GetMasterPage (sal_uInt16 nPgNum) const |
SdrPage * | GetMasterPage (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... | |
SfxUndoManager * | GetSdrUndoManager () const |
void | SetSdrUndoFactory (SdrUndoFactory *pUndoFactory) |
applications can set their own undo factory to override creation of undo actions. More... | |
SdrUndoFactory & | GetSdrUndoFactory () const |
returns the models undo factory. More... | |
const XPropertyListRef & | GetPropertyList (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 |
SfxStyleSheetBasePool * | GetStyleSheetPool () const |
void | SetStyleSheetPool (SfxStyleSheetBasePool *pPool) |
void | SetTheme (std::unique_ptr< svx::Theme > pTheme) |
svx::Theme * | GetTheme () |
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< SdrOutliner > | createOutliner (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 sal_Int32 | getImagePreferredDPI () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
bool | IsVOCInvalidationIsReliable () const |
void | SetVOCInvalidationIsReliable (bool b) |
![]() | |
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 |
SfxListener * | GetListener (size_t nNo) const |
![]() | |
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 (Degree100 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< SvxForbiddenCharactersTable > | mpForbiddenCharactersTable |
std::unique_ptr< SdrOutlinerCache > | mpOutlinerCache |
std::unique_ptr< SdrModelImpl > | mpImpl |
CharCompressType | mnCharCompressType |
sal_uInt16 | mnHandoutPageCount |
bool | mbModelLocked |
bool | mbKernAsianPunctuation |
bool | mbAddExtLeading |
bool | mbInDestruction |
o3tl::enumarray< XPropertyListType, XPropertyListRef > | maProperties |
Protected Member Functions | |
virtual css::uno::Reference< css::uno::XInterface > | createUnoModel () |
![]() | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
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) |
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) |
Definition at line 147 of file svdmodel.hxx.
|
privatedelete |
Referenced by AllocModel().
|
explicit |
|
overridevirtual |
Definition at line 180 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), ClearModel(), ClearUndoBuffer(), SdrObject::Free(), m_pCurrentUndoGroup, m_pDrawOutliner, m_pLayerAdmin, m_pTextChain, maAllIncarnatedObjects, mbInDestruction, ModelCleared, mpForbiddenCharactersTable, mpImpl, mpOutlinerCache, mxStyleSheetPool, SAL_WARN, and SAL_WARN_IF.
|
virtual |
Definition at line 1593 of file svdmodel.cxx.
void SdrModel::AddUndo | ( | std::unique_ptr< SdrUndoAction > | pUndo | ) |
Definition at line 502 of file svdmodel.cxx.
References ImpPostUndoAction(), IsUndoEnabled(), m_pCurrentUndoGroup, and mpImpl.
Referenced by SdrMarkView::AddDragModeHdl(), CopyPages(), sdr::table::SdrTableObj::EndTextEdit(), svxform::NavigatorTree::implExecuteDataTransfer(), svxform::NavigatorTreeModel::Insert(), Merge(), FmXUndoEnvironment::propertyChange(), SvxDrawPage::remove(), svxform::NavigatorTreeModel::Remove(), SdrObject::SetDescription(), SdrObject::SetName(), SdrObject::SetTitle(), and SdrObjList::sort().
|
virtual |
Definition at line 585 of file svdmodel.cxx.
References m_aObjUnit, m_eObjUnit, SdrModel(), and SetScaleUnit().
Referenced by SdrExchangeView::CreateMarkedObjModel().
|
virtual |
Reimplemented in FmFormModel.
Definition at line 592 of file svdmodel.cxx.
void SdrModel::BegUndo | ( | ) |
Definition at line 368 of file svdmodel.cxx.
References SfxViewShell::Current(), IsUndoEnabled(), m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.
Referenced by SdrMarkView::AddDragModeHdl(), sdr::table::SvxTableController::ApplyFormatPaintBrush(), BegUndo(), CopyPages(), sdr::table::SvxTableController::DeleteMarked(), svxform::NavigatorTree::DeleteSelection(), sdr::table::SvxTableController::DistributeColumns(), sdr::table::SvxTableController::DistributeRows(), svxform::IMPL_LINK(), svxform::NavigatorTree::implExecuteDataTransfer(), svxform::NavigatorTreeModel::Insert(), sdr::table::CellCursor::merge(), Merge(), sdr::table::SvxTableController::MergeRange(), SvxDrawPage::remove(), svxform::NavigatorTreeModel::Remove(), sdr::table::TableModel::removeColumns(), sdr::table::SvxTableController::SetAttrToSelectedCells(), SdrObject::SetDescription(), SdrObject::SetName(), SdrObject::SetTitle(), sdr::table::CellCursor::split(), and sdr::table::SvxTableController::SplitMarkedCells().
void SdrModel::BegUndo | ( | const OUString & | rComment | ) |
Definition at line 392 of file svdmodel.cxx.
References BegUndo(), SfxViewShell::Current(), IsUndoEnabled(), m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.
void SdrModel::BegUndo | ( | const OUString & | rComment, |
const OUString & | rObjDescr, | ||
SdrRepeatFunc | eFunc | ||
) |
Definition at line 412 of file svdmodel.cxx.
References BegUndo(), SfxViewShell::Current(), IsUndoEnabled(), m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.
void SdrModel::BurnInStyleSheetAttributes | ( | ) |
Definition at line 780 of file svdmodel.cxx.
References SdrObjList::BurnInStyleSheetAttributes(), GetMasterPage(), GetMasterPageCount(), GetPage(), GetPageCount(), and nCount.
Referenced by GalleryBinaryEngine::insertModel(), and GalleryBinaryEngine::readModelStream().
void SdrModel::ClearModel | ( | bool | bCalledFromDestructor | ) |
Definition at line 556 of file svdmodel.cxx.
References DeleteMasterPage(), DeletePage(), GetMasterPageCount(), GetPageCount(), i, m_pLayerAdmin, maMasterPages, maPages, MasterPageListChanged(), mbInDestruction, nCount, and PageListChanged().
Referenced by ~SdrModel().
void SdrModel::ClearUndoBuffer | ( | ) |
Definition at line 268 of file svdmodel.cxx.
References m_aRedoStack, and m_aUndoStack.
Referenced by FmFormModel::~FmFormModel(), and ~SdrModel().
void SdrModel::CopyPages | ( | sal_uInt16 | nFirstPageNum, |
sal_uInt16 | nLastPageNum, | ||
sal_uInt16 | nDestPos, | ||
bool | bUndo, | ||
bool | bMoveNoCopy | ||
) |
Definition at line 1302 of file svdmodel.cxx.
References AddUndo(), BegUndo(), SdrPage::CloneSdrPage(), EndUndo(), GetPage(), GetPageCount(), GetSdrUndoFactory(), InsertPage(), IsUndoEnabled(), RemovePage(), and SvxResId().
Referenced by Merge().
std::unique_ptr< SdrOutliner > SdrModel::createOutliner | ( | OutlinerMode | nOutlinerMode | ) |
Definition at line 1737 of file svdmodel.cxx.
References mpOutlinerCache.
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().
|
protectedvirtual |
Definition at line 1605 of file svdmodel.cxx.
Referenced by getUnoModel().
void SdrModel::DeleteMasterPage | ( | sal_uInt16 | nPgNum | ) |
Definition at line 1254 of file svdmodel.cxx.
References RemoveMasterPage().
Referenced by ClearModel().
|
virtual |
Definition at line 1203 of file svdmodel.cxx.
References RemovePage().
Referenced by ClearModel(), and SvxUnoDrawPagesAccess::remove().
void SdrModel::disposeOutliner | ( | std::unique_ptr< SdrOutliner > | pOutliner | ) |
Definition at line 1754 of file svdmodel.cxx.
References mpOutlinerCache.
Referenced by SvxTextEditSourceImpl::dispose().
|
inline |
Definition at line 610 of file svdmodel.hxx.
|
inline |
Definition at line 611 of file svdmodel.hxx.
|
virtual |
Definition at line 1872 of file svdmodel.cxx.
References i, maMasterPages, maPages, mpImpl, and void().
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 521 of file svdmodel.cxx.
References mbUndoEnabled, and mpImpl.
Referenced by SdrEditView::InsertObjectAtView(), and SdrMediaObj::SdrMediaObj().
void SdrModel::EndUndo | ( | ) |
Definition at line 439 of file svdmodel.cxx.
References DBG_ASSERT, ImpPostUndoAction(), IsUndoEnabled(), m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.
Referenced by SdrMarkView::AddDragModeHdl(), CopyPages(), svxform::NavigatorTree::DeleteSelection(), SdrEditView::EndUndo(), svxform::IMPL_LINK(), svxform::NavigatorTree::implExecuteDataTransfer(), svxform::NavigatorTreeModel::Insert(), Merge(), SvxDrawPage::remove(), svxform::NavigatorTreeModel::Remove(), SdrObject::SetDescription(), SdrObject::SetName(), and SdrObject::SetTitle().
std::vector< SdrOutliner * > SdrModel::GetActiveOutliners | ( | ) | const |
Definition at line 1745 of file svdmodel.cxx.
References m_pDrawOutliner, and mpOutlinerCache.
|
static |
Definition at line 1098 of file svdmodel.cxx.
References aBuf, DEGREE_CHAR, SvtSysLocale::GetLocaleData(), LocaleDataWrapper::getNumDecimalSep(), LocaleDataWrapper::isNumLeadingZero(), and nCount.
Referenced by SdrDragRotate::GetSdrDragComment(), SdrDragShear::GetSdrDragComment(), SdrDragCrook::GetSdrDragComment(), SdrCircObj::getSpecialDragComment(), and ImpPathForDragAndCreate::getSpecialDragComment().
|
inline |
Definition at line 534 of file svdmodel.hxx.
References XPropertyList::AsBitmapList(), and Bitmap.
Referenced by SvxShape::SetFillAttribute().
SdrOutliner & SdrModel::GetChainingOutliner | ( | const SdrTextObj * | pObj | ) | const |
Definition at line 656 of file svdmodel.cxx.
References m_pChainingOutliner, and SdrOutliner::SetTextObj().
|
inline |
Definition at line 565 of file svdmodel.hxx.
Referenced by SdrMakeOutliner().
|
inline |
Definition at line 533 of file svdmodel.hxx.
References XPropertyList::AsColorList(), and Color.
|
inline |
Definition at line 531 of file svdmodel.hxx.
References XPropertyList::AsDashList(), and Dash.
Referenced by SvxShape::SetFillAttribute().
|
inline |
Definition at line 344 of file svdmodel.hxx.
Referenced by SdrPaintView::SdrPaintView().
|
inline |
Definition at line 348 of file svdmodel.hxx.
|
inline |
Definition at line 340 of file svdmodel.hxx.
Referenced by SdrObjEditView::Notify(), and SdrMakeOutliner().
|
inline |
Definition at line 550 of file svdmodel.hxx.
|
virtual |
Definition at line 740 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 |
Definition at line 753 of file svdmodel.cxx.
References GetDocumentStorage(), comphelper::OStorageHelper::GetStreamAtPackageURL(), SAL_INFO, SAL_WARN, TOOLS_WARN_EXCEPTION, and xStream.
SdrOutliner & SdrModel::GetDrawOutliner | ( | const SdrTextObj * | pObj = nullptr | ) | const |
Definition at line 650 of file svdmodel.cxx.
References m_pDrawOutliner.
Referenced by drawinglayer::primitive2d::createNewSdrTextAttribute(), SdrOutlinerCache::createOutliner(), SdrText::ForceOutlinerParaObject(), drawinglayer::primitive2d::SdrTextPrimitive2D::get2DDecomposition(), and SetDefaultTabulator().
|
inline |
Definition at line 562 of file svdmodel.hxx.
Referenced by ImpSetOutlinerDefaults(), and SdrMakeOutliner().
const SdrTextObj * SdrModel::GetFormattingTextObj | ( | ) | const |
Definition at line 662 of file svdmodel.cxx.
References m_pDrawOutliner.
|
inline |
Definition at line 537 of file svdmodel.hxx.
References XPropertyList::AsGradientList(), and Gradient.
Referenced by SvxShape::SetFillAttribute().
|
inline |
Definition at line 237 of file svdmodel.hxx.
|
inline |
Definition at line 532 of file svdmodel.hxx.
References XPropertyList::AsHatchList(), and Hatch.
Referenced by SvxShape::SetFillAttribute().
|
inline |
Definition at line 322 of file svdmodel.hxx.
Referenced by SdrText::CheckPortionInfo(), sdr::table::SdrTableObj::NbcSetOutlinerParaObject(), SdrExchangeView::Paste(), SdrText::RemoveOutlinerParaObject(), and SdrText::SetOutlinerParaObject().
|
inlinevirtual |
Definition at line 613 of file svdmodel.hxx.
Referenced by SvxGrafAttrHelper::ExecuteGrafAttr().
|
inline |
Definition at line 317 of file svdmodel.hxx.
Referenced by unogallery::GalleryItem::_getPropertyValues(), SdrMarkView::AddDragModeHdl(), XFillFloatTransparenceItem::checkForUniqueItem(), XLineStartItem::checkForUniqueItem(), XLineEndItem::checkForUniqueItem(), XFillGradientItem::checkForUniqueItem(), XFillHatchItem::checkForUniqueItem(), XFillBitmapItem::checkForUniqueItem(), XLineDashItem::checkForUniqueItem(), sdr::properties::DefaultProperties::DefaultProperties(), ImpSdrGDIMetaFileImport::DoAction(), SdrDragCrop::EndSdrDrag(), SvxGrafAttrHelper::ExecuteGrafAttr(), GallerySvDrawImport(), E3dView::Get3DAttributes(), SdrEditView::GetAttrFromMarked(), E3dView::GetDefaultCamFocal(), E3dView::GetDefaultCamPosZ(), SdrEditView::GetGeoAttrFromMarked(), svx::GetGeometryForCustomShape(), SvxGrafAttrHelper::GetGrafAttrState(), SdrObject::GetObjectItemPool(), SdrCreateView::ImpBegCreateObj(), IMPL_LINK_NOARG(), ImpSdrGDIMetaFileImport::ImpSdrGDIMetaFileImport(), ImpSdrPdfImport::ImpSdrPdfImport(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), SdrExchangeView::Paste(), SdrMakeOutliner(), E3dView::Set3DAttributes(), SdrObjEditView::SetAttributes(), SdrEditView::SetGeoAttrToMarked(), SvxCreateNumRule(), and SdrObjEditView::TakeFormatPaintBrush().
|
inline |
Definition at line 318 of file svdmodel.hxx.
|
inline |
Definition at line 314 of file svdmodel.hxx.
Referenced by SdrEditView::DeleteLayer(), SdrExchangeView::GetMarkedObjects(), SvxShape::getPropertyValueImpl(), SdrPaintView::ImpFormLayerDrawing(), SdrEditView::InsertNewLayer(), SdrPaintView::MergeNotPersistDefaultAttr(), SdrPageWindow::RedrawAll(), SdrPageWindow::RedrawLayer(), SdrPaintView::SetNotPersistDefaultAttr(), and SvxShape::setPropertyValueImpl().
|
inline |
Definition at line 315 of file svdmodel.hxx.
|
inline |
Definition at line 536 of file svdmodel.hxx.
References XPropertyList::AsLineEndList(), and LineEnd.
Referenced by SvxShape::SetFillAttribute().
|
inline |
Definition at line 351 of file svdmodel.hxx.
const SdrPage * SdrModel::GetMasterPage | ( | sal_uInt16 | nPgNum | ) | const |
Definition at line 1825 of file svdmodel.cxx.
References DBG_ASSERT, and maMasterPages.
Referenced by BurnInStyleSheetAttributes(), SdrEditView::DeleteLayer(), FmXUndoEnvironment::dispose(), ImpReformatAllEdgeObjects(), ImpReformatAllTextObjects(), Merge(), and FmXUndoEnvironment::ModeChanged().
SdrPage * SdrModel::GetMasterPage | ( | sal_uInt16 | nPgNum | ) |
Definition at line 1831 of file svdmodel.cxx.
References DBG_ASSERT, and maMasterPages.
sal_uInt16 SdrModel::GetMasterPageCount | ( | ) | const |
Definition at line 1837 of file svdmodel.cxx.
References maMasterPages.
Referenced by BurnInStyleSheetAttributes(), ClearModel(), SdrEditView::DeleteLayer(), FmXUndoEnvironment::dispose(), ImpReformatAllEdgeObjects(), ImpReformatAllTextObjects(), InsertMasterPage(), Merge(), and FmXUndoEnvironment::ModeChanged().
|
inline |
Definition at line 378 of file svdmodel.hxx.
OUString SdrModel::GetMetricString | ( | tools::Long | nVal, |
bool | bNoUnitChars = false , |
||
sal_Int32 | nNumDigits = -1 |
||
) | const |
Definition at line 976 of file svdmodel.cxx.
References aBuf, SvtSysLocale::GetLocaleData(), LocaleDataWrapper::getNumDigits(), i, LocaleDataWrapper::isNumLeadingZero(), LocaleDataWrapper::isNumTrailingZeros(), m_aUIUnitFact, m_aUIUnitStr, m_nUIUnitDecimalMark, and nCount.
Referenced by SdrObject::GetMetrStr(), SdrDragDistort::GetSdrDragComment(), SdrDragCrop::GetSdrDragComment(), SdrDragMove::GetSdrDragComment(), ImpPathForDragAndCreate::getSpecialDragComment(), and SdrMeasureObj::TakeRepresentation().
const SdrPage * SdrModel::GetPage | ( | sal_uInt16 | nPgNum | ) | const |
Definition at line 1801 of file svdmodel.cxx.
References maPages.
Referenced by BurnInStyleSheetAttributes(), CopyPages(), CreateIMapGraphic(), SgaObjectSvDraw::CreateThumb(), SdrEditView::DeleteLayer(), FmXUndoEnvironment::dispose(), SdrUndoSort::Do(), SvxUnoDrawPagesAccess::getByIndex(), FmFormShell::GetFormControl(), svx::GetGeometryForCustomShape(), SdrObject::getUnoShape(), ImpReformatAllEdgeObjects(), ImpReformatAllTextObjects(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), GalleryTheme::InsertTransferable(), SdrObject::MakeNameUnique(), Merge(), FmXUndoEnvironment::ModeChanged(), E3dView::Paste(), SdrExchangeView::Paste(), sdr::table::SvxTableController::PasteObjModel(), RemoveMasterPage(), FmFormModel::RemovePage(), IMapWindow::ReplaceImageMap(), SdrUndoDelPage::SdrUndoDelPage(), SvxGraphCtrlAccessibleContext::setModelAndView(), SdrPageProperties::SetTheme(), and SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext().
SdrPage * SdrModel::GetPage | ( | sal_uInt16 | nPgNum | ) |
Definition at line 1806 of file svdmodel.cxx.
References maPages.
sal_uInt16 SdrModel::GetPageCount | ( | ) | const |
Definition at line 1811 of file svdmodel.cxx.
References maPages.
Referenced by BurnInStyleSheetAttributes(), ClearModel(), CopyPages(), CreateIMapGraphic(), SdrEditView::DeleteLayer(), FmXUndoEnvironment::dispose(), GallerySvDrawImport(), SvxUnoDrawPagesAccess::getByIndex(), SvxUnoDrawPagesAccess::getCount(), FmFormShell::GetFormControl(), svx::GetGeometryForCustomShape(), ImpReformatAllEdgeObjects(), ImpReformatAllTextObjects(), InsertPage(), SdrObject::MakeNameUnique(), Merge(), FmXUndoEnvironment::ModeChanged(), E3dView::Paste(), SdrExchangeView::Paste(), sdr::table::SvxTableController::PasteObjModel(), SvxUnoDrawPagesAccess::remove(), RemoveMasterPage(), SdrUndoDelPage::SdrUndoDelPage(), SetStarDrawPreviewMode(), and SdrPageProperties::SetTheme().
|
virtual |
returns the numbering type that is used to format page fields in drawing shapes
Definition at line 1760 of file svdmodel.cxx.
References SVX_NUM_ARABIC.
|
inline |
Definition at line 535 of file svdmodel.hxx.
References XPropertyList::AsPatternList(), and Pattern.
|
static |
Definition at line 1128 of file svdmodel.cxx.
References Fraction::GetDenominator(), and Fraction::GetNumerator().
Referenced by SdrDragResize::GetSdrDragComment().
|
inline |
Definition at line 354 of file svdmodel.hxx.
Referenced by SvxOle2Shape::createLink(), SdrExchangeView::CreateMarkedObjModel(), SvxOle2Shape::createObject(), SvxOle2Shape::GetClassName_Impl(), SdrOle2Obj::GetObjRef_Impl(), SvxOle2Shape::resetModifiedState(), SdrOle2Obj::SdrOle2Obj(), SvxDrawingLayerExport(), and SvxDrawingLayerImport().
|
inline |
Definition at line 527 of file svdmodel.hxx.
References t.
Referenced by XFillGradientItem::checkForUniqueItem(), XFillHatchItem::checkForUniqueItem(), XFillBitmapItem::checkForUniqueItem(), and XLineDashItem::checkForUniqueItem().
|
inline |
Definition at line 333 of file svdmodel.hxx.
References VclPtr< OutputDevice >::get().
Referenced by ImpSetOutlinerDefaults(), and SdrObjEditView::Notify().
|
inline |
Definition at line 372 of file svdmodel.hxx.
Referenced by EnhancedCustomShape3d::Create3DObject(), SdrExchangeView::GetMarkedObjMetaFile(), SdrExchangeView::GetObjGraphic(), SdrExchangeView::ImpPasteObject(), and SdrExchangeView::Paste().
|
inline |
Definition at line 370 of file svdmodel.hxx.
Referenced by EnhancedCustomShape3d::Create3DObject(), sdr::properties::DefaultProperties::DefaultProperties(), SdrExchangeView::GetMarkedObjMetaFile(), SdrExchangeView::GetObjGraphic(), SdrGrafObj::getOriginalSize(), SdrExchangeView::ImpPasteObject(), SvxTextEditSourceImpl::LogicToPixel(), SdrExchangeView::Paste(), and SvxTextEditSourceImpl::PixelToLogic().
SdrUndoFactory & SdrModel::GetSdrUndoFactory | ( | ) | const |
returns the models undo factory.
This must be used to create undo actions for this model.
Definition at line 1856 of file svdmodel.cxx.
References mpImpl.
Referenced by SdrMarkView::AddDragModeHdl(), SdrDragView::BegInsGluePoint(), sdr::table::SvxTableController::changeTableEdge(), CopyPages(), SdrDragObjOwn::EndSdrDrag(), svx::ExtrusionBar::execute(), svx::FontworkBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrDragView::ImpBegInsObjPoint(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), Merge(), SvxDrawPage::remove(), SdrObjEditView::SdrEndTextEdit(), and SdrUndoDelPage::SdrUndoDelPage().
SfxUndoManager * SdrModel::GetSdrUndoManager | ( | ) | const |
Definition at line 1851 of file svdmodel.cxx.
References mpImpl.
|
inline |
Definition at line 541 of file svdmodel.hxx.
Referenced by sdr::properties::AttributeProperties::AttributeProperties(), XLineStartItem::checkForUniqueItem(), XLineEndItem::checkForUniqueItem(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrExchangeView::Paste(), SdrUndoAttrObj::Redo(), SdrMakeOutliner(), sdr::properties::TextProperties::SetStyleSheet(), and SdrUndoAttrObj::Undo().
TextChain * SdrModel::GetTextChain | ( | ) | const |
Definition at line 1820 of file svdmodel.cxx.
References m_pTextChain.
Referenced by SdrTextObj::GetTextChain().
svx::Theme * SdrModel::GetTheme | ( | ) |
Definition at line 1578 of file svdmodel.cxx.
References mpImpl.
|
inline |
Definition at line 386 of file svdmodel.hxx.
Referenced by svx::sidebar::PosSizePropertyPanel::executeSize(), svx::sidebar::PosSizePropertyPanel::Initialize(), svx::sidebar::PosSizePropertyPanel::SetPosSizeMinMax(), and svx::sidebar::PosSizePropertyPanel::UpdateUIScale().
|
inline |
Definition at line 383 of file svdmodel.hxx.
Referenced by getExtrusionDepthState(), and SdrMeasureObj::TakeRepresentation().
|
inline |
Definition at line 488 of file svdmodel.hxx.
Referenced by SdrEditView::EndUndo().
|
static |
Definition at line 941 of file svdmodel.cxx.
Referenced by ImpSetUIUnit(), and SdrMeasureObj::TakeRepresentation().
uno::Reference< uno::XInterface > const & SdrModel::getUnoModel | ( | ) |
Definition at line 1580 of file svdmodel.cxx.
References createUnoModel(), and mxUnoModel.
Referenced by SdrOle2Obj::Disconnect_Impl(), and GetDocumentStorage().
|
static |
Definition at line 1905 of file svdmodel.cxx.
References comphelper::UnoIdInit::getSeq().
bool SdrModel::HasRedoActions | ( | ) | const |
Definition at line 279 of file svdmodel.cxx.
References m_aRedoStack.
Referenced by IMPL_LINK(), and Redo().
bool SdrModel::HasUndoActions | ( | ) | const |
Definition at line 274 of file svdmodel.cxx.
References m_aUndoStack.
Referenced by IMPL_LINK(), Repeat(), and Undo().
|
private |
Definition at line 545 of file svdmodel.cxx.
References XPropertyList::CreatePropertyList(), i, and maProperties.
|
private |
Definition at line 347 of file svdmodel.cxx.
References DBG_ASSERT, IsUndoEnabled(), m_aRedoStack, m_aUndoLink, m_aUndoStack, m_nMaxUndoCount, and mpImpl.
|
private |
Definition at line 722 of file svdmodel.cxx.
References GetMasterPage(), GetMasterPageCount(), GetPage(), GetPageCount(), isLocked(), nCount, and SdrObjList::ReformatAllEdgeObjects().
Referenced by setLock().
|
private |
Definition at line 702 of file svdmodel.cxx.
References GetMasterPage(), GetMasterPageCount(), GetPage(), GetPageCount(), isLocked(), nCount, and SdrObjList::ReformatAllTextObjects().
Referenced by RefDeviceChanged(), ReformatAllTextObjects(), SetDefaultFontHeight(), SetDefaultTabulator(), SetScaleFraction(), SetScaleUnit(), SetUIScale(), and SetUIUnit().
|
private |
Definition at line 670 of file svdmodel.cxx.
References Outliner::EraseVirtualDevice(), GetForbiddenCharsTable(), GetRefDevice(), IsAddExtLeading(), IsKernAsianPunctuation(), m_aObjUnit, m_eObjUnit, m_nDefaultTabulator, m_pItemPool, mnCharCompressType, Point, Outliner::SetAddExtLeading(), Outliner::SetAsianCompressionMode(), Outliner::SetDefTab(), Outliner::SetEditTextObjectPool(), Outliner::SetForbiddenCharsTable(), Outliner::SetKernAsianPunctuation(), Outliner::SetRefDevice(), Outliner::SetRefMapMode(), and Outliner::SetUpdateLayout().
Referenced by SetAddExtLeading(), SetCharCompressType(), SetForbiddenCharsTable(), SetKernAsianPunctuation(), SetRefDevice(), SetScaleFraction(), and SetScaleUnit().
|
private |
Definition at line 818 of file svdmodel.cxx.
References div(), FieldToO3tlLength(), Fraction, Fraction::GetDenominator(), Fraction::GetNumerator(), GetUnitString(), o3tl::invalid, m_aUIScale, m_aUIUnitFact, m_aUIUnitStr, m_eObjUnit, m_eUIUnit, m_nUIUnitDecimalMark, and MapToO3tlLength().
Referenced by SetScaleFraction(), SetScaleUnit(), SetUIScale(), and SetUIUnit().
Reimplemented in FmFormModel.
Definition at line 1236 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), GetMasterPageCount(), m_bMPgNumsDirty, maMasterPages, MasterPageListChanged(), nCount, PageOrderChange, SetChanged(), SdrPage::SetInserted(), and SdrPage::SetPageNum().
Referenced by SdrUndoPage::ImpInsertPage(), and FmFormModel::InsertMasterPage().
Reimplemented in FmFormModel.
Definition at line 1183 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), GetPageCount(), m_bPagNumsDirty, SdrPage::MakePageObjectsNamesUnique(), maPages, mbMakePageObjectsNamesUnique, nCount, PageListChanged(), PageOrderChange, SetChanged(), SdrPage::SetInserted(), and SdrPage::SetPageNum().
Referenced by CopyPages(), SdrUndoPage::ImpInsertPage(), SvxUnoDrawPagesAccess::insertNewByIndex(), FmFormModel::InsertPage(), Merge(), and MovePage().
|
inline |
Definition at line 571 of file svdmodel.hxx.
Referenced by ImpSetOutlinerDefaults(), and SdrMakeOutliner().
bool SdrModel::IsAnchoredTextOverflowLegacy | ( | ) | const |
Definition at line 1727 of file svdmodel.cxx.
References mpImpl.
Referenced by WriteUserDataSequence().
|
inline |
Definition at line 423 of file svdmodel.hxx.
References mbChanged.
Referenced by SvxIMapDlg::DoSave().
|
inlinevirtual |
Definition at line 270 of file svdmodel.hxx.
|
inline |
Definition at line 595 of file svdmodel.hxx.
Referenced by SdrOle2Obj::Disconnect_Impl(), and SdrObject::IsInDestruction().
|
inline |
Definition at line 568 of file svdmodel.hxx.
Referenced by ImpSetOutlinerDefaults(), and SdrMakeOutliner().
|
inline |
Definition at line 558 of file svdmodel.hxx.
Referenced by SvxUnoDrawingModel::hasControllersLocked(), ImpReformatAllEdgeObjects(), ImpReformatAllTextObjects(), SdrObjList::InsertObject(), SdrObjEditView::SdrEndTextEdit(), and SvxUnoDrawingModel::unlockControllers().
|
inline |
Definition at line 397 of file svdmodel.hxx.
|
inline |
Definition at line 396 of file svdmodel.hxx.
|
inline |
Definition at line 272 of file svdmodel.hxx.
|
inline |
Definition at line 438 of file svdmodel.hxx.
|
virtual |
Definition at line 249 of file svdmodel.cxx.
References m_bReadOnly.
|
inline |
Definition at line 548 of file svdmodel.hxx.
|
inline |
Definition at line 432 of file svdmodel.hxx.
|
inline |
Definition at line 271 of file svdmodel.hxx.
bool SdrModel::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.
Definition at line 533 of file svdmodel.cxx.
References mbUndoEnabled, and mpImpl.
Referenced by SdrMarkView::AddDragModeHdl(), AddUndo(), BegUndo(), CopyPages(), EndUndo(), E3dView::ImpChangeSomeAttributesFor3DConversion2(), SdrEditView::ImpDelLayerDelObjs(), svxform::NavigatorTree::implExecuteDataTransfer(), ImpPostUndoAction(), svxform::NavigatorTreeModel::Insert(), SdrEditView::IsUndoEnabled(), Merge(), sdr::table::SvxTableController::onFormatTable(), FmXUndoEnvironment::propertyChange(), SvxDrawPage::remove(), svxform::NavigatorTreeModel::Remove(), SdrMediaObj::SdrMediaObj(), SetUndoComment(), and SdrObjList::sort().
|
inline |
Definition at line 617 of file svdmodel.hxx.
|
inline |
Definition at line 582 of file svdmodel.hxx.
Referenced by SdrExchangeView::GetMarkedObjBitmapEx(), SvxShape::getPosition(), SvxCustomShape::getPosition(), SvxShape::getPropertyValueImpl(), SdrMarkView::SetMarkHandlesForLOKit(), SvxShape::setPropertyValueImpl(), SdrMeasureObj::TRGetBaseGeometry(), SdrObjCustomShape::TRGetBaseGeometry(), SdrTextObj::TRGetBaseGeometry(), SdrObject::TRGetBaseGeometry(), SdrPathObj::TRSetBaseGeometry(), and SdrObject::TRSetBaseGeometry().
|
virtual |
Definition at line 1842 of file svdmodel.cxx.
Referenced by ClearModel(), InsertMasterPage(), Merge(), MoveMasterPage(), and RemoveMasterPage().
|
virtual |
Definition at line 1382 of file svdmodel.cxx.
References AddUndo(), BegUndo(), CopyPages(), DBG_ASSERT, EndUndo(), GetMasterPage(), GetMasterPageCount(), GetPage(), GetPageCount(), SdrPage::GetPageNum(), GetSdrUndoFactory(), i, InsertPage(), IsUndoEnabled(), m_bMPgNumsDirty, m_bPagNumsDirty, maMasterPages, MasterPageListChanged(), RemoveMasterPage(), RemovePage(), SetChanged(), SvxResId(), SdrPage::TRG_GetMasterPage(), and SdrPage::TRG_HasMasterPage().
|
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 1627 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 | ||
) |
Definition at line 1285 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), m_bMPgNumsDirty, maMasterPages, MasterPageListChanged(), PageOrderChange, and SetChanged().
Referenced by SdrUndoPage::ImpMovePage().
|
virtual |
Definition at line 1223 of file svdmodel.cxx.
References InsertPage(), maPages, PageListChanged(), and RemovePage().
Referenced by SdrUndoPage::ImpMovePage().
|
privatedelete |
|
virtual |
Definition at line 1816 of file svdmodel.cxx.
Referenced by ClearModel(), InsertPage(), MovePage(), and RemovePage().
void SdrModel::ReadUserDataSequenceValue | ( | const css::beans::PropertyValue * | pValue | ) |
Definition at line 1765 of file svdmodel.cxx.
References mpImpl.
void SdrModel::RecalcPageNums | ( | bool | bMaster | ) |
Definition at line 1159 of file svdmodel.cxx.
References i, m_bMPgNumsDirty, m_bPagNumsDirty, maMasterPages, maPages, nCount, and SdrPage::SetPageNum().
Referenced by SdrPage::GetPageNum().
void SdrModel::Redo | ( | ) |
Definition at line 306 of file svdmodel.cxx.
References HasRedoActions(), m_aRedoStack, m_aUndoStack, mbUndoEnabled, mpImpl, p, and SfxUndoAction::Redo().
Referenced by SdrView::KeyInput().
void SdrModel::RefDeviceChanged | ( | ) |
Definition at line 793 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), ImpReformatAllTextObjects(), and RefDeviceChange.
Referenced by SetRefDevice().
void SdrModel::ReformatAllTextObjects | ( | ) |
Definition at line 1732 of file svdmodel.cxx.
References ImpReformatAllTextObjects().
|
virtual |
Reimplemented in FmFormModel.
Definition at line 1259 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), GetPage(), GetPageCount(), m_bMPgNumsDirty, maMasterPages, MasterPageListChanged(), PageOrderChange, SetChanged(), and SdrPage::TRG_ImpMasterPageRemoved().
Referenced by DeleteMasterPage(), SdrUndoPage::ImpRemovePage(), Merge(), and FmFormModel::RemoveMasterPage().
|
virtual |
Reimplemented in FmFormModel.
Definition at line 1208 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), m_bPagNumsDirty, maPages, PageListChanged(), PageOrderChange, and SetChanged().
Referenced by CopyPages(), DeletePage(), SdrUndoPage::ImpRemovePage(), Merge(), MovePage(), and FmFormModel::RemovePage().
void SdrModel::Repeat | ( | SfxRepeatTarget & | rView | ) |
Definition at line 328 of file svdmodel.cxx.
References SfxUndoAction::CanRepeat(), HasUndoActions(), m_aUndoStack, mpImpl, and SfxUndoAction::Repeat().
Referenced by SdrView::KeyInput().
void SdrModel::SetAddExtLeading | ( | bool | bEnabled | ) |
Definition at line 1712 of file svdmodel.cxx.
References ImpSetOutlinerDefaults(), m_pDrawOutliner, and mbAddExtLeading.
void SdrModel::SetAnchoredTextOverflowLegacy | ( | bool | bEnabled | ) |
Definition at line 1722 of file svdmodel.cxx.
References mpImpl.
|
virtual |
Definition at line 1154 of file svdmodel.cxx.
References mbChanged.
Referenced by SvxShape::_setPropertyToDefault(), SvxShape::_setPropertyValue(), SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), SvxShapeGroup::addShape(), Svx3DSceneObject::addShape(), SdrLayerAdmin::Broadcast(), SdrObjEditView::Command(), 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(), SdrObject::SetChanged(), SdrPage::SetChanged(), SvxShapeControl::setControl(), SdrObjList::SetExistingObjectOrdNum(), SdrLayer::SetName(), SdrObjList::SetObjectNavigationPosition(), SdrObjList::SetObjectOrdNum(), SvxShape::setPosition(), SvxGraphicObject::setPropertyValueImpl(), SvxShape::setSize(), and SvxDrawPage::ungroup().
void SdrModel::SetCharCompressType | ( | CharCompressType | nType | ) |
Definition at line 1692 of file svdmodel.cxx.
References ImpSetOutlinerDefaults(), m_pDrawOutliner, and mnCharCompressType.
void SdrModel::SetDefaultFontHeight | ( | sal_Int32 | nVal | ) |
Definition at line 799 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), and mnDefTextHgt.
|
inline |
Definition at line 345 of file svdmodel.hxx.
|
inline |
Definition at line 349 of file svdmodel.hxx.
void SdrModel::SetDefaultTabulator | ( | sal_uInt16 | nVal | ) |
Definition at line 807 of file svdmodel.cxx.
References SfxBroadcaster::Broadcast(), DefaultTabChange, GetDrawOutliner(), ImpReformatAllTextObjects(), m_nDefaultTabulator, and Outliner::SetDefTab().
|
inline |
Definition at line 551 of file svdmodel.hxx.
void SdrModel::SetForbiddenCharsTable | ( | const std::shared_ptr< SvxForbiddenCharactersTable > & | xForbiddenChars | ) |
Definition at line 1683 of file svdmodel.cxx.
References ImpSetOutlinerDefaults(), m_pDrawOutliner, and mpForbiddenCharactersTable.
|
inline |
Definition at line 238 of file svdmodel.hxx.
void SdrModel::SetKernAsianPunctuation | ( | bool | bEnabled | ) |
Definition at line 1702 of file svdmodel.cxx.
References ImpSetOutlinerDefaults(), m_pDrawOutliner, and mbKernAsianPunctuation.
|
inline |
Definition at line 352 of file svdmodel.hxx.
void SdrModel::setLock | ( | bool | bLock | ) |
Definition at line 1612 of file svdmodel.cxx.
References ImpReformatAllEdgeObjects(), and mbModelLocked.
Referenced by SvxUnoDrawingModel::lockControllers(), and SvxUnoDrawingModel::unlockControllers().
Definition at line 379 of file svdmodel.hxx.
void SdrModel::SetMaxUndoActionCount | ( | sal_uInt32 | nCount | ) |
Definition at line 260 of file svdmodel.cxx.
References m_aUndoStack, and m_nMaxUndoCount.
Referenced by FmFormModel::~FmFormModel().
|
inline |
Definition at line 509 of file svdmodel.hxx.
|
inline |
Definition at line 273 of file svdmodel.hxx.
Referenced by SdrExchangeView::Paste().
|
inline |
Definition at line 355 of file svdmodel.hxx.
|
inline |
Definition at line 439 of file svdmodel.hxx.
|
inline |
Definition at line 528 of file svdmodel.hxx.
void SdrModel::SetReadOnly | ( | bool | bYes | ) |
Definition at line 254 of file svdmodel.cxx.
References m_bReadOnly.
void SdrModel::SetRefDevice | ( | OutputDevice * | pDev | ) |
Definition at line 694 of file svdmodel.cxx.
References ImpSetOutlinerDefaults(), m_pDrawOutliner, m_pRefOutDev, and RefDeviceChanged().
Definition at line 902 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), ImpSetOutlinerDefaults(), ImpSetUIUnit(), m_aObjUnit, and m_pDrawOutliner.
Definition at line 890 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), ImpSetOutlinerDefaults(), ImpSetUIUnit(), m_eObjUnit, m_pDrawOutliner, and m_pItemPool.
Referenced by AllocModel().
Definition at line 877 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), ImpSetOutlinerDefaults(), ImpSetUIUnit(), m_aObjUnit, m_eObjUnit, m_pDrawOutliner, and m_pItemPool.
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 1863 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 1846 of file svdmodel.cxx.
References mpImpl.
void SdrModel::SetStarDrawPreviewMode | ( | bool | bPreview | ) |
Definition at line 1563 of file svdmodel.cxx.
References GetPageCount(), m_bStarDrawPreviewMode, and SAL_WARN.
|
inline |
Definition at line 542 of file svdmodel.hxx.
void SdrModel::SetSwapGraphics | ( | ) |
Definition at line 244 of file svdmodel.cxx.
References m_bSwapGraphics.
void SdrModel::SetTextDefaults | ( | ) | const |
Definition at line 597 of file svdmodel.cxx.
References m_pItemPool, and mnDefTextHgt.
Referenced by SvxUnoDrawPool::init().
|
static |
Definition at line 602 of file svdmodel.cxx.
References EE_CHAR_COLOR(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), vcl::Font::GetCharSet(), OutputDevice::GetDefaultFont(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SdrEngineDefaults::GetFontColor(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), vcl::Font::GetPitch(), Application::GetSettings(), utl::ConfigManager::IsFuzzing(), LANGUAGE_ENGLISH_US, SvxFontItem::SetCharSet(), SvxFontItem::SetFamily(), SvxFontItem::SetFamilyName(), SvxFontItem::SetPitch(), SfxItemPool::SetPoolDefaultItem(), and SvxFontItem::SetStyleName().
void SdrModel::SetTheme | ( | std::unique_ptr< svx::Theme > | pTheme | ) |
Definition at line 1576 of file svdmodel.cxx.
References mpImpl.
Definition at line 922 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), ImpSetUIUnit(), and m_aUIScale.
Definition at line 913 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), ImpSetUIUnit(), and m_eUIUnit.
Definition at line 931 of file svdmodel.cxx.
References ImpReformatAllTextObjects(), ImpSetUIUnit(), m_aUIScale, and m_eUIUnit.
void SdrModel::SetUndoComment | ( | const OUString & | rComment | ) |
Definition at line 471 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 485 of file svdmodel.cxx.
References DBG_ASSERT, m_nUndoLevel, m_pCurrentUndoGroup, and mpImpl.
void SdrModel::setUnoModel | ( | const css::uno::Reference< css::uno::XInterface > & | xModel | ) |
Definition at line 1588 of file svdmodel.cxx.
References mxUnoModel.
Referenced by unogallery::GalleryItem::_getPropertyValues(), unogallery::GalleryTheme::insertDrawingByIndex(), SvxDrawingLayerExport(), and SvxDrawingLayerImport().
|
inline |
Definition at line 618 of file svdmodel.hxx.
void SdrModel::Undo | ( | ) |
Definition at line 284 of file svdmodel.cxx.
References HasUndoActions(), m_aRedoStack, m_aUndoStack, mbUndoEnabled, mpImpl, p, and SfxUndoAction::Undo().
Referenced by SdrView::KeyInput().
void SdrModel::WriteUserDataSequence | ( | css::uno::Sequence< css::beans::PropertyValue > & | rValues | ) |
Definition at line 1783 of file svdmodel.cxx.
References addPair(), and IsAnchoredTextOverflowLegacy().
|
friend |
Definition at line 323 of file svdobj.cxx.
|
friend |
Definition at line 327 of file svdobj.cxx.
|
protected |
Definition at line 176 of file svdmodel.hxx.
|
protected |
Definition at line 177 of file svdmodel.hxx.
Referenced by AllocModel(), ImpSetOutlinerDefaults(), SetScaleFraction(), and SetScaleUnit().
|
protected |
Definition at line 198 of file svdmodel.hxx.
Referenced by ClearUndoBuffer(), HasRedoActions(), ImpPostUndoAction(), Redo(), and Undo().
|
protected |
Definition at line 180 of file svdmodel.hxx.
Referenced by ImpSetUIUnit(), SetUIScale(), and SetUIUnit().
|
protected |
Definition at line 182 of file svdmodel.hxx.
Referenced by GetMetricString(), and ImpSetUIUnit().
|
protected |
Definition at line 181 of file svdmodel.hxx.
Referenced by GetMetricString(), and ImpSetUIUnit().
|
protected |
Definition at line 175 of file svdmodel.hxx.
Referenced by ImpPostUndoAction().
|
protected |
Definition at line 197 of file svdmodel.hxx.
Referenced by ClearUndoBuffer(), HasUndoActions(), ImpPostUndoAction(), Redo(), Repeat(), SetMaxUndoActionCount(), and Undo().
|
protected |
Definition at line 201 of file svdmodel.hxx.
|
protected |
Definition at line 205 of file svdmodel.hxx.
Referenced by InsertMasterPage(), Merge(), MoveMasterPage(), RecalcPageNums(), and RemoveMasterPage().
|
protected |
Definition at line 204 of file svdmodel.hxx.
Referenced by InsertPage(), Merge(), RecalcPageNums(), and RemovePage().
|
protected |
Definition at line 210 of file svdmodel.hxx.
|
protected |
Definition at line 207 of file svdmodel.hxx.
Referenced by IsReadOnly(), and SetReadOnly().
|
protected |
Definition at line 211 of file svdmodel.hxx.
Referenced by SetStarDrawPreviewMode().
|
protected |
Definition at line 209 of file svdmodel.hxx.
Referenced by SetSwapGraphics().
|
protected |
Definition at line 208 of file svdmodel.hxx.
|
protected |
Definition at line 206 of file svdmodel.hxx.
|
protected |
Definition at line 178 of file svdmodel.hxx.
Referenced by AllocModel(), ImpSetOutlinerDefaults(), ImpSetUIUnit(), and SetScaleUnit().
|
protected |
Definition at line 179 of file svdmodel.hxx.
Referenced by ImpSetUIUnit(), and SetUIUnit().
|
protected |
Definition at line 214 of file svdmodel.hxx.
Referenced by ImpSetOutlinerDefaults(), and SetDefaultTabulator().
|
protected |
Definition at line 215 of file svdmodel.hxx.
Referenced by ImpPostUndoAction(), and SetMaxUndoActionCount().
|
protected |
Definition at line 183 of file svdmodel.hxx.
Referenced by GetMetricString(), and ImpSetUIUnit().
|
protected |
Definition at line 200 of file svdmodel.hxx.
Referenced by BegUndo(), EndUndo(), and SetUndoComment().
|
protected |
Definition at line 190 of file svdmodel.hxx.
Referenced by GetChainingOutliner().
|
protected |
Definition at line 199 of file svdmodel.hxx.
Referenced by AddUndo(), BegUndo(), EndUndo(), SetUndoComment(), and ~SdrModel().
|
protected |
Definition at line 194 of file svdmodel.hxx.
|
protected |
Definition at line 188 of file svdmodel.hxx.
Referenced by GetActiveOutliners(), GetDrawOutliner(), GetFormattingTextObj(), SetAddExtLeading(), SetCharCompressType(), SetForbiddenCharsTable(), SetKernAsianPunctuation(), SetRefDevice(), SetScaleFraction(), SetScaleUnit(), and ~SdrModel().
|
protected |
Definition at line 187 of file svdmodel.hxx.
|
protected |
Definition at line 189 of file svdmodel.hxx.
|
protected |
Definition at line 186 of file svdmodel.hxx.
Referenced by ImpSetOutlinerDefaults(), SetScaleUnit(), and SetTextDefaults().
|
protected |
Definition at line 185 of file svdmodel.hxx.
Referenced by ClearModel(), and ~SdrModel().
|
protected |
Definition at line 196 of file svdmodel.hxx.
|
protected |
Definition at line 192 of file svdmodel.hxx.
Referenced by SetRefDevice().
|
protected |
Definition at line 217 of file svdmodel.hxx.
Referenced by GetTextChain(), and ~SdrModel().
|
private |
Definition at line 170 of file svdmodel.hxx.
Referenced by impAddIncarnatedSdrObjectToSdrModel(), impRemoveIncarnatedSdrObjectToSdrModel(), and ~SdrModel().
|
protected |
Definition at line 173 of file svdmodel.hxx.
Referenced by ClearModel(), dumpAsXml(), GetMasterPage(), GetMasterPageCount(), InsertMasterPage(), Merge(), MoveMasterPage(), RecalcPageNums(), and RemoveMasterPage().
|
protected |
Definition at line 174 of file svdmodel.hxx.
Referenced by ClearModel(), dumpAsXml(), GetPage(), GetPageCount(), InsertPage(), MovePage(), RecalcPageNums(), and RemovePage().
o3tl::enumarray<XPropertyListType, XPropertyListRef> SdrModel::maProperties |
Definition at line 235 of file svdmodel.hxx.
Referenced by ImpCreateTables().
bool SdrModel::mbAddExtLeading |
Definition at line 231 of file svdmodel.hxx.
Referenced by SetAddExtLeading().
|
protected |
Definition at line 203 of file svdmodel.hxx.
Referenced by SetChanged().
|
protected |
Definition at line 212 of file svdmodel.hxx.
bool SdrModel::mbInDestruction |
Definition at line 232 of file svdmodel.hxx.
Referenced by ClearModel(), and ~SdrModel().
bool SdrModel::mbKernAsianPunctuation |
Definition at line 230 of file svdmodel.hxx.
Referenced by SetKernAsianPunctuation().
|
private |
Definition at line 267 of file svdmodel.hxx.
Referenced by InsertPage().
bool SdrModel::mbModelLocked |
Definition at line 229 of file svdmodel.hxx.
Referenced by setLock().
|
protected |
Definition at line 202 of file svdmodel.hxx.
Referenced by EnableUndo(), IsUndoEnabled(), Redo(), and Undo().
|
protected |
Definition at line 213 of file svdmodel.hxx.
CharCompressType SdrModel::mnCharCompressType |
Definition at line 227 of file svdmodel.hxx.
Referenced by ImpSetOutlinerDefaults(), and SetCharCompressType().
|
protected |
Definition at line 191 of file svdmodel.hxx.
Referenced by SetDefaultFontHeight(), and SetTextDefaults().
sal_uInt16 SdrModel::mnHandoutPageCount |
Definition at line 228 of file svdmodel.hxx.
|
protected |
Definition at line 195 of file svdmodel.hxx.
std::shared_ptr<SvxForbiddenCharactersTable> SdrModel::mpForbiddenCharactersTable |
Definition at line 221 of file svdmodel.hxx.
Referenced by SetForbiddenCharsTable(), and ~SdrModel().
std::unique_ptr<SdrModelImpl> SdrModel::mpImpl |
Definition at line 226 of file svdmodel.hxx.
Referenced by AddUndo(), BegUndo(), dumpAsXml(), EnableUndo(), EndUndo(), GetSdrUndoFactory(), GetSdrUndoManager(), GetTheme(), ImpPostUndoAction(), IsAnchoredTextOverflowLegacy(), IsUndoEnabled(), ReadUserDataSequenceValue(), Redo(), Repeat(), SetAnchoredTextOverflowLegacy(), SetSdrUndoFactory(), SetSdrUndoManager(), SetTheme(), SetUndoComment(), Undo(), and ~SdrModel().
std::unique_ptr<SdrOutlinerCache> SdrModel::mpOutlinerCache |
Definition at line 223 of file svdmodel.hxx.
Referenced by createOutliner(), disposeOutliner(), GetActiveOutliners(), and ~SdrModel().
|
protected |
Definition at line 193 of file svdmodel.hxx.
Referenced by ~SdrModel().
|
private |
Definition at line 264 of file svdmodel.hxx.
Referenced by getUnoModel(), and setUnoModel().