LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PPTWriterBase Class Referenceabstract

#include <epptbase.hxx>

Inheritance diagram for PPTWriterBase:
[legend]
Collaboration diagram for PPTWriterBase:
[legend]

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)
 
- Public Member Functions inherited from PropValue
 PropValue ()
 
- Public Member Functions inherited from GroupTable
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 Public Member Functions inherited from PropValue
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 ()
 
- Protected Member Functions inherited from PropValue
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::XPropertySetmXPagePropSet
 
css::uno::Reference< css::beans::XPropertySetmXBackgroundPropSet
 
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
 
PPTExStyleSheetmpStyleSheet
 
FontCollection maFontCollection
 
- Protected Attributes inherited from PropValue
css::uno::Any mAny
 
css::uno::Reference< css::beans::XPropertySetmXPropSet
 

Detailed Description

Definition at line 319 of file epptbase.hxx.

Constructor & Destructor Documentation

◆ PPTWriterBase() [1/2]

PPTWriterBase::PPTWriterBase ( )

Definition at line 101 of file pptx-epptbase.cxx.

References Map100thMM, MapInch, mnAngle, and SAL_INFO.

◆ PPTWriterBase() [2/2]

PPTWriterBase::PPTWriterBase ( const css::uno::Reference< css::frame::XModel > &  rModel,
const css::uno::Reference< css::task::XStatusIndicator > &  rStatInd 
)

◆ ~PPTWriterBase()

PPTWriterBase::~PPTWriterBase ( )
virtual

Definition at line 137 of file pptx-epptbase.cxx.

References mbStatusIndicator, and mXStatusIndicator.

Member Function Documentation

◆ ContainsOtherShapeThanPlaceholders()

bool PPTWriterBase::ContainsOtherShapeThanPlaceholders ( )
protected

◆ CreateMainNotes()

bool PPTWriterBase::CreateMainNotes ( )
protected

◆ CreateNotes()

bool PPTWriterBase::CreateNotes ( sal_uInt32  nPageNum)

◆ CreateSlide()

bool PPTWriterBase::CreateSlide ( sal_uInt32  nPageNum)

◆ CreateSlideMaster()

bool PPTWriterBase::CreateSlideMaster ( sal_uInt32  nPageNum)

◆ exportPPT()

void PPTWriterBase::exportPPT ( const std::vector< css::beans::PropertyValue > &  rMediaData)

◆ exportPPTPost()

virtual void PPTWriterBase::exportPPTPost ( )
inlineprotectedvirtual

Reimplemented in PPTWriter.

Definition at line 366 of file epptbase.hxx.

Referenced by exportPPT().

◆ exportPPTPre()

virtual void PPTWriterBase::exportPPTPre ( const std::vector< css::beans::PropertyValue > &  )
inlineprotectedvirtual

Reimplemented in PPTWriter.

Definition at line 365 of file epptbase.hxx.

Referenced by exportPPT().

◆ GetLayout() [1/2]

PHLayout const & PPTWriterBase::GetLayout ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)
static

◆ GetLayout() [2/2]

PHLayout const & PPTWriterBase::GetLayout ( sal_Int32  nOffset)
static

Definition at line 431 of file pptx-epptbase.cxx.

References EPP_LAYOUT_SIZE, pPHLayout, and SAL_INFO.

◆ GetLayoutOffset()

sal_Int32 PPTWriterBase::GetLayoutOffset ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)
static

◆ GetLayoutOffsetFixed()

sal_Int32 PPTWriterBase::GetLayoutOffsetFixed ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)
static

Definition at line 412 of file pptx-epptbase.cxx.

References GetLayoutOffset().

Referenced by GetLayout().

◆ GetMasterIndex()

sal_uInt32 PPTWriterBase::GetMasterIndex ( PageType  ePageType)

◆ GetPageByIndex()

bool PPTWriterBase::GetPageByIndex ( sal_uInt32  nIndex,
PageType  ePageType 
)

◆ GetPresObj()

bool PPTWriterBase::GetPresObj ( ) const
inline

◆ GetShapeByIndex()

bool PPTWriterBase::GetShapeByIndex ( sal_uInt32  nIndex,
bool  bGroup 
)
protected

◆ GetStyleSheets()

bool PPTWriterBase::GetStyleSheets ( )
protected

◆ GetTransition() [1/2]

static sal_Int8 PPTWriterBase::GetTransition ( css::presentation::FadeEffect  eEffect,
sal_uInt8 nDirection 
)
static

◆ GetTransition() [2/2]

static sal_Int8 PPTWriterBase::GetTransition ( sal_Int16  nTransitionType,
sal_Int16  nTransitionSubtype,
css::presentation::FadeEffect  eEffect,
sal_Int32  nTransitionFadeColor,
sal_uInt8 nDirection 
)
static

◆ ImplCreateDocument()

virtual bool PPTWriterBase::ImplCreateDocument ( )
protectedpure virtual

Implemented in PPTWriter, and oox::core::PowerPointExport.

Referenced by exportPPT().

◆ ImplCreateMainNotes()

virtual bool PPTWriterBase::ImplCreateMainNotes ( )
protectedpure virtual

Implemented in PPTWriter, and oox::core::PowerPointExport.

Referenced by CreateMainNotes().

◆ ImplWriteNotes()

virtual void PPTWriterBase::ImplWriteNotes ( sal_uInt32  nPageNum)
protectedpure virtual

Implemented in PPTWriter, and oox::core::PowerPointExport.

Referenced by CreateNotes().

◆ ImplWriteSlide()

virtual void PPTWriterBase::ImplWriteSlide ( sal_uInt32  ,
sal_uInt32  ,
sal_uInt16  ,
bool  ,
css::uno::Reference< css::beans::XPropertySet > const &   
)
inlineprotectedvirtual

Reimplemented in PPTWriter, and oox::core::PowerPointExport.

Definition at line 360 of file epptbase.hxx.

Referenced by CreateSlide().

◆ ImplWriteSlideMaster()

virtual void PPTWriterBase::ImplWriteSlideMaster ( sal_uInt32  ,
css::uno::Reference< css::beans::XPropertySet > const &   
)
inlineprotectedvirtual

Reimplemented in PPTWriter, and oox::core::PowerPointExport.

Definition at line 363 of file epptbase.hxx.

Referenced by CreateSlideMaster().

◆ InitSOIface()

bool PPTWriterBase::InitSOIface ( )

◆ MapPoint()

awt::Point PPTWriterBase::MapPoint ( const css::awt::Point &  )
protected

◆ MapRectangle()

tools::Rectangle PPTWriterBase::MapRectangle ( const css::awt::Rectangle &  )
protected

Definition at line 652 of file pptx-epptbase.cxx.

References MapPoint(), and MapSize().

Referenced by PPTWriter::ImplWritePage().

◆ MapSize()

awt::Size PPTWriterBase::MapSize ( const css::awt::Size &  )
protected

◆ SetCurrentStyleSheet()

void PPTWriterBase::SetCurrentStyleSheet ( sal_uInt32  nPageNum)

Member Data Documentation

◆ maDestPageSize

css::awt::Size PPTWriterBase::maDestPageSize
protected

◆ maFontCollection

FontCollection PPTWriterBase::maFontCollection
protected

◆ maFraction

Fraction PPTWriterBase::maFraction
protected

Definition at line 347 of file epptbase.hxx.

◆ maMapModeDest

MapMode PPTWriterBase::maMapModeDest
protected

Definition at line 349 of file epptbase.hxx.

Referenced by MapPoint(), and MapSize().

◆ maMapModeSrc

MapMode PPTWriterBase::maMapModeSrc
protected

Definition at line 348 of file epptbase.hxx.

Referenced by MapPoint(), and MapSize().

◆ maNotesPageSize

css::awt::Size PPTWriterBase::maNotesPageSize
protected

◆ maPageSize

css::awt::Size PPTWriterBase::maPageSize
protected

◆ maPosition

css::awt::Point PPTWriterBase::maPosition
protected

Definition at line 336 of file epptbase.hxx.

Referenced by GetShapeByIndex(), and PPTWriter::ImplWritePage().

◆ maRect

::tools::Rectangle PPTWriterBase::maRect
protected

◆ maSize

css::awt::Size PPTWriterBase::maSize
protected

Definition at line 335 of file epptbase.hxx.

Referenced by GetShapeByIndex(), and PPTWriter::ImplWritePage().

◆ maStyleSheetList

std::vector< std::unique_ptr<PPTExStyleSheet> > PPTWriterBase::maStyleSheetList
protected

Definition at line 355 of file epptbase.hxx.

Referenced by GetStyleSheets(), SetCurrentStyleSheet(), and PPTWriter::~PPTWriter().

◆ mbEmptyPresObj

bool PPTWriterBase::mbEmptyPresObj
protected

◆ mbIsBackgroundDark

bool PPTWriterBase::mbIsBackgroundDark
protected

◆ mbPresObj

bool PPTWriterBase::mbPresObj
protected

Definition at line 339 of file epptbase.hxx.

Referenced by GetPresObj(), GetShapeByIndex(), and PPTWriter::ImplWritePage().

◆ mbStatusIndicator

bool PPTWriterBase::mbStatusIndicator
protected

◆ meLatestPageType

PageType PPTWriterBase::meLatestPageType
protected

Definition at line 354 of file epptbase.hxx.

Referenced by GetPageByIndex().

◆ mnAngle

sal_Int32 PPTWriterBase::mnAngle
protected

◆ mnMasterPages

sal_uInt32 PPTWriterBase::mnMasterPages
protected

◆ mnPages

sal_uInt32 PPTWriterBase::mnPages
protected

◆ mpStyleSheet

PPTExStyleSheet* PPTWriterBase::mpStyleSheet
protected

◆ mType

OString PPTWriterBase::mType
protected

◆ mXBackgroundPropSet

css::uno::Reference< css::beans::XPropertySet > PPTWriterBase::mXBackgroundPropSet
protected

Definition at line 332 of file epptbase.hxx.

Referenced by GetPageByIndex(), and PPTWriter::ImplWritePortions().

◆ mXDrawPage

css::uno::Reference< css::drawing::XDrawPage > PPTWriterBase::mXDrawPage
protected

◆ mXDrawPages

css::uno::Reference< css::drawing::XDrawPages > PPTWriterBase::mXDrawPages
protected

Definition at line 329 of file epptbase.hxx.

Referenced by GetPageByIndex(), and InitSOIface().

◆ mXDrawPagesSupplier

css::uno::Reference< css::drawing::XDrawPagesSupplier > PPTWriterBase::mXDrawPagesSupplier
protected

Definition at line 327 of file epptbase.hxx.

Referenced by GetPageByIndex(), and InitSOIface().

◆ mXMasterPagesSupplier

css::uno::Reference< css::drawing::XMasterPagesSupplier > PPTWriterBase::mXMasterPagesSupplier
protected

Definition at line 328 of file epptbase.hxx.

Referenced by GetPageByIndex(), and InitSOIface().

◆ mXModel

css::uno::Reference< css::frame::XModel > PPTWriterBase::mXModel
protected

◆ mXPagePropSet

css::uno::Reference< css::beans::XPropertySet > PPTWriterBase::mXPagePropSet
protected

◆ mXShape

css::uno::Reference< css::drawing::XShape > PPTWriterBase::mXShape
protected

◆ mXShapes

css::uno::Reference< css::drawing::XShapes > PPTWriterBase::mXShapes
protected

◆ mXStatusIndicator

css::uno::Reference< css::task::XStatusIndicator > PPTWriterBase::mXStatusIndicator
protected

The documentation for this class was generated from the following files: