LibreOffice Module sd (master) 1
|
#include <memory>
#include <string_view>
#include <sfx2/docfile.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/app.hxx>
#include <svl/itemset.hxx>
#include <tools/debug.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <sfx2/fcontnr.hxx>
#include <svl/style.hxx>
#include <svx/svdpagv.hxx>
#include <svx/svdundo.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <xmloff/autolayout.hxx>
#include <strings.hrc>
#include <drawdoc.hxx>
#include <sdmod.hxx>
#include <sdpage.hxx>
#include <stlpool.hxx>
#include <sdresid.hxx>
#include <customshowlist.hxx>
#include <sdxfer.hxx>
#include <unmovss.hxx>
#include <unchss.hxx>
#include <unprlout.hxx>
#include <DrawDocShell.hxx>
#include <GraphicDocShell.hxx>
#include <ViewShell.hxx>
#include <View.hxx>
#include <ViewShellBase.hxx>
#include <strings.hxx>
Go to the source code of this file.
Functions | |
static void | lcl_IterateBookmarkPages (SdDrawDocument &rDoc, SdDrawDocument *pBookmarkDoc, const std::vector< OUString > &rBookmarkList, sal_uInt16 nBMSdPageCount, InsertBookmarkAsPage_FindDuplicateLayouts &rPageIterator, bool bRenameDuplicates) |
static bool | isMasterPageLayoutNameUnique (const SdDrawDocument &rDoc, std::u16string_view rCandidate) |
Exchange master page. More... | |
static OUString | createNewMasterPageLayoutName (const SdDrawDocument &rDoc) |
|
static |
Definition at line 1353 of file drawdoc3.cxx.
References isMasterPageLayoutNameUnique(), nCount, and SdResId().
Referenced by SdDrawDocument::SetMasterPage().
|
static |
Exchange master page.
Either the nSdPageNum gets a new, own master page or the master page is exchanged completely (which then applies to all pages).
nSdPageNum : page number that the new master page should get. rLayoutName : LayoutName of the new master page pSourceDoc : document (template) to get the master page from bMaster : exchange the master page of nSdPageNum bCheckMasters: remove unused master pages
If pSourceDoc == NULL, an empty master page is applied. If rLayoutName is empty, the first master page is used.
Definition at line 1326 of file drawdoc3.cxx.
References a, SdrPage::GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), nIndex, and SD_LT_SEPARATOR.
Referenced by createNewMasterPageLayoutName(), and SdDrawDocument::SetMasterPage().
|
static |
Definition at line 125 of file drawdoc3.cxx.
References SdrModel::GetPage(), SdDrawDocument::GetPageByName(), SdPage::GetPageKind(), SdDrawDocument::GetSdPage(), SdrPage::IsMasterPage(), nPos, SDRPAGE_NOTFOUND, Standard, and SdrPage::TRG_GetMasterPage().
Referenced by SdDrawDocument::InsertBookmarkAsPage().