LibreOffice Module sd (master) 1
|
#include <drawdoc.hxx>
Public Member Functions | |
SAL_DLLPRIVATE void | setDocAccTitle (const OUString &rTitle) |
SAL_DLLPRIVATE const OUString & | getDocAccTitle () const |
SAL_DLLPRIVATE bool | getDocReadOnly () const |
SAL_DLLPRIVATE | SdDrawDocument (DocumentType eType, SfxObjectShell *pDocSh) |
virtual SAL_DLLPRIVATE | ~SdDrawDocument () override |
virtual void | adaptSizeAndBorderForAllPages (const Size &rNewSize, tools::Long nLeft=0, tools::Long nRight=0, tools::Long nUpper=0, tools::Long nLower=0) override |
void | AdaptPageSizeForAllPages (const Size &rNewSize, PageKind ePageKind, SdUndoGroup *pUndoGroup=nullptr, tools::Long nLeft=0, tools::Long nRight=0, tools::Long nUpper=0, tools::Long nLower=0, bool bScaleAll=false, Orientation eOrientation=Orientation::Landscape, sal_uInt16 nPaperBin=0, bool bBackgroundFullSize=false) |
SAL_DLLPRIVATE SdDrawDocument * | AllocSdDrawDocument () const |
virtual SAL_DLLPRIVATE SdrModel * | AllocModel () const override |
SAL_DLLPRIVATE rtl::Reference< SdPage > | AllocSdPage (bool bMasterPage) |
virtual SAL_DLLPRIVATE rtl::Reference< SdrPage > | AllocPage (bool bMasterPage) override |
virtual SAL_DLLPRIVATE bool | IsReadOnly () const override |
virtual SAL_DLLPRIVATE void | SetChanged (bool bFlag=true) override |
SAL_DLLPRIVATE SfxItemPool & | GetPool () |
SAL_DLLPRIVATE SdOutliner * | GetOutliner (bool bCreateOutliner=true) |
SdOutliner * | GetInternalOutliner (bool bCreateOutliner=true) |
SAL_DLLPRIVATE::sd::DrawDocShell * | GetDocSh () const |
SAL_DLLPRIVATE LanguageType | GetLanguage (const sal_uInt16 nId) const |
SAL_DLLPRIVATE void | SetLanguage (const LanguageType eLang, const sal_uInt16 nId) |
SAL_DLLPRIVATE SvxNumType | GetPageNumType () const override |
SAL_DLLPRIVATE void | SetPageNumType (SvxNumType eType) |
OUString | CreatePageNumValue (sal_uInt16 nNum) const |
SAL_DLLPRIVATE DocumentType | GetDocumentType () const |
SAL_DLLPRIVATE void | SetAllocDocSh (bool bAlloc) |
SAL_DLLPRIVATE void | CreatingDataObj (SdTransferable *pTransferable) |
virtual SAL_DLLPRIVATE bool | IsCreatingDataObj () const override |
void | CreateFirstPages (SdDrawDocument const *pRefDocument=nullptr) |
if the document does not contain at least one handout, one slide and one notes page with at least one master each this methods creates them. More... | |
bool | CreateMissingNotesAndHandoutPages () |
SAL_DLLPRIVATE void | MovePage (sal_uInt16 nPgNum, sal_uInt16 nNewPos) override |
SAL_DLLPRIVATE void | InsertPage (SdrPage *pPage, sal_uInt16 nPos=0xFFFF) override |
SAL_DLLPRIVATE void | DeletePage (sal_uInt16 nPgNum) override |
SAL_DLLPRIVATE rtl::Reference< SdrPage > | RemovePage (sal_uInt16 nPgNum) override |
virtual SAL_DLLPRIVATE void | InsertMasterPage (SdrPage *pPage, sal_uInt16 nPos=0xFFFF) override |
virtual SAL_DLLPRIVATE rtl::Reference< SdrPage > | RemoveMasterPage (sal_uInt16 nPgNum) override |
SAL_DLLPRIVATE void | RemoveUnnecessaryMasterPages (SdPage *pMaster=nullptr, bool bOnlyDuplicatePages=false, bool bUndo=true) |
void | SetMasterPage (sal_uInt16 nSdPageNum, std::u16string_view rLayoutName, SdDrawDocument *pSourceDoc, bool bMaster, bool bCheckMasters) |
SdDrawDocument * | OpenBookmarkDoc (const OUString &rBookmarkFile) |
SAL_DLLPRIVATE SdDrawDocument * | OpenBookmarkDoc (SfxMedium *pMedium) |
SAL_DLLPRIVATE void | InsertBookmark (const std::vector< OUString > &rBookmarkList, std::vector< OUString > &rExchangeList, bool bLink, sal_uInt16 nPgPos, ::sd::DrawDocShell *pBookmarkDocSh, Point const *pObjPos) |
SAL_DLLPRIVATE bool | IsStartWithPresentation () const |
SAL_DLLPRIVATE void | SetStartWithPresentation (bool bStartWithPresentation) |
SAL_DLLPRIVATE bool | IsExitAfterPresenting () const |
SAL_DLLPRIVATE void | SetExitAfterPresenting (bool bExitAfterPresenting) |
SAL_DLLPRIVATE void | InitLayoutVector () |
load xml-based impress layout definitions into document More... | |
SAL_DLLPRIVATE const std::vector< css::uno::Reference< css::xml::dom::XNode > > & | GetLayoutVector () const |
return reference to vector of Impress layout definitions More... | |
SAL_DLLPRIVATE void | InitObjectVector () |
load xml-based impress master presentation object definitions into document More... | |
SAL_DLLPRIVATE const std::vector< css::uno::Reference< css::xml::dom::XNode > > & | GetObjectVector () const |
return reference to vector of master presentation object definitions More... | |
SAL_DLLPRIVATE bool | InsertBookmarkAsPage (const std::vector< OUString > &rBookmarkList, std::vector< OUString > *pExchangeList, bool bLink, bool bReplace, sal_uInt16 nPgPos, bool bNoDialogs, ::sd::DrawDocShell *pBookmarkDocSh, bool bCopy, bool bMergeMasterPages, bool bPreservePageNames) |
Insert pages into this document. More... | |
SAL_DLLPRIVATE bool | InsertBookmarkAsObject (const std::vector< OUString > &rBookmarkList, const std::vector< OUString > &rExchangeList, ::sd::DrawDocShell *pBookmarkDocSh, Point const *pObjPos, bool bCalcObjCount) |
void | CloseBookmarkDoc () |
SAL_DLLPRIVATE SdrObject * | GetObj (std::u16string_view rObjName) const |
SAL_DLLPRIVATE sal_uInt16 | GetPageByName (std::u16string_view rPgName, bool &rbIsMasterPage) const |
Return the first page that has the given name. More... | |
bool | IsPageNameUnique (std::u16string_view rPageName) const |
checks, if the given name is a unique name for an existing slide More... | |
SdPage * | GetSdPage (sal_uInt16 nPgNum, PageKind ePgKind) const |
sal_uInt16 | GetSdPageCount (PageKind ePgKind) const |
SAL_DLLPRIVATE void | SetSelected (SdPage *pPage, bool bSelect) |
SAL_DLLPRIVATE void | UnselectAllPages () |
SAL_DLLPRIVATE bool | MovePages (sal_uInt16 nTargetPage) |
SdPage * | GetMasterSdPage (sal_uInt16 nPgNum, PageKind ePgKind) |
sal_uInt16 | GetMasterSdPageCount (PageKind ePgKind) const |
sal_uInt16 | GetActiveSdPageCount () const |
SAL_DLLPRIVATE sal_uInt16 | GetMasterPageUserCount (SdrPage const *pMaster) const |
SAL_DLLPRIVATE const sd::PresentationSettings & | getPresentationSettings () const |
SAL_DLLPRIVATE sd::PresentationSettings & | getPresentationSettings () |
SAL_DLLPRIVATE const css::uno::Reference< css::presentation::XPresentation2 > & | getPresentation () const |
SAL_DLLPRIVATE void | SetSummationOfParagraphs (bool bOn=true) |
SAL_DLLPRIVATE bool | IsSummationOfParagraphs () const |
SAL_DLLPRIVATE void | SetPrinterIndependentLayout (sal_Int32 nMode) |
Set the mode that controls whether (and later how) the formatting of the document depends on the current printer metrics. More... | |
SAL_DLLPRIVATE sal_Int32 | GetPrinterIndependentLayout () const |
Get the flag that controls whether the formatting of the document depends on the current printer metrics. More... | |
SAL_DLLPRIVATE void | SetOnlineSpell (bool bIn) |
SAL_DLLPRIVATE bool | GetOnlineSpell () const |
SAL_DLLPRIVATE void | StopOnlineSpelling () |
SAL_DLLPRIVATE void | StartOnlineSpelling (bool bForceSpelling=true) |
SAL_DLLPRIVATE void | ImpOnlineSpellCallback (SpellCallbackInfo const *pInfo, SdrObject *pObj, SdrOutliner const *pOutl) |
SAL_DLLPRIVATE void | InsertObject (SdrObject *pObj) |
SAL_DLLPRIVATE void | RemoveObject (SdrObject *pObj) |
SAL_DLLPRIVATE sal_uLong | GetLinkCount () const |
SAL_DLLPRIVATE std::vector< std::unique_ptr< sd::FrameView > > & | GetFrameViewList () |
SdCustomShowList * | GetCustomShowList (bool bCreate=false) |
SAL_DLLPRIVATE void | NbcSetChanged (bool bFlag) |
SAL_DLLPRIVATE void | SetTextDefaults () const |
SAL_DLLPRIVATE void | CreateLayoutTemplates () |
SAL_DLLPRIVATE void | RenameLayoutTemplate (const OUString &rOldLayoutName, const OUString &rNewName) |
SAL_DLLPRIVATE void | CreateDefaultCellStyles () |
void | StopWorkStartupDelay () |
SAL_DLLPRIVATE void | NewOrLoadCompleted (DocCreationMode eMode) |
SAL_DLLPRIVATE void | NewOrLoadCompleted (SdPage *pPage, SdStyleSheetPool *pSPool) |
this loops over the presentation objects of a page and repairs some new settings from old binary files and resets all default strings for empty presentation objects. More... | |
SAL_DLLPRIVATE bool | IsNewOrLoadCompleted () const |
SAL_DLLPRIVATE::sd::FrameView * | GetFrameView (sal_uLong nPos) |
SAL_DLLPRIVATE const std::optional< CharClass > & | GetCharClass () const |
SAL_DLLPRIVATE void | UpdateAllLinks () |
updates all links, only links in this document should by resolved More... | |
SAL_DLLPRIVATE void | CheckMasterPages () |
this method enforces that the masterpages are in the correct order, that is at position 1 is a PageKind::Standard masterpage followed by a PageKind::Notes masterpage and so on. More... | |
SAL_DLLPRIVATE void | Merge (SdrModel &rSourceModel, sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum, sal_uInt16 nDestPos, bool bMergeMasterPages, bool bAllMasterPages, bool bUndo=true, bool bTreadSourceAsConst=false) override |
css::text::WritingMode | GetDefaultWritingMode () const |
SAL_DLLPRIVATE void | SetDefaultWritingMode (css::text::WritingMode eMode) |
SAL_DLLPRIVATE void | ReplacePageInCustomShows (const SdPage *pOldPage, const SdPage *pNewPage) |
replacespOldPage from all custom shows with pNewPage or removes pOldPage from all custom shows if pNewPage is 0. More... | |
SAL_DLLPRIVATE sal_uInt16 | CreatePage (SdPage *pCurrentPage, PageKind ePageKind, const OUString &sStandardPageName, const OUString &sNotesPageName, AutoLayout eStandardLayout, AutoLayout eNotesLayout, bool bIsPageBack, bool bIsPageObj, const sal_Int32 nInsertPosition) |
Create and insert a set of two new pages: a standard (draw) page and the associated notes page. More... | |
SAL_DLLPRIVATE sal_uInt16 | DuplicatePage (sal_uInt16 nPageNum) |
This method acts as a simplified front end for the more complex <member>DuplicatePage()</member> method. More... | |
SAL_DLLPRIVATE sal_uInt16 | DuplicatePage (SdPage *pCurrentPage, PageKind ePageKind, const OUString &sStandardPageName, const OUString &sNotesPageName, bool bIsPageBack, bool bIsPageObj, const sal_Int32 nInsertPosition) |
Create and insert a set of two new pages that are copies of the given <argument>pCurrentPage</argument> and its associated notes resp. More... | |
SAL_DLLPRIVATE void | getDefaultFonts (vcl::Font &rLatinFont, vcl::Font &rCJKFont, vcl::Font &rCTLFont) |
return the document fonts for latin, cjk and ctl according to the current languages set at this document More... | |
sd::UndoManager * | GetUndoManager () const |
SdStyleSheetPool * | GetSdStyleSheetPool () const |
Get the style sheet pool if it was a SdStyleSheetPool. More... | |
SAL_DLLPRIVATE void | UpdatePageRelativeURLs (std::u16string_view aOldName, std::u16string_view aNewName) |
SAL_DLLPRIVATE sal_uInt16 | GetAnnotationAuthorIndex (const OUString &rAuthor) |
SAL_DLLPRIVATE bool | IsEmbedFonts () const |
SAL_DLLPRIVATE bool | IsEmbedUsedFontsOnly () const |
SAL_DLLPRIVATE bool | IsEmbedFontScriptLatin () const |
SAL_DLLPRIVATE bool | IsEmbedFontScriptAsian () const |
SAL_DLLPRIVATE bool | IsEmbedFontScriptComplex () const |
SAL_DLLPRIVATE void | SetEmbedFonts (bool bUse) |
SAL_DLLPRIVATE void | SetEmbedUsedFontsOnly (bool bUse) |
SAL_DLLPRIVATE void | SetEmbedFontScriptLatin (bool bUse) |
SAL_DLLPRIVATE void | SetEmbedFontScriptAsian (bool bUse) |
SAL_DLLPRIVATE void | SetEmbedFontScriptComplex (bool bUse) |
sal_Int32 | getImagePreferredDPI () const override |
void | setImagePreferredDPI (sal_Int32 nValue) |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
Public Member Functions inherited from FmFormModel | |
FmFormModel (SfxItemPool *pPool=nullptr, SfxObjectShell *pPers=nullptr) | |
virtual | ~FmFormModel () override |
virtual rtl::Reference< SdrPage > | AllocPage (bool bMasterPage) override |
virtual void | InsertPage (SdrPage *pPage, sal_uInt16 nPos=0xFFFF) override |
virtual rtl::Reference< SdrPage > | RemovePage (sal_uInt16 nPgNum) override |
virtual void | InsertMasterPage (SdrPage *pPage, sal_uInt16 nPos=0xFFFF) override |
virtual rtl::Reference< SdrPage > | RemoveMasterPage (sal_uInt16 nPgNum) override |
SfxObjectShell * | GetObjectShell () const |
void | SetObjectShell (SfxObjectShell *pShell) |
bool | GetOpenInDesignMode () const |
void | SetOpenInDesignMode (bool _bOpenDesignMode) |
bool | GetAutoControlFocus () const |
void | SetAutoControlFocus (bool _bAutoControlFocus) |
bool | OpenInDesignModeIsDefaulted () |
bool | ControlsUseRefDevice () const |
FmXUndoEnvironment & | GetUndoEnv () |
Public Member Functions inherited from SdrModel | |
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 | AreControlsThemed () |
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 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) |
SfxUndoManager * | GetSdrUndoManager () const |
void | SetSdrUndoFactory (SdrUndoFactory *pUndoFactory) |
SdrUndoFactory & | GetSdrUndoFactory () const |
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::shared_ptr< model::Theme > const &pTheme) |
std::shared_ptr< model::Theme > const & | getTheme () const |
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 | SetCompatibilityFlag (SdrCompatibilityFlag eFlag, bool bEnabled) |
bool | GetCompatibilityFlag (SdrCompatibilityFlag eFlag) 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 |
bool | IsInDestruction () const |
void | EnableUndo (bool bEnable) |
bool | IsUndoEnabled () const |
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) |
Static Public Member Functions | |
static SAL_DLLPRIVATE SdAnimationInfo * | GetAnimationInfo (SdrObject *pObject) |
deprecated More... | |
static SdAnimationInfo * | GetShapeUserData (SdrObject &rObject, bool bCreate=false) |
static SAL_DLLPRIVATE sal_uInt32 | convertFontHeightToCTL (sal_uInt32 nWesternFontHeight) |
converts the given western font height to a corresponding ctl font height, depending on the system language More... | |
static SAL_DLLPRIVATE void | SetCalcFieldValueHdl (::Outliner *pOutliner) |
Static Public Member Functions inherited from SdrModel | |
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) |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
Static Public Attributes | |
static SAL_DLLPRIVATE SdDrawDocument * | s_pDocLockedInsertingLinks = nullptr |
static to prevent recursions while resolving links More... | |
Private Member Functions | |
SAL_DLLPRIVATE void | UpdatePageObjectsInNotes (sal_uInt16 nStartPos) |
SAL_DLLPRIVATE void | UpdatePageRelativeURLs (SdPage const *pPage, sal_uInt16 nPos, sal_Int32 nIncrement) |
SAL_DLLPRIVATE void | FillOnlineSpellingList (SdPage const *pPage) |
SAL_DLLPRIVATE void | SpellObject (SdrTextObj *pObj) |
DECL_DLLPRIVATE_LINK (WorkStartupHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (OnlineSpellingHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (OnlineSpellEventHdl, EditStatus &, void) | |
virtual SAL_DLLPRIVATE css::uno::Reference< css::uno::XInterface > | createUnoModel () override |
SAL_DLLPRIVATE sal_uInt16 | InsertPageSet (SdPage *pCurrentPage, PageKind ePageKind, const OUString &sStandardPageName, const OUString &sNotesPageName, bool bIsPageBack, bool bIsPageObj, SdPage *pStandardPage, SdPage *pNotesPage, sal_Int32 nInsertPosition) |
Insert a given set of standard and notes page after the given <argument>pCurrentPage</argument>. More... | |
SAL_DLLPRIVATE void | SetupNewPage (SdPage const *pPreviousPage, SdPage *pPage, const OUString &sPageName, sal_uInt16 nInsertionPoint, bool bIsPageBack, bool bIsPageObj) |
Set up a newly created page and insert it into the list of pages. More... | |
virtual SAL_DLLPRIVATE void | PageListChanged () override |
virtual SAL_DLLPRIVATE void | MasterPageListChanged () override |
Definition at line 120 of file drawdoc.hxx.
SdDrawDocument::SdDrawDocument | ( | DocumentType | eType, |
SfxObjectShell * | pDocSh | ||
) |
Create layers
We create the following default layers on all pages and master pages:
sUNO_LayerName_layout; "layout": default layer for drawing objects of normal pages localized by SdResId(STR_LAYER_LAYOUT)
sUNO_LayerName_background; "background": background of the master page localized by SdResId(STR_LAYER_BCKGRND) (currently unused within normal pages and not visible to users)
sUNO_LayerName_background_objects; "backgroundobjects": objects on the background of master pages localized by SdResId(STR_LAYER_BCKGRNDOBJ) (currently unused within normal pages)
sUNO_LayerName_controls; "controls": default layer for controls localized by SdResId(STR_LAYER_CONTROLS) (currently special handling in regard to z-order)
sUNO_LayerName_measurelines; "measurelines" : default layer for measure lines localized by SdResId(STR_LAYER_MEASURELINES)
Definition at line 117 of file drawdoc.cxx.
References SvtLinguOptions::bIsSpellAuto, o3tl::convert(), Draw, EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_PARA_ASIANCJKSPACING(), eType, SdOptionsLayout::GetDefTab(), SdrModel::GetDrawOutliner(), LinguMgr::GetHyphenator(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), SdrModel::GetLayerAdmin(), SdOptionsLayout::GetMetric(), SvtLinguConfig::GetOptions(), GetPool(), SdOptionsMisc::GetPrinterIndependentLayout(), MsLangId::getRealLanguage(), SdOptionsZoom::GetScale(), SfxItemPool::GetSecondaryPool(), Application::GetSettings(), LinguMgr::GetSpellChecker(), SdrModel::GetStyleSheetPool(), Impress, InitLayoutVector(), InitObjectVector(), utl::ConfigManager::IsFuzzing(), MsLangId::isKorean(), SdOptionsMisc::IsSummationOfParagraphs(), LANGUAGE_JAPANESE, LANGUAGE_SYSTEM, SdrModel::m_bThemedControls, SdrModel::m_pHitTestOutliner, SdrModel::m_pItemPool, SvxForbiddenCharactersTable::makeForbiddenCharactersTable(), mbOnlineSpell, meDocType, meLanguage, meLanguage, o3tl::mm100, moCharClass, mpDocSh, mpDrawPageListWatcher, mpMasterPageListWatcher, SvtLinguOptions::nDefaultLanguage, SvtLinguOptions::nDefaultLanguage_CJK, SvtLinguOptions::nDefaultLanguage_CTL, SdrLayerAdmin::NewLayer(), o3tl::pt, MsLangId::resolveSystemLanguageByScriptType(), SD_MOD, SetCalcFieldValueHdl(), SdrLayerAdmin::SetControlLayerName(), SdrModel::SetDefaultFontHeight(), SdrModel::SetDefaultTabulator(), SdrModel::SetForbiddenCharsTable(), SetLanguage(), SdrModel::SetLinkManager(), FmFormModel::SetObjectShell(), SfxItemPool::SetPoolDefaultItem(), SetPrinterIndependentLayout(), SdrModel::SetScaleUnit(), SdrModel::SetStyleSheetPool(), SetSummationOfParagraphs(), SdrModel::SetSwapGraphics(), SetTextDefaults(), SdrModel::SetUIUnit(), sUNO_LayerName_background, sUNO_LayerName_background_objects, sUNO_LayerName_controls, sUNO_LayerName_layout, sUNO_LayerName_measurelines, and SVX_NUM_ARABIC.
Referenced by AllocSdDrawDocument().
|
overridevirtual |
Definition at line 334 of file drawdoc.cxx.
References SdrModel::ClearModel(), CloseBookmarkDoc(), sfx2::LinkManager::GetLinks(), SdrModel::m_pLinkManager, maFrameViewList, moCharClass, mpCustomShowList, mpInternalOutliner, mpOnlineSearchItem, mpOutliner, mpWorkStartupTimer, sfx2::LinkManager::Remove(), SetAllocDocSh(), and StopOnlineSpelling().
void SdDrawDocument::AdaptPageSizeForAllPages | ( | const Size & | rNewSize, |
PageKind | ePageKind, | ||
SdUndoGroup * | pUndoGroup = nullptr , |
||
tools::Long | nLeft = 0 , |
||
tools::Long | nRight = 0 , |
||
tools::Long | nUpper = 0 , |
||
tools::Long | nLower = 0 , |
||
bool | bScaleAll = false , |
||
Orientation | eOrientation = Orientation::Landscape , |
||
sal_uInt16 | nPaperBin = 0 , |
||
bool | bBackgroundFullSize = false |
||
) |
Definition at line 412 of file drawdoc.cxx.
References SdUndoGroup::AddAction(), SdPage::CreateTitleAndLayout(), SdPage::GetAutoLayout(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), GetMasterSdPage(), GetMasterSdPageCount(), SdPage::GetOrientation(), SdPage::GetPaperBin(), SdrPage::GetRightBorder(), GetSdPage(), GetSdPageCount(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), i, SdrPage::IsBackgroundFullSize(), Notes, SdPage::ScaleObjects(), SdPage::SetAutoLayout(), SdrPage::SetBackgroundFullSize(), SdPage::SetBorder(), SdPage::SetOrientation(), SdPage::SetPaperBin(), SdPage::SetSize(), Standard, and Size::Width().
Referenced by adaptSizeAndBorderForAllPages(), and sd::ViewShell::SetPageSizeAndBorder().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 373 of file drawdoc.cxx.
References AdaptPageSizeForAllPages(), SdPage::CreateTitleAndLayout(), GetMasterSdPage(), GetMasterSdPageCount(), SdPage::GetOrientation(), SdPage::GetPaperBin(), GetSdPage(), GetSdPageCount(), Handout, SdrPage::IsBackgroundFullSize(), and Standard.
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 546 of file drawdoc.cxx.
References AllocSdDrawDocument().
|
overridevirtual |
Reimplemented from FmFormModel.
Definition at line 652 of file drawdoc.cxx.
References AllocSdPage().
Referenced by sd::View::InsertData(), and sd::View::PasteRTFTable().
SdDrawDocument * SdDrawDocument::AllocSdDrawDocument | ( | ) | const |
Definition at line 581 of file drawdoc.cxx.
References SdStyleSheetPool::CopyCellSheets(), SdStyleSheetPool::CopyGraphicSheets(), SdStyleSheetPool::CopyLayoutSheets(), SdStyleSheetPool::CopyTableStyles(), SfxObjectShell::DoInitNew(), tools::SvRef< typename T >::get(), sd::DrawDocShell::GetDoc(), GetDocSh(), SdTransferable::GetDocShell(), GetMasterSdPage(), GetMasterSdPageCount(), SdrModel::GetStyleSheetPool(), i, Impress, Loaded, mbAllocDocSh, meDocType, mpCreatingTransferable, mxAllocedDocShRef, NewOrLoadCompleted(), SD_LT_SEPARATOR, SdDrawDocument(), SetAllocDocSh(), SdTransferable::SetDocShell(), and Standard.
Referenced by AllocModel(), sd::slidesorter::controller::Clipboard::CreateSlideTransferable(), and sd::slidesorter::controller::Clipboard::CreateTransferableUserData().
rtl::Reference< SdPage > SdDrawDocument::AllocSdPage | ( | bool | bMasterPage | ) |
Definition at line 644 of file drawdoc.cxx.
Referenced by AllocPage(), CheckMasterPages(), CreateFirstPages(), CreatePage(), sd::FuExpandPage::DoExecute(), sd::FuSummaryPage::DoExecute(), SdMasterPagesAccess::insertNewByIndex(), SdXImpressDocument::InsertSdPage(), sd::OutlineView::InsertSlideForParagraph(), and SetMasterPage().
void SdDrawDocument::CheckMasterPages | ( | ) |
this method enforces that the masterpages are in the correct order, that is at position 1 is a PageKind::Standard masterpage followed by a PageKind::Notes masterpage and so on.
#
Definition at line 989 of file drawdoc2.cxx.
References AllocSdPage(), AUTOLAYOUT_NOTES, SdPage::GetLayoutName(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetPageKind(), SdrPage::GetRightBorder(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), InsertMasterPage(), SdrModel::MoveMasterPage(), Notes, SdrModel::RecalcPageNums(), RemoveMasterPage(), SdrPage::SetInserted(), and Standard.
Referenced by NewOrLoadCompleted().
void SdDrawDocument::CloseBookmarkDoc | ( | ) |
Definition at line 1129 of file drawdoc3.cxx.
References tools::SvRef< typename T >::clear(), tools::SvRef< typename T >::is(), maBookmarkFile, and mxBookmarkDocShRef.
Referenced by SdPageLink::DataChanged(), sd::FuPresentationLayout::DoExecute(), IMPL_LINK_NOARG(), OpenBookmarkDoc(), and ~SdDrawDocument().
|
static |
converts the given western font height to a corresponding ctl font height, depending on the system language
Definition at line 1250 of file drawdoc4.cxx.
References convertMm100ToPoint(), convertPointToMm100(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), Application::GetSettings(), and LANGUAGE_THAI.
Referenced by SdStyleSheetPool::CreateLayoutStyleSheets(), and CreateLayoutTemplates().
void SdDrawDocument::CreateDefaultCellStyles | ( | ) |
Definition at line 629 of file drawdoc4.cxx.
References aURL, EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), SdStyleSheetPool::getByName(), vcl::Font::GetCharSet(), getDefaultFonts(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SfxStyleSheetBase::GetItemSet(), SfxObjectShell::GetModel(), vcl::Font::GetPitch(), comphelper::getProcessComponentContext(), vcl::Font::GetStyleName(), SdrModel::GetStyleSheetPool(), SfxItemSet::HasItem(), utl::ConfigManager::IsFuzzing(), mpDocSh, SfxItemSet::Put(), rSet, and SfxStyleSheetBase::SetMask().
Referenced by NewOrLoadCompleted().
void SdDrawDocument::CreateFirstPages | ( | SdDrawDocument const * | pRefDocument = nullptr | ) |
if the document does not contain at least one handout, one slide and one notes page with at least one master each this methods creates them.
If a reference document is given, the sizes and border settings of that document are used for newly created slides.
Definition at line 493 of file drawdoc2.cxx.
References AllocSdPage(), AUTOLAYOUT_TITLE, Draw, SvxPaperInfo::GetDefaultPaperSize(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrModel::GetPage(), SdrModel::GetPageCount(), SvxPaperInfo::GetPaperSize(), sd::DrawDocShell::GetPrinter(), SdrPage::GetRightBorder(), GetSdPage(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), Handout, Size::Height(), InsertMasterPage(), InsertPage(), LINK, meDocType, mpDocSh, mpWorkStartupTimer, Notes, PAPER_SCREEN_16_9, PRINT_OFFSET, SdResId(), SetChanged(), Standard, Size::Width(), Point::X(), and Point::Y().
Referenced by sd::DrawViewShell::Construct(), sd::DrawDocShell::ConvertFrom(), SdModule::CreateEmptyDocument(), sd::ViewShell::CreateOrDuplicatePage(), SdCGMFilter::Import(), SdGRFFilter::Import(), SdPdfFilter::Import(), SdXMLFilter::Import(), SdXImpressDocument::initializeDocument(), sd::DrawDocShell::LoadFrom(), SdModule::OutlineToImpress(), and SdTransferable::SetPageBookmarks().
void SdDrawDocument::CreateLayoutTemplates | ( | ) |
Definition at line 137 of file drawdoc4.cxx.
References aName, basegfx::B2DPolygon::append(), COL_AUTO(), COL_BLACK(), COL_DEFAULT_SHAPE_FILLING, COL_DEFAULT_SHAPE_STROKE, COL_GRAY(), COL_WHITE(), convertFontHeightToCTL(), SdStyleSheetPool::CreateLayoutStyleSheets(), EE_CHAR_CASEMAP(), EE_CHAR_COLOR(), EE_CHAR_EMPHASISMARK(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_OUTLINE(), EE_CHAR_OVERLINE(), EE_CHAR_PAIRKERNING(), EE_CHAR_RELIEF(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), EE_PARA_BULLET(), EE_PARA_LRSPACE(), EE_PARA_SBL(), EE_PARA_ULSPACE(), Bitmap::Erase(), Color::getBColor(), SdStyleSheetPool::GetBulletFont(), vcl::Font::GetCharSet(), getDefaultFonts(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SfxStyleSheetBase::GetItemSet(), vcl::Font::GetPitch(), vcl::Font::GetStyleName(), SdrModel::GetStyleSheetPool(), ITALIC_NONE, LINE_SPACE_DEFAULT_HEIGHT, LINESTYLE_NONE, makeSdrShadowColorItem(), makeSdrShadowItem(), makeSdrShadowXDistItem(), makeSdrShadowYDistItem(), makeSdrTextLeftDistItem(), makeSdrTextLowerDistItem(), makeSdrTextRightDistItem(), makeSdrTextUpperDistItem(), makeSdrTextWordWrapItem(), vcl::N8_BPP, SfxItemSet::Put(), SdStyleSheetPool::PutNumBulletItem(), SDRATTR_MEASURESHOWUNIT(), SdResId(), SDRTEXTHORZADJUST_BLOCK, basegfx::BGradient::SetAngle(), basegfx::B2DPolygon::setClosed(), basegfx::BGradient::SetColorStops(), basegfx::BGradient::SetEndIntens(), SvxFontItem::SetFamilyName(), SvxBulletItem::SetFont(), vcl::Font::SetFontSize(), basegfx::BGradient::SetGradientStyle(), XFillGradientItem::SetGradientValue(), SfxStyleSheetBase::SetHelpId(), NameOrIndex::SetName(), SfxStyleSheetBase::SetParent(), SvxBulletItem::SetScale(), SvxBulletItem::SetStart(), basegfx::BGradient::SetStartIntens(), SvxBulletItem::SetStyle(), SvxBulletItem::SetSymbol(), STRIKEOUT_NONE, SvxResId(), WEIGHT_BOLD, and WEIGHT_NORMAL.
Referenced by NewOrLoadCompleted().
bool SdDrawDocument::CreateMissingNotesAndHandoutPages | ( | ) |
Definition at line 671 of file drawdoc2.cxx.
References SdrModel::GetMasterPage(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrPage::GetPageNum(), Handout, i, Notes, SetChanged(), SdPage::SetPageKind(), StopWorkStartupDelay(), SdrPage::TRG_GetMasterPage(), SdrPage::TRG_HasMasterPage(), and SdrPage::TRG_SetMasterPage().
Referenced by ImplSdPPTImport::Import().
sal_uInt16 SdDrawDocument::CreatePage | ( | SdPage * | pCurrentPage, |
PageKind | ePageKind, | ||
const OUString & | sStandardPageName, | ||
const OUString & | sNotesPageName, | ||
AutoLayout | eStandardLayout, | ||
AutoLayout | eNotesLayout, | ||
bool | bIsPageBack, | ||
bool | bIsPageObj, | ||
const sal_Int32 | nInsertPosition | ||
) |
Create and insert a set of two new pages: a standard (draw) page and the associated notes page.
The new pages are inserted directly after the specified page set.
pCurrentPage | This page is used to retrieve the layout for the page to create. |
ePageKind | This specifies whether <argument>pCurrentPage</argument> is a standard (draw) page or a notes page. |
sStandardPageName | Name of the standard page. An empty string leads to using an automatically created name. |
sNotesPageName | Name of the standard page. An empty string leads to using an automatically created name. |
eStandardLayout | Layout to use for the new standard page. Note that this layout is not used when the given <argument>pCurrentPage</argument> is not a standard page. In this case the layout is taken from the standard page associated with <argument>pCurrentPage</argument>. |
eNotesLayout | Layout to use for the new notes page. Note that this layout is not used when the given <argument>pCurrentPage</argument> is not a notes page. In this case the layout is taken from the notes page associated with <argument>pCurrentPage</argument>. |
bIsPageBack | This flag indicates whether to show the background shape. |
bIsPageObj | This flag indicates whether to show the shapes on the master page. |
nInsertPosition | Position where to insert the standard page. When -1 then the new page set is inserted after the current page. |
Definition at line 1128 of file drawdoc2.cxx.
References AllocSdPage(), SdPage::GetAutoLayout(), SdPage::getHeaderFooterSettings(), SdPage::GetLayoutName(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrModel::GetPage(), SdrPage::GetPageNum(), SdPage::GetPresChange(), SdrPage::GetRightBorder(), SdrPage::GetSize(), SdPage::GetTime(), SdPage::getTransitionDirection(), SdPage::getTransitionDuration(), SdPage::getTransitionFadeColor(), SdPage::getTransitionSubtype(), SdPage::getTransitionType(), SdrPage::GetUpperBorder(), InsertPageSet(), Notes, and SdrPage::TRG_GetMasterPage().
Referenced by sd::ViewShell::CreateOrDuplicatePage().
OUString SdDrawDocument::CreatePageNumValue | ( | sal_uInt16 | nNum | ) | const |
Definition at line 986 of file drawdoc4.cxx.
References SvxNumberFormat::CreateRomanString(), and mePageNumType.
Referenced by IMPL_LINK(), and ImplSdPPTImport::Import().
|
overrideprivatevirtual |
Reimplemented from SdrModel.
Definition at line 1013 of file drawdoc.cxx.
References SfxObjectShell::GetModel(), mpDocSh, and xModel.
|
inline |
Definition at line 255 of file drawdoc.hxx.
Referenced by sd::View::CreateClipboardDataObject(), SdTransferable::CreateData(), sd::slidesorter::controller::Clipboard::CreateSlideTransferable(), SdTransferable::GetData(), and sd::View::InsertData().
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 401 of file drawdoc2.cxx.
References SdrModel::DeletePage(), and UpdatePageObjectsInNotes().
Referenced by sd::View::InsertData().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 1179 of file drawdoc.cxx.
References SdrModel::dumpAsXml(), GetUndoManager(), and mpOutliner.
Referenced by sd::Window::KeyInput().
sal_uInt16 SdDrawDocument::DuplicatePage | ( | sal_uInt16 | nPageNum | ) |
This method acts as a simplified front end for the more complex <member>DuplicatePage()</member> method.
nPageNum | The page number as passed to the <member>GetSdPage()</member> method for which the standard page and the notes page are to be copied. |
Definition at line 1215 of file drawdoc2.cxx.
References DuplicatePage(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetSdPage(), SdrLayerIDSet::IsSet(), Standard, sUNO_LayerName_background, sUNO_LayerName_background_objects, and SdrPage::TRG_GetMasterPageVisibleLayers().
Referenced by sd::ViewShell::CreateOrDuplicatePage(), DuplicatePage(), sd::TabControl::ExecuteDrop(), SdGRFFilter::Import(), and SdPdfFilter::Import().
sal_uInt16 SdDrawDocument::DuplicatePage | ( | SdPage * | pCurrentPage, |
PageKind | ePageKind, | ||
const OUString & | sStandardPageName, | ||
const OUString & | sNotesPageName, | ||
bool | bIsPageBack, | ||
bool | bIsPageObj, | ||
const sal_Int32 | nInsertPosition | ||
) |
Create and insert a set of two new pages that are copies of the given <argument>pCurrentPage</argument> and its associated notes resp.
standard page. The copies are inserted directly after the specified page set.
pCurrentPage | This page and its associated notes/standard page is copied. |
ePageKind | This specifies whether <argument>pCurrentPage</argument> is a standard (draw) page or a notes page. |
sStandardPageName | Name of the standard page. An empty string leads to using an automatically created name. |
sNotesPageName | Name of the standard page. An empty string leads to using an automatically created name. |
bIsPageBack | This flag indicates whether to show the background shape. |
bIsPageObj | This flag indicates whether to show the shapes on the master page. |
nInsertPosition | Position where to insert the standard page. When -1 then the new page set is inserted after the current page. |
Definition at line 1236 of file drawdoc2.cxx.
References SdPage::CloneSdrPage(), SdrModel::GetPage(), SdrPage::GetPageNum(), InsertPageSet(), and Notes.
|
private |
Definition at line 772 of file drawdoc4.cxx.
References SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), SdrObjListIter::IsMore(), mpOnlineSpellingList, and SdrObjListIter::Next().
Referenced by StartOnlineSpelling().
sal_uInt16 SdDrawDocument::GetActiveSdPageCount | ( | ) | const |
Definition at line 227 of file drawdoc2.cxx.
References mpDrawPageListWatcher.
Referenced by sd::slidesorter::controller::SlotManager::GetStatusBarState(), and IMPL_LINK().
|
static |
deprecated
Definition at line 950 of file drawdoc2.cxx.
References DBG_ASSERT, GetShapeUserData(), and pObject.
Referenced by sd::AnimationWindow::AddObj(), HtmlExport::CreateHtmlForPresPages(), SdTransferable::CreateObjectReplacement(), sd::FuExecuteInteraction::DoExecute(), sd::FuObjectAnimationParameters::DoExecute(), sd::View::ExecuteDrop(), sd::DrawViewShell::GetMenuStateSel(), and SdAnimationPrmsUndoAction::Undo().
sal_uInt16 SdDrawDocument::GetAnnotationAuthorIndex | ( | const OUString & | rAuthor | ) |
Definition at line 1084 of file drawdoc.cxx.
References SvtUserOptions::GetFullName(), idx, and maAnnotationAuthors.
Referenced by sd::AnnotationManagerImpl::CreateTags(), and sd::AnnotationWindow::SetColor().
|
inline |
Definition at line 468 of file drawdoc.hxx.
Referenced by SdCustomShowDlg::SelectHdl().
SdCustomShowList * SdDrawDocument::GetCustomShowList | ( | bool | bCreate = false | ) |
Definition at line 1161 of file drawdoc3.cxx.
References mpCustomShowList.
Referenced by sd::FuCustomShowDlg::DoExecute(), sd::FuSlideShowDlg::DoExecute(), SdXCustomPresentationAccess::GetCustomShowList(), sd::SlideShow::getPropertyValue(), ImplSdPPTImport::Import(), SdXCustomPresentationAccess::insertByName(), SdCustomShowDlg::SdCustomShowDlg(), SdCustomShowDlg::SelectHdl(), and sd::SlideShow::setPropertyValue().
void SdDrawDocument::getDefaultFonts | ( | vcl::Font & | rLatinFont, |
vcl::Font & | rCJKFont, | ||
vcl::Font & | rCTLFont | ||
) |
return the document fonts for latin, cjk and ctl according to the current languages set at this document
Definition at line 1233 of file drawdoc4.cxx.
References EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), OutputDevice::GetDefaultFont(), GetLanguage(), LanguageTag::getLanguageType(), Application::GetSettings(), AllSettings::GetUILanguageTag(), and MsLangId::isKorean().
Referenced by CreateDefaultCellStyles(), SdStyleSheetPool::CreateLayoutStyleSheets(), and CreateLayoutTemplates().
css::text::WritingMode SdDrawDocument::GetDefaultWritingMode | ( | ) | const |
Definition at line 1184 of file drawdoc4.cxx.
References EE_PARA_WRITINGDIR(), and SdrModel::m_pItemPool.
Referenced by SdPage::CalculateHandoutAreas(), sd::FuPage::ExecuteDialog(), sd::sidebar::LayoutMenu::Fill(), sd::TextObjectBar::GetAttrState(), and sd::DrawViewShell::GetRulerState().
|
inline |
Definition at line 124 of file drawdoc.hxx.
Referenced by accessibility::AccessibleDrawDocumentView::getAccessibleName(), and accessibility::AccessibleOutlineView::getAccessibleName().
|
inline |
Definition at line 125 of file drawdoc.hxx.
References SdrModel::m_bReadOnly.
Referenced by accessibility::AccessibleDrawDocumentView::getAccessibleName().
|
inline |
Definition at line 242 of file drawdoc.hxx.
Referenced by sd::slidesorter::controller::Clipboard::AcceptDrop(), SdPageObjsTLV::AddShapeToTransferable(), AllocSdDrawDocument(), sd::sidebar::DocumentHelper::AssignMasterPageToPage(), sd::sidebar::DocumentHelper::AssignMasterPageToPageList(), sd::slidesorter::controller::SlotManager::ChangeSlideExclusionState(), SdOutliner::ConvertNextDocument(), SdTransferable::CreateData(), sd::slidesorter::controller::Clipboard::CreateSlideTransferable(), SdPageObjsTLV::DoDrag(), sd::FuChar::DoExecute(), sd::FuTemplate::DoExecute(), sd::LayerTabBar::EndRenaming(), sd::slidesorter::controller::SlotManager::ExecCtrl(), SdTPAction::FillItemSet(), ImplSdPPTImport::FillSdAnimationInfo(), sd::FrameView::FrameView(), SdNavigatorWin::FreshTree(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::DrawViewShell::FuTemporary(), SdTPAction::GetEditText(), sd::slidesorter::controller::SlotManager::GetMenuState(), SdXImpressDocument::GetModel(), SdXImpressDocument::getPropertyValue(), SdGenericDrawPage::getPropertyValue(), IMPL_LINK(), IMPL_LINK_NOARG(), sd::sidebar::LayoutMenu::implConstruct(), ImplSdPPTImport::Import(), sd::ModifyGuard::init(), sd::PreviewRenderer::Initialize(), SdNavigatorWin::InitTreeLB(), sd::View::InsertData(), sd::sidebar::CurrentMasterPagesSelector::LateInit(), sd::sidebar::LayoutMenu::LayoutMenu(), sd::slidesorter::controller::Listener::Listener(), sd::GraphicSizeCheckGUIEntry::markObject(), sd::LayerTabBar::MouseButtonDown(), SdOutliner::PrepareConversion(), SdOutliner::PrepareSearchAndReplace(), SdOutliner::ProvideNextTextObject(), sd::sidebar::DocumentHelper::ProvideStyles(), ImplSdPPTImport::ReadFormControl(), sd::FrameView::ReadUserDataSequence(), SdLayerModifyUndoAction::Redo(), ChangeSlideExclusionStateUndoAction::Redo(), refreshpage(), sd::slidesorter::controller::Listener::ReleaseListeners(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::GraphicSizeCheckGUIEntry::runProperties(), SdInsertPagesObjsDlg::SdInsertPagesObjsDlg(), SdOutliner::SdOutliner(), SdUndoAction::SdUndoAction(), SdOutliner::SearchAndReplaceOnce(), SdPageObjsTLV::Select(), SdTransferable::SetPageBookmarks(), SdXImpressDocument::setPropertyValue(), SdXShape::SetStyleSheet(), SdOutliner::SpellNextDocument(), sd::SlideShow::StartFullscreenPresentation(), SdOutliner::StartSearchAndReplace(), sd::SlideShow::startWithArguments(), sd::TextObjectBar::TextObjectBar(), SdLayerModifyUndoAction::Undo(), ChangeSlideExclusionStateUndoAction::Undo(), SdTPAction::UpdateTree(), and sd::sidebar::CurrentMasterPagesSelector::~CurrentMasterPagesSelector().
|
inline |
Definition at line 251 of file drawdoc.hxx.
Referenced by sd::AnnotationManagerImpl::AnnotationManagerImpl(), sd::FuPage::ApplyItemSet(), SdModule::ApplyItemSet(), sd::DrawView::CompleteRedraw(), sd::DrawViewShell::Construct(), SdModule::CreateItemSet(), sd::slidesorter::controller::SelectionManager::DeleteSelectedPages(), sd::EffectMigration::DocumentLoaded(), sd::FuArea::DoExecute(), sd::FuInsertOLE::DoExecute(), sd::FuInsertFile::DoExecute(), sd::FuTemplate::DoExecute(), SdModule::Execute(), sd::FuPage::ExecuteDialog(), SdDocLinkTarget::FindPage(), sd::FrameView::FrameView(), SdTransferable::GetData(), SdDocLinkTarget::getElementNames(), sd::AnnotationManagerImpl::GetNextPage(), SdModule::GetOptionStream(), sd::DrawDocShell::GetPrinter(), SdModule::GetSdOptions(), SdModule::GetState(), sd::DrawDocShell::GetState(), sd::slidesorter::controller::SlotManager::GetStatusBarState(), sd::DrawDocShell::GotoBookmark(), IMPL_LINK(), HtmlExport::InitExportParameters(), SdXImpressDocument::initializeForTiledRendering(), InsertBookmarkAsPage(), sd::View::InsertData(), ModifyPageUndoAction::ModifyPageUndoAction(), sd::FrameView::ReadUserDataSequence(), sd::slidesorter::controller::SlotManager::RenameSlide(), SdInsertPagesObjsDlg::SdInsertPagesObjsDlg(), SdPresLayoutDlg::SdPresLayoutDlg(), sd::AnnotationManagerImpl::SelectNextAnnotation(), HtmlExport::SetDocColors(), SetMasterPage(), sd::FuConstruct::SetStyleSheet(), sd::DocumentRenderer::Implementation::SetupPaperOrientation(), sd::AnnotationManagerImpl::ShowAnnotations(), SdOutliner::ShowWrapAroundDialog(), and SdTransferable::WriteObject().
|
inline |
Definition at line 460 of file drawdoc.hxx.
References nPos.
Referenced by sd::FrameView::FrameView(), and ImplSdPPTImport::Import().
|
inline |
Definition at line 442 of file drawdoc.hxx.
Referenced by sd::DrawDocShell::Draw(), SdXImpressDocument::getViewData(), ImplSdPPTImport::Import(), and SdXImpressDocument::setViewData().
|
inlineoverridevirtual |
Reimplemented from SdrModel.
Definition at line 621 of file drawdoc.hxx.
Referenced by sd::GraphicSizeCheck::check(), sd::DrawViewShell::GetMenuStateSel(), and sd::View::InsertGraphic().
SdOutliner * SdDrawDocument::GetInternalOutliner | ( | bool | bCreateOutliner = true | ) |
Definition at line 930 of file drawdoc.cxx.
References DBG_ASSERT, SdrModel::GetStyleSheetPool(), SdrModel::m_nDefaultTabulator, mpDocSh, mpInternalOutliner, and SD_MOD.
Referenced by SdModule::ApplyItemSet(), convertPresentationObjectImpl(), HtmlExport::CreateHtmlForPresPages(), HtmlExport::CreateHtmlTextForPresPages(), HtmlExport::CreateNotesPages(), HtmlExport::CreateOutlinePages(), HtmlExport::ExportSingleDocument(), fixupOutlinePlaceholderNumberingDepths(), sd::DrawViewShell::FuTemporary(), sd::HeaderFooterTabPage::GetOrSetDateTimeLanguage(), sd::DrawViewShell::InsertURLField(), NewOrLoadCompleted(), sd::DocumentRenderer::Implementation::PrepareOutline(), SdXShape::SetEmptyPresObj(), SpellObject(), StartOnlineSpelling(), and sd::DrawDocShell::UpdateRefDevice().
LanguageType SdDrawDocument::GetLanguage | ( | const sal_uInt16 | nId | ) | const |
Definition at line 875 of file drawdoc2.cxx.
References EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), meLanguage, meLanguageCJK, meLanguageCTL, and nId.
Referenced by sd::FuThesaurus::DoExecute(), getDefaultFonts(), sd::DrawViewShell::GetMenuState(), sd::OutlineViewShell::GetMenuState(), SdXImpressDocument::getPropertyValue(), SdModule::GetState(), sd::DrawDocShell::GetState(), sd::AnnotationWindow::InitControls(), and sd::PreviewRenderer::Initialize().
|
inline |
return reference to vector of Impress layout definitions
Definition at line 296 of file drawdoc.hxx.
sal_uLong SdDrawDocument::GetLinkCount | ( | ) | const |
Definition at line 839 of file drawdoc2.cxx.
References sfx2::LinkManager::GetLinks(), and SdrModel::m_pLinkManager.
sal_uInt16 SdDrawDocument::GetMasterPageUserCount | ( | SdrPage const * | pMaster | ) | const |
Definition at line 694 of file drawdoc4.cxx.
References SdrModel::GetPage(), SdrModel::GetPageCount(), SdrPage::TRG_GetMasterPage(), and SdrPage::TRG_HasMasterPage().
Referenced by sd::sidebar::CurrentMasterPagesSelector::ExecuteCommand(), sd::slidesorter::controller::SlotManager::GetClipboardState(), sd::sidebar::CurrentMasterPagesSelector::ProcessPopupMenu(), SdMasterPagesAccess::remove(), and RemoveUnnecessaryMasterPages().
Definition at line 217 of file drawdoc2.cxx.
References mpMasterPageListWatcher.
Referenced by AdaptPageSizeForAllPages(), adaptSizeAndBorderForAllPages(), AllocSdDrawDocument(), sd::MasterPageObserver::Implementation::AnalyzeUsedMasterPages(), sd::HeaderFooterDialog::apply(), SdPage::CalculateHandoutAreas(), sd::DrawViewShell::ChangeEditMode(), SdTemplateControl::Command(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), sd::EffectMigration::DocumentLoaded(), sd::DrawViewShell::ExecRuler(), sd::sidebar::CurrentMasterPagesSelector::Fill(), sd::sidebar::RecentMasterPagesSelector::Fill(), fixupOutlinePlaceholderNumberingDepths(), sd::DrawViewShell::FuTemporary(), SdMasterPagesAccess::getByIndex(), sd::DrawViewShell::getCurrentPage(), SdDocLinkTarget::getElementNames(), SdXImpressDocument::getHandoutMasterPage(), sd::AnnotationManagerImpl::GetNextPage(), SdMasterPage::getNotesPage(), sd::HeaderFooterTabPage::GetOrSetDateTimeLanguage(), sd::slidesorter::model::SlideSorterModel::GetPage(), SdXImpressDocument::getPartHash(), SdXImpressDocument::getPartName(), sd::HeaderFooterTabPage::HeaderFooterTabPage(), SdCGMFilter::Import(), ImplSdPPTImport::Import(), sd::slidesorter::controller::SlotManager::InsertSlide(), sd::MasterLayoutDialog::MasterLayoutDialog(), NewOrLoadCompleted(), sd::sidebar::TemplatePageObjectProvider::operator()(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), sd::MasterPageObserver::Implementation::RegisterDocument(), RemoveUnnecessaryMasterPages(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::DrawViewShell::ResetActualPage(), sd::DrawDocShell::SaveAsOwnFormat(), SdStyleSheetPool::SdStyleSheetPool(), SdGenericDrawPage::SetHeight(), SdGenericDrawPage::SetLeftBorder(), SdGenericDrawPage::SetLowerBorder(), SetMasterPage(), sd::outliner::ViewIteratorImpl::SetPage(), SdGenericDrawPage::setPropertyValue(), SdGenericDrawPage::SetRightBorder(), sd::DrawViewShell::SetupPage(), SdGenericDrawPage::SetUpperBorder(), SdGenericDrawPage::SetWidth(), and sd::DrawViewShell::SwitchPage().
sal_uInt16 SdDrawDocument::GetMasterSdPageCount | ( | PageKind | ePgKind | ) | const |
Definition at line 222 of file drawdoc2.cxx.
References mpMasterPageListWatcher.
Referenced by AdaptPageSizeForAllPages(), adaptSizeAndBorderForAllPages(), AllocSdDrawDocument(), sd::MasterPageObserver::Implementation::AnalyzeUsedMasterPages(), sd::DrawViewShell::ChangeEditMode(), SdTemplateControl::Command(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), sd::outliner::DocumentIteratorImpl::DocumentIteratorImpl(), sd::EffectMigration::DocumentLoaded(), sd::DrawViewShell::ExecRuler(), sd::sidebar::CurrentMasterPagesSelector::Fill(), sd::sidebar::RecentMasterPagesSelector::Fill(), fixupOutlinePlaceholderNumberingDepths(), SdMasterPagesAccess::getByIndex(), SdMasterPagesAccess::getCount(), sd::DrawViewShell::getCurrentPage(), SdDocLinkTarget::getElementNames(), sd::AnnotationManagerImpl::GetNextPage(), sd::HeaderFooterTabPage::GetOrSetDateTimeLanguage(), sd::outliner::OutlinerContainer::GetPageIndex(), SdXImpressDocument::getParts(), sd::outliner::DocumentIteratorImpl::GotoNextText(), sd::slidesorter::controller::Listener::HandleModelChange(), NewOrLoadCompleted(), sd::MasterPageObserver::Implementation::RegisterDocument(), RemoveUnnecessaryMasterPages(), sd::DrawViewShell::ResetActualPage(), sd::DrawDocShell::SaveAsOwnFormat(), SdStyleSheetPool::SdStyleSheetPool(), SdGenericDrawPage::SetHeight(), SdGenericDrawPage::SetLeftBorder(), SdGenericDrawPage::SetLowerBorder(), sd::outliner::ViewIteratorImpl::SetPage(), SdGenericDrawPage::setPropertyValue(), SdGenericDrawPage::SetRightBorder(), sd::DrawViewShell::SetupPage(), SdGenericDrawPage::SetUpperBorder(), SdGenericDrawPage::SetWidth(), and sd::DrawViewShell::SwitchPage().
SdrObject * SdDrawDocument::GetObj | ( | std::u16string_view | rObjName | ) | const |
Definition at line 66 of file drawdoc2.cxx.
References SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdrObject::GetName(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrOle2Obj::GetPersistName(), SdrObjListIter::IsMore(), and SdrObjListIter::Next().
Referenced by HtmlExport::CreateHtmlForPresPages(), sd::View::GetExchangeList(), sd::DrawDocShell::GotoBookmark(), ImplPDFGetBookmarkPage(), and InsertBookmarkAsObject().
|
inline |
return reference to vector of master presentation object definitions
Definition at line 302 of file drawdoc.hxx.
|
inline |
Definition at line 431 of file drawdoc.hxx.
Referenced by sd::FuChar::DoExecute(), sd::FuTemplate::DoExecute(), SdModule::Execute(), sd::DrawDocShell::Execute(), sd::DrawViewShell::FuSupport(), sd::DrawViewShell::FuTemporary(), SdTransferable::GetData(), SdModule::GetState(), SdOutliner::SdOutliner(), and sd::SetSpellOptions().
SdOutliner * SdDrawDocument::GetOutliner | ( | bool | bCreateOutliner = true | ) |
Definition at line 912 of file drawdoc.cxx.
References SdrModel::GetStyleSheetPool(), SdrModel::m_nDefaultTabulator, mpDocSh, mpOutliner, and SD_MOD.
Referenced by SdModule::ApplyItemSet(), sd::FuSearch::DoExecute(), sd::FuThesaurus::DoExecute(), sd::FuHangulHanjaConversion::FuHangulHanjaConversion(), sd::SpellDialogChildWindow::ProvideOutliner(), sd::FuSearch::SearchAndReplace(), sd::FuHangulHanjaConversion::StartConversion(), and sd::DrawDocShell::UpdateRefDevice().
sal_uInt16 SdDrawDocument::GetPageByName | ( | std::u16string_view | rPgName, |
bool & | rbIsMasterPage | ||
) | const |
Return the first page that has the given name.
Regular pages and notes pages are searched first. When not found then the master pages are searched.
rPgName | Name of the page to return. |
rbIsMasterPage | Is set by the method to indicate whether the returned index belongs to a master page (<TRUE>) or a regular or notes page (<FALSE>). The given value is ignored. |
Definition at line 126 of file drawdoc2.cxx.
References SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetName(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), Handout, and SDRPAGE_NOTFOUND.
Referenced by HtmlExport::CreateHtmlForPresPages(), sd::slidesorter::controller::Clipboard::CreateTransferableUserData(), sd::ViewClipboard::GetFirstMasterPage(), SdXShape::getPropertyValue(), sd::DrawDocShell::GotoBookmark(), ImplPDFGetBookmarkPage(), InsertBookmarkAsPage(), sd::DrawDocShell::IsNewPageNameValid(), lcl_IterateBookmarkPages(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), and SdMasterPage::setName().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 1029 of file drawdoc.cxx.
References mePageNumType.
Referenced by sd::FuPage::ExecuteDialog().
|
inline |
Definition at line 237 of file drawdoc.hxx.
Referenced by sd::FuPage::ApplyItemSet(), ImplSdPPTImport::ApplyTextObj(), convertPresentationObjectImpl(), sd::FuConstruct3dObject::CreateDefaultObject(), sd::FuConstructArc::CreateDefaultObject(), sd::FuConstructCustomShape::CreateDefaultObject(), sd::FuConstructRectangle::CreateDefaultObject(), sd::FuArea::DoExecute(), sd::FuChar::DoExecute(), sd::FuConnectionDlg::DoExecute(), sd::FuCopy::DoExecute(), sd::FuExpandPage::DoExecute(), sd::FuLine::DoExecute(), sd::FuMeasureDlg::DoExecute(), sd::FuObjectAnimationParameters::DoExecute(), sd::FuBulletAndPosition::DoExecute(), sd::FuParagraph::DoExecute(), sd::FuPresentationLayout::DoExecute(), sd::FuScale::DoExecute(), sd::FuSlideShowDlg::DoExecute(), sd::FuSummaryPage::DoExecute(), sd::FuTemplate::DoExecute(), sd::FuTransform::DoExecute(), sd::FuTextAttrDlg::DoExecute(), sd::DrawViewShell::ExecChar(), sd::TextObjectBar::Execute(), sd::FuPage::ExecuteDialog(), sd::DrawViewShell::ExecutePropPanelAttr(), sd::DrawViewShell::FuTemporary(), sd::BezierObjectBar::GetAttrState(), sd::TextObjectBar::GetAttrState(), sd::TextObjectBar::GetCharState(), SdXImpressDocument::getPropertyValue(), sd::DrawDocShell::GetState(), sd::DrawViewShell::GetStatePropPanelAttr(), sd::FuSelection::HandleImageMapClick(), sd::View::InsertData(), sd::FuBullet::InsertSpecialCharacter(), sd::View::IsMorphingAllowed(), sd::FuConstruct3dObject::MouseButtonDown(), sd::FuConstructArc::MouseButtonDown(), sd::FuConstructBezierPolygon::MouseButtonDown(), sd::FuConstructCustomShape::MouseButtonDown(), sd::FuConstructRectangle::MouseButtonDown(), SdDrawDocument(), SdUnoPageBackground::SdUnoPageBackground(), sd::FuBulletAndPosition::SetCurrentBulletsNumbering(), sd::FuConstructRectangle::SetLineEnds(), and UpdatePageRelativeURLs().
const Reference< XPresentation2 > & SdDrawDocument::getPresentation | ( | ) | const |
Definition at line 45 of file drawdoc_animations.cxx.
References CreatePresentation(), and mxPresentation.
Referenced by SdXImpressDocument::getPresentation(), sd::SlideShow::GetSlideShow(), and sd::slideshowhelp::ShowSlideShow().
|
inline |
Definition at line 401 of file drawdoc.hxx.
|
inline |
Definition at line 400 of file drawdoc.hxx.
Referenced by HtmlExport::CreateHtmlForPresPages(), sd::FuCustomShowDlg::DoExecute(), sd::FuSlideShowDlg::DoExecute(), sd::SlideShow::getPropertyValue(), ImplSdPPTImport::Import(), SdPageObjsTLV::PageBelongsToCurrentShow(), sd::SlideShow::setPropertyValue(), sd::slideshowhelp::ShowSlideShow(), sd::SlideShow::StartFullscreenPresentation(), and sd::SlideShow::startWithArguments().
|
inline |
Get the flag that controls whether the formatting of the document depends on the current printer metrics.
Definition at line 428 of file drawdoc.hxx.
Referenced by SdModule::ApplyItemSet(), SdModule::CreateItemSet(), sd::DrawDocShell::SetPrinter(), sd::DrawDocShell::UpdateFontList(), and sd::DrawDocShell::UpdateRefDevice().
Definition at line 207 of file drawdoc2.cxx.
References mpDrawPageListWatcher.
Referenced by AdaptPageSizeForAllPages(), adaptSizeAndBorderForAllPages(), sd::sidebar::DocumentHelper::AddMasterPage(), sd::SdPhotoAlbumDialog::appendNewSlide(), sd::HeaderFooterDialog::apply(), sd::FuPage::ApplyItemSet(), sd::sidebar::MasterPagesSelector::AssignMasterPageToAllSlides(), sd::sidebar::DocumentHelper::AssignMasterPageToPage(), sd::DrawViewShell::ChangeEditMode(), SdDefineCustomShowDlg::ClickButtonHdl2(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), sd::SdPhotoAlbumDialog::createCaption(), SdTransferable::CreateData(), CreateFirstPages(), SdModule::CreateItemSet(), sd::ViewShell::CreateOrDuplicatePage(), SdPageLink::DataChanged(), sd::DrawViewShell::DeleteActualPage(), sd::ViewClipboard::DetermineInsertPosition(), sd::EffectMigration::DocumentLoaded(), sd::FuExpandPage::DoExecute(), sd::FuPresentationLayout::DoExecute(), sd::FuSlideShowDlg::DoExecute(), sd::FuSummaryPage::DoExecute(), sd::DrawDocShell::Draw(), DuplicatePage(), sd::SlideShow::end(), sd::DrawViewShell::ExecRuler(), sd::DrawViewShell::ExecuteDrop(), SdGRFFilter::Export(), sd::OutlineView::FillOutliner(), sd::DrawViewShell::FuTemporary(), sd::OutlineView::GetActualPage(), SdDrawPagesAccess::getByIndex(), SdDrawPagesAccess::getByName(), sd::DrawViewShell::getCurrentPage(), GetCurrentPage(), HtmlExport::getDocumentTitle(), SdDrawPagesAccess::getElementNames(), SdDocLinkTarget::getElementNames(), accessibility::AccessibleDocumentViewBase::getExtendedAttributes(), sd::DocumentRenderer::Implementation::GetFilteredPage(), sd::DrawViewShell::GetMenuState(), sd::OutlineViewShell::GetMenuState(), sd::AnnotationManagerImpl::GetNextPage(), SdDrawPage::getNotesPage(), sd::slidesorter::model::SlideSorterModel::GetPage(), sd::OutlineView::GetPageForParagraph(), SdXImpressDocument::getPartHash(), SdXImpressDocument::getPartName(), SdGenericDrawPage::getPropertyValue(), SdStyleSheet::GetRealStyleSheet(), SdXImpressDocument::getRenderer(), sd::sidebar::DocumentHelper::GetSlideForMasterPage(), sd::OutlineViewShell::GetStatusBarState(), sd::SlideShowView::getTransformation(), sd::DrawDocShell::GetVisArea(), sd::slidesorter::controller::Listener::HandleShapeModification(), SdDrawPagesAccess::hasByName(), sd::HeaderFooterDialog::HeaderFooterDialog(), sd::DrawViewShell::ImplDestroy(), ImplPDFExportShapeInteraction(), SdGRFFilter::Import(), SdPdfFilter::Import(), ImplSdPPTImport::Import(), HtmlExport::InitExportParameters(), sd::DocumentRenderer::Implementation::InitHandoutTemplate(), InsertBookmarkAsObject(), InsertBookmarkAsPage(), sd::View::InsertData(), SdMasterPagesAccess::insertNewByIndex(), SdXImpressDocument::InsertSdPage(), sd::OutlineView::InsertSlideForParagraph(), sd::FuInsertFile::InsTextOrRTFinOlMode(), lcl_IterateBookmarkPages(), sd::DrawDocShell::Load(), MovePages(), sd::sidebar::DefaultPageObjectProvider::operator()(), sd::slidesorter::SlideSorterViewShell::PostMoveSlidesActions(), sd::DocumentRenderer::Implementation::PrepareHandout(), sd::DocumentRenderer::Implementation::PreparePages(), sd::DocumentRenderer::Implementation::PrepareStdOrNotes(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), sd::OutlineViewShell::ReadFrameViewData(), sd::OutlineViewShell::ReadRtf(), refreshpage(), RemoveUnnecessaryMasterPages(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), SdXImpressDocument::render(), sd::DrawViewShell::ResetActualPage(), SdDefineCustomShowDlg::SdDefineCustomShowDlg(), sd::DrawViewShell::SelectPage(), sd::OutlineViewShell::SetCurrentPage(), HtmlExport::SetDocColors(), SdGenericDrawPage::SetHeight(), SdGenericDrawPage::SetLeftBorder(), SdGenericDrawPage::SetLowerBorder(), SdDrawPage::setMasterPage(), SetMasterPage(), SdDrawPage::setName(), sd::outliner::ViewIteratorImpl::SetPage(), SdTransferable::SetPageBookmarks(), sd::ViewShell::SetPageSizeAndBorder(), sd::ViewShellBase::SetPrinter(), SdGenericDrawPage::setPropertyValue(), SdGenericDrawPage::SetRightBorder(), sd::OutlineView::SetSelectedPages(), sd::DrawViewShell::SetupPage(), sd::DocumentRenderer::Implementation::SetupPaperOrientation(), SdGenericDrawPage::SetUpperBorder(), SdGenericDrawPage::SetWidth(), sd::DrawViewShell::SwitchPage(), UnselectAllPages(), sd::OutlineView::UpdateDocument(), and sd::sidebar::CurrentMasterPagesSelector::UpdateSelection().
sal_uInt16 SdDrawDocument::GetSdPageCount | ( | PageKind | ePgKind | ) | const |
Definition at line 212 of file drawdoc2.cxx.
References mpDrawPageListWatcher.
Referenced by AdaptPageSizeForAllPages(), adaptSizeAndBorderForAllPages(), sd::SdPhotoAlbumDialog::appendNewSlide(), sd::HeaderFooterDialog::apply(), sd::sidebar::MasterPagesSelector::AssignMasterPageToAllSlides(), sd::sidebar::DocumentHelper::AssignMasterPageToPage(), sd::DrawViewShell::ChangeEditMode(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), sd::slidesorter::view::InsertionIndicatorOverlay::Create(), sd::SdPhotoAlbumDialog::createCaption(), sd::ViewShell::CreateOrDuplicatePage(), sd::DrawViewShell::DeleteActualPage(), SdOutliner::DetectChange(), sd::ViewClipboard::DetermineInsertPosition(), sd::outliner::DocumentIteratorImpl::DocumentIteratorImpl(), sd::EffectMigration::DocumentLoaded(), sd::FuExpandPage::DoExecute(), sd::FuNavigation::DoExecute(), sd::FuPresentationLayout::DoExecute(), sd::FuSlideShowDlg::DoExecute(), sd::FuSummaryPage::DoExecute(), sd::DrawDocShell::Draw(), sd::slidesorter::SlideSorterViewShell::ExecMovePageDown(), sd::slidesorter::SlideSorterViewShell::ExecMovePageLast(), sd::DrawViewShell::ExecNavigatorWin(), sd::DrawViewShell::ExecRuler(), sd::OutlineView::FillOutliner(), SdDrawPagesAccess::getByIndex(), SdDrawPagesAccess::getByName(), SdDrawPagesAccess::getCount(), sd::DrawViewShell::getCurrentPage(), SdDrawPagesAccess::getElementNames(), SdDocLinkTarget::getElementNames(), accessibility::AccessibleDocumentViewBase::getExtendedAttributes(), sd::DrawViewShell::GetMenuState(), sd::OutlineViewShell::GetMenuState(), sd::DrawViewShell::GetNavigatorWinState(), sd::AnnotationManagerImpl::GetNextPage(), sd::OutlineView::GetPageForParagraph(), sd::outliner::OutlinerContainer::GetPageIndex(), SdXImpressDocument::getParts(), SdGenericDrawPage::getPropertyValue(), SdXImpressDocument::getRendererCount(), sd::sidebar::DocumentHelper::GetSlideForMasterPage(), sd::DrawViewShell::GetStateGoToLastPage(), sd::DrawViewShell::GetStateGoToNextPage(), sd::slidesorter::SlideSorterViewShell::GetStateMovePageLast(), sd::OutlineViewShell::GetStatusBarState(), sd::outliner::DocumentIteratorImpl::GotoNextText(), sd::slidesorter::controller::Listener::HandleShapeModification(), SdDrawPagesAccess::hasByName(), sd::sidebar::IMPL_LINK_NOARG(), sd::DrawViewShell::ImplDestroy(), ImplPDFExportShapeInteraction(), ImplSdPPTImport::Import(), HtmlExport::InitExportParameters(), InsertBookmarkAsPage(), SdXImpressDocument::InsertSdPage(), sd::OutlineView::InsertSlideForParagraph(), sd::ViewClipboard::InsertSlides(), sd::FuPoor::KeyInput(), MovePages(), sd::slidesorter::controller::Clipboard::PasteTransferable(), sd::slidesorter::SlideSorterViewShell::PostMoveSlidesActions(), sd::DocumentRenderer::Implementation::PrepareBooklet(), sd::DocumentRenderer::Implementation::PrepareHandout(), sd::DocumentRenderer::Implementation::PrepareOutline(), sd::DocumentRenderer::Implementation::PrepareRegularPages(), sd::DocumentRenderer::Implementation::PrepareStdOrNotes(), SdDrawPagesAccess::remove(), sd::DrawViewShell::ResetActualPage(), sd::slidesorter::model::SlideSorterModel::Resync(), SdDefineCustomShowDlg::SdDefineCustomShowDlg(), SdPageObjsTLV::Select(), sd::OutlineViewShell::SetCurrentPage(), SdGenericDrawPage::SetHeight(), SdGenericDrawPage::SetLeftBorder(), SdGenericDrawPage::SetLowerBorder(), SdDrawPage::setName(), sd::outliner::ViewIteratorImpl::SetPage(), SdGenericDrawPage::setPropertyValue(), SdGenericDrawPage::SetRightBorder(), sd::DrawViewShell::SetupPage(), SdGenericDrawPage::SetUpperBorder(), SdOutliner::SetViewMode(), SdGenericDrawPage::SetWidth(), sd::DrawViewShell::SwitchPage(), UnselectAllPages(), sd::OutlineView::UpdateDocument(), sd::ViewShell::UpdateScrollBars(), and sd::sidebar::CurrentMasterPagesSelector::UpdateSelection().
SdStyleSheetPool * SdDrawDocument::GetSdStyleSheetPool | ( | ) | const |
Get the style sheet pool if it was a SdStyleSheetPool.
Definition at line 1264 of file drawdoc4.cxx.
References SdrModel::GetStyleSheetPool().
Referenced by SdPPTImport::SdPPTImport().
|
static |
Definition at line 959 of file drawdoc2.cxx.
References SdrObject::AppendUserData(), SdrObjUserData::GetId(), SdrObjUserData::GetInventor(), SdrObject::GetUserData(), SdrObject::GetUserDataCount(), and SD_ANIMATIONINFO_ID.
Referenced by sd::FuObjectAnimationParameters::DoExecute(), sd::View::ExecuteDrop(), SdXShape::GetAnimationInfo(), GetAnimationInfo(), sd::DrawViewShell::GetCtrlState(), accessibility::AccessibleDrawDocumentView::getObjectLink(), SdPage::GetPresObj(), SdPage::GetPresObjKind(), SdPage::InsertPresObj(), sd::DrawViewShell::InsertURLButton(), ImplSdPPTImport::ProcessObj(), SdAnimationPrmsUndoAction::Redo(), and SdPage::RemovePresObj().
sd::UndoManager * SdDrawDocument::GetUndoManager | ( | ) | const |
Definition at line 1377 of file drawdoc2.cxx.
References sd::DrawDocShell::GetUndoManager(), and mpDocSh.
Referenced by convertPresentationObjectImpl(), sd::DrawView::DeleteMarked(), dumpAsXml(), and sd::View::isRecordingUndo().
void SdDrawDocument::ImpOnlineSpellCallback | ( | SpellCallbackInfo const * | pInfo, |
SdrObject * | pObj, | ||
SdrOutliner const * | pOutl | ||
) |
Definition at line 950 of file drawdoc4.cxx.
References SpellCallbackInfo::aWord, SdrObject::BroadcastObjectChange(), SfxViewFrame::Current(), DynCastSdrTextObj(), SdrModel::IsChanged(), mpOnlineSearchItem, SpellCallbackInfo::nCommand, SetChanged(), and StartOnlineSpelling().
void SdDrawDocument::InitLayoutVector | ( | ) |
load xml-based impress layout definitions into document
Definition at line 1104 of file drawdoc.cxx.
References comphelper::getExpandedUri(), index, utl::ConfigManager::IsFuzzing(), maLayoutInfo, and nElements.
Referenced by SdDrawDocument().
void SdDrawDocument::InitObjectVector | ( | ) |
load xml-based impress master presentation object definitions into document
Definition at line 1142 of file drawdoc.cxx.
References comphelper::getExpandedUri(), index, utl::ConfigManager::IsFuzzing(), maPresObjectInfo, and nElements.
Referenced by SdDrawDocument().
void SdDrawDocument::InsertBookmark | ( | const std::vector< OUString > & | rBookmarkList, |
std::vector< OUString > & | rExchangeList, | ||
bool | bLink, | ||
sal_uInt16 | nPgPos, | ||
::sd::DrawDocShell * | pBookmarkDocSh, | ||
Point const * | pObjPos | ||
) |
Definition at line 274 of file drawdoc3.cxx.
References sd::DrawDocShell::GetDoc(), InsertBookmarkAsObject(), InsertBookmarkAsPage(), tools::SvRef< typename T >::is(), and mxBookmarkDocShRef.
bool SdDrawDocument::InsertBookmarkAsObject | ( | const std::vector< OUString > & | rBookmarkList, |
const std::vector< OUString > & | rExchangeList, | ||
::sd::DrawDocShell * | pBookmarkDocSh, | ||
Point const * | pObjPos, | ||
bool | bCalcObjCount | ||
) |
Definition at line 966 of file drawdoc3.cxx.
References tools::Rectangle::Center(), sd::ViewShell::GetActualPage(), sd::DrawDocShell::GetDoc(), SdrObjList::GetObj(), GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrPageView::GetPage(), SdrPage::GetPageNum(), GetSdPage(), SdrObject::getSdrPageFromSdrObject(), SdrPaintView::GetSdrPageView(), SdrPage::GetSize(), sd::ViewShell::GetView(), sd::DrawDocShell::GetViewShell(), tools::SvRef< typename T >::is(), SdrPage::IsMasterPage(), mpDocSh, mxBookmarkDocShRef, nCount, SdrObjList::RecalcObjOrdNums(), SetAllocDocSh(), SdrObject::SetName(), and Standard.
Referenced by InsertBookmark(), and sd::FuInsertFile::InsSDDinDrMode().
bool SdDrawDocument::InsertBookmarkAsPage | ( | const std::vector< OUString > & | rBookmarkList, |
std::vector< OUString > * | pExchangeList, | ||
bool | bLink, | ||
bool | bReplace, | ||
sal_uInt16 | nPgPos, | ||
bool | bNoDialogs, | ||
::sd::DrawDocShell * | pBookmarkDocSh, | ||
bool | bCopy, | ||
bool | bMergeMasterPages, | ||
bool | bPreservePageNames | ||
) |
Insert pages into this document.
This method inserts whole pages into this document, either selected ones (specified via pBookmarkList/pExchangeList), or all from the source document.
pBookmarkList | A list of strings, denoting the names of the pages to be copied |
pExchangeList | A list of strings, denoting the names of the pages to be renamed |
bLink | Whether the inserted pages should be linked to the bookmark document |
bReplace | Whether the pages should not be inserted, but replace the pages in the destination document |
nPgPos | Insertion point/start of replacement |
bNoDialogs | Whether query dialogs are allowed (e.g. for page scaling) |
pBookmarkDocSh | DocShell of the source document (used e.g. to extract the filename for linked pages) |
bCopy | Whether the source document should be treated as immutable (i.e. inserted pages are not removed from it, but cloned) |
bMergeMasterPages | Whether the source document's master pages should be copied, too. |
bPreservePageNames | Whether the replace operation should take the name from the new page, or preserve the old name |
Remove processed elements, to avoid doing hacks in InsertBookmarkAsObject
Definition at line 375 of file drawdoc3.cxx.
References SdrModel::AddUndo(), SfxUndoManager::AddUndoAction(), aName, aStr, SdrModel::BegUndo(), SdStyleSheetPool::CopyCellSheets(), SdStyleSheetPool::CopyLayoutSheets(), SdStyleSheetPool::CopyTableStyles(), Application::CreateMessageDialog(), Draw, SdrModel::EndUndo(), SfxUndoManager::EnterListAction(), sd::DrawDocShell::GetDoc(), GetDocumentType(), SdPage::GetLayoutName(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SfxStyleSheetBase::GetName(), SdPage::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdPage::GetOrientation(), SdrModel::GetPage(), GetPageByName(), SdrModel::GetPageCount(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SdPage::GetRealName(), SdrPage::GetRightBorder(), GetSdPage(), GetSdPageCount(), SdrModel::GetSdrUndoFactory(), SdrPage::GetSize(), GetStandardText(), SdrObject::GetStyleSheet(), SdrModel::GetStyleSheetPool(), sd::DrawDocShell::GetUndoManager(), SdrPage::GetUpperBorder(), sd::DrawDocShell::GetViewShell(), i, Impress, tools::SvRef< typename T >::is(), SdrPage::IsMasterPage(), SdPage::IsScaleObjects(), SdrModel::IsUndoEnabled(), lcl_IterateBookmarkPages(), SfxUndoManager::LeaveListAction(), SdrModel::m_bTransportContainer, maBookmarkFile, Merge(), mpDocSh, mxBookmarkDocShRef, n, nIndex, Notes, nPos, p, SdPage::RemoveEmptyPresentationObjects(), RemoveMasterPage(), RemovePage(), RemoveUnnecessaryMasterPages(), SdStyleSheetPool::RenameAndCopyGraphicSheets(), ReplacePageInCustomShows(), RET_CANCEL, RET_YES, SdPage::ScaleObjects(), SD_LT_SEPARATOR, SD_MOD, SdResId(), SDRPAGE_NOTFOUND, SdPage::SetBookmarkName(), SdPage::SetBorder(), SdPage::SetFileName(), SdPage::SetName(), SdPage::SetOrientation(), SdPage::SetPresentationLayout(), SdPage::SetSize(), SdrObject::SetStyleSheet(), sName, Standard, and TOOLS_WARN_EXCEPTION.
Referenced by SdPageLink::DataChanged(), InsertBookmark(), sd::ViewClipboard::InsertSlides(), sd::FuInsertFile::InsSDDinDrMode(), sd::slidesorter::controller::Clipboard::PasteTransferable(), and SdTransferable::SetPageBookmarks().
|
overridevirtual |
Reimplemented from FmFormModel.
Definition at line 434 of file drawdoc2.cxx.
References SdStyleSheetPool::AddStyleFamily(), SdPage::GetPageKind(), SdrModel::GetStyleSheetPool(), FmFormModel::InsertMasterPage(), SdrPage::IsMasterPage(), nPos, and Standard.
Referenced by sd::sidebar::DocumentHelper::AddMasterPage(), CheckMasterPages(), CreateFirstPages(), SdMasterPagesAccess::insertNewByIndex(), and SetMasterPage().
void SdDrawDocument::InsertObject | ( | SdrObject * | pObj | ) |
Definition at line 915 of file drawdoc4.cxx.
References SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), and mpOnlineSpellingList.
|
overridevirtual |
Reimplemented from FmFormModel.
Definition at line 380 of file drawdoc2.cxx.
References SdrModel::GetPageCount(), SdrModel::getUnoModel(), FmFormModel::InsertPage(), comphelper::LibreOfficeKit::isActive(), SfxLokHelper::notifyDocumentSizeChangedAllViews(), nPos, Standard, UpdatePageObjectsInNotes(), and UpdatePageRelativeURLs().
Referenced by CreateFirstPages(), sd::FuExpandPage::DoExecute(), sd::FuSummaryPage::DoExecute(), sd::View::InsertData(), SdXImpressDocument::InsertSdPage(), sd::OutlineView::InsertSlideForParagraph(), sd::View::PasteRTFTable(), and SetupNewPage().
|
private |
Insert a given set of standard and notes page after the given <argument>pCurrentPage</argument>.
pCurrentPage | This page and its associated notes/standard page is copied. |
ePageKind | This specifies whether <argument>pCurrentPage</argument> is a standard (draw) page or a notes page. |
sStandardPageName | Name of the standard page. An empty string leads to using an automatically created name. |
sNotesPageName | Name of the standard page. An empty string leads to using an automatically created name. |
bIsPageBack | This flag indicates whether to show the background shape. |
bIsPageObj | This flag indicates whether to show the shapes on the master page. |
pStandardPage | The standard page to insert. |
pNotesPage | The notes page to insert. |
nInsertPosition | Position where to insert the standard page. When -1 then the new page set is inserted after the current page. |
Definition at line 1281 of file drawdoc2.cxx.
References SdrModel::GetPage(), SdrPage::GetPageNum(), Notes, SdPage::SetPageKind(), and SetupNewPage().
Referenced by CreatePage(), and DuplicatePage().
|
inlineoverridevirtual |
Reimplemented from SdrModel.
Definition at line 256 of file drawdoc.hxx.
|
inline |
Definition at line 609 of file drawdoc.hxx.
|
inline |
Definition at line 612 of file drawdoc.hxx.
|
inline |
Definition at line 613 of file drawdoc.hxx.
|
inline |
Definition at line 611 of file drawdoc.hxx.
|
inline |
Definition at line 610 of file drawdoc.hxx.
|
inline |
Definition at line 290 of file drawdoc.hxx.
Referenced by sd::SlideShow::IsExitAfterPresenting().
|
inline |
Definition at line 458 of file drawdoc.hxx.
bool SdDrawDocument::IsPageNameUnique | ( | std::u16string_view | rPageName | ) | const |
checks, if the given name is a unique name for an existing slide
rPageName | the name of an existing slide |
Definition at line 173 of file drawdoc2.cxx.
References SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetName(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), Handout, and nCount.
Referenced by sd::DrawDocShell::IsPageNameUnique().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 1141 of file drawdoc3.cxx.
|
inline |
Definition at line 287 of file drawdoc.hxx.
Referenced by sd::ViewShellBase::Notify().
|
inline |
Definition at line 406 of file drawdoc.hxx.
Referenced by SdModule::CreateItemSet(), and sd::View::SdrBeginTextEdit().
|
overrideprivatevirtual |
Reimplemented from SdrModel.
Definition at line 1074 of file drawdoc.cxx.
References mpMasterPageListWatcher.
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 1865 of file drawdoc3.cxx.
References SdStyleSheetPool::AddStyleFamily(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetPageKind(), SdrModel::GetStyleSheetPool(), SdrPage::IsMasterPage(), SdrModel::Merge(), and Standard.
Referenced by InsertBookmarkAsPage().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 370 of file drawdoc2.cxx.
References SdrModel::MovePage(), and UpdatePageObjectsInNotes().
Referenced by MovePages().
bool SdDrawDocument::MovePages | ( | sal_uInt16 | nTargetPage | ) |
Definition at line 726 of file drawdoc2.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), SdrModel::EndUndo(), SdrModel::GetPage(), GetSdPage(), GetSdPageCount(), SdrModel::GetSdrUndoFactory(), SdPage::IsSelected(), SdrModel::IsUndoEnabled(), MovePage(), SdResId(), and Standard.
Referenced by sd::ViewShell::CreateOrDuplicatePage(), sd::slidesorter::SlideSorterViewShell::ExecMovePageDown(), sd::slidesorter::SlideSorterViewShell::ExecMovePageFirst(), sd::slidesorter::SlideSorterViewShell::ExecMovePageLast(), sd::slidesorter::SlideSorterViewShell::ExecMovePageUp(), sd::TabControl::ExecuteDrop(), and SdXImpressDocument::moveSelectedParts().
void SdDrawDocument::NbcSetChanged | ( | bool | bFlag | ) |
Definition at line 679 of file drawdoc.cxx.
References SdrModel::SetChanged().
Referenced by sd::DrawDocShell::SaveCompleted(), and sd::DrawDocShell::SetModified().
void SdDrawDocument::NewOrLoadCompleted | ( | DocCreationMode | eMode | ) |
Definition at line 687 of file drawdoc.cxx.
References aName, CheckMasterPages(), CreateDefaultCellStyles(), SdStyleSheetPool::CreateLayoutStyleSheets(), CreateLayoutTemplates(), eMode, Outliner::GetControlWord(), SdrModel::GetDrawOutliner(), SdPage::GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), GetMasterSdPage(), GetMasterSdPageCount(), SdPage::GetName(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrModel::GetStyleSheetPool(), i, Loaded, SdrModel::m_pHitTestOutliner, mbNewOrLoadCompleted, mbOnlineSpell, mpInternalOutliner, mpOutliner, SdrModel::mxStyleSheetPool, New, NewOrLoadCompleted(), RemoveUnnecessaryMasterPages(), SD_LT_SEPARATOR, SdResId(), SetChanged(), Outliner::SetControlWord(), SdrModel::SetDefaultStyleSheet(), SdrModel::SetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj(), SdPage::SetLayoutName(), SdPage::SetName(), Outliner::SetStyleSheetPool(), Standard, SdrPage::TRG_GetMasterPage(), SdrPage::TRG_HasMasterPage(), and UpdateAllLinks().
Referenced by AllocSdDrawDocument(), SdXMLFilter::Import(), sd::DrawDocShell::InitNew(), sd::DrawDocShell::LoadFrom(), and NewOrLoadCompleted().
void SdDrawDocument::NewOrLoadCompleted | ( | SdPage * | pPage, |
SdStyleSheetPool * | pSPool | ||
) |
this loops over the presentation objects of a page and repairs some new settings from old binary files and resets all default strings for empty presentation objects.
Definition at line 835 of file drawdoc.cxx.
References aName, SdStyleSheetPool::CreateOutlineSheetList(), DynCastSdrTextObj(), GetInternalOutliner(), SdPage::GetLayoutName(), sd::ShapeList::getNextShape(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), OutlinerParaObject::GetOutlinerMode(), SdrObject::GetOutlinerParaObject(), SdPage::GetPresentationShapeList(), SdPage::GetPresObjKind(), SdPage::GetPresObjText(), SdPage::GetStyleSheetForPresObj(), SdStyleSheetPool::GetTitleSheet(), sd::ShapeList::isEmpty(), SdrObject::NbcSetStyleSheet(), nId, SD_LT_SEPARATOR, sd::ShapeList::seekShape(), SdPage::SetObjText(), OutlinerParaObject::SetOutlinerMode(), and SdrObject::SetStyleSheet().
SdDrawDocument * SdDrawDocument::OpenBookmarkDoc | ( | const OUString & | rBookmarkFile | ) |
Definition at line 256 of file drawdoc3.cxx.
References tools::SvRef< typename T >::is(), maBookmarkFile, mxBookmarkDocShRef, and OpenBookmarkDoc().
Referenced by SdPageLink::DataChanged(), sd::FuPresentationLayout::DoExecute(), IMPL_LINK_NOARG(), and OpenBookmarkDoc().
SdDrawDocument * SdDrawDocument::OpenBookmarkDoc | ( | SfxMedium * | pMedium | ) |
Definition at line 193 of file drawdoc3.cxx.
References CloseBookmarkDoc(), Application::CreateMessageDialog(), DBG_ASSERT, SfxMedium::GetFilter(), SfxApplication::GetFilterMatcher(), SfxMedium::GetName(), SfxFilterMatcher::GuessFilter(), Impress, tools::SvRef< typename T >::is(), maBookmarkFile, mxBookmarkDocShRef, SdResId(), SfxGetpApp(), and SfxMedium::UseInteractionHandler().
|
overrideprivatevirtual |
Reimplemented from SdrModel.
Definition at line 1069 of file drawdoc.cxx.
References mpDrawPageListWatcher.
|
overridevirtual |
Reimplemented from FmFormModel.
Definition at line 446 of file drawdoc2.cxx.
References SdrModel::GetMasterPage(), SdPage::GetPageKind(), SdrModel::GetStyleSheetPool(), SdrPage::IsMasterPage(), FmFormModel::RemoveMasterPage(), SdStyleSheetPool::RemoveStyleFamily(), and Standard.
Referenced by CheckMasterPages(), InsertBookmarkAsPage(), SdMasterPagesAccess::remove(), and RemoveUnnecessaryMasterPages().
void SdDrawDocument::RemoveObject | ( | SdrObject * | pObj | ) |
Definition at line 928 of file drawdoc4.cxx.
References SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), and mpOnlineSpellingList.
|
overridevirtual |
Reimplemented from FmFormModel.
Definition at line 409 of file drawdoc2.cxx.
References SdPage::DisconnectLink(), SdrModel::GetPageCount(), SdrModel::getUnoModel(), comphelper::LibreOfficeKit::isActive(), SfxLokHelper::notifyDocumentSizeChangedAllViews(), FmFormModel::RemovePage(), ReplacePageInCustomShows(), Standard, UpdatePageObjectsInNotes(), and UpdatePageRelativeURLs().
Referenced by InsertBookmarkAsPage(), and SdDrawPagesAccess::remove().
void SdDrawDocument::RemoveUnnecessaryMasterPages | ( | SdPage * | pMaster = nullptr , |
bool | bOnlyDuplicatePages = false , |
||
bool | bUndo = true |
||
) |
Definition at line 1172 of file drawdoc3.cxx.
References a, SdrModel::AddUndo(), SfxUndoManager::AddUndoAction(), SdrModel::BegUndo(), DBG_ASSERT, SdrModel::EndUndo(), SdPage::GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), GetMasterPageUserCount(), GetMasterSdPage(), GetMasterSdPageCount(), SdrPageView::GetPage(), SdPage::GetPageKind(), SdrPage::GetPageNum(), GetSdPage(), SdrPaintView::GetSdrPageView(), SdrModel::GetSdrUndoFactory(), sd::DrawDocShell::GetUndoManager(), sd::ViewShell::GetView(), sd::DrawDocShell::GetViewShell(), FmFormView::HideSdrPage(), i, SdPage::IsPrecious(), SdrModel::IsUndoEnabled(), mpDocSh, SdrModel::mxStyleSheetPool, Notes, Remove, RemoveMasterPage(), FmFormView::ShowSdrPage(), and Standard.
Referenced by sd::sidebar::DocumentHelper::AssignMasterPageToPage(), sd::sidebar::CurrentMasterPagesSelector::ExecuteCommand(), InsertBookmarkAsPage(), sd::FuInsertFile::InsSDDinDrMode(), NewOrLoadCompleted(), and SetMasterPage().
void SdDrawDocument::RenameLayoutTemplate | ( | const OUString & | rOldLayoutName, |
const OUString & | rNewName | ||
) |
Definition at line 1018 of file drawdoc4.cxx.
References StyleReplaceData::aName, StyleReplaceData::aNewName, OutlinerParaObject::ChangeStyleSheets(), SfxStyleSheetIterator::First(), SfxStyleSheetBase::GetFamily(), SdPage::GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SfxStyleSheetBase::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrModel::mxStyleSheetPool, SfxStyleSheetIterator::Next(), StyleReplaceData::nFamily, StyleReplaceData::nNewFamily, nPos, SD_LT_SEPARATOR, SdPage::SetLayoutName(), SdPage::SetName(), SfxStyleSheetBase::SetName(), and STR_LAYOUT_OUTLINE.
Referenced by RenameLayoutTemplateUndoAction::Redo(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::DrawDocShell::SaveAsOwnFormat(), SdMasterPage::setName(), and RenameLayoutTemplateUndoAction::Undo().
replacespOldPage from all custom shows with pNewPage or removes pOldPage from all custom shows if pNewPage is 0.
replaces a slide from all custom shows with a new one or removes a slide from all custom shows if pNewPage is 0.
Definition at line 33 of file drawdoc_animations.cxx.
References i, mpCustomShowList, and SdCustomShow::ReplacePage().
Referenced by InsertBookmarkAsPage(), and RemovePage().
void SdDrawDocument::SetAllocDocSh | ( | bool | bAlloc | ) |
Definition at line 1148 of file drawdoc3.cxx.
References tools::SvRef< typename T >::clear(), tools::SvRef< typename T >::is(), mbAllocDocSh, and mxAllocedDocShRef.
Referenced by AllocSdDrawDocument(), InsertBookmarkAsObject(), and ~SdDrawDocument().
|
static |
Definition at line 1079 of file drawdoc.cxx.
References LINK, SD_MOD, and Outliner::SetCalcFieldValueHdl().
Referenced by sd::AnnotationManagerImpl::ExecuteReplyToAnnotation(), sd::TextAPIEditSource::GetTextForwarder(), sd::AnnotationWindow::InitControls(), SdDrawDocument(), and sd::TextAPIEditSource::SetText().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 658 of file drawdoc.cxx.
References SfxObjectShell::IsEnableSetModified(), mbNewOrLoadCompleted, mpDocSh, SdrModel::SetChanged(), and sd::DrawDocShell::SetModified().
Referenced by sd::slidesorter::controller::SlotManager::ChangeSlideExclusionState(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), CreateFirstPages(), CreateMissingNotesAndHandoutPages(), sd::FuCustomShowDlg::DoExecute(), sd::FuObjectAnimationParameters::DoExecute(), sd::FuSlideShowDlg::DoExecute(), sd::FuTemplate::DoExecute(), sd::View::DoPaste(), sd::LayerTabBar::EndRenaming(), SdOutliner::EndSpelling(), sd::DrawViewShell::ExecIMap(), sd::MediaObjectBar::Execute(), sd::FuPage::ExecuteDialog(), sd::View::ExecuteDrop(), sd::DrawViewShell::FuTemporary(), sd::OutlineViewShell::GetMenuState(), HtmlExport::HtmlExport(), ImpOnlineSpellCallback(), sd::DrawViewShell::ModifyLayer(), sd::LayerTabBar::MouseButtonDown(), NewOrLoadCompleted(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), SetLanguage(), SdXImpressDocument::SetModified(), sd::SlideShow::setPropertyValue(), SdLayerManager::UpdateLayerView(), and sd::ModifyGuard::~ModifyGuard().
void SdDrawDocument::SetDefaultWritingMode | ( | css::text::WritingMode | eMode | ) |
Definition at line 1206 of file drawdoc4.cxx.
References EE_PARA_JUST(), EE_PARA_WRITINGDIR(), eMode, SdrModel::m_pItemPool, and SvxAdjustItem::SetAdjust().
Referenced by sd::FuPage::ExecuteDialog().
|
inline |
Definition at line 123 of file drawdoc.hxx.
Referenced by sd::DrawDocShell::SaveAs().
|
inline |
Definition at line 615 of file drawdoc.hxx.
|
inline |
Definition at line 618 of file drawdoc.hxx.
|
inline |
Definition at line 619 of file drawdoc.hxx.
|
inline |
Definition at line 617 of file drawdoc.hxx.
|
inline |
Definition at line 616 of file drawdoc.hxx.
void SdDrawDocument::SetExitAfterPresenting | ( | bool | bExitAfterPresenting | ) |
Definition at line 1064 of file drawdoc.cxx.
References mbExitAfterPresenting.
Referenced by sd::SlideShow::SetExitAfterPresenting().
|
inline |
Definition at line 622 of file drawdoc.hxx.
References nValue.
void SdDrawDocument::SetLanguage | ( | const LanguageType | eLang, |
const sal_uInt16 | nId | ||
) |
Definition at line 845 of file drawdoc2.cxx.
References EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), SdrModel::GetDrawOutliner(), Application::GetSettings(), SdrModel::m_pHitTestOutliner, SdrModel::m_pItemPool, meLanguage, meLanguageCJK, meLanguageCTL, nId, and SetChanged().
Referenced by sd::FuHangulHanjaConversion::ConvertStyles(), SdModule::Execute(), SdDrawDocument(), and SdXImpressDocument::setPropertyValue().
void SdDrawDocument::SetMasterPage | ( | sal_uInt16 | nSdPageNum, |
std::u16string_view | rLayoutName, | ||
SdDrawDocument * | pSourceDoc, | ||
bool | bMaster, | ||
bool | bCheckMasters | ||
) |
Definition at line 1370 of file drawdoc3.cxx.
References a, SdrModel::AddUndo(), SfxUndoManager::AddUndoAction(), AllocSdPage(), aName, StyleReplaceData::aName, StyleReplaceData::aNewName, AUTOLAYOUT_NONE, AUTOLAYOUT_NOTES, SdrModel::BegUndo(), SfxBroadcaster::Broadcast(), SfxItemSet::ClearItem(), createNewMasterPageLayoutName(), DBG_ASSERT, Draw, SdrModel::EndUndo(), SfxUndoManager::EnterListAction(), SdPage::GetAutoLayout(), GetDocumentType(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetHelpId(), SfxStyleSheetBase::GetItemSet(), SdPage::GetLayoutName(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SfxStyleSheetBase::GetMask(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), GetMasterSdPage(), SfxStyleSheetBase::GetName(), SdPage::GetName(), SdPage::GetOrientation(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SfxStyleSheetBase::GetParent(), SdrPage::GetRightBorder(), GetSdPage(), SdrModel::GetSdrUndoFactory(), SdrPage::GetSize(), SdrModel::GetStyleSheetPool(), sd::DrawDocShell::GetUndoManager(), SdrPage::GetUpperBorder(), sd::DrawDocShell::GetViewShell(), Impress, InsertMasterPage(), isMasterPageLayoutNameUnique(), SdrModel::IsUndoEnabled(), SfxUndoManager::LeaveListAction(), mpDocSh, SdrModel::mxStyleSheetPool, StyleReplaceData::nFamily, nIndex, StyleReplaceData::nNewFamily, Notes, nPos, SfxItemSet::Put(), RemoveUnnecessaryMasterPages(), SD_LT_SEPARATOR, SdResId(), SfxStyleSheetBase::SetHelpId(), SfxStyleSheetBase::SetName(), SfxStyleSheetBase::SetParent(), SfxObjectShell::SetWaitCursor(), Standard, STR_LAYOUT_OUTLINE, and SdrPage::TRG_GetMasterPage().
Referenced by sd::ViewClipboard::AssignMasterPage(), sd::sidebar::DocumentHelper::AssignMasterPageToPage(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), sd::FuPresentationLayout::DoExecute(), and sd::sidebar::IMPL_LINK_NOARG().
void SdDrawDocument::SetOnlineSpell | ( | bool | bIn | ) |
Definition at line 962 of file drawdoc.cxx.
References Outliner::GetControlWord(), SdrModel::GetDrawOutliner(), mbOnlineSpell, mpInternalOutliner, mpOutliner, Outliner::SetControlWord(), StartOnlineSpelling(), and StopOnlineSpelling().
Referenced by SdModule::Execute(), sd::DrawViewShell::FuSupport(), sd::OutlineViewShell::FuSupport(), sd::DrawViewShell::FuTemporary(), SdTransferable::GetData(), and SdXImpressDocument::initializeForTiledRendering().
|
inline |
Definition at line 248 of file drawdoc.hxx.
References eType.
Referenced by sd::FuPage::ApplyItemSet().
void SdDrawDocument::SetPrinterIndependentLayout | ( | sal_Int32 | nMode | ) |
Set the mode that controls whether (and later how) the formatting of the document depends on the current printer metrics.
nMode | Use <const scope="css::document::PrinterIndependentLayout">ENABLED</const> to make formatting printer-independent and <const scope="css::document::PrinterIndependentLayout">DISABLED</const> to make formatting depend on the current printer metrics. |
Definition at line 1034 of file drawdoc.cxx.
References mnPrinterIndependentLayout, mpDocSh, and sd::DrawDocShell::UpdateRefDevice().
Referenced by SdModule::ApplyItemSet(), and SdDrawDocument().
void SdDrawDocument::SetSelected | ( | SdPage * | pPage, |
bool | bSelect | ||
) |
Definition at line 461 of file drawdoc2.cxx.
References SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), SdrPage::GetPageNum(), Notes, SdPage::SetSelected(), and Standard.
Referenced by sd::FuPresentationLayout::DoExecute(), SdGenericDrawPage::getPropertyValue(), sd::DrawViewShell::ImplDestroy(), sd::slidesorter::SlideSorterViewShell::PostMoveSlidesActions(), sd::OutlineView::PrepareClose(), sd::DrawViewShell::ResetActualPage(), sd::DrawViewShell::SelectPage(), sd::OutlineViewShell::SetCurrentPage(), sd::DrawViewShell::SwitchPage(), sd::slidesorter::controller::SelectionFunction::ModeHandler::SwitchView(), sd::slidesorter::SlideSorterViewShell::SyncPageSelectionToDocument(), and sd::OutlineView::UpdateDocument().
void SdDrawDocument::SetStartWithPresentation | ( | bool | bStartWithPresentation | ) |
Definition at line 1059 of file drawdoc.cxx.
References mbStartWithPresentation.
Referenced by sd::DrawDocShell::ConvertFrom(), sd::DrawDocShell::ImportFrom(), and sd::DrawDocShell::Load().
|
inline |
Definition at line 405 of file drawdoc.hxx.
Referenced by SdModule::ApplyItemSet(), ImplSdPPTImport::Import(), sd::DrawDocShell::ImportFrom(), and SdDrawDocument().
void SdDrawDocument::SetTextDefaults | ( | ) | const |
Definition at line 1144 of file drawdoc4.cxx.
References COL_AUTO(), EE_PARA_BULLET(), EE_PARA_NUMBULLET(), SdStyleSheetPool::GetBulletFont(), SvxNumRule::GetLevelCount(), i, SdrModel::m_pItemPool, SvxNumberFormat::SetAbsLSpace(), SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletColor(), SvxNumberFormat::SetBulletFont(), SvxNumberFormat::SetBulletRelSize(), SvxNumberFormat::SetFirstLineOffset(), SvxBulletItem::SetFont(), vcl::Font::SetFontSize(), SvxNumRule::SetLevel(), SvxNumberFormat::SetNumAdjust(), SvxBulletItem::SetScale(), SvxBulletItem::SetStart(), SvxNumberFormat::SetStart(), SvxBulletItem::SetStyle(), SvxBulletItem::SetSymbol(), SVX_MAX_NUM, and SVX_NUM_CHAR_SPECIAL.
Referenced by SdDrawDocument().
|
private |
Set up a newly created page and insert it into the list of pages.
pPreviousPage | A page to take the size and border geometry from. |
pPage | This is the page to set up and insert. |
sPageName | The name of the new page. |
nInsertionPoint | Index of the page before which the new page will be inserted. |
bIsPageBack | This flag indicates whether to show the background shape. |
bIsPageObj | This flag indicates whether to show the shapes on the master page. |
Definition at line 1345 of file drawdoc2.cxx.
References SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrPage::GetRightBorder(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), InsertPage(), SdrLayerIDSet::Set(), SdPage::SetBorder(), SdPage::SetName(), SdPage::SetSize(), sUNO_LayerName_background, sUNO_LayerName_background_objects, SdrPage::TRG_GetMasterPageVisibleLayers(), and SdrPage::TRG_SetMasterPageVisibleLayers().
Referenced by InsertPageSet().
|
private |
Definition at line 862 of file drawdoc4.cxx.
References GetInternalOutliner(), SdrTextObj::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrTextObj::GetOutlinerParaObject(), OutlinerParaObject::isWrongListEqual(), LINK, mbHasOnlineSpellErrors, mpOnlineSearchItem, and SdrTextObj::NbcSetOutlinerParaObject().
void SdDrawDocument::StartOnlineSpelling | ( | bool | bForceSpelling = true | ) |
Definition at line 729 of file drawdoc4.cxx.
References FillOnlineSpellingList(), LinguMgr::GetHyphenator(), GetInternalOutliner(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdrModel::GetPage(), SdrModel::GetPageCount(), LinguMgr::GetSpellChecker(), SfxObjectShell::IsReadOnly(), LINK, mbInitialOnlineSpellingEnabled, mbOnlineSpell, meLanguage, mpDocSh, mpOnlineSpellingIdle, mpOnlineSpellingList, and StopOnlineSpelling().
Referenced by sd::DrawDocShell::Activate(), sd::FuChar::DoExecute(), sd::FuTemplate::DoExecute(), SdModule::Execute(), sd::DrawDocShell::Execute(), ImpOnlineSpellCallback(), and SetOnlineSpell().
void SdDrawDocument::StopOnlineSpelling | ( | ) |
Definition at line 717 of file drawdoc4.cxx.
References mpOnlineSpellingIdle, and mpOnlineSpellingList.
Referenced by sd::FuChar::DoExecute(), sd::FuTemplate::DoExecute(), SdModule::Execute(), SetOnlineSpell(), StartOnlineSpelling(), and ~SdDrawDocument().
void SdDrawDocument::StopWorkStartupDelay | ( | ) |
Definition at line 932 of file drawdoc2.cxx.
References mpWorkStartupTimer.
Referenced by sd::DrawViewShell::Construct(), sd::DrawDocShell::ConvertFrom(), SdModule::CreateEmptyDocument(), CreateMissingNotesAndHandoutPages(), sd::ViewShell::CreateOrDuplicatePage(), sd::DrawViewShell::FuSupport(), sd::HeaderFooterDialog::HeaderFooterDialog(), SdCGMFilter::Import(), SdXMLFilter::Import(), SdXImpressDocument::initializeDocument(), SdXImpressDocument::InsertSdPage(), sd::ViewShellBase::LateInit(), sd::DrawDocShell::LoadFrom(), SdModule::OutlineToImpress(), sd::DrawDocShell::Save(), and sd::DrawDocShell::SaveAs().
void SdDrawDocument::UnselectAllPages | ( | ) |
Definition at line 713 of file drawdoc2.cxx.
References GetSdPage(), GetSdPageCount(), SdPage::SetSelected(), and Standard.
Referenced by sd::slidesorter::SlideSorterViewShell::SyncPageSelectionToDocument().
void SdDrawDocument::UpdateAllLinks | ( | ) |
updates all links, only links in this document should by resolved
Definition at line 813 of file drawdoc.cxx.
References SfxObjectShell::getEmbeddedObjectContainer(), sfx2::LinkManager::GetLinks(), SdrModel::m_pLinkManager, mpDocSh, s_pDocLockedInsertingLinks, comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), and sfx2::LinkManager::UpdateAllLinks().
Referenced by SdXMLFilter::Import(), and NewOrLoadCompleted().
|
private |
Definition at line 234 of file drawdoc2.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), Notes, and SAL_WARN_IF.
Referenced by DeletePage(), InsertPage(), MovePage(), and RemovePage().
|
private |
Definition at line 310 of file drawdoc2.cxx.
References aURL, EE_FEATURE_FIELD(), SvxFieldItem::GetField(), SfxItemPool::GetItemSurrogates(), SdPage::GetPageKind(), GetPool(), SvxURLField::GetURL(), Notes, nPos, SdResId(), SvxURLField::SetURL(), and u.
Referenced by InsertPage(), and RemovePage().
void SdDrawDocument::UpdatePageRelativeURLs | ( | std::u16string_view | aOldName, |
std::u16string_view | aNewName | ||
) |
Definition at line 267 of file drawdoc2.cxx.
References aURL, EE_FEATURE_FIELD(), SvxFieldItem::GetField(), SfxItemPool::GetItemSurrogates(), GetPool(), SvxURLField::GetURL(), SdResId(), SvxURLField::SetURL(), and u.
|
private |
Definition at line 181 of file drawdoc.hxx.
Referenced by GetAnnotationAuthorIndex().
|
private |
Definition at line 146 of file drawdoc.hxx.
Referenced by CloseBookmarkDoc(), InsertBookmarkAsPage(), and OpenBookmarkDoc().
|
private |
Definition at line 140 of file drawdoc.hxx.
Referenced by ~SdDrawDocument().
|
private |
Definition at line 182 of file drawdoc.hxx.
Referenced by InitLayoutVector().
|
private |
Definition at line 149 of file drawdoc.hxx.
|
private |
Definition at line 184 of file drawdoc.hxx.
Referenced by InitObjectVector().
|
private |
Definition at line 164 of file drawdoc.hxx.
Referenced by AllocSdDrawDocument(), and SetAllocDocSh().
|
private |
Definition at line 186 of file drawdoc.hxx.
|
private |
Definition at line 189 of file drawdoc.hxx.
|
private |
Definition at line 190 of file drawdoc.hxx.
|
private |
Definition at line 188 of file drawdoc.hxx.
|
private |
Definition at line 187 of file drawdoc.hxx.
|
private |
true if mbStartWithPresentation AND Presentation was shown fully
Definition at line 158 of file drawdoc.hxx.
Referenced by SetExitAfterPresenting().
|
private |
Definition at line 144 of file drawdoc.hxx.
Referenced by SpellObject().
|
private |
Definition at line 145 of file drawdoc.hxx.
Referenced by StartOnlineSpelling().
|
private |
Definition at line 153 of file drawdoc.hxx.
Referenced by NewOrLoadCompleted(), and SetChanged().
|
private |
Definition at line 155 of file drawdoc.hxx.
Referenced by NewOrLoadCompleted(), SdDrawDocument(), SetOnlineSpell(), and StartOnlineSpelling().
|
private |
is set to true when starting with command line parameter -start
Definition at line 157 of file drawdoc.hxx.
Referenced by SetStartWithPresentation().
|
private |
Definition at line 156 of file drawdoc.hxx.
|
private |
Definition at line 165 of file drawdoc.hxx.
Referenced by AllocSdDrawDocument(), CreateFirstPages(), and SdDrawDocument().
|
private |
Definition at line 159 of file drawdoc.hxx.
Referenced by GetLanguage(), SdDrawDocument(), SetLanguage(), and StartOnlineSpelling().
|
private |
Definition at line 160 of file drawdoc.hxx.
Referenced by GetLanguage(), and SetLanguage().
|
private |
Definition at line 161 of file drawdoc.hxx.
Referenced by GetLanguage(), and SetLanguage().
|
private |
Definition at line 162 of file drawdoc.hxx.
Referenced by CreatePageNumValue(), and GetPageNumType().
|
private |
Definition at line 192 of file drawdoc.hxx.
|
private |
This member stores the printer independent layout mode.
Please refer to <member>SetPrinterIndependentLayout()</member> for its values.
Definition at line 631 of file drawdoc.hxx.
Referenced by SetPrinterIndependentLayout().
|
private |
Definition at line 167 of file drawdoc.hxx.
Referenced by SdDrawDocument(), and ~SdDrawDocument().
|
private |
Definition at line 143 of file drawdoc.hxx.
Referenced by AllocSdDrawDocument().
|
private |
Definition at line 141 of file drawdoc.hxx.
Referenced by GetCustomShowList(), ReplacePageInCustomShows(), and ~SdDrawDocument().
|
private |
Definition at line 142 of file drawdoc.hxx.
Referenced by CreateDefaultCellStyles(), CreateFirstPages(), createUnoModel(), GetInternalOutliner(), GetOutliner(), GetUndoManager(), InsertBookmarkAsObject(), InsertBookmarkAsPage(), RemoveUnnecessaryMasterPages(), SdDrawDocument(), SetChanged(), SetMasterPage(), SetPrinterIndependentLayout(), StartOnlineSpelling(), and UpdateAllLinks().
|
private |
Definition at line 169 of file drawdoc.hxx.
Referenced by GetActiveSdPageCount(), GetSdPage(), GetSdPageCount(), PageListChanged(), and SdDrawDocument().
|
private |
internal outliner for creation of text objects
Definition at line 131 of file drawdoc.hxx.
Referenced by GetInternalOutliner(), NewOrLoadCompleted(), SetOnlineSpell(), and ~SdDrawDocument().
|
private |
Definition at line 170 of file drawdoc.hxx.
Referenced by GetMasterSdPage(), GetMasterSdPageCount(), MasterPageListChanged(), and SdDrawDocument().
|
private |
Definition at line 138 of file drawdoc.hxx.
Referenced by ImpOnlineSpellCallback(), SpellObject(), and ~SdDrawDocument().
|
private |
Definition at line 134 of file drawdoc.hxx.
Referenced by StartOnlineSpelling(), and StopOnlineSpelling().
|
private |
Definition at line 136 of file drawdoc.hxx.
Referenced by FillOnlineSpellingList(), InsertObject(), RemoveObject(), StartOnlineSpelling(), and StopOnlineSpelling().
|
private |
local outliner for outline mode
Definition at line 129 of file drawdoc.hxx.
Referenced by dumpAsXml(), GetOutliner(), NewOrLoadCompleted(), SetOnlineSpell(), and ~SdDrawDocument().
|
private |
Definition at line 132 of file drawdoc.hxx.
Referenced by CreateFirstPages(), StopWorkStartupDelay(), and ~SdDrawDocument().
|
private |
Definition at line 127 of file drawdoc.hxx.
|
private |
Definition at line 163 of file drawdoc.hxx.
Referenced by AllocSdDrawDocument(), and SetAllocDocSh().
|
private |
Definition at line 147 of file drawdoc.hxx.
Referenced by CloseBookmarkDoc(), InsertBookmark(), InsertBookmarkAsObject(), InsertBookmarkAsPage(), and OpenBookmarkDoc().
|
private |
Definition at line 151 of file drawdoc.hxx.
Referenced by getPresentation().
|
static |
static to prevent recursions while resolving links
Definition at line 491 of file drawdoc.hxx.
Referenced by SdPageLink::DataChanged(), and UpdateAllLinks().