LibreOffice Module sd (master) 1
|
#include <algorithm>
#include <array>
#include <comphelper/classids.hxx>
#include <comphelper/embeddedobjectcontainer.hxx>
#include <sfx2/viewsh.hxx>
#include <vcl/svapp.hxx>
#include <editeng/outliner.hxx>
#include <editeng/eeitem.hxx>
#include <svx/svdoutl.hxx>
#include <editeng/editdata.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/bulletitem.hxx>
#include <svx/svdpagv.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/outlobj.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdograf.hxx>
#include <svx/svdopage.hxx>
#include <editeng/pbinitem.hxx>
#include <svx/svdundo.hxx>
#include <svl/hint.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/editobj.hxx>
#include <svx/unopage.hxx>
#include <editeng/flditem.hxx>
#include <svx/sdr/contact/displayinfo.hxx>
#include <svx/svditer.hxx>
#include <svx/svdlayer.hxx>
#include <svx/sdtmfitm.hxx>
#include <svx/sdtagitm.hxx>
#include <svx/sdtcfitm.hxx>
#include <svx/xfillit0.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <com/sun/star/animations/XAnimationNode.hpp>
#include <com/sun/star/animations/XTimeContainer.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/xml/dom/XNode.hpp>
#include <com/sun/star/xml/dom/XNodeList.hpp>
#include <com/sun/star/xml/dom/XNamedNodeMap.hpp>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <o3tl/enumarray.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/sorted_vector.hxx>
#include <xmloff/autolayout.hxx>
#include <Outliner.hxx>
#include <app.hrc>
#include <createunopageimpl.hxx>
#include <drawdoc.hxx>
#include <sdmod.hxx>
#include <sdpage.hxx>
#include <sdresid.hxx>
#include <stlsheet.hxx>
#include <strings.hrc>
#include <strings.hxx>
#include <bitmaps.hlst>
#include <glob.hxx>
#include <anminfo.hxx>
#include <undo/undomanager.hxx>
#include <undo/undoobjects.hxx>
#include <svx/sdr/contact/viewobjectcontact.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/sdr/contact/objectcontact.hxx>
#include <svx/unoapi.hxx>
#include <unokywds.hxx>
Go to the source code of this file.
Functions | |
static constexpr PresObjKind | operator| (PresObjKind e, int x) |
static const LayoutDescriptor & | GetLayoutDescriptor (AutoLayout eLayout) |
static OUString | enumtoString (AutoLayout aut) |
static void | CalcAutoLayoutRectangles (SdPage const &rPage,::tools::Rectangle *rRectangle, const OUString &sLayoutType) |
static void | findAutoLayoutShapesImpl (SdPage &rPage, const LayoutDescriptor &rDescriptor, std::array< SdrObject *, MAX_PRESOBJS > &rShapes, bool bInit, bool bSwitchLayout) |
static rtl::Reference< SdrObject > | convertPresentationObjectImpl (SdPage &rPage, SdrObject *pSourceObj, PresObjKind &eObjKind, bool bVertical, const ::tools::Rectangle &rRect) |
Variables | |
const int | MAX_PRESOBJS = 7 |
const int | VERTICAL = 0x8000 |
|
static |
Definition at line 1348 of file sdpage.cxx.
References count, basegfx::fround(), SdPage::GetLayoutRect(), SdrObject::GetLogicRect(), SdPage::GetPageKind(), SdPage::GetPresObj(), SdrPage::getSdrModelFromSdrPage(), tools::Rectangle::GetSize(), SdPage::GetTitleRect(), Handout, Size::Height(), i, tools::Rectangle::IsEmpty(), MAX_PRESOBJS, Notes, Outline, Size::setHeight(), Size::setWidth(), Text, Title, tools::Rectangle::TopLeft(), SdrPage::TRG_GetMasterPage(), Size::Width(), Point::X(), and Point::Y().
Referenced by SdPage::SetAutoLayout().
|
static |
Definition at line 2063 of file sdpage.cxx.
References SfxUndoManager::AddUndoAction(), aName, OutlinerParaObject::ChangeStyleSheetName(), SfxItemSet::ClearItem(), SdPage::CreatePresObj(), SdrUndoFactory::CreateUndoDeleteObject(), EE_PARA_LRSPACE(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), SdDrawDocument::GetInternalOutliner(), SdPage::GetLayoutName(), SfxStyleSheetBase::GetName(), SdrObject::GetObjIdentifier(), SdrObject::GetOrdNum(), SdrObject::GetOutlinerParaObject(), SdDrawDocument::GetPool(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetSdrUndoFactory(), SdPage::GetStyleSheetForPresObj(), SdrModel::GetStyleSheetPool(), SdDrawDocument::GetUndoManager(), Graphic, SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), Media, Object, Outline, SfxItemSet::Put(), SdPage::RemoveObject(), SvxLRSpaceItem::SetTextLeft(), Table, and Text.
Referenced by SdPage::InsertAutoLayoutShape().
|
static |
Definition at line 1290 of file sdpage.cxx.
References AUTOLAYOUT_ONLY_TEXT, AUTOLAYOUT_START, AUTOLAYOUT_TITLE_2CONTENT, AUTOLAYOUT_TITLE_2CONTENT_CONTENT, AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_2VTEXT, AUTOLAYOUT_TITLE_4CONTENT, AUTOLAYOUT_TITLE_6CONTENT, AUTOLAYOUT_TITLE_CONTENT, AUTOLAYOUT_TITLE_CONTENT_2CONTENT, AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_ONLY, AUTOLAYOUT_TITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT, and AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT.
Referenced by SdPage::SetAutoLayout().
|
static |
Definition at line 1452 of file sdpage.cxx.
References Calc, Chart, o3tl::enumarray< typename E, typename V >::fill(), comphelper::IEmbeddedHelper::getEmbeddedObjectContainer(), SfxStyleSheetBase::GetFamily(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrModel::GetPersist(), SdrOle2Obj::GetPersistName(), SdPage::GetPresObj(), SdrOle2Obj::GetProgName(), SdrPage::getSdrModelFromSdrPage(), SdrObject::GetStyleSheet(), Graphic, Handout, i, SdrOle2Obj::IsCalc(), SdrOle2Obj::IsChart(), SdrOle2Obj::IsEmpty(), SdrObject::IsEmptyPresObj(), MAX_PRESOBJS, Media, NONE, Notes, Object, Outline, Page, SO3_APPLET_CLASSID, SO3_IFRAME_CLASSID, SO3_PLUGIN_CLASSID, Table, Text, and Title.
Referenced by SdPage::SetAutoLayout().
|
static |
Definition at line 1240 of file sdpage.cxx.
References AUTOLAYOUT_END, AUTOLAYOUT_NONE, AUTOLAYOUT_START, Graphic, NONE, Notes, Object, Outline, Page, Text, Title, and VERTICAL.
Referenced by SdPage::SetAutoLayout().
|
staticconstexpr |
Definition at line 1210 of file sdpage.cxx.
References x.
const int MAX_PRESOBJS = 7 |
Definition at line 1207 of file sdpage.cxx.
Referenced by CalcAutoLayoutRectangles(), findAutoLayoutShapesImpl(), and SdPage::SetAutoLayout().
const int VERTICAL = 0x8000 |
Definition at line 1208 of file sdpage.cxx.
Referenced by GetLayoutDescriptor(), sd::TransitionPreset::importTransitionsFile(), and oox::core::PowerPointExport::WriteTransition().