LibreOffice Module sd (master) 1
|
#include <sdpage.hxx>
Public Member Functions | |
SdPage (SdDrawDocument &rNewDoc, bool bMasterPage) | |
virtual | ~SdPage () override |
virtual rtl::Reference< SdrPage > | CloneSdrPage (SdrModel &rTargetModel) const override |
virtual void | SetSize (const Size &aSize) override |
virtual void | SetBorder (sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr) override |
virtual void | SetLeftBorder (sal_Int32 nBorder) override |
virtual void | SetRightBorder (sal_Int32 nBorder) override |
virtual void | SetUpperBorder (sal_Int32 nBorder) override |
virtual void | SetLowerBorder (sal_Int32 nBorder) override |
virtual bool | IsReadOnly () const override |
sd::ShapeList & | GetPresentationShapeList () |
void | EnsureMasterPageDefaultBackground () |
create background properties More... | |
SdrObject * | CreatePresObj (PresObjKind eObjKind, bool bVertical, const ::tools::Rectangle &rRect) |
creates a presentation object with the given PresObjKind on this page. More... | |
rtl::Reference< SdrObject > | CreateDefaultPresObj (PresObjKind eObjKind) |
void | DestroyDefaultPresObj (PresObjKind eObjKind) |
SdrObject * | GetPresObj (PresObjKind eObjKind, int nIndex=1, bool bFuzzySearch=false) |
returns the nIndex'th object from the given PresObjKind, index starts with 1 More... | |
PresObjKind | GetPresObjKind (SdrObject *pObj) const |
OUString | GetPresObjText (PresObjKind eObjKind) const |
SfxStyleSheet * | GetStyleSheetForMasterPageBackground () const |
SfxStyleSheet * | GetStyleSheetForPresObj (PresObjKind eObjKind) const |
sal_Int64 | GetHashCode () const |
bool | RestoreDefaultText (SdrObject *pObj) |
bool | IsPresObj (const SdrObject *pObj) |
void | RemovePresObj (const SdrObject *pObj) |
removes the given SdrObject from the presentation object list More... | |
void | InsertPresObj (SdrObject *pObj, PresObjKind eKind) |
inserts the given SdrObject into the presentation object list More... | |
void | SetAutoLayout (AutoLayout eLayout, bool bInit=false, bool bCreate=false) |
AutoLayout | GetAutoLayout () const |
void | CreateTitleAndLayout (bool bInit=false, bool bCreate=false) |
SdrObject * | InsertAutoLayoutShape (SdrObject *pObj, PresObjKind eObjKind, bool bVertical, const ::tools::Rectangle &rRect, bool bInit) |
reuses or creates a presentation shape for an auto layout that fits the given parameter More... | |
virtual void | NbcInsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) override |
virtual rtl::Reference< SdrObject > | NbcRemoveObject (size_t nObjNum) override |
virtual rtl::Reference< SdrObject > | RemoveObject (size_t nObjNum) override |
virtual rtl::Reference< SdrObject > | ReplaceObject (SdrObject *pNewObj, size_t nObjNum) override |
Also override ReplaceObject methods to realize when objects are removed with this mechanism instead of RemoveObject. More... | |
void | SetObjText (SdrTextObj *pObj, SdrOutliner *pOutliner, PresObjKind eObjKind, std::u16string_view rStr) |
void | SetPageKind (PageKind ePgType) |
PageKind | GetPageKind () const |
void | SetSelected (bool bSel) |
bool | IsSelected () const |
void | SetFadeEffect (css::presentation::FadeEffect eNewEffect) |
css::presentation::FadeEffect | GetFadeEffect () const |
void | SetPresChange (PresChange eChange) |
PresChange | GetPresChange () const |
void | SetTime (double fNewTime) |
double | GetTime () const |
void | SetSound (bool bNewSoundOn) |
bool | IsSoundOn () const |
void | SetExcluded (bool bNewExcluded) |
bool | IsExcluded () const |
bool | IsScaleObjects () const |
void | SetSoundFile (const OUString &rStr) |
const OUString & | GetSoundFile () const |
void | SetLoopSound (bool bLoopSound) |
bool | IsLoopSound () const |
void | SetStopSound (bool bStopSound) |
bool | IsStopSound () const |
sal_Int16 | getTransitionType () const |
void | setTransitionType (sal_Int16 nTransitionType) |
sal_Int16 | getTransitionSubtype () const |
void | setTransitionSubtype (sal_Int16 nTransitionSubtype) |
bool | getTransitionDirection () const |
void | setTransitionDirection (bool bTransitionbDirection) |
sal_Int32 | getTransitionFadeColor () const |
void | setTransitionFadeColor (sal_Int32 nTransitionFadeColor) |
double | getTransitionDuration () const |
void | setTransitionDuration (double fTransitionDuration) |
virtual void | Changed (const SdrObject &rObj, SdrUserCallType eType, const ::tools::Rectangle &rOldBoundRect) override |
void | SetLayoutName (const OUString &aName) |
virtual OUString | GetLayoutName () const override |
void | SetFileName (const OUString &aName) |
const OUString & | GetFileName () const |
void | SetBookmarkName (const OUString &aName) |
const OUString & | GetBookmarkName () const |
void | ConnectLink () |
void | DisconnectLink () |
void | ScaleObjects (const Size &rNewPageSize, const ::tools::Rectangle &rNewBorderRect, bool bScaleAllObj) |
const OUString & | GetName () const |
OUString const & | GetRealName () const |
void | SetPresentationLayout (std::u16string_view rLayoutName, bool bReplaceStyleSheets=true, bool bSetMasterPage=true, bool bReverseOrder=false) |
void | EndListenOutlineText () |
void | SetPaperBin (sal_uInt16 nBin) |
sal_uInt16 | GetPaperBin () const |
virtual void | SetOrientation (Orientation eOrient) override |
virtual Orientation | GetOrientation () const override |
virtual SfxStyleSheet * | GetTextStyleSheetForObject (SdrObject *pObj) const override |
bool | setAlienAttributes (const css::uno::Any &rAttributes) |
void | getAlienAttributes (css::uno::Any &rAttributes) |
css::uno::Reference< css::animations::XAnimationNode > const & | getAnimationNode () |
returns the main animation node More... | |
void | setAnimationNode (css::uno::Reference< css::animations::XAnimationNode > const &xNode) |
sets the main animation node More... | |
std::shared_ptr< sd::MainSequence > const & | getMainSequence () |
returns a helper class to manipulate effects inside the main sequence More... | |
bool | hasAnimationNode () const |
quick check if this slide has an animation node. More... | |
void | removeAnimations (const SdrObject *pObj) |
removes all custom animations for the given shape More... | |
void | notifyObjectRenamed (const SdrObject *pObj) |
Notify that the object has been renamed and the animation effects has to update. More... | |
void | SetName (const OUString &rName) |
Set the name of the page and broadcast a model change. More... | |
const sd::HeaderFooterSettings & | getHeaderFooterSettings () const |
void | setHeaderFooterSettings (const sd::HeaderFooterSettings &rNewSettings) |
virtual bool | checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit) override |
void | onParagraphInserted (const ::Outliner *pOutliner, Paragraph const *pPara, SdrObject *pObj) |
callback from the sd::View when a new paragraph for one object on this page is created More... | |
void | onParagraphRemoving (const ::Outliner *pOutliner, Paragraph const *pPara, SdrObject *pObj) |
callback from the sd::View when a paragraph from one object on this page is removed More... | |
void | onEndTextEdit (SdrObject *pObj) |
callback from the sd::View when an object just left text edit mode More... | |
SdStyleSheet * | getPresentationStyle (sal_uInt32 nHelpId) const |
returns the presentation style with the given helpid from this masterpage or this slides masterpage More... | |
void | RemoveEmptyPresentationObjects () |
removes all empty presentation objects from this slide More... | |
::tools::Rectangle | GetTitleRect () const |
::tools::Rectangle | GetLayoutRect () const |
void | SetPrecious (const bool bIsPrecious) |
Set the "precious" flag to the given value. More... | |
bool | IsPrecious () const |
The "precious" flag is used for master pages to prevent some unused master pages from being deleted automatically. More... | |
void | createAnnotation (css::uno::Reference< css::office::XAnnotation > &xAnnotation) |
void | addAnnotation (const css::uno::Reference< css::office::XAnnotation > &xAnnotation, int nIndex) |
void | removeAnnotation (const css::uno::Reference< css::office::XAnnotation > &xAnnotation) |
const sd::AnnotationVector & | getAnnotations () const |
bool | Equals (const SdPage &) const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
sal_uInt16 | getPageId () const |
void | getGraphicsForPrefetch (std::vector< Graphic * > &graphics) const |
Returns graphics objects from the page that can be prefetched before it's painted. More... | |
Public Member Functions inherited from FmFormPage | |
FmFormPage (FmFormModel &rModel, bool bMasterPage=false) | |
virtual | ~FmFormPage () override |
virtual rtl::Reference< SdrPage > | CloneSdrPage (SdrModel &rTargetModel) const override |
virtual void | InsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) override |
virtual rtl::Reference< SdrObject > | RemoveObject (size_t nObjNum) override |
const css::uno::Reference< css::form::XForms > & | GetForms (bool _bForceCreate=true) const |
FmFormPageImpl & | GetImpl () const |
const OUString & | GetName () const |
void | SetName (const OUString &rName) |
Public Member Functions inherited from SdrPage | |
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 |
SdrLayerAdmin & | GetLayerAdmin () |
virtual OUString | GetLayoutName () const |
virtual const SdrPageGridFrameList * | GetGridFrameList (const SdrPageView *pPV, const tools::Rectangle *pRect) const |
css::uno::Reference< css::uno::XInterface > const & | getUnoPage () |
virtual SfxStyleSheet * | GetTextStyleSheetForObject (SdrObject *pObj) const |
Color | GetPageBackgroundColor () const |
Color | GetPageBackgroundColor (SdrPageView const *pView, bool bScreenDisplay=true) const |
virtual bool | checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit) |
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 () |
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) |
virtual rtl::Reference< SdrObject > | RemoveObject (size_t nObjNum) |
virtual rtl::Reference< SdrObject > | ReplaceObject (SdrObject *pNewObj, size_t nObjNum) |
virtual SdrObject * | SetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum) |
void | SetExistingObjectOrdNum (SdrObject *pExistingObj, size_t nNewObjNum) |
void | SetSdrObjListRectsDirty () |
const tools::Rectangle & | GetAllObjSnapRect () const |
const tools::Rectangle & | GetAllObjBoundRect () const |
void | NbcReformatAllTextObjects () |
void | ReformatAllTextObjects () |
void | ReformatAllEdgeObjects () |
void | BurnInStyleSheetAttributes () |
size_t | GetObjCount () const |
SdrObject * | GetObj (size_t nNum) const |
SdrObject * | GetObjByName (std::u16string_view sName) const |
virtual bool | IsReadOnly () const |
void | FlattenGroups () |
void | UnGroupObj (size_t nObjNum) |
bool | HasObjectNavigationOrder () const |
void | SetObjectNavigationPosition (SdrObject &rObject, const sal_uInt32 nNewNavigationPosition) |
SdrObject * | GetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const |
void | ClearObjectNavigationOrder () |
bool | RecalcNavigationPositions () |
void | SetNavigationOrder (const css::uno::Reference< css::container::XIndexAccess > &rxOrder) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from SdrObjUserCall | |
virtual | ~SdrObjUserCall () |
virtual void | Changed (const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle &rOldBoundRect) |
virtual void const * | GetPDFAnchorStructureElementKey (SdrObject const &rObj) |
Static Public Member Functions | |
static SdPage * | getImplementation (const css::uno::Reference< css::drawing::XDrawPage > &xPage) |
returns the SdPage implementation for the given XDrawPage or 0 if not available More... | |
static void | CalculateHandoutAreas (SdDrawDocument &rModel, AutoLayout eLayout, bool bHorizontal, std::vector< ::tools::Rectangle > &rAreas) |
Static Public Member Functions inherited from FmFormPage | |
static bool | RequestHelp (vcl::Window *pWin, SdrView const *pView, const HelpEvent &rEvt) |
Static Public Attributes | |
static sal_uInt16 | mnLastPageId = 1 |
Private Member Functions | |
SdPage & | operator= (const SdPage &)=delete |
SdPage (const SdPage &)=delete | |
virtual css::uno::Reference< css::uno::XInterface > | createUnoPage () override |
SfxItemSet * | getOrCreateItems () |
void | lateInit (const SdPage &rSrcPage) |
void | cloneAnimations (SdPage &rTargetPage) const |
clone the animations from this and set them to rTargetPage TTTT: Order is strange, should be the other way around by convention/convenience and makes usage a little dangerous... More... | |
void | onRemoveObject (SdrObject *pObject) |
called before a shape is removed or replaced from this slide More... | |
Private Attributes | |
PageKind | mePageKind |
page type More... | |
AutoLayout | meAutoLayout |
AutoLayout. More... | |
sd::ShapeList | maPresentationShapeList |
presentation objects More... | |
sd::ScopeLock | maLockAutoLayoutArrangement |
bool | mbSelected |
selection identifier More... | |
PresChange | mePresChange |
manual / automatic / semi automatic More... | |
double | mfTime |
Display time in seconds. More... | |
bool | mbSoundOn |
with / without sound. More... | |
bool | mbExcluded |
will (not) be displayed during show. More... | |
OUString | maLayoutName |
Name of the layout. More... | |
OUString | maSoundFile |
Path to sound file (MS-DOS notation). More... | |
bool | mbLoopSound |
bool | mbStopSound |
OUString | maCreatedPageName |
generated page name by GetPageName. More... | |
OUString | maFileName |
file name. More... | |
OUString | maBookmarkName |
Bookmark name. More... | |
bool | mbScaleObjects |
Objects should be scaled. More... | |
rtl_TextEncoding | meCharSet |
Text encoding. More... | |
sal_uInt16 | mnPaperBin |
PaperBin. More... | |
SdPageLink * | mpPageLink |
Page link (at left sides only) More... | |
sd::AnnotationVector | maAnnotations |
css::uno::Reference< css::animations::XAnimationNode > | mxAnimationNode |
holds the smil animation sequences for this page More... | |
std::shared_ptr< sd::MainSequence > | mpMainSequence |
a helper class to manipulate effects inside the main sequence More... | |
std::unique_ptr< SfxItemSet > | mpItems |
sd::HeaderFooterSettings | maHeaderFooterSettings |
sal_Int16 | mnTransitionType |
sal_Int16 | mnTransitionSubtype |
bool | mbTransitionDirection |
sal_Int32 | mnTransitionFadeColor |
double | mfTransitionDuration |
bool | mbIsPrecious |
sal_uInt16 | mnPageId |
Friends | |
class | SdGenericDrawPage |
class | SdDrawPage |
class | sd::UndoAnimation |
class | sd::UndoTransition |
class | ModifyPageUndoAction |
class | sd::UndoGeoObject |
class | sd::UndoAttrObject |
Additional Inherited Members | |
Protected Member Functions inherited from FmFormPage | |
void | lateInit (const FmFormPage &rPage) |
Protected Member Functions inherited from SdrPage | |
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 Attributes inherited from SdrPage | |
std::unique_ptr< sdr::MasterPageDescriptor > | mpMasterPageDescriptor |
sal_uInt16 | nPageNum |
bool | mbMaster |
bool | mbInserted |
bool | mbObjectsNotPersistent |
bool | mbPageBorderOnlyLeftRight |
Definition at line 92 of file sdpage.hxx.
|
privatedelete |
Referenced by CloneSdrPage().
SdPage::SdPage | ( | SdDrawDocument & | rNewDoc, |
bool | bMasterPage | ||
) |
Definition at line 105 of file sdpage.cxx.
References AUTOLAYOUT_NONE, ConnectLink(), maLayoutName, Manual, mnTransitionFadeColor, mnTransitionType, PAPERBIN_PRINTER_SETTINGS, SD_LT_SEPARATOR, SdResId(), Standard, and STR_LAYOUT_OUTLINE.
|
overridevirtual |
Definition at line 171 of file sdpage.cxx.
References DisconnectLink(), EndListenOutlineText(), SdrObject::GetUserCall(), SdrObjListIter::IsMore(), mxAnimationNode, SdrObjListIter::Next(), and SdrObject::SetUserCall().
void SdPage::addAnnotation | ( | const css::uno::Reference< css::office::XAnnotation > & | xAnnotation, |
int | nIndex | ||
) |
Definition at line 565 of file sdpage2.cxx.
References SdrModel::AddUndo(), sd::CreateUndoInsertOrRemoveAnnotation(), SdrPage::getSdrModelFromSdrPage(), maAnnotations, nIndex, NotifyDocumentEvent(), SdrPage::SetChanged(), and SdrModel::SetChanged().
Referenced by sd::createAnnotation().
|
static |
Definition at line 2917 of file sdpage.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), AUTOLAYOUT_HANDOUT1, AUTOLAYOUT_HANDOUT2, AUTOLAYOUT_HANDOUT3, AUTOLAYOUT_HANDOUT4, AUTOLAYOUT_HANDOUT6, AUTOLAYOUT_HANDOUT9, AUTOLAYOUT_NONE, SdrObject::GetCurrentBoundRect(), SdDrawDocument::GetDefaultWritingMode(), SdrPage::GetHeight(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdDrawDocument::GetMasterSdPage(), SdrPage::GetRightBorder(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), SdrPage::GetWidth(), Handout, Size::Height(), SdrObjListIter::IsMore(), SdrObjListIter::Next(), Size::setHeight(), Size::setWidth(), Point::setX(), Standard, and Size::Width().
Referenced by CreateTitleAndLayout(), and sd::DocumentRenderer::Implementation::InitHandoutTemplate().
|
overridevirtual |
Definition at line 725 of file sdpage.cxx.
References SfxUndoManager::AddUndoAction(), eType, GetAutoLayout(), SdrPage::getSdrModelFromSdrPage(), SdrObject::GetUserCall(), i, SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), sd::ScopeLock::isLocked(), maLockAutoLayoutArrangement, SdrPage::mbMaster, mePageKind, SetAutoLayout(), SdrObject::SetUserCall(), and SdrPage::TRG_GetMasterPage().
|
overridevirtual |
bEdit selects if visibility test is for an editing view or a final render, like printing.
Reimplemented from SdrPage.
Definition at line 2786 of file sdpage.cxx.
References SdrPage::checkVisibility(), DateTime, Footer, getHeaderFooterSettings(), sdr::contact::ViewObjectContact::GetObjectContact(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrPageView::GetPage(), GetPageKind(), GetPresObjKind(), SdrObject::getSdrPageFromSdrObject(), GetSdrPageFromXDrawPage(), sdr::contact::DisplayInfo::GetSubContentActive(), sdr::contact::ViewObjectContact::GetViewContact(), sdr::contact::ObjectContact::getViewInformation2D(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), Handout, Header, SdrObject::IsEmptyPresObj(), SdrPage::IsMasterPage(), sdr::contact::ObjectContact::isOutputToPDFFile(), sdr::contact::ObjectContact::isOutputToPrinter(), sd::HeaderFooterSettings::mbDateTimeVisible, sd::HeaderFooterSettings::mbFooterVisible, sd::HeaderFooterSettings::mbHeaderVisible, sd::HeaderFooterSettings::mbSlideNumberVisible, NONE, SlideNumber, sdr::contact::ViewContact::TryToGetSdrObject(), and sdr::contact::ObjectContact::TryToGetSdrPageView().
|
private |
clone the animations from this and set them to rTargetPage TTTT: Order is strange, should be the other way around by convention/convenience and makes usage a little dangerous...
Definition at line 148 of file sdpage_animations.cxx.
References sd::Clone(), mxAnimationNode, and setAnimationNode().
Referenced by lateInit().
|
overridevirtual |
Reimplemented from FmFormPage.
Definition at line 420 of file sdpage2.cxx.
References SdrPage::IsMasterPage(), and SdPage().
Referenced by sd::sidebar::DocumentHelper::AddMasterPage(), SdDrawDocument::DuplicatePage(), ImplSdPPTImport::Import(), and SdXImpressDocument::InsertSdPage().
void SdPage::ConnectLink | ( | ) |
Definition at line 291 of file sdpage2.cxx.
References sfx2::ClientFile, SdPageLink::Connect(), SfxObjectShell::GetMedium(), SfxMedium::GetOrigURL(), SdrPage::getSdrModelFromSdrPage(), sfx2::LinkManager::InsertFileLink(), SdrPage::IsMasterPage(), maBookmarkName, maFileName, mePageKind, mpPageLink, SdResId(), and Standard.
Referenced by SdPage().
void SdPage::createAnnotation | ( | css::uno::Reference< css::office::XAnnotation > & | xAnnotation | ) |
Definition at line 560 of file sdpage2.cxx.
References sd::createAnnotation().
Referenced by SdGenericDrawPage::createAndInsertAnnotation(), SdPdfFilter::Import(), sd::AnnotationManagerImpl::InsertAnnotation(), and lateInit().
rtl::Reference< SdrObject > SdPage::CreateDefaultPresObj | ( | PresObjKind | eObjKind | ) |
Definition at line 970 of file sdpage.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), CreatePresObj(), DateTime, Footer, GetLayoutRect(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrPage::GetRightBorder(), SdrPage::GetSize(), GetTitleRect(), SdrPage::GetUpperBorder(), Header, Size::Height(), mePageKind, Notes, Outline, Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SlideNumber, Standard, Title, Size::Width(), Point::X(), and Point::Y().
Referenced by sd::MasterLayoutDialog::create(), and CreateTitleAndLayout().
SdrObject * SdPage::CreatePresObj | ( | PresObjKind | eObjKind, |
bool | bVertical, | ||
const ::tools::Rectangle & | rRect | ||
) |
creates a presentation object with the given PresObjKind on this page.
A user call will be set
Definition at line 284 of file sdpage.cxx.
References SfxUndoManager::AddUndoAction(), aName, Calc, Chart, DateTime, DBG_ASSERT, DynCastSdrTextObj(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_PARA_JUST(), SfxStyleSheetBasePool::Find(), Footer, Application::GetDefaultDevice(), SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPage::GetPageNum(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), GetPresObjText(), SdrPage::getSdrModelFromSdrPage(), GetStyleSheetForPresObj(), SdrModel::GetStyleSheetPool(), Graphic, Handout, Header, FmFormPage::InsertObject(), InsertPresObj(), SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), OutputDevice::LogicToPixel(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextContourFrameItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), maLayoutName, SdrPage::mbMaster, Media, mePageKind, Notes, Object, OrgChart, Outline, Page, OutputDevice::PixelToLogic(), OutputDevice::Pop(), OutputDevice::Push(), SfxItemSet::Put(), SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_TOP, OutputDevice::SetMapMode(), SetObjText(), SlideNumber, Standard, sUNO_LayerName_background_objects, Table, Text, and Title.
Referenced by ImplSdPPTImport::ApplyTextObj(), convertPresentationObjectImpl(), sd::SdPhotoAlbumDialog::createCaption(), CreateDefaultPresObj(), SdGenericDrawPage::CreateSdrObject_(), CreateTitleAndLayout(), and InsertAutoLayoutShape().
void SdPage::CreateTitleAndLayout | ( | bool | bInit = false , |
bool | bCreate = false |
||
) |
Definition at line 793 of file sdpage.cxx.
References SfxUndoManager::AddUndoAction(), AUTOLAYOUT_HANDOUT3, CalculateHandoutAreas(), CreateDefaultPresObj(), CreatePresObj(), SdrUndoFactory::CreateUndoDeleteObject(), DateTime, EnsureMasterPageDefaultBackground(), Footer, GetAutoLayout(), GetPresObj(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetSdrUndoFactory(), Handout, Header, Impress, SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), SdrPage::mbMaster, mePageKind, Notes, Outline, RemoveObject(), SdrPageObj::SetReferencedPage(), SlideNumber, Standard, Title, and SdrPage::TRG_GetMasterPage().
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::adaptSizeAndBorderForAllPages(), sd::DrawViewShell::FuTemporary(), sd::slidesorter::controller::SlotManager::InsertSlide(), SetAutoLayout(), sd::ViewShell::SetPageSizeAndBorder(), and sd::DrawViewShell::SetupPage().
|
overrideprivatevirtual |
Reimplemented from SdrPage.
Definition at line 2676 of file sdpage.cxx.
References createUnoPageImpl().
void SdPage::DestroyDefaultPresObj | ( | PresObjKind | eObjKind | ) |
Definition at line 1055 of file sdpage.cxx.
References SdrModel::AddUndo(), SdrUndoFactory::CreateUndoDeleteObject(), GetPresObj(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetSdrUndoFactory(), SdrModel::IsUndoEnabled(), pObject, and SdrObjList::RemoveObject().
Referenced by sd::DrawViewShell::FuDeleteSelectedObjects(), and sd::MasterLayoutDialog::remove().
void SdPage::DisconnectLink | ( | ) |
Definition at line 323 of file sdpage2.cxx.
References SdrPage::getSdrModelFromSdrPage(), mpPageLink, and sfx2::LinkManager::Remove().
Referenced by SdDrawDocument::RemovePage(), and ~SdPage().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 625 of file sdpage2.cxx.
References SdrPage::dumpAsXml(), Handout, mePageKind, Notes, and Standard.
void SdPage::EndListenOutlineText | ( | ) |
Definition at line 250 of file sdpage2.cxx.
References SdStyleSheetPool::CreateOutlineSheetList(), DBG_ASSERT, GetPresObj(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetStyleSheetPool(), maLayoutName, nIndex, Outline, and SD_LT_SEPARATOR.
Referenced by ~SdPage().
void SdPage::EnsureMasterPageDefaultBackground | ( | ) |
create background properties
Definition at line 260 of file sdpage.cxx.
References SdrPageProperties::ClearItem(), SdrPage::getSdrPageProperties(), GetStyleSheetForMasterPageBackground(), SdrPage::mbMaster, SdrPageProperties::PutItem(), and SdrPageProperties::SetStyleSheet().
Referenced by CreateTitleAndLayout().
bool SdPage::Equals | ( | const SdPage & | rOtherPage | ) | const |
Definition at line 528 of file sdpage2.cxx.
References SdrObject::Equals(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, SdrPage::IsBackgroundFullSize(), maBookmarkName, maLayoutName, maSoundFile, mbExcluded, mbLoopSound, mbScaleObjects, mbSoundOn, mbStopSound, mbTransitionDirection, meAutoLayout, meCharSet, mePageKind, mePresChange, mfTime, mfTransitionDuration, mnPaperBin, mnTransitionFadeColor, mnTransitionSubtype, and mnTransitionType.
void SdPage::getAlienAttributes | ( | css::uno::Any & | rAttributes | ) |
Definition at line 470 of file sdpage2.cxx.
References mpItems, SvXMLAttrContainerItem::QueryValue(), and SDRATTR_XMLATTRIBUTES().
Referenced by SdGenericDrawPage::getPropertyValue().
Reference< XAnimationNode > const & SdPage::getAnimationNode | ( | ) |
returns the main animation node
css::uno::RuntimeException |
Definition at line 47 of file sdpage_animations.cxx.
References mxAnimationNode.
Referenced by SdGenericDrawPage::getAnimationNode(), getMainSequence(), and sd::UndoAnimation::UndoAnimation().
|
inline |
Definition at line 373 of file sdpage.hxx.
Referenced by sd::AnnotationManagerImpl::DeleteAllAnnotations(), sd::AnnotationManagerImpl::DeleteAnnotationsByAuthor(), sd::AnnotationManagerImpl::GetAnnotationById(), sd::AnnotationManagerImpl::GetAnnotationState(), SdXImpressDocument::getPostIts(), sd::AnnotationManagerImpl::InsertAnnotation(), and sd::AnnotationManagerImpl::SelectNextAnnotation().
|
inline |
Definition at line 190 of file sdpage.hxx.
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), sd::ViewShell::Implementation::AssignLayout(), Changed(), sd::ViewShell::CreateOrDuplicatePage(), sd::OutlineView::CreateOutlineTextObject(), SdDrawDocument::CreatePage(), CreateTitleAndLayout(), sd::OutlineView::CreateTitleTextObject(), sd::DrawView::DeleteMarked(), sd::FuExpandPage::DoExecute(), sd::FuSummaryPage::DoExecute(), sd::DrawViewShell::GetMenuState(), IMPL_LINK_NOARG(), sd::OutlineView::InsertSlideForParagraph(), ModifyPageUndoAction::ModifyPageUndoAction(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), SetAutoLayout(), SdDrawDocument::SetMasterPage(), sd::DrawViewShell::SetupPage(), and sd::sidebar::LayoutMenu::UpdateSelection().
|
inline |
Definition at line 260 of file sdpage.hxx.
FadeEffect SdPage::GetFadeEffect | ( | ) | const |
Definition at line 103 of file sdpage_animations.cxx.
Referenced by SdGenericDrawPage::getPropertyValue().
|
inline |
Definition at line 258 of file sdpage.hxx.
void SdPage::getGraphicsForPrefetch | ( | std::vector< Graphic * > & | graphics | ) | const |
Returns graphics objects from the page that can be prefetched before it's painted.
The pointers are temporary and should not be kept.
Definition at line 611 of file sdpage2.cxx.
References SdrObject::getFillGraphic(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), and i.
Referenced by sd::DrawViewShell::SwitchPage().
sal_Int64 SdPage::GetHashCode | ( | ) | const |
Definition at line 2698 of file sdpage.cxx.
Referenced by SdXImpressDocument::getPartHash(), and SdXImpressDocument::getPostIts().
const HeaderFooterSettings & SdPage::getHeaderFooterSettings | ( | ) | const |
Definition at line 2711 of file sdpage.cxx.
References Handout, maHeaderFooterSettings, SdrPage::mbMaster, mePageKind, and SdrPage::TRG_GetMasterPage().
Referenced by sd::HeaderFooterDialog::apply(), checkVisibility(), SdDrawDocument::CreatePage(), sd::FuSummaryPage::DoExecute(), SdGenericDrawPage::getPropertyValue(), sd::HeaderFooterDialog::HeaderFooterDialog(), IMPL_LINK(), lateInit(), ImplSdPPTImport::SetHeaderFooterPageSettings(), and SdGenericDrawPage::setPropertyValue().
|
static |
returns the SdPage implementation for the given XDrawPage or 0 if not available
Definition at line 2682 of file sdpage.cxx.
References TOOLS_WARN_EXCEPTION.
Referenced by sd::CustomAnimationPane::addUndo(), sd::presenter::SlideRenderer::CreatePreview(), sd::presenter::PresenterPreviewCache::PresenterCacheContext::GetPage(), oox::core::PowerPointExport::GetReferencedPlaceholderXShape(), sd::SlideTransitionPane::getSelectedPages(), oox::core::PowerPointExport::ImplWriteSlideMaster(), sd::CustomAnimationPane::onChangeCurrentPage(), and sd::CustomAnimationPane::updatePathFromMotionPathTag().
|
inlineoverridevirtual |
Reimplemented from SdrPage.
Definition at line 255 of file sdpage.hxx.
Referenced by ImplSdPPTImport::ApplyTextObj(), sd::ViewClipboard::AssignMasterPage(), sd::sidebar::MasterPagesSelector::AssignMasterPageToAllSlides(), sd::sidebar::DocumentHelper::AssignMasterPageToPageList(), sd::DrawViewShell::ChangeEditMode(), SdDrawDocument::CheckMasterPages(), convertPresentationObjectImpl(), sd::View::CreateClipboardDataObject(), SdTransferable::CreateData(), SdDrawDocument::CreatePage(), sd::FuExpandPage::DoExecute(), sd::FuSummaryPage::DoExecute(), SdPresLayoutDlg::FillValueSet(), getPresentationStyle(), SdStyleSheet::GetRealStyleSheet(), sd::DrawViewShell::GetStatusBarState(), sd::slidesorter::controller::SlotManager::GetStatusBarState(), GetStyleSheetForMasterPageBackground(), GetStyleSheetForPresObj(), IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), SdDrawDocument::InsertBookmarkAsPage(), sd::View::InsertData(), SdXImpressDocument::InsertSdPage(), sd::OutlineView::InsertSlideForParagraph(), sd::FuInsertFile::InsTextOrRTFinDrMode(), sd::FuInsertFile::InsTextOrRTFinOlMode(), SdDrawDocument::NewOrLoadCompleted(), sd::sidebar::SlideBackground::populateMasterSlideDropdown(), sd::sidebar::DocumentHelper::ProvideMasterPage(), sd::sidebar::DocumentHelper::ProvideStyles(), SdDrawDocument::RemoveUnnecessaryMasterPages(), SdDrawDocument::RenameLayoutTemplate(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::DrawViewShell::ResetActualPage(), sd::DrawDocShell::SaveAsOwnFormat(), ScaleObjects(), sd::DrawView::SetAttributes(), sd::DrawView::SetMasterAttributes(), SdDrawPage::setMasterPage(), SdDrawDocument::SetMasterPage(), SetPresentationLayout(), sd::FuConstruct::SetStyleSheet(), and sd::DrawViewShell::SwitchPage().
tools::Rectangle SdPage::GetLayoutRect | ( | ) | const |
Definition at line 1162 of file sdpage.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrPage::GetRightBorder(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), Handout, Size::Height(), mePageKind, Notes, Size::setHeight(), tools::Rectangle::SetPos(), tools::Rectangle::SetSize(), Size::setWidth(), Standard, and Size::Width().
Referenced by CalcAutoLayoutRectangles(), CreateDefaultPresObj(), and sd::OutlineView::CreateOutlineTextObject().
std::shared_ptr< sd::MainSequence > const & SdPage::getMainSequence | ( | ) |
returns a helper class to manipulate effects inside the main sequence
Definition at line 38 of file sdpage_animations.cxx.
References getAnimationNode(), and mpMainSequence.
Referenced by sd::EffectMigration::CreateAnimatedGroup(), sd::EffectMigration::DocumentLoaded(), sd::UndoAnimationPathImpl::getEffect(), sd::FuConstructBezierPolygon::MouseButtonUp(), notifyObjectRenamed(), sd::CustomAnimationPane::onChangeCurrentPage(), onEndTextEdit(), onParagraphInserted(), onParagraphRemoving(), sd::slidesorter::view::PageObjectPainter::PaintCustomAnimationEffect(), removeAnimations(), sd::DrawDocShell::SaveAs(), sd::EffectMigration::SetAnimationPath(), sd::UndoAnimationPathImpl::UndoAnimationPathImpl(), sd::UndoObjectSetText::UndoObjectSetText(), and sd::UndoRemovePresObjectImpl::UndoRemovePresObjectImpl().
const OUString & SdPage::GetName | ( | ) | const |
Definition at line 2505 of file sdpage.cxx.
References Draw, SdrPage::GetPageNum(), GetRealName(), SdrPage::getSdrModelFromSdrPage(), Handout, maCreatedPageName, SdrPage::mbMaster, mePageKind, Notes, SdResId(), and Standard.
Referenced by sd::MasterPageObserver::Implementation::AnalyzeUsedMasterPages(), sd::ViewShell::Implementation::AssignLayout(), sd::DrawViewShell::ChangeEditMode(), SdTemplateControl::Command(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), HtmlExport::CreateFileNames(), sd::SlideshowImpl::createSlideList(), SdPageLink::DataChanged(), sd::FuSlideShowDlg::DoExecute(), sd::FuPage::ExecuteDialog(), HtmlExport::ExportSingleDocument(), SdPageObjsTLV::Fill(), sd::sidebar::CurrentMasterPagesSelector::Fill(), sd::sidebar::RecentMasterPagesSelector::Fill(), SdDocLinkTarget::FindPage(), sd::DrawViewShell::FuTemporary(), accessibility::AccessibleSlideSorterObject::getAccessibleName(), SdDocLinkTarget::getElementNames(), accessibility::AccessibleDocumentViewBase::getExtendedAttributes(), sd::DrawViewShell::GetNavigatorWinState(), SdDrawDocument::GetPageByName(), SdXImpressDocument::getPartName(), sd::IMPL_LINK(), IMPL_LINK(), sd::slidesorter::controller::IMPL_LINK(), sd::IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), SdDrawDocument::InsertBookmarkAsPage(), SdMasterPagesAccess::insertNewByIndex(), SdPageObjsTLV::IsEqualToDoc(), SdDrawDocument::IsPageNameUnique(), ModifyPageUndoAction::ModifyPageUndoAction(), SdDrawDocument::NewOrLoadCompleted(), sd::slidesorter::controller::SlideSorterController::PageNameHasChanged(), sd::DocumentRenderer::Implementation::PrepareRegularPages(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), ModifyPageUndoAction::Redo(), sd::MasterPageObserver::Implementation::RegisterDocument(), sd::slidesorter::controller::SlotManager::RenameSlide(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), SdXImpressDocument::render(), sd::DrawViewShell::ResetActualPage(), SdDefineCustomShowDlg::SdDefineCustomShowDlg(), SdDrawDocument::SetMasterPage(), SetName(), sd::slidesorter::view::ToolTip::SetPage(), sd::SlideshowImpl::startShow(), sd::DrawViewShell::SwitchPage(), ModifyPageUndoAction::Undo(), sd::sidebar::SlideBackground::updateMasterSlideSelection(), and sd::sidebar::MasterPageDescriptor::UpdatePageObject().
|
private |
Definition at line 448 of file sdpage2.cxx.
References SdrModel::GetItemPool(), SdrPage::getSdrModelFromSdrPage(), and mpItems.
Referenced by setAlienAttributes().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 2562 of file sdpage.cxx.
References Size::getHeight(), SdrPage::GetSize(), and Size::getWidth().
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::adaptSizeAndBorderForAllPages(), sd::FuPage::ApplyItemSet(), sd::FuPage::ExecuteDialog(), sd::DrawViewShell::GetPageProperties(), SdGenericDrawPage::getPropertyValue(), SdDrawDocument::InsertBookmarkAsPage(), SdXImpressDocument::InsertSdPage(), sd::DocumentRenderer::Implementation::PrepareHandout(), SdDrawPage::setMasterPage(), SdDrawDocument::SetMasterPage(), sd::DrawViewShell::SetPageProperties(), SdGenericDrawPage::setPropertyValue(), and sd::DocumentRenderer::Implementation::SetupPaperOrientation().
|
inline |
Definition at line 376 of file sdpage.hxx.
Referenced by sd::DrawViewShell::ChangeEditMode(), sd::DrawViewShell::DeleteActualPage(), and sd::DrawViewShell::ResetActualPage().
|
inline |
Definition at line 205 of file sdpage.hxx.
Referenced by sd::sidebar::DocumentHelper::AddMasterPage(), sd::HeaderFooterDialog::apply(), sd::MasterLayoutDialog::applyChanges(), ImplSdPPTImport::ApplyTextObj(), sd::ViewShell::Implementation::AssignLayout(), CalcAutoLayoutRectangles(), SdDrawDocument::CheckMasterPages(), checkVisibility(), sd::ViewOverlayManager::CreateTags(), sd::FuNavigation::DoExecute(), sd::DrawViewShell::ExecNavigatorWin(), sd::TextObjectBar::Execute(), SdPageObjsTLV::Fill(), SdPresLayoutDlg::FillValueSet(), SdDocLinkTarget::FindPage(), sd::AnnotationManagerImpl::GetAnnotationState(), sd::DrawViewShell::GetMenuState(), sd::DrawViewShell::GetOutlinerForMasterPageOutlineTextObj(), SdDrawDocument::GetPageByName(), sd::SlideshowImpl::getSlideNumberForBookmark(), sd::DrawViewShell::GetStateGoToLastPage(), sd::DrawViewShell::GetStateGoToNextPage(), SdDrawPage::getTypes(), SdMasterPage::getTypes(), ImpPageListWatcher::GetVisibleSdPageCount(), sd::DrawDocShell::GotoBookmark(), sd::HeaderFooterDialog::HeaderFooterDialog(), IMPL_LINK(), sd::IMPL_LINK(), IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), ImplSdPPTImport::ImportPageEffect(), ImpPageListWatcher::ImpRecreateSortedPageListOnDemand(), SdDrawDocument::InsertBookmarkAsPage(), sd::View::InsertData(), SdDrawDocument::InsertMasterPage(), sd::FuInsertFile::InsSDDinDrMode(), SdPageObjsTLV::IsEqualToDoc(), SdDrawDocument::IsPageNameUnique(), sd::FuPoor::KeyInput(), lcl_IterateBookmarkPages(), sd::MasterLayoutDialog::MasterLayoutDialog(), SdDrawDocument::Merge(), sd::slidesorter::model::SlideSorterModel::NotifyPageEvent(), sd::sidebar::SlideBackground::populateMasterSlideDropdown(), SdGenericDrawPage::queryAggregation(), ModifyPageUndoAction::Redo(), SdDrawPagesAccess::remove(), SdMasterPagesAccess::remove(), SdDrawDocument::RemoveMasterPage(), SdDrawDocument::RemoveUnnecessaryMasterPages(), SdGenericDrawPage::SetHeight(), SdGenericDrawPage::SetLeftBorder(), SdGenericDrawPage::SetLowerBorder(), SdDrawDocument::SetMasterPage(), SetPresentationLayout(), SdGenericDrawPage::setPropertyValue(), SdGenericDrawPage::SetRightBorder(), SdDrawDocument::SetSelected(), sd::FuConstruct::SetStyleSheet(), SdGenericDrawPage::SetUpperBorder(), SdGenericDrawPage::SetWidth(), sd::SlideshowImpl::startShow(), ModifyPageUndoAction::Undo(), SdDrawDocument::UpdatePageObjectsInNotes(), SdDrawDocument::UpdatePageRelativeURLs(), and sd::ViewShell::UpdateScrollBars().
|
inline |
Definition at line 278 of file sdpage.hxx.
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::adaptSizeAndBorderForAllPages(), sd::FuPage::ApplyItemSet(), sd::FuPage::ExecuteDialog(), sd::DocumentRenderer::Implementation::PrepareHandout(), sd::DocumentRenderer::Implementation::PrepareScaledPage(), sd::DocumentRenderer::Implementation::PrepareTiledPage(), sd::DrawViewShell::SetPageProperties(), and sd::ViewShellBase::SetPrinter().
|
inline |
Definition at line 214 of file sdpage.hxx.
Referenced by HtmlExport::CreateHtmlForPresPages(), SdDrawDocument::CreatePage(), sd::EffectMigration::SetAnimationEffect(), sd::EffectMigration::SetTextAnimationEffect(), and sd::impl::TransitionEffect::TransitionEffect().
|
inline |
Definition at line 166 of file sdpage.hxx.
Referenced by sd::ViewOverlayManager::CreateTags(), sd::View::GetEmptyPresentationObject(), SdDrawDocument::NewOrLoadCompleted(), and sd::DrawViewShell::SwitchPage().
SdStyleSheet * SdPage::getPresentationStyle | ( | sal_uInt32 | nHelpId | ) | const |
returns the presentation style with the given helpid from this masterpage or this slides masterpage
Definition at line 674 of file sdpage.cxx.
References SfxStyleSheetBasePool::Find(), GetLayoutName(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetStyleSheetPool(), nIndex, SD_LT_SEPARATOR, STR_LAYOUT_BACKGROUND, STR_LAYOUT_BACKGROUNDOBJECTS, STR_LAYOUT_NOTES, STR_LAYOUT_OUTLINE, STR_LAYOUT_SUBTITLE, and STR_LAYOUT_TITLE.
Referenced by sd::FuPage::ExecuteDialog(), and sd::DrawViewShell::GetMenuState().
SdrObject * SdPage::GetPresObj | ( | PresObjKind | eObjKind, |
int | nIndex = 1 , |
||
bool | bFuzzySearch = false |
||
) |
returns the nIndex'th object from the given PresObjKind, index starts with 1
Definition at line 203 of file sdpage.cxx.
References Calc, Chart, sd::ShapeList::getNextShape(), SdDrawDocument::GetShapeUserData(), Graphic, o3tl::make_unsigned(), maPresentationShapeList, Media, SdAnimationInfo::mePresObjKind, nIndex, Object, OrgChart, Outline, sd::ShapeList::seekShape(), and Table.
Referenced by CalcAutoLayoutRectangles(), sd::SdPhotoAlbumDialog::createCaption(), HtmlExport::CreateTextForNotesPage(), HtmlExport::CreateTextForTitle(), CreateTitleAndLayout(), DestroyDefaultPresObj(), sd::FuExpandPage::DoExecute(), sd::FuSummaryPage::DoExecute(), EndListenOutlineText(), sd::OutlineView::FillOutliner(), findAutoLayoutShapesImpl(), fixupOutlinePlaceholderNumberingDepths(), HtmlExport::getDocumentTitle(), sd::View::GetEmptyPresentationObject(), accessibility::AccessibleDocumentViewBase::getExtendedAttributes(), sd::DrawViewShell::GetMenuState(), sd::OutlineViewShell::GetMenuState(), sd::slidesorter::controller::SlotManager::GetMenuState(), sd::HeaderFooterTabPage::GetOrSetDateTimeLanguage(), oox::core::PowerPointExport::GetReferencedPlaceholderXShape(), sd::IMPL_LINK(), sd::MasterLayoutDialog::MasterLayoutDialog(), sd::DocumentRenderer::Implementation::PrepareOutline(), ScaleObjects(), setHeaderFooterSettings(), and sd::OutlineViewShell::UpdateOutlineObject().
PresObjKind SdPage::GetPresObjKind | ( | SdrObject * | pObj | ) | const |
Definition at line 2309 of file sdpage.cxx.
References SdDrawDocument::GetShapeUserData(), sd::ShapeList::hasShape(), maPresentationShapeList, SdAnimationInfo::mePresObjKind, and NONE.
Referenced by checkVisibility(), SdGenericDrawPage::CreateShape(), HtmlExport::CreateTextForPage(), sd::FuText::DeleteDefaultText(), sd::DrawView::DeleteMarked(), sd::View::DoPaste(), sd::DrawViewShell::FuDeleteSelectedObjects(), sd::View::GetEmptyPresentationObject(), SdXShape::GetPlaceholderText(), GetTextStyleSheetForObject(), SdXShape::IsPresObj(), sd::View::IsPresObjSelected(), lateInit(), SdDrawDocument::NewOrLoadCompleted(), sd::View::OnEndPasteOrDrop(), RestoreDefaultText(), sd::View::SdrBeginTextEdit(), sd::DrawView::SetAttributes(), SdXShape::SetEmptyPresObj(), sd::DrawView::SetMasterAttributes(), SetPresentationLayout(), and sd::DrawViewShell::SwitchPage().
OUString SdPage::GetPresObjText | ( | PresObjKind | eObjKind | ) | const |
Definition at line 2581 of file sdpage.cxx.
References Calc, Chart, SfxViewShell::Current(), Graphic, SdrPage::mbMaster, mePageKind, Notes, Object, OrgChart, Outline, SdResId(), Text, and Title.
Referenced by ImplSdPPTImport::ApplyTextObj(), CreatePresObj(), SdXShape::GetPlaceholderText(), SdDrawDocument::NewOrLoadCompleted(), RestoreDefaultText(), and SdXShape::SetEmptyPresObj().
|
inline |
Definition at line 269 of file sdpage.hxx.
References FmFormPage::GetName().
Referenced by GetName(), getPageApiName(), and SdDrawDocument::InsertBookmarkAsPage().
|
inline |
Definition at line 228 of file sdpage.hxx.
Referenced by HtmlExport::CreateHtmlForPresPages(), SdGenericDrawPage::getPropertyValue(), and sd::impl::TransitionEffect::TransitionEffect().
SfxStyleSheet * SdPage::GetStyleSheetForMasterPageBackground | ( | ) | const |
Definition at line 606 of file sdpage.cxx.
References aName, SfxStyleSheetBasePool::Find(), GetLayoutName(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetStyleSheetPool(), nPos, SD_LT_SEPARATOR, and STR_LAYOUT_BACKGROUND.
Referenced by EnsureMasterPageDefaultBackground(), and ImplSdPPTImport::Import().
SfxStyleSheet * SdPage::GetStyleSheetForPresObj | ( | PresObjKind | eObjKind | ) | const |
Definition at line 625 of file sdpage.cxx.
References aName, DateTime, SfxStyleSheetBasePool::Find(), Footer, GetLayoutName(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetStyleSheetPool(), Header, Notes, nPos, Outline, SD_LT_SEPARATOR, SlideNumber, STR_LAYOUT_BACKGROUNDOBJECTS, STR_LAYOUT_NOTES, STR_LAYOUT_SUBTITLE, STR_LAYOUT_TITLE, Text, and Title.
Referenced by ImplSdPPTImport::ApplyTextObj(), convertPresentationObjectImpl(), CreatePresObj(), sd::OutlineView::FillOutliner(), sd::DrawViewShell::FuTemporary(), GetTextStyleSheetForObject(), sd::IMPL_LINK(), sd::FuInsertFile::InsTextOrRTFinOlMode(), SdDrawDocument::NewOrLoadCompleted(), sd::OutlineView::OnEndPasteOrDrop(), sd::View::OnEndPasteOrDrop(), sd::OutlineViewShell::ReadRtf(), RestoreDefaultText(), ScaleObjects(), sd::DrawView::SetAttributes(), HtmlExport::SetDocColors(), sd::DrawView::SetMasterAttributes(), SetObjText(), and SetPresentationLayout().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 437 of file sdpage2.cxx.
References GetPresObjKind(), GetStyleSheetForPresObj(), SdrPage::GetTextStyleSheetForObject(), and NONE.
Referenced by SdXShape::SetEmptyPresObj(), and sd::DrawView::SetMasterAttributes().
|
inline |
Definition at line 217 of file sdpage.hxx.
Referenced by HtmlExport::CreateHtmlForPresPages(), SdDrawDocument::CreatePage(), SdGenericDrawPage::getPropertyValue(), and sd::impl::TransitionEffect::TransitionEffect().
tools::Rectangle SdPage::GetTitleRect | ( | ) | const |
Definition at line 1076 of file sdpage.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), SdrPage::GetHeight(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrModel::GetPage(), SdrPage::GetPageNum(), SdrPage::GetRightBorder(), SdrPage::getSdrModelFromSdrPage(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), SdrPage::GetWidth(), Handout, Size::Height(), mePageKind, Notes, Size::setHeight(), tools::Rectangle::SetPos(), tools::Rectangle::SetSize(), Size::setWidth(), Standard, and Size::Width().
Referenced by CalcAutoLayoutRectangles(), CreateDefaultPresObj(), and sd::OutlineView::CreateTitleTextObject().
|
inline |
Definition at line 242 of file sdpage.hxx.
Referenced by SdDrawDocument::CreatePage(), and SdGenericDrawPage::getPropertyValue().
|
inline |
Definition at line 248 of file sdpage.hxx.
Referenced by SdDrawDocument::CreatePage(), SdGenericDrawPage::getPropertyValue(), and sd::impl::TransitionEffect::TransitionEffect().
|
inline |
Definition at line 245 of file sdpage.hxx.
References mnTransitionFadeColor.
Referenced by SdDrawDocument::CreatePage(), and SdGenericDrawPage::getPropertyValue().
|
inline |
Definition at line 239 of file sdpage.hxx.
Referenced by SdDrawDocument::CreatePage(), and SdGenericDrawPage::getPropertyValue().
|
inline |
Definition at line 236 of file sdpage.hxx.
References mnTransitionType.
Referenced by SdDrawDocument::CreatePage(), SdGenericDrawPage::getPropertyValue(), and sd::slidesorter::view::PageObjectPainter::PaintTransitionEffect().
bool SdPage::hasAnimationNode | ( | ) | const |
quick check if this slide has an animation node.
This can be used to have a cost free check if there are no animations ad this slide. If it returns true this does not mean that there are animations available.
Definition at line 93 of file sdpage_animations.cxx.
References mxAnimationNode.
Referenced by sd::EffectMigration::DocumentLoaded(), notifyObjectRenamed(), sd::UndoObjectSetText::UndoObjectSetText(), and sd::UndoRemovePresObjectImpl::UndoRemovePresObjectImpl().
SdrObject * SdPage::InsertAutoLayoutShape | ( | SdrObject * | pObj1, |
PresObjKind | eObjKind, | ||
bool | bVertical, | ||
const ::tools::Rectangle & | rRect, | ||
bool | bInit | ||
) |
reuses or creates a presentation shape for an auto layout that fits the given parameter
eObjKind | The kind of presentation shape we like to have |
nIndex | If > 1 we skip the first nIndex-1 shapes with the presentation shape kind eObjKind while looking for an existing presentation shape |
bVertical | If true, the shape is created vertical if bInit is true |
rRect | The rectangle that should be used to transform the shape |
bInit | If true the shape is created if not found |
Definition at line 2194 of file sdpage.cxx.
References SfxUndoManager::AddUndoAction(), convertPresentationObjectImpl(), CreatePresObj(), DynCastSdrTextObj(), SdrTextObj::GetObjIdentifier(), SdrPage::getSdrModelFromSdrPage(), InsertPresObj(), SdrTextObj::IsAutoGrowHeight(), SdrTextObj::IsAutoGrowWidth(), SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), IsPresObj(), SdrTextObj::IsVerticalWriting(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), SdrPage::mbMaster, Outline, SfxItemSet::Put(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_TOP, SdrObject::SetLogicRect(), SdrObject::SetMergedItem(), SdrObject::SetMergedItemSet(), SdrTextObj::SetVerticalWriting(), and Title.
Referenced by sd::OutlineView::CreateOutlineTextObject(), sd::OutlineView::CreateTitleTextObject(), sd::DrawView::DeleteMarked(), and SetAutoLayout().
void SdPage::InsertPresObj | ( | SdrObject * | pObj, |
PresObjKind | eKind | ||
) |
inserts the given SdrObject into the presentation object list
Definition at line 2338 of file sdpage.cxx.
References sd::ShapeList::addShape(), DBG_ASSERT, SdDrawDocument::GetShapeUserData(), IsPresObj(), maPresentationShapeList, and SdAnimationInfo::mePresObjKind.
Referenced by ImplSdPPTImport::ApplyTextObj(), CreatePresObj(), SdGenericDrawPage::CreateSdrObject_(), sd::FuInsertOLE::DoExecute(), InsertAutoLayoutShape(), sd::View::InsertGraphic(), sd::View::InsertMediaObj(), sd::InsertTableImpl(), and lateInit().
|
inline |
Definition at line 223 of file sdpage.hxx.
Referenced by sd::SlideshowImpl::createSlideList(), SdPageObjsTLV::Fill(), sd::DocumentRenderer::Implementation::GetFilteredPage(), sd::DrawViewShell::GetMenuState(), sd::OutlineViewShell::GetMenuState(), sd::slidesorter::controller::SlotManager::GetMenuState(), SdGenericDrawPage::getPropertyValue(), ImpPageListWatcher::GetVisibleSdPageCount(), HtmlExport::InitExportParameters(), SdXImpressDocument::render(), and sd::SlideshowImpl::startShow().
|
inline |
Definition at line 231 of file sdpage.hxx.
Referenced by SdGenericDrawPage::getPropertyValue(), and sd::impl::TransitionEffect::TransitionEffect().
|
inline |
The "precious" flag is used for master pages to prevent some unused master pages from being deleted automatically.
For pages other than master pages this flag can be ignored.
Definition at line 368 of file sdpage.hxx.
Referenced by sd::sidebar::DocumentHelper::AddMasterPage(), sd::sidebar::CurrentMasterPagesSelector::Fill(), and SdDrawDocument::RemoveUnnecessaryMasterPages().
bool SdPage::IsPresObj | ( | const SdrObject * | pObj | ) |
Definition at line 2322 of file sdpage.cxx.
References sd::ShapeList::hasShape(), and maPresentationShapeList.
Referenced by sd::View::AcceptDrop(), sd::FuInsertOLE::DoExecute(), sd::DrawViewShell::FuTemporary(), InsertAutoLayoutShape(), sd::View::InsertGraphic(), sd::View::InsertMediaObj(), InsertPresObj(), sd::InsertTableImpl(), sd::View::IsPresObjSelected(), ScaleObjects(), sd::UndoRemovePresObjectImpl::UndoRemovePresObjectImpl(), sd::OutlineViewShell::UpdateOutlineObject(), and sd::OutlineViewShell::UpdateTitleObject().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 280 of file sdpage2.cxx.
|
inline |
Definition at line 225 of file sdpage.hxx.
Referenced by SdDrawDocument::InsertBookmarkAsPage().
|
inline |
Definition at line 208 of file sdpage.hxx.
Referenced by sd::DrawViewShell::ChangeEditMode(), sd::DrawViewShell::DeleteActualPage(), sd::ViewClipboard::DetermineInsertPosition(), sd::FuExpandPage::DoExecute(), sd::FuPresentationLayout::DoExecute(), sd::FuSlideShowDlg::DoExecute(), sd::FuSummaryPage::DoExecute(), sd::DrawDocShell::Draw(), sd::OutlineView::FillOutliner(), sd::OutlineViewShell::GetMenuState(), SdDrawDocument::MovePages(), sd::DrawViewShell::SelectPage(), sd::DrawViewShell::SwitchPage(), and sd::sidebar::CurrentMasterPagesSelector::UpdateSelection().
|
inline |
Definition at line 220 of file sdpage.hxx.
Referenced by HtmlExport::CreateHtmlForPresPages(), and sd::impl::TransitionEffect::TransitionEffect().
|
inline |
Definition at line 234 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::TransitionEffect().
|
private |
Definition at line 338 of file sdpage2.cxx.
References cloneAnimations(), createAnnotation(), getHeaderFooterSettings(), sd::ShapeList::getList(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), GetPresObjKind(), SdrObject::GetUserCall(), InsertPresObj(), SdrObjListIter::IsMore(), FmFormPage::lateInit(), maAnnotations, maBookmarkName, maCreatedPageName, maFileName, maLayoutName, maPresentationShapeList, maSoundFile, mbExcluded, mbIsPrecious, mbLoopSound, mbScaleObjects, mbSelected, mbSoundOn, mbStopSound, mbTransitionDirection, meAutoLayout, meCharSet, mePageKind, mePresChange, mfTime, mfTransitionDuration, mnPaperBin, mnTransitionFadeColor, mnTransitionSubtype, mnTransitionType, mpPageLink, SdrObjListIter::Next(), setHeaderFooterSettings(), and SdrObject::SetUserCall().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 1681 of file sdpage.cxx.
References SdrObject::GetLayer(), SdrPage::getSdrModelFromSdrPage(), FmFormPage::InsertObject(), SdrPage::mbMaster, SdrObjList::NbcInsertObject(), SdrObject::NbcSetLayer(), nId, and nPos.
Referenced by sd::EffectMigration::CreateAnimatedGroup(), ImplSdPPTImport::Import(), sd::DocumentRenderer::Implementation::InitHandoutTemplate(), and ImplSdPPTImport::SetHeaderFooterPageSettings().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 1718 of file sdpage.cxx.
References SdrObjList::GetObj(), SdrObjList::NbcRemoveObject(), and onRemoveObject().
Referenced by sd::DocumentRenderer::Implementation::InitHandoutTemplate(), and SdXShape::setPropertyValue().
void SdPage::notifyObjectRenamed | ( | const SdrObject * | pObj | ) |
Notify that the object has been renamed and the animation effects has to update.
Notify that the object has been renamed and the animation effect has to update.
Definition at line 82 of file sdpage_animations.cxx.
References getMainSequence(), and hasAnimationNode().
Referenced by sd::DrawViewShell::FuTemporary().
void SdPage::onEndTextEdit | ( | SdrObject * | pObj | ) |
callback from the sd::View when an object just left text edit mode
Definition at line 139 of file sdpage_animations.cxx.
References getMainSequence(), SdrObject::getUnoShape(), and mxAnimationNode.
Referenced by sd::View::SdrEndTextEdit().
void SdPage::onParagraphInserted | ( | const ::Outliner * | pOutliner, |
Paragraph const * | pPara, | ||
SdrObject * | pObj | ||
) |
callback from the sd::View when a new paragraph for one object on this page is created
Definition at line 109 of file sdpage_animations.cxx.
References Any, getMainSequence(), SdrObject::getUnoShape(), and mxAnimationNode.
Referenced by sd::IMPL_LINK().
void SdPage::onParagraphRemoving | ( | const ::Outliner * | pOutliner, |
Paragraph const * | pPara, | ||
SdrObject * | pObj | ||
) |
callback from the sd::View when a paragraph from one object on this page is removed
Definition at line 124 of file sdpage_animations.cxx.
References Any, getMainSequence(), SdrObject::getUnoShape(), and mxAnimationNode.
Referenced by sd::IMPL_LINK().
|
private |
called before a shape is removed or replaced from this slide
Definition at line 1734 of file sdpage.cxx.
References SdrPage::getSdrModelFromSdrPage(), pObject, removeAnimations(), RemoveObject(), and RemovePresObj().
Referenced by NbcRemoveObject(), RemoveObject(), and ReplaceObject().
void SdPage::removeAnimations | ( | const SdrObject * | pObj | ) |
removes all custom animations for the given shape
Definition at line 68 of file sdpage_animations.cxx.
References getMainSequence(), mpMainSequence, and mxAnimationNode.
Referenced by onRemoveObject().
void SdPage::removeAnnotation | ( | const css::uno::Reference< css::office::XAnnotation > & | xAnnotation | ) |
Definition at line 591 of file sdpage2.cxx.
References SdrModel::AddUndo(), sd::CreateUndoInsertOrRemoveAnnotation(), SdrPage::getSdrModelFromSdrPage(), maAnnotations, NotifyDocumentEvent(), and SdrModel::SetChanged().
Referenced by sd::AnnotationManagerImpl::DeleteAllAnnotations(), sd::AnnotationManagerImpl::DeleteAnnotation(), sd::AnnotationManagerImpl::DeleteAnnotationsByAuthor(), and SdGenericDrawPage::removeAnnotation().
void SdPage::RemoveEmptyPresentationObjects | ( | ) |
removes all empty presentation objects from this slide
Definition at line 485 of file sdpage2.cxx.
References SdrObjListIter::Next(), and RemoveObject().
Referenced by SdDrawDocument::InsertBookmarkAsPage().
|
overridevirtual |
Reimplemented from FmFormPage.
Definition at line 1706 of file sdpage.cxx.
References SdrObjList::GetObj(), onRemoveObject(), and FmFormPage::RemoveObject().
Referenced by convertPresentationObjectImpl(), CreateTitleAndLayout(), sd::IMPL_LINK(), ImplSdPPTImport::Import(), onRemoveObject(), RemoveEmptyPresentationObjects(), SetAutoLayout(), sd::OutlineViewShell::UpdateOutlineObject(), and sd::OutlineViewShell::UpdateTitleObject().
void SdPage::RemovePresObj | ( | const SdrObject * | pObj | ) |
removes the given SdrObject from the presentation object list
Definition at line 2327 of file sdpage.cxx.
References SdDrawDocument::GetShapeUserData(), sd::ShapeList::hasShape(), maPresentationShapeList, SdAnimationInfo::mePresObjKind, NONE, and sd::ShapeList::removeShape().
Referenced by onRemoveObject(), SdDrawPage::remove(), and SdMasterPage::remove().
|
overridevirtual |
Also override ReplaceObject methods to realize when objects are removed with this mechanism instead of RemoveObject.
Reimplemented from SdrObjList.
Definition at line 1726 of file sdpage.cxx.
References SdrObjList::GetObj(), onRemoveObject(), and SdrObjList::ReplaceObject().
bool SdPage::RestoreDefaultText | ( | SdrObject * | pObj | ) |
Definition at line 2866 of file sdpage.cxx.
References DynCastSdrTextObj(), SdrTextObj::GetOutlinerParaObject(), GetPresObjKind(), GetPresObjText(), SdrAttrObj::GetSnapRect(), GetStyleSheetForPresObj(), OutlinerParaObject::IsEffectivelyVertical(), SdrObject::NbcSetStyleSheet(), Notes, Outline, SdrObject::SetEmptyPresObj(), SetObjText(), SdrObject::SetSnapRect(), SdrTextObj::SetTextEditOutliner(), OutlinerParaObject::SetVertical(), Text, and Title.
Referenced by sd::View::RestoreDefaultText(), sd::OutlineViewShell::UpdateOutlineObject(), and sd::OutlineViewShell::UpdateTitleObject().
void SdPage::ScaleObjects | ( | const Size & | rNewPageSize, |
const ::tools::Rectangle & | rNewBorderRect, | ||
bool | bScaleAllObj | ||
) |
Definition at line 1807 of file sdpage.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aName, SfxBroadcaster::Broadcast(), SdrObject::BroadcastObjectChange(), SfxItemSet::ClearInvalidItems(), SvxBulletItem::CopyValidProperties(), DynCastSdrTextObj(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_PARA_BULLET(), SfxItemSet::Get(), SdrObject::GetCurrentBoundRect(), SvxFontHeightItem::GetHeight(), SdrPage::GetHeight(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), GetLayoutName(), SdrPage::GetLeftBorder(), SdrObject::GetLogicRect(), SdrPage::GetLowerBorder(), SdrObject::GetMergedItem(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), GetPresObj(), SdrPage::GetRightBorder(), EditTextObject::GetScriptType(), SdrPage::getSdrModelFromSdrPage(), tools::Rectangle::GetSize(), GetStyleSheetForPresObj(), OutlinerParaObject::GetTextObject(), SdrPage::GetUpperBorder(), SdrPage::GetWidth(), Size::Height(), i, SdrObject::IsEdgeObj(), IsPresObj(), maLockAutoLayoutArrangement, SdrPage::mbMaster, mbScaleObjects, SdrObject::NbcMove(), Notes, Outline, SfxItemSet::Put(), SdrObject::Resize(), rSet, SdrObject::SetChanged(), Size::setHeight(), SdrObject::SetMergedItem(), Size::setWidth(), Point::setX(), Point::setY(), Title, tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::InsertBookmarkAsPage(), SdPageFormatUndoAction::Redo(), sd::DrawViewShell::SetupPage(), and SdPageFormatUndoAction::Undo().
bool SdPage::setAlienAttributes | ( | const css::uno::Any & | rAttributes | ) |
Definition at line 456 of file sdpage2.cxx.
References getOrCreateItems(), SfxItemSet::Put(), SvXMLAttrContainerItem::PutValue(), and SDRATTR_XMLATTRIBUTES().
void SdPage::setAnimationNode | ( | css::uno::Reference< css::animations::XAnimationNode > const & | xNode | ) |
sets the main animation node
css::uno::RuntimeException |
Definition at line 60 of file sdpage_animations.cxx.
References mpMainSequence, and mxAnimationNode.
Referenced by cloneAnimations().
void SdPage::SetAutoLayout | ( | AutoLayout | eLayout, |
bool | bInit = false , |
||
bool | bCreate = false |
||
) |
Definition at line 1610 of file sdpage.cxx.
References SfxUndoManager::AddUndoAction(), AUTOLAYOUT_NONE, CalcAutoLayoutRectangles(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), CreateTitleAndLayout(), enumtoString(), findAutoLayoutShapesImpl(), GetAutoLayout(), GetLayoutDescriptor(), sd::ShapeList::getNextShape(), SdrPage::getSdrModelFromSdrPage(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), InsertAutoLayoutShape(), sd::ShapeList::isEmpty(), SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), maLockAutoLayoutArrangement, maPresentationShapeList, MAX_PRESOBJS, SdrPage::mbMaster, meAutoLayout, NONE, RemoveObject(), and sd::ShapeList::seekShape().
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), sd::SdPhotoAlbumDialog::appendNewSlide(), Changed(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), sd::OutlineView::CreateOutlineTextObject(), sd::OutlineView::CreateTitleTextObject(), sd::DrawView::DeleteMarked(), IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), SdPresentationLayoutUndoAction::Redo(), SdGenericDrawPage::setPropertyValue(), sd::DrawViewShell::SetupPage(), ModifyPageUndoAction::Undo(), and SdPresentationLayoutUndoAction::Undo().
|
inline |
Definition at line 259 of file sdpage.hxx.
References aName.
Referenced by SdPageLink::Closed(), SdPageLink::DataChanged(), SdDrawDocument::InsertBookmarkAsPage(), and SdPageLink::SdPageLink().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 1756 of file sdpage.cxx.
References SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrPage::GetRightBorder(), SdrPage::GetUpperBorder(), and SdrPage::SetBorder().
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::InsertBookmarkAsPage(), and SdDrawDocument::SetupNewPage().
|
inline |
Definition at line 222 of file sdpage.hxx.
Referenced by ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::SetFadeEffect | ( | css::presentation::FadeEffect | eNewEffect | ) |
Definition at line 98 of file sdpage_animations.cxx.
Referenced by ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
|
inline |
Definition at line 257 of file sdpage.hxx.
References aName.
Referenced by SdPageLink::Closed(), SdPageLink::DataChanged(), SdDrawDocument::InsertBookmarkAsPage(), and SdPageLink::SdPageLink().
void SdPage::setHeaderFooterSettings | ( | const sd::HeaderFooterSettings & | rNewSettings | ) |
Definition at line 2723 of file sdpage.cxx.
References sdr::contact::ViewContact::ActionChanged(), SdrObject::BroadcastObjectChange(), DateTime, sdr::contact::ViewContact::flushViewObjectContacts(), Footer, GetPresObj(), SdrObject::GetViewContact(), Handout, Header, maHeaderFooterSettings, SdrPage::mbMaster, mePageKind, SdrPage::SetChanged(), SlideNumber, SdrPage::TRG_GetMasterPage(), SdrPage::TRG_GetMasterPageDescriptorViewContact(), and SdrPage::TRG_HasMasterPage().
Referenced by sd::HeaderFooterDialog::change(), lateInit(), SdHeaderFooterUndoAction::Redo(), ImplSdPPTImport::SetHeaderFooterPageSettings(), SdGenericDrawPage::setPropertyValue(), and SdHeaderFooterUndoAction::Undo().
void SdPage::SetLayoutName | ( | const OUString & | aName | ) |
Definition at line 2487 of file sdpage.cxx.
References aName, maLayoutName, SdrPage::mbMaster, nPos, SD_LT_SEPARATOR, and FmFormPage::SetName().
Referenced by SdTransferable::CreateData(), SdDrawDocument::NewOrLoadCompleted(), SdDrawDocument::RenameLayoutTemplate(), and SdDrawPage::setMasterPage().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 1765 of file sdpage.cxx.
References SdrPage::GetLeftBorder(), nBorder, and SdrPage::SetLeftBorder().
Referenced by sd::DrawViewShell::ExecRuler(), SdPageFormatUndoAction::Redo(), SdPageLRUndoAction::Redo(), SdGenericDrawPage::SetLeftBorder(), sd::DrawViewShell::SetupPage(), SdPageFormatUndoAction::Undo(), and SdPageLRUndoAction::Undo().
|
inline |
Definition at line 230 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 1789 of file sdpage.cxx.
References SdrPage::GetLowerBorder(), nBorder, and SdrPage::SetLowerBorder().
Referenced by sd::DrawViewShell::ExecRuler(), SdPageFormatUndoAction::Redo(), SdPageULUndoAction::Redo(), SdGenericDrawPage::SetLowerBorder(), sd::DrawViewShell::SetupPage(), SdPageFormatUndoAction::Undo(), and SdPageULUndoAction::Undo().
void SdPage::SetName | ( | const OUString & | rName | ) |
Set the name of the page and broadcast a model change.
Definition at line 2703 of file sdpage.cxx.
References SdrPage::ActionChanged(), GetName(), SdrPage::getSdrModelFromSdrPage(), and FmFormPage::SetName().
Referenced by IMPL_LINK(), ImplSdPPTImport::Import(), SdDrawDocument::InsertBookmarkAsPage(), SdDrawDocument::NewOrLoadCompleted(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), ModifyPageUndoAction::Redo(), SdDrawDocument::RenameLayoutTemplate(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), SdDrawPage::setName(), SdMasterPage::setName(), SdDrawDocument::SetupNewPage(), and ModifyPageUndoAction::Undo().
void SdPage::SetObjText | ( | SdrTextObj * | pObj, |
SdrOutliner * | pOutliner, | ||
PresObjKind | eObjKind, | ||
std::u16string_view | rStr | ||
) |
Definition at line 2357 of file sdpage.cxx.
References Outliner::CreateParaObject(), DateTime, EE_FEATURE_FIELD(), Outliner::EnableUndo(), Footer, Outliner::GetEmptyItemSet(), SdrTextObj::GetLogicRect(), Outliner::GetOutlinerMode(), Outliner::GetPaperSize(), Outliner::GetParagraph(), SdrPage::getSdrModelFromSdrPage(), tools::Rectangle::GetSize(), SdrObject::GetStyleSheet(), GetStyleSheetForPresObj(), Header, Outliner::Init(), SdrPage::mbMaster, Outline, oox::core::Outliner, pData, Outliner::QuickInsertField(), SD_MOD, SdResId(), Outliner::SetEditTextObjectPool(), SdrObject::SetOutlinerParaObject(), Outliner::SetPaperSize(), Outliner::SetParaAttribs(), Outliner::SetRefDevice(), Outliner::SetStyleSheet(), Outliner::SetStyleSheetPool(), Outliner::SetText(), Outliner::SetUpdateLayout(), SlideNumber, and Title.
Referenced by ImplSdPPTImport::ApplyTextObj(), CreatePresObj(), SdDrawDocument::NewOrLoadCompleted(), and RestoreDefaultText().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 2557 of file sdpage.cxx.
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::InsertBookmarkAsPage(), SdPageFormatUndoAction::Redo(), SdGenericDrawPage::setPropertyValue(), and SdPageFormatUndoAction::Undo().
|
inline |
Definition at line 204 of file sdpage.hxx.
Referenced by SdDrawDocument::CreateMissingNotesAndHandoutPages(), and SdDrawDocument::InsertPageSet().
|
inline |
Definition at line 277 of file sdpage.hxx.
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdPageFormatUndoAction::Redo(), and SdPageFormatUndoAction::Undo().
void SdPage::SetPrecious | ( | const bool | bIsPrecious | ) |
Set the "precious" flag to the given value.
Definition at line 3112 of file sdpage.cxx.
References mbIsPrecious.
Referenced by sd::sidebar::CurrentMasterPagesSelector::ExecuteCommand(), sd::sidebar::TemplatePageObjectProvider::operator()(), and sd::sidebar::MasterPageDescriptor::UpdatePageObject().
|
inline |
Definition at line 213 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::SetPresentationLayout | ( | std::u16string_view | rLayoutName, |
bool | bReplaceStyleSheets = true , |
||
bool | bSetMasterPage = true , |
||
bool | bReverseOrder = false |
||
) |
Definition at line 75 of file sdpage2.cxx.
References StyleReplaceData::aName, StyleReplaceData::aNewName, OutlinerParaObject::ChangeStyleSheets(), DBG_ASSERT, SfxListener::EndListening(), SfxStyleSheetBasePool::Find(), SfxStyleSheetBase::GetFamily(), GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), GetPageKind(), GetPresObjKind(), SdrPage::getSdrModelFromSdrPage(), GetStyleSheetForPresObj(), SdrModel::GetStyleSheetPool(), i, SfxListener::IsListening(), SdrPage::IsMasterPage(), maLayoutName, mePageKind, StyleReplaceData::nFamily, StyleReplaceData::nNewFamily, SD_LT_SEPARATOR, OutlinerParaObject::SetStyleSheets(), STR_LAYOUT_OUTLINE, Title, and SdrPage::TRG_SetMasterPage().
Referenced by SdDrawDocument::InsertBookmarkAsPage(), sd::View::InsertData(), SdPresentationLayoutUndoAction::Redo(), and SdPresentationLayoutUndoAction::Undo().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 1773 of file sdpage.cxx.
References SdrPage::GetRightBorder(), nBorder, and SdrPage::SetRightBorder().
Referenced by sd::DrawViewShell::ExecRuler(), SdPageFormatUndoAction::Redo(), SdPageLRUndoAction::Redo(), SdGenericDrawPage::SetRightBorder(), sd::DrawViewShell::SetupPage(), SdPageFormatUndoAction::Undo(), and SdPageLRUndoAction::Undo().
|
inline |
Definition at line 207 of file sdpage.hxx.
Referenced by sd::ViewShell::CreateOrDuplicatePage(), sd::IMPL_LINK(), SdDrawDocument::SetSelected(), sd::OutlineView::SetSelectedPages(), and SdDrawDocument::UnselectAllPages().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 1746 of file sdpage.cxx.
References SdrPage::GetSize(), and SdrPage::SetSize().
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), sd::View::CreateClipboardDataObject(), SdTransferable::CreateData(), SdPdfFilter::Import(), SdDrawDocument::InsertBookmarkAsPage(), SdPageFormatUndoAction::Redo(), SdGenericDrawPage::SetHeight(), SdDrawDocument::SetupNewPage(), sd::DrawViewShell::SetupPage(), SdGenericDrawPage::SetWidth(), and SdPageFormatUndoAction::Undo().
|
inline |
Definition at line 219 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
|
inline |
Definition at line 227 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
|
inline |
Definition at line 233 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
|
inline |
Definition at line 216 of file sdpage.hxx.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::setTransitionDirection | ( | bool | bTransitionbDirection | ) |
Definition at line 510 of file sdpage2.cxx.
References SdrPage::ActionChanged(), and mbTransitionDirection.
Referenced by sd::impl::TransitionEffect::applyTo(), sd::EffectMigration::SetFadeEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::setTransitionDuration | ( | double | fTransitionDuration | ) |
Definition at line 522 of file sdpage2.cxx.
References SdrPage::ActionChanged(), and mfTransitionDuration.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::setTransitionFadeColor | ( | sal_Int32 | nTransitionFadeColor | ) |
Definition at line 516 of file sdpage2.cxx.
References SdrPage::ActionChanged(), and mnTransitionFadeColor.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), sd::EffectMigration::SetFadeEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::setTransitionSubtype | ( | sal_Int16 | nTransitionSubtype | ) |
Definition at line 504 of file sdpage2.cxx.
References SdrPage::ActionChanged(), and mnTransitionSubtype.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), sd::EffectMigration::SetFadeEffect(), and SdGenericDrawPage::setPropertyValue().
void SdPage::setTransitionType | ( | sal_Int16 | nTransitionType | ) |
Definition at line 498 of file sdpage2.cxx.
References SdrPage::ActionChanged(), and mnTransitionType.
Referenced by sd::impl::TransitionEffect::applyTo(), ImplSdPPTImport::ImportPageEffect(), sd::EffectMigration::SetFadeEffect(), and SdGenericDrawPage::setPropertyValue().
|
overridevirtual |
Reimplemented from SdrPage.
Definition at line 1781 of file sdpage.cxx.
References SdrPage::GetUpperBorder(), nBorder, and SdrPage::SetUpperBorder().
Referenced by sd::DrawViewShell::ExecRuler(), SdPageFormatUndoAction::Redo(), SdPageULUndoAction::Redo(), sd::DrawViewShell::SetupPage(), SdGenericDrawPage::SetUpperBorder(), SdPageFormatUndoAction::Undo(), and SdPageULUndoAction::Undo().
|
friend |
Definition at line 101 of file sdpage.hxx.
|
friend |
Definition at line 99 of file sdpage.hxx.
|
friend |
Definition at line 103 of file sdpage.hxx.
|
friend |
Definition at line 102 of file sdpage.hxx.
|
friend |
Definition at line 100 of file sdpage.hxx.
|
friend |
Definition at line 98 of file sdpage.hxx.
|
friend |
Definition at line 97 of file sdpage.hxx.
|
private |
Definition at line 126 of file sdpage.hxx.
Referenced by addAnnotation(), lateInit(), and removeAnnotation().
|
private |
Bookmark name.
Definition at line 120 of file sdpage.hxx.
Referenced by ConnectLink(), Equals(), and lateInit().
|
private |
generated page name by GetPageName.
Definition at line 118 of file sdpage.hxx.
Referenced by GetName(), and lateInit().
|
private |
|
private |
Definition at line 140 of file sdpage.hxx.
Referenced by getHeaderFooterSettings(), and setHeaderFooterSettings().
|
private |
Name of the layout.
Definition at line 114 of file sdpage.hxx.
Referenced by CreatePresObj(), EndListenOutlineText(), Equals(), lateInit(), SdPage(), SetLayoutName(), and SetPresentationLayout().
|
private |
Definition at line 108 of file sdpage.hxx.
Referenced by Changed(), ScaleObjects(), and SetAutoLayout().
|
private |
presentation objects
Definition at line 107 of file sdpage.hxx.
Referenced by GetPresObj(), GetPresObjKind(), InsertPresObj(), IsPresObj(), lateInit(), RemovePresObj(), and SetAutoLayout().
|
private |
Path to sound file (MS-DOS notation).
Definition at line 115 of file sdpage.hxx.
Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().
|
private |
will (not) be displayed during show.
Definition at line 113 of file sdpage.hxx.
Referenced by Equals(), and lateInit().
|
private |
Definition at line 387 of file sdpage.hxx.
Referenced by lateInit(), and SetPrecious().
|
private |
Definition at line 116 of file sdpage.hxx.
Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().
|
private |
Objects should be scaled.
Definition at line 121 of file sdpage.hxx.
Referenced by Equals(), lateInit(), and ScaleObjects().
|
private |
|
private |
with / without sound.
Definition at line 112 of file sdpage.hxx.
Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().
|
private |
Definition at line 117 of file sdpage.hxx.
Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().
|
private |
Definition at line 145 of file sdpage.hxx.
Referenced by Equals(), lateInit(), setTransitionDirection(), and sd::UndoTransition::UndoTransition().
|
private |
AutoLayout.
Definition at line 106 of file sdpage.hxx.
Referenced by Equals(), lateInit(), ModifyPageUndoAction::Redo(), and SetAutoLayout().
|
private |
|
private |
page type
Definition at line 105 of file sdpage.hxx.
Referenced by Changed(), ConnectLink(), CreateDefaultPresObj(), CreatePresObj(), CreateTitleAndLayout(), dumpAsXml(), Equals(), getHeaderFooterSettings(), GetLayoutRect(), GetName(), GetPresObjText(), GetTitleRect(), lateInit(), setHeaderFooterSettings(), and SetPresentationLayout().
|
private |
manual / automatic / semi automatic
Definition at line 110 of file sdpage.hxx.
Referenced by Equals(), and lateInit().
|
private |
Display time in seconds.
Definition at line 111 of file sdpage.hxx.
Referenced by Equals(), and lateInit().
|
private |
Definition at line 147 of file sdpage.hxx.
Referenced by Equals(), lateInit(), setTransitionDuration(), and sd::UndoTransition::UndoTransition().
|
static |
Definition at line 384 of file sdpage.hxx.
|
private |
Definition at line 390 of file sdpage.hxx.
|
private |
|
private |
Definition at line 146 of file sdpage.hxx.
Referenced by Equals(), lateInit(), setTransitionFadeColor(), and sd::UndoTransition::UndoTransition().
|
private |
Definition at line 144 of file sdpage.hxx.
Referenced by Equals(), lateInit(), setTransitionSubtype(), and sd::UndoTransition::UndoTransition().
|
private |
Definition at line 143 of file sdpage.hxx.
Referenced by Equals(), lateInit(), setTransitionType(), and sd::UndoTransition::UndoTransition().
|
private |
Definition at line 136 of file sdpage.hxx.
Referenced by getAlienAttributes(), and getOrCreateItems().
|
private |
a helper class to manipulate effects inside the main sequence
Definition at line 132 of file sdpage.hxx.
Referenced by getMainSequence(), removeAnimations(), and setAnimationNode().
|
private |
Page link (at left sides only)
Definition at line 124 of file sdpage.hxx.
Referenced by ConnectLink(), DisconnectLink(), and lateInit().
|
private |
holds the smil animation sequences for this page
Definition at line 129 of file sdpage.hxx.
Referenced by cloneAnimations(), getAnimationNode(), hasAnimationNode(), onEndTextEdit(), onParagraphInserted(), onParagraphRemoving(), removeAnimations(), setAnimationNode(), sd::UndoAnimation::UndoAnimation(), and ~SdPage().