LibreOffice Module sd (master) 1
|
#include <epptbase.hxx>
Public Member Functions | |
PPTWriterBase () | |
PPTWriterBase (const css::uno::Reference< css::frame::XModel > &rModel, const css::uno::Reference< css::task::XStatusIndicator > &rStatInd) | |
virtual | ~PPTWriterBase () |
void | exportPPT (const std::vector< css::beans::PropertyValue > &) |
bool | InitSOIface () |
bool | GetPageByIndex (sal_uInt32 nIndex, PageType) |
sal_uInt32 | GetMasterIndex (PageType ePageType) |
void | SetCurrentStyleSheet (sal_uInt32 nPageNum) |
bool | GetPresObj () const |
bool | CreateSlide (sal_uInt32 nPageNum) |
bool | CreateSlideMaster (sal_uInt32 nPageNum) |
bool | CreateNotes (sal_uInt32 nPageNum) |
![]() | |
PropValue () | |
![]() | |
sal_uInt32 | GetCurrentGroupIndex () const |
sal_Int32 | GetCurrentGroupLevel () const |
const css::uno::Reference< css::container::XIndexAccess > & | GetCurrentGroupAccess () const |
sal_uInt32 | GetGroupsClosed () |
void | ResetGroupTable (sal_uInt32 nCount) |
void | ClearGroupTable () |
bool | EnterGroup (css::uno::Reference< css::container::XIndexAccess > const &rIndex) |
bool | GetNextGroupEntry () |
GroupTable () | |
~GroupTable () | |
Static Public Member Functions | |
static PHLayout const & | GetLayout (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
static PHLayout const & | GetLayout (sal_Int32 nOffset) |
static sal_Int32 | GetLayoutOffset (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
static sal_Int32 | GetLayoutOffsetFixed (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
static sal_Int8 | GetTransition (sal_Int16 nTransitionType, sal_Int16 nTransitionSubtype, css::presentation::FadeEffect eEffect, sal_Int32 nTransitionFadeColor, sal_uInt8 &nDirection) |
static sal_Int8 | GetTransition (css::presentation::FadeEffect eEffect, sal_uInt8 &nDirection) |
![]() | |
static bool | GetPropertyValue (css::uno::Any &rAny, const css::uno::Reference< css::beans::XPropertySet > &, const OUString &rPropertyName, bool bTestPropertyAvailability=false) |
static css::beans::PropertyState | GetPropertyState (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &rPropertyName) |
Protected Member Functions | |
virtual void | ImplWriteSlide (sal_uInt32, sal_uInt32, sal_uInt16, bool, css::uno::Reference< css::beans::XPropertySet > const &) |
virtual void | ImplWriteNotes (sal_uInt32 nPageNum)=0 |
virtual void | ImplWriteSlideMaster (sal_uInt32, css::uno::Reference< css::beans::XPropertySet > const &) |
virtual void | exportPPTPre (const std::vector< css::beans::PropertyValue > &) |
virtual void | exportPPTPost () |
virtual bool | ImplCreateDocument ()=0 |
virtual bool | ImplCreateMainNotes ()=0 |
bool | GetStyleSheets () |
bool | GetShapeByIndex (sal_uInt32 nIndex, bool bGroup) |
bool | CreateMainNotes () |
css::awt::Size | MapSize (const css::awt::Size &) |
css::awt::Point | MapPoint (const css::awt::Point &) |
::tools::Rectangle | MapRectangle (const css::awt::Rectangle &) |
bool | ContainsOtherShapeThanPlaceholders () |
![]() | |
bool | ImplGetPropertyValue (const OUString &rString) |
bool | ImplGetPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &) |
Protected Attributes | |
css::uno::Reference< css::frame::XModel > | mXModel |
css::uno::Reference< css::task::XStatusIndicator > | mXStatusIndicator |
bool | mbStatusIndicator |
css::uno::Reference< css::drawing::XDrawPagesSupplier > | mXDrawPagesSupplier |
css::uno::Reference< css::drawing::XMasterPagesSupplier > | mXMasterPagesSupplier |
css::uno::Reference< css::drawing::XDrawPages > | mXDrawPages |
css::uno::Reference< css::drawing::XDrawPage > | mXDrawPage |
css::uno::Reference< css::beans::XPropertySet > | mXPagePropSet |
css::uno::Reference< css::beans::XPropertySet > | mXBackgroundPropSet |
css::uno::Reference< css::drawing::XShapes > | mXShapes |
css::uno::Reference< css::drawing::XShape > | mXShape |
css::awt::Size | maSize |
css::awt::Point | maPosition |
::tools::Rectangle | maRect |
OString | mType |
bool | mbPresObj |
bool | mbEmptyPresObj |
bool | mbIsBackgroundDark |
sal_Int32 | mnAngle |
sal_uInt32 | mnPages |
number of Slides ( w/o master pages & notes & handout ) More... | |
sal_uInt32 | mnMasterPages |
Fraction | maFraction |
MapMode | maMapModeSrc |
MapMode | maMapModeDest |
css::awt::Size | maDestPageSize |
css::awt::Size | maPageSize |
css::awt::Size | maNotesPageSize |
PageType | meLatestPageType |
std::vector< std::unique_ptr< PPTExStyleSheet > > | maStyleSheetList |
PPTExStyleSheet * | mpStyleSheet |
FontCollection | maFontCollection |
![]() | |
css::uno::Any | mAny |
css::uno::Reference< css::beans::XPropertySet > | mXPropSet |
Definition at line 319 of file epptbase.hxx.
PPTWriterBase::PPTWriterBase | ( | ) |
Definition at line 101 of file pptx-epptbase.cxx.
References Map100thMM, MapInch, mnAngle, and SAL_INFO.
PPTWriterBase::PPTWriterBase | ( | const css::uno::Reference< css::frame::XModel > & | rModel, |
const css::uno::Reference< css::task::XStatusIndicator > & | rStatInd | ||
) |
|
virtual |
Definition at line 137 of file pptx-epptbase.cxx.
References mbStatusIndicator, and mXStatusIndicator.
|
protected |
Definition at line 974 of file pptx-epptbase.cxx.
References GetShapeByIndex(), mType, mXShape, mXShapes, nIndex, and SAL_INFO.
Referenced by oox::core::PowerPointExport::ImplCreateDocument(), and oox::core::PowerPointExport::ImplWriteNotes().
|
protected |
Definition at line 609 of file pptx-epptbase.cxx.
References GetPageByIndex(), ImplCreateMainNotes(), mXDrawPage, PropValue::mXPropSet, mXShapes, NOTICE, and SetCurrentStyleSheet().
Referenced by exportPPT().
bool PPTWriterBase::CreateNotes | ( | sal_uInt32 | nPageNum | ) |
Definition at line 374 of file pptx-epptbase.cxx.
References GetMasterIndex(), GetPageByIndex(), ImplWriteNotes(), NORMAL, NOTICE, and SetCurrentStyleSheet().
Referenced by exportPPT().
bool PPTWriterBase::CreateSlide | ( | sal_uInt32 | nPageNum | ) |
Definition at line 329 of file pptx-epptbase.cxx.
References Any, GetMasterIndex(), GetPageByIndex(), PropValue::GetPropertyValue(), ImplWriteSlide(), mXPagePropSet, NORMAL, and SetCurrentStyleSheet().
Referenced by exportPPT().
bool PPTWriterBase::CreateSlideMaster | ( | sal_uInt32 | nPageNum | ) |
Definition at line 385 of file pptx-epptbase.cxx.
References GetPageByIndex(), PropValue::ImplGetPropertyValue(), ImplWriteSlideMaster(), PropValue::mAny, MASTER, mXPagePropSet, and SetCurrentStyleSheet().
Referenced by exportPPT().
void PPTWriterBase::exportPPT | ( | const std::vector< css::beans::PropertyValue > & | rMediaData | ) |
Definition at line 147 of file pptx-epptbase.cxx.
References CreateMainNotes(), CreateNotes(), CreateSlide(), CreateSlideMaster(), exportPPTPost(), exportPPTPre(), FontCollection::GetId(), GetPageByIndex(), GetStyleSheets(), i, ImplCreateDocument(), PropValue::ImplGetPropertyValue(), InitSOIface(), maDestPageSize, maFontCollection, maNotesPageSize, PropValue::mAny, maPageSize, MapSize(), MASTER, mnMasterPages, mnPages, mXPagePropSet, NOTICE, and SAL_INFO.
Referenced by oox::core::PowerPointExport::exportDocument(), and ExportPPT().
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
static |
Definition at line 426 of file pptx-epptbase.cxx.
References GetLayoutOffsetFixed(), and pPHLayout.
Referenced by PPTWriter::ImplCreateMainNotes(), PPTWriter::ImplWriteNotes(), PPTWriter::ImplWriteSlide(), and PPTWriter::ImplWriteSlideMaster().
|
static |
Definition at line 431 of file pptx-epptbase.cxx.
References EPP_LAYOUT_SIZE, pPHLayout, and SAL_INFO.
|
static |
Definition at line 400 of file pptx-epptbase.cxx.
References PropValue::GetPropertyValue(), and SAL_INFO.
Referenced by GetLayoutOffsetFixed(), and oox::core::PowerPointExport::ImplWriteSlide().
|
static |
Definition at line 412 of file pptx-epptbase.cxx.
References GetLayoutOffset().
Referenced by GetLayout().
sal_uInt32 PPTWriterBase::GetMasterIndex | ( | PageType | ePageType | ) |
Definition at line 441 of file pptx-epptbase.cxx.
References PropValue::ImplGetPropertyValue(), PropValue::mAny, mnMasterPages, mXDrawPage, and NOTICE.
Referenced by CreateNotes(), CreateSlide(), and PPTWriter::ImplCreateDocument().
bool PPTWriterBase::GetPageByIndex | ( | sal_uInt32 | nIndex, |
PageType | ePageType | ||
) |
Definition at line 245 of file pptx-epptbase.cxx.
References Any, PropValue::GetPropertyValue(), MASTER, mbIsBackgroundDark, meLatestPageType, mXBackgroundPropSet, mXDrawPage, mXDrawPages, mXDrawPagesSupplier, mXMasterPagesSupplier, mXPagePropSet, mXShapes, nIndex, NORMAL, and NOTICE.
Referenced by CreateMainNotes(), CreateNotes(), CreateSlide(), CreateSlideMaster(), exportPPT(), GetStyleSheets(), PPTWriter::ImplCreateDocument(), oox::core::PowerPointExport::ImplCreateDocument(), PPTWriter::ImplCreateDocumentSummaryInformation(), PPTWriter::ImplWriteSlideMaster(), and InitSOIface().
|
inline |
Definition at line 396 of file epptbase.hxx.
References mbPresObj.
Referenced by oox::core::PowerPointShapeExport::WriteTextShape(), and oox::core::PowerPointShapeExport::WriteUnknownShape().
|
protected |
Definition at line 661 of file pptx-epptbase.cxx.
References Any, GroupTable::GetCurrentGroupAccess(), GroupTable::GetCurrentGroupIndex(), GroupTable::GetCurrentGroupLevel(), PropValue::GetPropertyValue(), PropValue::ImplGetPropertyValue(), PropValue::mAny, maPosition, MapPoint(), MapSize(), maRect, maSize, mbEmptyPresObj, mbPresObj, mnAngle, mType, PropValue::mXPropSet, mXShape, mXShapes, nIndex, nPos, and OUStringToOString().
Referenced by ContainsOtherShapeThanPlaceholders(), PPTWriter::ImplWritePage(), and oox::core::PowerPointExport::WriteShapeTree().
|
protected |
Definition at line 473 of file pptx-epptbase.cxx.
References Any, convertMm100ToMasterUnit(), EPP_TEXTTYPE_Body, EPP_TEXTTYPE_CenterBody, EPP_TEXTTYPE_CenterTitle, EPP_TEXTTYPE_Other, EPP_TEXTTYPE_QuarterBody, EPP_TEXTTYPE_Title, Exception, GetPageByIndex(), PropValue::ImplGetPropertyValue(), maFontCollection, PropValue::mAny, MASTER, maStyleSheetList, mnMasterPages, mpStyleSheet, mXDrawPage, mXModel, SetCurrentStyleSheet(), and PPTExStyleSheet::SetStyleSheet().
Referenced by exportPPT().
|
static |
|
static |
Referenced by PPTWriter::ImplWriteSlide(), and oox::core::PowerPointExport::WriteTransition().
|
protectedpure virtual |
Implemented in PPTWriter, and oox::core::PowerPointExport.
Referenced by exportPPT().
|
protectedpure virtual |
Implemented in PPTWriter, and oox::core::PowerPointExport.
Referenced by CreateMainNotes().
|
protectedpure virtual |
Implemented in PPTWriter, and oox::core::PowerPointExport.
Referenced by CreateNotes().
|
inlineprotectedvirtual |
Reimplemented in PPTWriter, and oox::core::PowerPointExport.
Definition at line 360 of file epptbase.hxx.
Referenced by CreateSlide().
|
inlineprotectedvirtual |
Reimplemented in PPTWriter, and oox::core::PowerPointExport.
Definition at line 363 of file epptbase.hxx.
Referenced by CreateSlideMaster().
bool PPTWriterBase::InitSOIface | ( | ) |
Definition at line 218 of file pptx-epptbase.cxx.
References GetPageByIndex(), mnMasterPages, mnPages, mXDrawPages, mXDrawPagesSupplier, mXMasterPagesSupplier, mXModel, and NORMAL.
Referenced by exportPPT().
|
protected |
Definition at line 646 of file pptx-epptbase.cxx.
References OutputDevice::LogicToLogic(), maMapModeDest, maMapModeSrc, Point::X(), and Point::Y().
Referenced by GetShapeByIndex(), PPTWriter::ImplCreateTable(), PPTWriter::ImplWritePage(), and MapRectangle().
|
protected |
Definition at line 652 of file pptx-epptbase.cxx.
References MapPoint(), and MapSize().
Referenced by PPTWriter::ImplWritePage().
|
protected |
Definition at line 635 of file pptx-epptbase.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Size::Height(), OutputDevice::LogicToLogic(), maMapModeDest, maMapModeSrc, and Size::Width().
Referenced by exportPPT(), GetShapeByIndex(), PPTWriter::ImplCreateTable(), PPTWriter::ImplWritePage(), PPTWriter::ImplWriteTextStyleAtom(), and MapRectangle().
void PPTWriterBase::SetCurrentStyleSheet | ( | sal_uInt32 | nPageNum | ) |
Definition at line 466 of file pptx-epptbase.cxx.
References maStyleSheetList, and mpStyleSheet.
Referenced by CreateMainNotes(), CreateNotes(), CreateSlide(), CreateSlideMaster(), GetStyleSheets(), and PPTWriter::ImplCreateDocument().
|
protected |
Definition at line 350 of file epptbase.hxx.
Referenced by oox::core::PowerPointExport::exportDocument(), exportPPT(), PPTWriter::ImplCreateDocument(), PPTWriter::ImplWriteBackground(), and PPTWriter::ImplWriteSlide().
|
protected |
Definition at line 358 of file epptbase.hxx.
Referenced by exportPPT(), GetStyleSheets(), PPTWriter::ImplAdjustFirstLineLineSpacing(), PPTWriter::ImplCloseDocument(), PPTWriter::ImplWritePage(), PPTWriter::ImplWriteParagraphs(), and PPTWriter::ImplWriteTextStyleAtom().
|
protected |
Definition at line 347 of file epptbase.hxx.
|
protected |
Definition at line 349 of file epptbase.hxx.
Referenced by MapPoint(), and MapSize().
|
protected |
Definition at line 348 of file epptbase.hxx.
Referenced by MapPoint(), and MapSize().
|
protected |
Definition at line 352 of file epptbase.hxx.
Referenced by oox::core::PowerPointExport::exportDocument(), exportPPT(), and PPTWriter::ImplCreateDocument().
|
protected |
Definition at line 351 of file epptbase.hxx.
Referenced by exportPPT(), oox::core::PowerPointExport::ImplWriteBackground(), and PPTWriter::ImplWriteBackground().
|
protected |
Definition at line 336 of file epptbase.hxx.
Referenced by GetShapeByIndex(), and PPTWriter::ImplWritePage().
|
protected |
Definition at line 337 of file epptbase.hxx.
Referenced by GetShapeByIndex(), PPTWriter::ImplCreatePresentationPlaceholder(), PPTWriter::ImplCreateTable(), PPTWriter::ImplFlipBoundingBox(), PPTWriter::ImplWritePage(), and PPTWriter::ImplWriteTextStyleAtom().
|
protected |
Definition at line 335 of file epptbase.hxx.
Referenced by GetShapeByIndex(), and PPTWriter::ImplWritePage().
|
protected |
Definition at line 355 of file epptbase.hxx.
Referenced by GetStyleSheets(), SetCurrentStyleSheet(), and PPTWriter::~PPTWriter().
|
protected |
Definition at line 340 of file epptbase.hxx.
Referenced by GetShapeByIndex(), PPTWriter::ImplWritePage(), and PPTWriter::ImplWriteTextStyleAtom().
|
protected |
Definition at line 341 of file epptbase.hxx.
Referenced by GetPageByIndex(), oox::core::PowerPointExport::ImplWriteBackground(), and oox::core::PowerPointExport::WriteShapeTree().
|
protected |
Definition at line 339 of file epptbase.hxx.
Referenced by GetPresObj(), GetShapeByIndex(), and PPTWriter::ImplWritePage().
|
protected |
Definition at line 325 of file epptbase.hxx.
Referenced by PPTWriter::exportPPTPost(), PPTWriter::exportPPTPre(), PPTWriter::ImplWritePage(), PPTWriter::~PPTWriter(), and ~PPTWriterBase().
|
protected |
Definition at line 354 of file epptbase.hxx.
Referenced by GetPageByIndex().
|
protected |
Definition at line 342 of file epptbase.hxx.
Referenced by GetShapeByIndex(), PPTWriter::ImplCreateCellBorder(), PPTWriter::ImplFlipBoundingBox(), and PPTWriter::ImplWritePage().
|
protected |
Definition at line 345 of file epptbase.hxx.
Referenced by exportPPT(), PPTWriter::exportPPTPre(), GetMasterIndex(), GetStyleSheets(), PPTWriter::ImplMasterSlideListContainer(), PPTWriter::ImplWriteAtomEnding(), oox::core::PowerPointExport::ImplWritePPTXLayout(), oox::core::PowerPointExport::ImplWriteSlideMaster(), InitSOIface(), and oox::core::PowerPointExport::WriteNotesMaster().
|
protected |
number of Slides ( w/o master pages & notes & handout )
Definition at line 344 of file epptbase.hxx.
Referenced by exportPPT(), PPTWriter::exportPPTPre(), PPTWriter::ImplCreateDocument(), oox::core::PowerPointExport::ImplCreateDocument(), PPTWriter::ImplWriteAtomEnding(), oox::core::PowerPointExport::ImplWriteSlide(), and InitSOIface().
|
protected |
Definition at line 356 of file epptbase.hxx.
Referenced by GetStyleSheets(), PPTWriter::ImplCloseDocument(), PPTWriter::ImplWriteParagraphs(), PPTWriter::ImplWritePortions(), PPTWriter::ImplWriteSlideMaster(), PPTWriter::ImplWriteTextStyleAtom(), and SetCurrentStyleSheet().
|
protected |
Definition at line 338 of file epptbase.hxx.
Referenced by ContainsOtherShapeThanPlaceholders(), GetShapeByIndex(), PPTWriter::ImplWritePage(), PPTWriter::ImplWriteTextStyleAtom(), and oox::core::PowerPointExport::WriteShapeTree().
|
protected |
Definition at line 332 of file epptbase.hxx.
Referenced by GetPageByIndex(), and PPTWriter::ImplWritePortions().
|
protected |
Definition at line 330 of file epptbase.hxx.
Referenced by CreateMainNotes(), GetMasterIndex(), GetPageByIndex(), oox::core::PowerPointExport::GetReferencedPlaceholderXShape(), GetStyleSheets(), PPTWriter::ImplCreateDocument(), PPTWriter::ImplWriteSlide(), oox::core::PowerPointExport::ImplWriteSlide(), oox::core::PowerPointExport::ImplWriteSlideMaster(), and oox::core::PowerPointExport::WriteComments().
|
protected |
Definition at line 329 of file epptbase.hxx.
Referenced by GetPageByIndex(), and InitSOIface().
|
protected |
Definition at line 327 of file epptbase.hxx.
Referenced by GetPageByIndex(), and InitSOIface().
|
protected |
Definition at line 328 of file epptbase.hxx.
Referenced by GetPageByIndex(), and InitSOIface().
|
protected |
Definition at line 322 of file epptbase.hxx.
Referenced by oox::core::PowerPointExport::exportDocument(), GetStyleSheets(), PPTWriter::ImplCreateDocument(), PPTWriter::ImplCreateDocumentSummaryInformation(), PPTWriter::ImplWriteOLE(), PPTWriter::ImplWritePage(), PPTWriter::ImplWriteTextStyleAtom(), InitSOIface(), oox::core::PowerPointExport::WriteCustomSlideShow(), oox::core::PowerPointExport::writeDocumentProperties(), oox::core::PowerPointExport::WriteModifyVerifier(), and oox::core::PowerPointExport::WritePresentationProps().
|
protected |
Definition at line 331 of file epptbase.hxx.
Referenced by CreateSlide(), CreateSlideMaster(), exportPPT(), GetPageByIndex(), PPTWriter::ImplCloseDocument(), PPTWriter::ImplCreateDocument(), PPTWriter::ImplCreateDocumentSummaryInformation(), PPTWriter::ImplWriteNotes(), PPTWriter::ImplWriteParagraphs(), PPTWriter::ImplWritePortions(), oox::core::PowerPointExport::ImplWritePPTXLayout(), PPTWriter::ImplWriteSlide(), oox::core::PowerPointExport::ImplWriteSlide(), PPTWriter::ImplWriteSlideMaster(), oox::core::PowerPointExport::WriteNotesMaster(), oox::core::PowerPointExport::WritePlaceholderReferenceShapes(), and oox::core::PowerPointExport::WriteTransition().
|
protected |
Definition at line 334 of file epptbase.hxx.
Referenced by ContainsOtherShapeThanPlaceholders(), GetShapeByIndex(), PPTWriter::ImplCreatePresentationPlaceholder(), PPTWriter::ImplCreateShape(), PPTWriter::ImplCreateTextShape(), PPTWriter::ImplGetText(), PPTWriter::ImplWritePage(), and oox::core::PowerPointExport::WriteShapeTree().
|
protected |
Definition at line 333 of file epptbase.hxx.
Referenced by ContainsOtherShapeThanPlaceholders(), CreateMainNotes(), GetPageByIndex(), GetShapeByIndex(), PPTWriter::ImplWritePage(), oox::core::PowerPointExport::ImplWritePPTXLayout(), and oox::core::PowerPointExport::WriteShapeTree().
|
protected |
Definition at line 323 of file epptbase.hxx.
Referenced by oox::core::PowerPointExport::exportDocument(), PPTWriter::exportPPTPost(), PPTWriter::exportPPTPre(), PPTWriter::ImplWritePage(), PPTWriter::~PPTWriter(), and ~PPTWriterBase().