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 rtl::Reference< 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 |
tools::Long | GetWidth () const |
tools::Long | 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 |
void | SetBackgroundFullSize (bool bIn) |
bool | IsBackgroundFullSize () 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... | |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
Public Member Functions inherited from SdrObjList | |
virtual SdrPage * | getSdrPageFromSdrObjList () const |
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 rtl::Reference< SdrObject > | NbcRemoveObject (size_t nObjNum) |
remove from list without delete More... | |
virtual rtl::Reference< SdrObject > | RemoveObject (size_t nObjNum) |
virtual rtl::Reference< 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 | SetExistingObjectOrdNum (SdrObject *pExistingObj, size_t nNewObjNum) |
Modify ZOrder of an SdrObject, object must already be in the list. 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 |
SdrObject * | GetObjByName (std::u16string_view sName) 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 |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
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) |
Protected Member Functions inherited from SdrObjList | |
void | RecalcRects () |
SdrObjList () | |
virtual | ~SdrObjList () |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes | |
std::unique_ptr< sdr::MasterPageDescriptor > | mpMasterPageDescriptor |
sal_uInt16 | nPageNum |
bool | mbMaster: 1 |
bool | mbInserted: 1 |
bool | mbObjectsNotPersistent: 1 |
bool | mbPageBorderOnlyLeftRight: 1 |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
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 |
tools::Long | mnWidth |
tools::Long | mnHeight |
sal_Int32 | mnBorderLeft |
sal_Int32 | mnBorderUpper |
sal_Int32 | mnBorderRight |
sal_Int32 | mnBorderLower |
bool | mbBackgroundFullSize = false |
Background object to represent the whole page. More... | |
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 378 of file svdpage.hxx.
|
privatedelete |
Referenced by CloneSdrPage().
|
explicit |
Definition at line 1318 of file svdpage.cxx.
References mnHeight, mnWidth, and mpSdrPageProperties.
|
overridevirtual |
Definition at line 1336 of file svdpage.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, maPageUsers, mpLayerAdmin, mpSdrPageProperties, mpViewContact, mxUnoPage, and TRG_ClearMasterPage().
void SdrPage::ActionChanged | ( | ) |
Definition at line 1865 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 1117 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 1833 of file svdpage.cxx.
|
virtual |
Reimplemented in FmFormPage.
Definition at line 1421 of file svdpage.cxx.
References SdrPage().
Referenced by SdrModel::CopyPages(), unogallery::GalleryTheme::insertDrawingByIndex(), and SdrModel::Merge().
|
protected |
Definition at line 1134 of file svdpage.cxx.
Referenced by GetViewContact().
|
protectedvirtual |
Definition at line 1780 of file svdpage.cxx.
Referenced by getUnoPage().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 1842 of file svdpage.cxx.
References SdrObjList::dumpAsXml(), mnHeight, mnWidth, and mpSdrPageProperties.
const SdrPageProperties * SdrPage::getCorrectSdrPageProperties | ( | ) | const |
Definition at line 1887 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 1721 of file svdpage.cxx.
Referenced by SdrEditView::AlignMarkedObjects(), and SdrPageView::DrawPageViewGrid().
tools::Long SdrPage::GetHeight | ( | ) | const |
Definition at line 1481 of file svdpage.cxx.
References mnHeight.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageFill::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::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().
SdrLayerAdmin & SdrPage::GetLayerAdmin | ( | ) |
Definition at line 1731 of file svdpage.cxx.
References mpLayerAdmin.
const SdrLayerAdmin & SdrPage::GetLayerAdmin | ( | ) | const |
changing the layers does not set the modified-flag!
Definition at line 1726 of file svdpage.cxx.
References mpLayerAdmin.
Referenced by SdrCreateView::ImpBegCreateObj(), SdrExchangeView::ImpGetPasteLayer(), SdrEditView::InsertObjectAtView(), SdrPageView::IsLayer(), SdrExchangeView::Paste(), SdrPageView::SetLayer(), and SdrCreateView::SetupObjLayer().
|
virtual |
Definition at line 1736 of file svdpage.cxx.
sal_Int32 SdrPage::GetLeftBorder | ( | ) | const |
Definition at line 1556 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(), SdrEditView::SetGeoAttrToMarked(), and SdrSnapView::SnapPos().
sal_Int32 SdrPage::GetLowerBorder | ( | ) | const |
Definition at line 1571 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 1472 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 1822 of file svdpage.cxx.
References GetPageBackgroundColor().
Referenced by GetPageBackgroundColor().
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 1792 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 479 of file svdpage.hxx.
Referenced by sdr::contact::ViewContactOfOuterPageBorder::createViewIndependentPrimitive2DSequence().
sal_uInt16 SdrPage::GetPageNum | ( | ) | const |
Definition at line 1603 of file svdpage.cxx.
References getSdrModelFromSdrPage(), mbInserted, mbMaster, nPageNum, and SdrModel::RecalcPageNums().
Referenced by sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), SvxShape::getPropertyValueImpl(), SdrModel::Merge(), SvxUnoDrawPagesAccess::remove(), and SdrUndoPageList::SdrUndoPageList().
sal_Int32 SdrPage::GetRightBorder | ( | ) | const |
Definition at line 1566 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 403 of file svdpage.hxx.
Referenced by SvxDrawPage::add(), SvxDrawPage::CreateShapeByTypeAndInventor(), FmFormPageImpl::findPlaceInFormComponentHierarchy(), SdrViewIter::ForAllViews(), SdrOutliner::GetCompatFlag(), FmFormPageImpl::getDefaultForm(), FmFormPageImpl::getForms(), GetPageNum(), ImpPageChange(), unogallery::GalleryTheme::insertDrawingByIndex(), FmFormPage::InsertObject(), FmFormPage::RemoveObject(), SetChanged(), and SdrPageProperties::SetTheme().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 1626 of file svdpage.cxx.
Referenced by SdrObject::getSdrPageFromSdrObject().
SdrPageProperties & SdrPage::getSdrPageProperties | ( | ) |
Definition at line 1877 of file svdpage.cxx.
References mpSdrPageProperties.
Referenced by sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), SdrObject::getBackgroundFillSet(), sdr::MasterPageDescriptor::getCorrectSdrPageProperties(), getCorrectSdrPageProperties(), GetPageBackgroundColor(), and lateInit().
const SdrPageProperties & SdrPage::getSdrPageProperties | ( | ) | const |
Definition at line 1882 of file svdpage.cxx.
References mpSdrPageProperties.
Size SdrPage::GetSize | ( | ) | const |
Definition at line 1450 of file svdpage.cxx.
References mnHeight, and mnWidth.
Referenced by sdr::contact::ViewObjectContactOfPageObj::createPrimitive2DSequence(), GetOrientation(), SdrExchangeView::Paste(), and SetOrientation().
|
virtual |
Definition at line 1785 of file svdpage.cxx.
References SdrObject::GetStyleSheet().
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().
uno::Reference< uno::XInterface > const & SdrPage::getUnoPage | ( | ) |
Definition at line 1769 of file svdpage.cxx.
References createUnoPage(), and mxUnoPage.
Referenced by SvxShape::getParent(), and SdrObject::getUnoShape().
sal_Int32 SdrPage::GetUpperBorder | ( | ) | const |
Definition at line 1561 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(), SdrEditView::SetGeoAttrToMarked(), and SdrSnapView::SnapPos().
sdr::contact::ViewContact & SdrPage::GetViewContact | ( | ) |
Definition at line 1148 of file svdpage.cxx.
References CreateObjectSpecificViewContact(), and mpViewContact.
const sdr::contact::ViewContact & SdrPage::GetViewContact | ( | ) | const |
Definition at line 1139 of file svdpage.cxx.
References CreateObjectSpecificViewContact(), and mpViewContact.
Referenced by ActionChanged(), sdr::contact::PagePrimitiveExtractor::createPrimitive2DSequenceForPage(), PrimitiveFactory2D::createPrimitivesFromXDrawPage(), 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().
tools::Long SdrPage::GetWidth | ( | ) | const |
Definition at line 1455 of file svdpage.cxx.
References mnWidth.
Referenced by SdrEditView::AlignMarkedObjects(), sdr::contact::ViewObjectContactOfPageFill::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPageDescriptor::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().
bool SdrPage::IsBackgroundFullSize | ( | ) | const |
Definition at line 1585 of file svdpage.cxx.
References mbBackgroundFullSize.
Referenced by sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), and sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy().
|
inline |
Definition at line 466 of file svdpage.hxx.
Referenced by SdrEdgeObj::GetConnectedNode(), SdrPageProperties::isUsedByModel(), sdr::properties::AttributeProperties::isUsedByModel(), and SdrPaintView::Notify().
|
inline |
Definition at line 464 of file svdpage.hxx.
Referenced by sdr::contact::ViewContactOfSdrPage::ActionChanged(), FmFormPage::CloneSdrPage(), sdr::contact::createPrimitive2DSequenceImpl(), sdr::contact::ViewObjectContact::createStructureTag(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence(), SdrPaintView::EndCompleteRedraw(), SdrObject::getBackgroundFillSet(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), sdr::MasterPageDescriptor::getCorrectSdrPageProperties(), GetPageBackgroundColor(), ImpCheckPageView(), lateInit(), SdrPageProperties::PutItem(), SdrPageProperties::PutItemSet(), SdrPageProperties::SdrPageProperties(), and SdrPageProperties::SetTheme().
|
protected |
Definition at line 1372 of file svdpage.cxx.
References SdrObjList::CopyObjects(), SdrPageProperties::GetItemSet(), SdrObjList::GetObjCount(), getSdrPageProperties(), SdrPageProperties::GetStyleSheet(), IsMasterPage(), mbBackgroundFullSize, 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 FmFormPage::lateInit().
void SdrPage::MakePageObjectsNamesUnique | ( | ) |
Definition at line 1694 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 1122 of file svdpage.cxx.
References maPageUsers.
Referenced by SdrPageObj::SetReferencedPage(), sdr::MasterPageDescriptor::~MasterPageDescriptor(), and SdrPageObj::~SdrPageObj().
void SdrPage::SetBackgroundFullSize | ( | bool | bIn | ) |
Definition at line 1576 of file svdpage.cxx.
References mbBackgroundFullSize, and SetChanged().
|
virtual |
Definition at line 1486 of file svdpage.cxx.
References mnBorderLeft, mnBorderLower, mnBorderRight, mnBorderUpper, and SetChanged().
void SdrPage::SetChanged | ( | ) |
Definition at line 1618 of file svdpage.cxx.
References ActionChanged(), getSdrModelFromSdrPage(), and SdrModel::SetChanged().
Referenced by SetBackgroundFullSize(), SetBorder(), SetLeftBorder(), SetLowerBorder(), SetRightBorder(), SetSize(), SetUpperBorder(), and TRG_ClearMasterPage().
void SdrPage::SetInserted | ( | bool | bNew = true | ) |
Definition at line 1741 of file svdpage.cxx.
References DeepNoGroups, SdrObjListIter::IsMore(), mbInserted, and SdrObjListIter::Next().
Referenced by SdrModel::InsertMasterPage(), and SdrModel::InsertPage().
|
virtual |
Definition at line 1520 of file svdpage.cxx.
References mnBorderLeft, nBorder, and SetChanged().
|
virtual |
Definition at line 1547 of file svdpage.cxx.
References mnBorderLower, nBorder, and SetChanged().
|
virtual |
Definition at line 1460 of file svdpage.cxx.
References GetSize(), Size::Height(), SetSize(), and Size::Width().
|
inline |
Definition at line 478 of file svdpage.hxx.
void SdrPage::SetPageNum | ( | sal_uInt16 | nNew | ) |
Definition at line 1591 of file svdpage.cxx.
References ActionChanged(), and nPageNum.
Referenced by SdrModel::InsertMasterPage(), SdrModel::InsertPage(), and SdrModel::RecalcPageNums().
|
virtual |
Definition at line 1538 of file svdpage.cxx.
References mnBorderRight, nBorder, and SetChanged().
|
virtual |
Definition at line 1428 of file svdpage.cxx.
References Size::Height(), mnHeight, mnWidth, SetChanged(), and Size::Width().
Referenced by SetOrientation().
|
protected |
Definition at line 1764 of file svdpage.cxx.
References mxUnoPage.
|
virtual |
Definition at line 1529 of file svdpage.cxx.
References mnBorderUpper, nBorder, and SetChanged().
void SdrPage::TRG_ClearMasterPage | ( | ) |
Definition at line 1645 of file svdpage.cxx.
References mpMasterPageDescriptor, and SetChanged().
Referenced by lateInit(), sdr::MasterPageDescriptor::PageInDestruction(), TRG_ImpMasterPageRemoved(), TRG_SetMasterPage(), and ~SdrPage().
SdrPage & SdrPage::TRG_GetMasterPage | ( | ) | const |
Definition at line 1658 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by SdrObject::getBackgroundFillSet(), GetPageBackgroundColor(), ImpCheckPageView(), lateInit(), SdrModel::Merge(), SdrMarkView::PickObj(), SdrUndoDelPage::SdrUndoDelPage(), SdrPageProperties::SetTheme(), and TRG_ImpMasterPageRemoved().
sdr::contact::ViewContact & SdrPage::TRG_GetMasterPageDescriptorViewContact | ( | ) | const |
Definition at line 1676 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by ActionChanged(), sdr::contact::ViewContactOfSdrPage::ActionChanged(), sdr::contact::ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence(), and sdr::contact::ViewContactOfSdrPage::GetViewContact().
const SdrLayerIDSet & SdrPage::TRG_GetMasterPageVisibleLayers | ( | ) | const |
Definition at line 1664 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by ImpCheckPageView(), lateInit(), and SdrMarkView::PickObj().
|
inline |
Definition at line 500 of file svdpage.hxx.
Referenced by ActionChanged(), sdr::contact::ViewContactOfSdrPage::ActionChanged(), sdr::contact::ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence(), SdrObject::getBackgroundFillSet(), GetPageBackgroundColor(), sdr::contact::ViewContactOfSdrPage::GetViewContact(), ImpCheckPageView(), lateInit(), SdrModel::Merge(), SdrMarkView::PickObj(), SdrUndoDelPage::SdrUndoDelPage(), SdrPageProperties::SetTheme(), and TRG_ImpMasterPageRemoved().
|
protected |
Definition at line 1683 of file svdpage.cxx.
References TRG_ClearMasterPage(), TRG_GetMasterPage(), and TRG_HasMasterPage().
Referenced by SdrModel::RemoveMasterPage().
void SdrPage::TRG_SetMasterPage | ( | SdrPage & | rNew | ) |
Definition at line 1633 of file svdpage.cxx.
References sdr::contact::ViewContact::ActionChanged(), GetViewContact(), mpMasterPageDescriptor, and TRG_ClearMasterPage().
Referenced by lateInit().
void SdrPage::TRG_SetMasterPageVisibleLayers | ( | const SdrLayerIDSet & | rNew | ) |
Definition at line 1670 of file svdpage.cxx.
References DBG_ASSERT, and mpMasterPageDescriptor.
Referenced by lateInit().
|
friend |
Definition at line 386 of file svdpage.hxx.
|
friend |
Definition at line 381 of file svdpage.hxx.
|
friend |
Definition at line 382 of file svdpage.hxx.
|
private |
Definition at line 394 of file svdpage.hxx.
Referenced by AddPageUser(), RemovePageUser(), and ~SdrPage().
|
private |
Background object to represent the whole page.
Definition at line 425 of file svdpage.hxx.
Referenced by IsBackgroundFullSize(), lateInit(), and SetBackgroundFullSize().
|
protected |
Definition at line 443 of file svdpage.hxx.
Referenced by GetPageNum(), and SetInserted().
|
protected |
Definition at line 442 of file svdpage.hxx.
Referenced by GetPageNum(), and lateInit().
|
protected |
Definition at line 444 of file svdpage.hxx.
Referenced by lateInit().
|
protected |
Definition at line 447 of file svdpage.hxx.
Referenced by lateInit().
|
private |
Definition at line 421 of file svdpage.hxx.
Referenced by GetLeftBorder(), lateInit(), SetBorder(), and SetLeftBorder().
|
private |
Definition at line 424 of file svdpage.hxx.
Referenced by GetLowerBorder(), lateInit(), SetBorder(), and SetLowerBorder().
|
private |
Definition at line 423 of file svdpage.hxx.
Referenced by GetRightBorder(), lateInit(), SetBorder(), and SetRightBorder().
|
private |
Definition at line 422 of file svdpage.hxx.
Referenced by GetUpperBorder(), lateInit(), SetBorder(), and SetUpperBorder().
|
private |
Definition at line 420 of file svdpage.hxx.
Referenced by dumpAsXml(), GetHeight(), GetSize(), lateInit(), and SetSize().
|
private |
Definition at line 419 of file svdpage.hxx.
Referenced by dumpAsXml(), GetSize(), GetWidth(), lateInit(), and SetSize().
|
private |
Definition at line 427 of file svdpage.hxx.
Referenced by GetLayerAdmin(), and ~SdrPage().
|
protected |
Definition at line 438 of file svdpage.hxx.
Referenced by getCorrectSdrPageProperties(), TRG_ClearMasterPage(), TRG_GetMasterPage(), TRG_GetMasterPageDescriptorViewContact(), TRG_GetMasterPageVisibleLayers(), TRG_SetMasterPage(), and TRG_SetMasterPageVisibleLayers().
|
private |
Definition at line 428 of file svdpage.hxx.
Referenced by dumpAsXml(), getSdrPageProperties(), lateInit(), SdrPage(), and ~SdrPage().
|
private |
Definition at line 396 of file svdpage.hxx.
Referenced by GetViewContact(), lateInit(), and ~SdrPage().
|
private |
Definition at line 416 of file svdpage.hxx.
|
private |
Definition at line 429 of file svdpage.hxx.
Referenced by SvxUnoDrawPagesAccess::getByIndex(), getUnoPage(), lateInit(), SetUnoPage(), and ~SdrPage().
|
protected |
Definition at line 440 of file svdpage.hxx.
Referenced by GetPageNum(), lateInit(), and SetPageNum().