#include <unomodel.hxx>
Definition at line 347 of file unomodel.hxx.
◆ SdMasterPagesAccess()
◆ ~SdMasterPagesAccess()
SdMasterPagesAccess::~SdMasterPagesAccess |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ addEventListener()
void SAL_CALL SdMasterPagesAccess::addEventListener |
( |
const css::uno::Reference< css::lang::XEventListener > & |
xListener | ) |
|
|
overridevirtual |
◆ dispose()
void SAL_CALL SdMasterPagesAccess::dispose |
( |
void |
| ) |
|
|
overridevirtual |
◆ getByIndex()
uno::Any SAL_CALL SdMasterPagesAccess::getByIndex |
( |
sal_Int32 |
Index | ) |
|
|
overridevirtual |
◆ getCount()
sal_Int32 SAL_CALL SdMasterPagesAccess::getCount |
( |
| ) |
|
|
overridevirtual |
◆ getElementType()
uno::Type SAL_CALL SdMasterPagesAccess::getElementType |
( |
| ) |
|
|
overridevirtual |
◆ getImplementationName()
OUString SAL_CALL SdMasterPagesAccess::getImplementationName |
( |
| ) |
|
|
overridevirtual |
◆ getSupportedServiceNames()
uno::Sequence< OUString > SAL_CALL SdMasterPagesAccess::getSupportedServiceNames |
( |
| ) |
|
|
overridevirtual |
◆ hasElements()
sal_Bool SAL_CALL SdMasterPagesAccess::hasElements |
( |
| ) |
|
|
overridevirtual |
◆ insertNewByIndex()
uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIndex |
( |
sal_Int32 |
nIndex | ) |
|
|
overridevirtual |
Definition at line 3238 of file unomodel.cxx.
References SdDrawDocument::AllocSdPage(), AUTOLAYOUT_NOTES, SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetName(), SdrPage::GetRightBorder(), SdDrawDocument::GetSdPage(), SdrPage::GetSize(), SdrModel::GetStyleSheetPool(), SdrPage::GetUpperBorder(), i, SdDrawDocument::InsertMasterPage(), SdXImpressDocument::mpDoc, mpModel, Notes, SD_LT_SEPARATOR, SdResId(), SdXImpressDocument::SetModified(), Standard, and STR_LAYOUT_OUTLINE.
◆ remove()
void SAL_CALL SdMasterPagesAccess::remove |
( |
const css::uno::Reference< css::drawing::XDrawPage > & |
xPage | ) |
|
|
overridevirtual |
Removes the specified SdMasterPage from the model and the internal list.
It only works, if there is no normal page using this page as MasterPage in the model.
Definition at line 3328 of file unomodel.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), SdrUndoFactory::CreateUndoDeletePage(), DBG_ASSERT, SdrModel::EndUndo(), SdrModel::GetMasterPage(), SdDrawDocument::GetMasterPageUserCount(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SvxDrawPage::GetSdrPage(), SdrModel::GetSdrUndoFactory(), SdrPage::IsMasterPage(), SdrModel::IsUndoEnabled(), SdXImpressDocument::mpDoc, mpModel, SdDrawDocument::RemoveMasterPage(), SdResId(), and Standard.
◆ removeEventListener()
void SAL_CALL SdMasterPagesAccess::removeEventListener |
( |
const css::uno::Reference< css::lang::XEventListener > & |
aListener | ) |
|
|
overridevirtual |
◆ supportsService()
sal_Bool SAL_CALL SdMasterPagesAccess::supportsService |
( |
const OUString & |
ServiceName | ) |
|
|
overridevirtual |
◆ mpModel
The documentation for this class was generated from the following files: