LibreOffice Module svx (master)
1
|
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / margins). More...
#include <svdpage.hxx>
Public Member Functions | |
void | AddPageUser (sdr::PageUser &rNewUser) |
void | RemovePageUser (sdr::PageUser &rOldUser) |
SdrModel & | getSdrModelFromSdrPage () const |
const sdr::contact::ViewContact & | GetViewContact () const |
sdr::contact::ViewContact & | GetViewContact () |
void | ActionChanged () |
SdrPageProperties & | getSdrPageProperties () |
const SdrPageProperties & | getSdrPageProperties () const |
const SdrPageProperties * | getCorrectSdrPageProperties () const |
SdrPage (SdrModel &rModel, bool bMasterPage=false) | |
virtual | ~SdrPage () override |
virtual SdrPage * | CloneSdrPage (SdrModel &rTargetModel) const |
bool | IsMasterPage () const |
void | SetInserted (bool bNew=true) |
bool | IsInserted () const |
void | SetChanged () |
virtual SdrPage * | getSdrPageFromSdrObjList () const override |
void | SetPageNum (sal_uInt16 nNew) |
sal_uInt16 | GetPageNum () const |
void | setPageBorderOnlyLeftRight (bool bNew) |
bool | getPageBorderOnlyLeftRight () const |
virtual void | SetSize (const Size &aSiz) |
Size | GetSize () const |
virtual void | SetOrientation (Orientation eOri) |
virtual Orientation | GetOrientation () const |
sal_Int32 | GetWidth () const |
sal_Int32 | GetHeight () const |
virtual void | SetBorder (sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr) |
virtual void | SetLeftBorder (sal_Int32 nBorder) |
virtual void | SetUpperBorder (sal_Int32 nBorder) |
virtual void | SetRightBorder (sal_Int32 nBorder) |
virtual void | SetLowerBorder (sal_Int32 nBorder) |
sal_Int32 | GetLeftBorder () const |
sal_Int32 | GetUpperBorder () const |
sal_Int32 | GetRightBorder () const |
sal_Int32 | GetLowerBorder () const |
bool | TRG_HasMasterPage () const |
void | TRG_SetMasterPage (SdrPage &rNew) |
void | TRG_ClearMasterPage () |
SdrPage & | TRG_GetMasterPage () const |
const SdrLayerIDSet & | TRG_GetMasterPageVisibleLayers () const |
void | TRG_SetMasterPageVisibleLayers (const SdrLayerIDSet &rNew) |
sdr::contact::ViewContact & | TRG_GetMasterPageDescriptorViewContact () const |
void | MakePageObjectsNamesUnique () |
const SdrLayerAdmin & | GetLayerAdmin () const |
changing the layers does not set the modified-flag! More... | |
SdrLayerAdmin & | GetLayerAdmin () |
virtual OUString | GetLayoutName () const |
virtual const SdrPageGridFrameList * | GetGridFrameList (const SdrPageView *pPV, const tools::Rectangle *pRect) const |
for snap-to-grid in Writer, also for AlignObjects if 1 object is marked if pRect != null, then the pages that are intersected by this Rect, otherwise the visible pages More... | |
css::uno::Reference< css::uno::XInterface > const & | getUnoPage () |
virtual SfxStyleSheet * | GetTextStyleSheetForObject (SdrObject *pObj) const |
Color | GetPageBackgroundColor () const |
deprecated returns an averaged background color of this page More... | |
Color | GetPageBackgroundColor (SdrPageView const *pView, bool bScreenDisplay=true) const |
deprecated returns an averaged background color of this page More... | |
virtual bool | checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit) |
this method returns true if the object from the ViewObjectContact should be visible on this page while rendering. More... | |
![]() | |
virtual SdrObject * | getSdrObjectFromSdrObjList () const |
void | CopyObjects (const SdrObjList &rSrcList) |
void | ClearSdrObjList () |
void | RecalcObjOrdNums () |
recalculate order numbers / ZIndex More... | |
bool | IsObjOrdNumsDirty () const |
virtual void | NbcInsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) |
virtual void | InsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) |
void | sort (std::vector< sal_Int32 > &sortOrder) |
void | InsertObjectThenMakeNameUnique (SdrObject *pObj) |
void | InsertObjectThenMakeNameUnique (SdrObject *pObj, std::unordered_set< rtl::OUString > &rNameSet, size_t nPos=SAL_MAX_SIZE) |
virtual SdrObject * | NbcRemoveObject (size_t nObjNum) |
remove from list without delete More... | |
virtual SdrObject * | RemoveObject (size_t nObjNum) |
virtual SdrObject * | ReplaceObject (SdrObject *pNewObj, size_t nObjNum) |
Replace existing object by different one. More... | |
virtual SdrObject * | SetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum) |
Modify ZOrder of an SdrObject. More... | |
void | SetSdrObjListRectsDirty () |
const tools::Rectangle & | GetAllObjSnapRect () const |
const tools::Rectangle & | GetAllObjBoundRect () const |
void | NbcReformatAllTextObjects () |
reformat all text objects, e.g. when changing printer More... | |
void | ReformatAllTextObjects () |
void | ReformatAllEdgeObjects () |
#103122# reformats all edge objects that are connected to other objects More... | |
void | BurnInStyleSheetAttributes () |
convert attributes of the style to hard formatting More... | |
size_t | GetObjCount () const |
SdrObject * | GetObj (size_t nNum) const |
virtual bool | IsReadOnly () const |
linked page or linked group object More... | |
void | FlattenGroups () |
Makes the object list flat, i.e. More... | |
void | UnGroupObj (size_t nObjNum) |
Ungroup the object at the given index. More... | |
bool | HasObjectNavigationOrder () const |
Return whether there is an explicit, user defined, object navigation order. More... | |
void | SetObjectNavigationPosition (SdrObject &rObject, const sal_uInt32 nNewNavigationPosition) |
Set the navigation position of the given object to the specified value. More... | |
SdrObject * | GetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const |
Return the object for the given navigation position. More... | |
void | ClearObjectNavigationOrder () |
Restore the navigation order to that defined by the z-order. More... | |
bool | RecalcNavigationPositions () |
Set the navigation position of all SdrObjects to their position in the mxNavigationOrder list. More... | |
void | SetNavigationOrder (const css::uno::Reference< css::container::XIndexAccess > &rxOrder) |
Set the navigation order to the one defined by the given list of XShape objects. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
![]() | |
WeakBase () | |
virtual | ~WeakBase () |
void | clearWeak () |
Protected Member Functions | |
std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () |
void | SetUnoPage (css::uno::Reference< css::drawing::XDrawPage > const &) |
virtual css::uno::Reference< css::uno::XInterface > | createUnoPage () |
void | lateInit (const SdrPage &rSrcPage) |
void | TRG_ImpMasterPageRemoved (const SdrPage &rRemovedPage) |
![]() | |
void | RecalcRects () |
SdrObjList () | |
virtual | ~SdrObjList () |
Protected Attributes | |
std::unique_ptr< sdr::MasterPageDescriptor > | mpMasterPageDescriptor |
sal_uInt16 | nPageNum |
bool | mbMaster: 1 |
bool | mbInserted: 1 |
bool | mbObjectsNotPersistent: 1 |
bool | mbPageBorderOnlyLeftRight: 1 |
Private Member Functions | |
SdrPage & | operator= (const SdrPage &)=delete |
SdrPage (const SdrPage &)=delete | |
Private Attributes | |
sdr::PageUserVector | maPageUsers |
std::unique_ptr< sdr::contact::ViewContact > | mpViewContact |
SdrModel & | mrSdrModelFromSdrPage |
sal_Int32 | mnWidth |
sal_Int32 | mnHeight |
sal_Int32 | mnBorderLeft |
sal_Int32 | mnBorderUpper |
sal_Int32 | mnBorderRight |
sal_Int32 | mnBorderLower |
std::unique_ptr< SdrLayerAdmin > | mpLayerAdmin |
std::unique_ptr< SdrPageProperties > | mpSdrPageProperties |
css::uno::Reference< css::uno::XInterface > | mxUnoPage |
Friends | |
class | SdrModel |
class | SvxUnoDrawPagesAccess |
class | reportdesign::OSection |
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / margins).
The latter is required to "catch" objects during drag-and-drop. The SdrPage allows (via SdrObjList) inserting and removing SdrObjects, as well as moving them into the foreground or background. Also it's possible to request and directly set the order number (ZOrder) of SdrObjects.
Definition at line 365 of file svdpage.hxx.
|
privatedelete |
Referenced by CloneSdrPage().
|
explicit |
Definition at line 1226 of file svdpage.cxx.
References mnHeight, mnWidth, and mpSdrPageProperties.
|
overridevirtual |
Definition at line 1248 of file svdpage.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, maPageUsers, mpLayerAdmin, mpSdrPageProperties, mpViewContact, mxUnoPage, and TRG_ClearMasterPage().
void SdrPage::ActionChanged | ( | ) |
Definition at line 1742 of file svdpage.cxx.
References sdr::contact::ViewContact::ActionChanged(), GetViewContact(), TRG_GetMasterPageDescriptorViewContact(), and TRG_HasMasterPage().
Referenced by ImpPageChange(), SetChanged(), and SetPageNum().
void SdrPage::AddPageUser | ( | sdr::PageUser & | rNewUser | ) |
Definition at line 1077 of file svdpage.cxx.
References maPageUsers.
Referenced by sdr::MasterPageDescriptor::MasterPageDescriptor(), SdrPageObj::SdrPageObj(), and SdrPageObj::SetReferencedPage().
|
virtual |
this method returns true if the object from the ViewObjectContact should be visible on this page while rendering.
bEdit selects if visibility test is for an editing view or a final render, like printing.
Definition at line 1732 of file svdpage.cxx.
Reimplemented in FmFormPage.
Definition at line 1332 of file svdpage.cxx.
References lateInit(), and SdrPage().
Referenced by SdrModel::CopyPages(), and unogallery::GalleryTheme::insertDrawingByIndex().
|
protected |
Definition at line 1094 of file svdpage.cxx.
Referenced by GetViewContact().
|
protectedvirtual |
Definition at line 1677 of file svdpage.cxx.
Referenced by getUnoPage().
const SdrPageProperties * SdrPage::getCorrectSdrPageProperties | ( | ) | const |
Definition at line 1764 of file svdpage.cxx.
References getSdrPageProperties(), and mpMasterPageDescriptor.
|
virtual |
for snap-to-grid in Writer, also for AlignObjects if 1 object is marked if pRect != null, then the pages that are intersected by this Rect, otherwise the visible pages
Definition at line 1618 of file svdpage.cxx.
Referenced by SdrEditView::AlignMarkedObjects(), and SdrPageView::DrawPageViewGrid().
sal_Int32 SdrPage::GetHeight | ( | ) | const |
Definition at line 1392 of file svdpage.cxx.
References mnHeight.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageFill::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfPageShadow::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfPageFill::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfOuterPageBorder::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfInnerPageBorder::createViewIndependentPrimitive2DSequence(), SdrPageView::DrawPageViewGrid(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::PagePrimitiveExtractor::InvalidatePartOfView(), and SdrSnapView::SnapPos().
const SdrLayerAdmin & SdrPage::GetLayerAdmin | ( | ) | const |
changing the layers does not set the modified-flag!
Definition at line 1623 of file svdpage.cxx.
References mpLayerAdmin.
Referenced by SdrCreateView::ImpBegCreateObj(), SdrExchangeView::ImpGetPasteLayer(), SdrEditView::InsertObjectAtView(), SdrPageView::IsLayer(), SdrExchangeView::Paste(), SdrPageView::SetLayer(), and SdrCreateView::SetupObjLayer().
SdrLayerAdmin & SdrPage::GetLayerAdmin | ( | ) |
Definition at line 1628 of file svdpage.cxx.
References mpLayerAdmin.
|
virtual |
Definition at line 1633 of file svdpage.cxx.
sal_Int32 SdrPage::GetLeftBorder | ( | ) | const |
Definition at line 1467 of file svdpage.cxx.
References mnBorderLeft.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfInnerPageBorder::createViewIndependentPrimitive2DSequence(), SdrPageView::DrawPageViewGrid(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible(), SdrPageView::SdrPageView(), and SdrSnapView::SnapPos().
sal_Int32 SdrPage::GetLowerBorder | ( | ) | const |
Definition at line 1482 of file svdpage.cxx.
References mnBorderLower.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfInnerPageBorder::createViewIndependentPrimitive2DSequence(), SdrPageView::DrawPageViewGrid(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible(), and SdrSnapView::SnapPos().
|
virtual |
Definition at line 1383 of file svdpage.cxx.
References GetSize(), Size::Height(), and Size::Width().
Color SdrPage::GetPageBackgroundColor | ( | ) | const |
deprecated returns an averaged background color of this page
*deprecated, use GetBackgroundColor with SdrPageView
Definition at line 1721 of file svdpage.cxx.
Color SdrPage::GetPageBackgroundColor | ( | SdrPageView const * | pView, |
bool | bScreenDisplay = true |
||
) | const |
deprecated returns an averaged background color of this page
returns an averaged background color of this page
Definition at line 1691 of file svdpage.cxx.
References COL_AUTO(), svtools::DOCCOLOR, SfxItemSet::Get(), SdrPageView::GetApplicationDocumentColor(), svtools::ColorConfig::GetColorValue(), GetDraftFillColor(), SdrPageProperties::GetItemSet(), getSdrPageProperties(), IsMasterPage(), svtools::ColorConfigValue::nColor, TRG_GetMasterPage(), TRG_HasMasterPage(), and XATTR_FILLSTYLE().
|
inline |
Definition at line 465 of file svdpage.hxx.
Referenced by sdr::contact::ViewContactOfOuterPageBorder::createViewIndependentPrimitive2DSequence().
sal_uInt16 SdrPage::GetPageNum | ( | ) | const |
Definition at line 1500 of file svdpage.cxx.
References getSdrModelFromSdrPage(), mbInserted, mbMaster, nPageNum, and SdrModel::RecalcPageNums().
Referenced by SdrModel::CopyPages(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), SvxShape::getPropertyValueImpl(), SdrModel::Merge(), SvxUnoDrawPagesAccess::remove(), SdrUndoPageList::SdrUndoPageList(), SdrUndoPageMasterPage::SdrUndoPageMasterPage(), and SdrUndoPageChangeMasterPage::Undo().
sal_Int32 SdrPage::GetRightBorder | ( | ) | const |
Definition at line 1477 of file svdpage.cxx.
References mnBorderRight.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfInnerPageBorder::createViewIndependentPrimitive2DSequence(), SdrPageView::DrawPageViewGrid(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible(), and SdrSnapView::SnapPos().
|
inline |
Definition at line 390 of file svdpage.hxx.
Referenced by SvxDrawPage::add(), SvxDrawPage::CreateShapeByTypeAndInventor(), FmFormPageImpl::findPlaceInFormComponentHierarchy(), FmFormPageImpl::getDefaultForm(), FmFormPageImpl::getForms(), GetPageNum(), ImpPageChange(), FmFormPage::InsertObject(), SdrUndoPageChangeMasterPage::Redo(), FmFormPage::RemoveObject(), SdrViewIter::SdrViewIter(), SetChanged(), SdrUndoPageRemoveMasterPage::Undo(), and SdrUndoPageChangeMasterPage::Undo().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 1523 of file svdpage.cxx.
SdrPageProperties & SdrPage::getSdrPageProperties | ( | ) |
Definition at line 1754 of file svdpage.cxx.
References mpSdrPageProperties.
Referenced by SdrUndoDelPage::clearFillBitmap(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), SdrObject::getBackgroundFillSet(), sdr::MasterPageDescriptor::getCorrectSdrPageProperties(), getCorrectSdrPageProperties(), GetPageBackgroundColor(), lateInit(), SdrUndoDelPage::restoreFillBitmap(), and SdrUndoDelPage::SdrUndoDelPage().
const SdrPageProperties & SdrPage::getSdrPageProperties | ( | ) | const |
Definition at line 1759 of file svdpage.cxx.
References mpSdrPageProperties.
Size SdrPage::GetSize | ( | ) | const |
Definition at line 1361 of file svdpage.cxx.
References mnHeight, and mnWidth.
Referenced by sdr::contact::ViewObjectContactOfPageObj::createPrimitive2DSequence(), GetOrientation(), SdrExchangeView::Paste(), and SetOrientation().
|
virtual |
Definition at line 1684 of file svdpage.cxx.
References SdrObject::GetStyleSheet().
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().
uno::Reference< uno::XInterface > const & SdrPage::getUnoPage | ( | ) |
Definition at line 1666 of file svdpage.cxx.
References createUnoPage(), and mxUnoPage.
Referenced by SvxShape::getParent(), SdrObject::getUnoShape(), and SvxUnoDrawPagesAccess::insertNewByIndex().
sal_Int32 SdrPage::GetUpperBorder | ( | ) | const |
Definition at line 1472 of file svdpage.cxx.
References mnBorderUpper.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfInnerPageBorder::createViewIndependentPrimitive2DSequence(), SdrPageView::DrawPageViewGrid(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible(), SdrPageView::SdrPageView(), and SdrSnapView::SnapPos().
const sdr::contact::ViewContact & SdrPage::GetViewContact | ( | ) | const |
Definition at line 1099 of file svdpage.cxx.
References mpViewContact.
Referenced by ActionChanged(), sdr::contact::PagePrimitiveExtractor::createPrimitive2DSequenceForPage(), sdr::contact::ObjectContactOfPageView::DoProcessDisplay(), sdr::contact::ObjectContactOfPageView::getActiveViewContact(), sdr::contact::ObjectContactOfPagePainter::GetPaintObjectViewContact(), sdr::contact::ViewContactOfMasterPageDescriptor::GetParentContact(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ObjectContactOfPageView::ProcessDisplay(), and TRG_SetMasterPage().
sdr::contact::ViewContact & SdrPage::GetViewContact | ( | ) |
Definition at line 1108 of file svdpage.cxx.
References CreateObjectSpecificViewContact(), and mpViewContact.
sal_Int32 SdrPage::GetWidth | ( | ) | const |
Definition at line 1366 of file svdpage.cxx.
References mnWidth.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageFill::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfPageShadow::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfPageFill::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfOuterPageBorder::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfInnerPageBorder::createViewIndependentPrimitive2DSequence(), SdrPageView::DrawPageViewGrid(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::PagePrimitiveExtractor::InvalidatePartOfView(), and SdrSnapView::SnapPos().
|
inline |
Definition at line 452 of file svdpage.hxx.
Referenced by SdrUndoPage::ImpInsertPage(), SdrUndoPage::ImpMovePage(), SdrUndoPage::ImpRemovePage(), SdrPageProperties::isUsedByModel(), and SdrPaintView::Notify().
|
inline |
Definition at line 450 of file svdpage.hxx.
Referenced by sdr::contact::ViewContactOfSdrPage::ActionChanged(), SdrUndoDelPage::clearFillBitmap(), FmFormPage::CloneSdrPage(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence(), SdrObject::getBackgroundFillSet(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), sdr::MasterPageDescriptor::getCorrectSdrPageProperties(), GetPageBackgroundColor(), SdrViewIter::ImpCheckPageView(), SdrUndoPage::ImpInsertPage(), SdrUndoPage::ImpMovePage(), SdrUndoPage::ImpRemovePage(), lateInit(), SdrPageProperties::PutItem(), SdrPageProperties::PutItemSet(), SdrUndoDelPage::restoreFillBitmap(), and SdrUndoDelPage::SdrUndoDelPage().
Definition at line 1284 of file svdpage.cxx.
References assert(), SdrObjList::CopyObjects(), SdrPageProperties::GetItemSet(), SdrObjList::GetObjCount(), getSdrPageProperties(), SdrPageProperties::GetStyleSheet(), IsMasterPage(), mbMaster, mbObjectsNotPersistent, mbPageBorderOnlyLeftRight, mnBorderLeft, mnBorderLower, mnBorderRight, mnBorderUpper, mnHeight, mnWidth, mpSdrPageProperties, mpViewContact, mxUnoPage, nPageNum, TRG_ClearMasterPage(), TRG_GetMasterPage(), TRG_GetMasterPageVisibleLayers(), TRG_HasMasterPage(), TRG_SetMasterPage(), and TRG_SetMasterPageVisibleLayers().
Referenced by CloneSdrPage(), and FmFormPage::lateInit().
void SdrPage::MakePageObjectsNamesUnique | ( | ) |
Definition at line 1591 of file svdpage.cxx.
References DeepWithGroups, SdrObject::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), SdrObjListIter::IsMore(), SdrObject::MakeNameUnique(), and SdrObjListIter::Next().
Referenced by SdrModel::InsertPage().
void SdrPage::RemovePageUser | ( | sdr::PageUser & | rOldUser | ) |
Definition at line 1082 of file svdpage.cxx.
References maPageUsers.
Referenced by SdrPageObj::SetReferencedPage(), sdr::MasterPageDescriptor::~MasterPageDescriptor(), and SdrPageObj::~SdrPageObj().
|
virtual |
Definition at line 1397 of file svdpage.cxx.
References mnBorderLeft, mnBorderLower, mnBorderRight, mnBorderUpper, and SetChanged().
Referenced by GraphCtrl::InitSdrModel().
void SdrPage::SetChanged | ( | ) |
Definition at line 1515 of file svdpage.cxx.
References ActionChanged(), getSdrModelFromSdrPage(), and SdrModel::SetChanged().
Referenced by SetBorder(), SetLeftBorder(), SetLowerBorder(), SetRightBorder(), SetSize(), SetUpperBorder(), and TRG_ClearMasterPage().
void SdrPage::SetInserted | ( | bool | bNew = true | ) |
Definition at line 1638 of file svdpage.cxx.
References DeepNoGroups, SdrObjListIter::IsMore(), mbInserted, and SdrObjListIter::Next().
Referenced by SdrModel::InsertMasterPage(), SdrModel::InsertPage(), SdrModel::MoveMasterPage(), SdrModel::MovePage(), SdrModel::RemoveMasterPage(), and SdrModel::RemovePage().
|
virtual |
Definition at line 1431 of file svdpage.cxx.
References mnBorderLeft, and SetChanged().
|
virtual |
Definition at line 1458 of file svdpage.cxx.
References mnBorderLower, and SetChanged().
|
virtual |
Definition at line 1371 of file svdpage.cxx.
References GetSize(), Size::Height(), SetSize(), and Size::Width().
|
inline |
Definition at line 464 of file svdpage.hxx.
void SdrPage::SetPageNum | ( | sal_uInt16 | nNew | ) |
Definition at line 1488 of file svdpage.cxx.
References ActionChanged(), and nPageNum.
Referenced by SdrModel::InsertMasterPage(), SdrModel::InsertPage(), and SdrModel::RecalcPageNums().
|
virtual |
Definition at line 1449 of file svdpage.cxx.
References mnBorderRight, and SetChanged().
Definition at line 1339 of file svdpage.cxx.
References Size::Height(), mnHeight, mnWidth, SetChanged(), and Size::Width().
Referenced by GraphCtrl::InitSdrModel(), Svx3DPreviewControl::Resize(), Svx3DLightControl::Resize(), and SetOrientation().
|
protected |
Definition at line 1661 of file svdpage.cxx.
References mxUnoPage.
|
virtual |
Definition at line 1440 of file svdpage.cxx.
References mnBorderUpper, and SetChanged().
void SdrPage::TRG_ClearMasterPage | ( | ) |
Definition at line 1542 of file svdpage.cxx.
References mpMasterPageDescriptor, and SetChanged().
Referenced by lateInit(), sdr::MasterPageDescriptor::PageInDestruction(), SdrUndoPageRemoveMasterPage::Redo(), SdrUndoPageChangeMasterPage::Redo(), TRG_ImpMasterPageRemoved(), TRG_SetMasterPage(), SdrUndoPageChangeMasterPage::Undo(), and ~SdrPage().
SdrPage & SdrPage::TRG_GetMasterPage | ( | ) | const |
Definition at line 1555 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by SdrObject::getBackgroundFillSet(), GetPageBackgroundColor(), SdrViewIter::ImpCheckPageView(), lateInit(), SdrModel::Merge(), SdrMarkView::PickObj(), SdrUndoDelPage::SdrUndoDelPage(), SdrUndoPageMasterPage::SdrUndoPageMasterPage(), TRG_ImpMasterPageRemoved(), and SdrUndoPageChangeMasterPage::Undo().
sdr::contact::ViewContact & SdrPage::TRG_GetMasterPageDescriptorViewContact | ( | ) | const |
Definition at line 1573 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by sdr::contact::ViewContactOfSdrPage::ActionChanged(), ActionChanged(), sdr::contact::ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence(), and sdr::contact::ViewContactOfSdrPage::GetViewContact().
const SdrLayerIDSet & SdrPage::TRG_GetMasterPageVisibleLayers | ( | ) | const |
Definition at line 1561 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by lateInit(), SdrMarkView::PickObj(), SdrUndoPageMasterPage::SdrUndoPageMasterPage(), and SdrUndoPageChangeMasterPage::Undo().
|
inline |
Definition at line 484 of file svdpage.hxx.
Referenced by sdr::contact::ViewContactOfSdrPage::ActionChanged(), ActionChanged(), sdr::contact::ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence(), SdrObject::getBackgroundFillSet(), GetPageBackgroundColor(), sdr::contact::ViewContactOfSdrPage::GetViewContact(), lateInit(), SdrModel::Merge(), SdrMarkView::PickObj(), SdrUndoDelPage::SdrUndoDelPage(), TRG_ImpMasterPageRemoved(), and SdrUndoPageChangeMasterPage::Undo().
Definition at line 1580 of file svdpage.cxx.
References TRG_ClearMasterPage(), TRG_GetMasterPage(), and TRG_HasMasterPage().
Referenced by SdrModel::RemoveMasterPage().
Definition at line 1530 of file svdpage.cxx.
References sdr::contact::ViewContact::ActionChanged(), GetViewContact(), mpMasterPageDescriptor, and TRG_ClearMasterPage().
Referenced by lateInit(), SdrUndoPageChangeMasterPage::Redo(), SdrUndoPageRemoveMasterPage::Undo(), and SdrUndoPageChangeMasterPage::Undo().
void SdrPage::TRG_SetMasterPageVisibleLayers | ( | const SdrLayerIDSet & | rNew | ) |
Definition at line 1567 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by lateInit(), SdrUndoPageChangeMasterPage::Redo(), SdrUndoPageRemoveMasterPage::Undo(), and SdrUndoPageChangeMasterPage::Undo().
|
friend |
Definition at line 373 of file svdpage.hxx.
|
friend |
Definition at line 368 of file svdpage.hxx.
|
friend |
Definition at line 369 of file svdpage.hxx.
|
private |
Definition at line 381 of file svdpage.hxx.
Referenced by AddPageUser(), RemovePageUser(), and ~SdrPage().
|
protected |
Definition at line 429 of file svdpage.hxx.
Referenced by GetPageNum(), and SetInserted().
|
protected |
Definition at line 428 of file svdpage.hxx.
Referenced by GetPageNum(), and lateInit().
|
protected |
Definition at line 430 of file svdpage.hxx.
Referenced by lateInit().
|
protected |
Definition at line 433 of file svdpage.hxx.
Referenced by lateInit().
|
private |
Definition at line 408 of file svdpage.hxx.
Referenced by GetLeftBorder(), lateInit(), SetBorder(), and SetLeftBorder().
|
private |
Definition at line 411 of file svdpage.hxx.
Referenced by GetLowerBorder(), lateInit(), SetBorder(), and SetLowerBorder().
|
private |
Definition at line 410 of file svdpage.hxx.
Referenced by GetRightBorder(), lateInit(), SetBorder(), and SetRightBorder().
|
private |
Definition at line 409 of file svdpage.hxx.
Referenced by GetUpperBorder(), lateInit(), SetBorder(), and SetUpperBorder().
|
private |
Definition at line 407 of file svdpage.hxx.
Referenced by GetHeight(), GetSize(), lateInit(), and SetSize().
|
private |
Definition at line 406 of file svdpage.hxx.
Referenced by GetSize(), GetWidth(), lateInit(), and SetSize().
|
private |
Definition at line 413 of file svdpage.hxx.
Referenced by GetLayerAdmin(), and ~SdrPage().
|
protected |
Definition at line 424 of file svdpage.hxx.
Referenced by getCorrectSdrPageProperties(), TRG_ClearMasterPage(), TRG_GetMasterPage(), TRG_GetMasterPageDescriptorViewContact(), TRG_GetMasterPageVisibleLayers(), TRG_SetMasterPage(), and TRG_SetMasterPageVisibleLayers().
|
private |
Definition at line 414 of file svdpage.hxx.
Referenced by getSdrPageProperties(), lateInit(), SdrPage(), and ~SdrPage().
|
private |
Definition at line 383 of file svdpage.hxx.
Referenced by GetViewContact(), lateInit(), and ~SdrPage().
|
private |
Definition at line 403 of file svdpage.hxx.
|
private |
Definition at line 415 of file svdpage.hxx.
Referenced by SvxUnoDrawPagesAccess::getByIndex(), getUnoPage(), lateInit(), SetUnoPage(), and ~SdrPage().
|
protected |
Definition at line 426 of file svdpage.hxx.
Referenced by GetPageNum(), lateInit(), and SetPageNum().