29#include <com/sun/star/awt/Size.hpp>
30#include <com/sun/star/awt/Point.hpp>
31#include <com/sun/star/presentation/FadeEffect.hpp>
32#include <com/sun/star/beans/PropertyState.hpp>
76#define EPP_LAYOUT_SIZE 25
99 css::uno::Reference< css::beans::XPropertySet >
mXPropSet;
103 < css::beans::XPropertySet > &,
const OUString& );
111 const css::uno::Reference< css::beans::XPropertySet > &,
112 const OUString& rPropertyName,
113 bool bTestPropertyAvailability =
false );
116 const css::uno::Reference < css::beans::XPropertySet > &,
117 const OUString& rPropertyName );
131 std::unique_ptr<EscherGraphicProvider>
138 PPTExBulletProvider();
139 ~PPTExBulletProvider();
174 void ImplInit(
const OUString& rName );
201#define PPTEX_STYLESHEETENTRIES 9
251 void SetStyleSheet(
const css::uno::Reference< css::beans::XPropertySet > &,
253 void Write(
SvStream& rSt, sal_uInt16 nLev,
bool bSimpleText,
254 const css::uno::Reference< css::beans::XPropertySet > & rPagePropSet );
290 PPTExParaSheet(
int nInstance, sal_uInt16 nDefaultTab, PPTExBulletProvider* pProv );
292 void SetStyleSheet(
const css::uno::Reference< css::beans::XPropertySet > &,
294 void Write(
SvStream& rSt, sal_uInt16 nLev,
bool bSimpleText,
295 const css::uno::Reference< css::beans::XPropertySet > & rPagePropSet );
306 PPTExStyleSheet( sal_uInt16 nDefaultTab, PPTExBulletProvider* pBuProv );
311 void SetStyleSheet(
const css::uno::Reference< css::beans::XPropertySet > &,
322 css::uno::Reference< css::frame::XModel >
mXModel;
333 css::uno::Reference< css::drawing::XShapes >
mXShapes;
334 css::uno::Reference< css::drawing::XShape >
mXShape;
361 bool , css::uno::Reference< css::beans::XPropertySet >
const & ) {}
365 virtual void exportPPTPre(
const std::vector< css::beans::PropertyValue >& ) {}
376 css::awt::Size
MapSize(
const css::awt::Size& );
377 css::awt::Point
MapPoint(
const css::awt::Point& );
385 const css::uno::Reference< css::task::XStatusIndicator > & rStatInd );
389 void exportPPT(
const std::vector< css::beans::PropertyValue >&);
398 static PHLayout const &
GetLayout(
const css::uno::Reference< css::beans::XPropertySet >& rXPropSet );
400 static sal_Int32
GetLayoutOffset(
const css::uno::Reference< css::beans::XPropertySet >& rXPropSet );
401 static sal_Int32
GetLayoutOffsetFixed(
const css::uno::Reference< css::beans::XPropertySet >& rXPropSet );
407 static sal_Int8 GetTransition( sal_Int16 nTransitionType, sal_Int16 nTransitionSubtype, css::presentation::FadeEffect eEffect,
408 sal_Int32 nTransitionFadeColor,
sal_uInt8& nDirection );
FontCollectionEntry & GetLast()
std::vector< FontCollectionEntry > maFonts
const FontCollectionEntry * GetById(sal_uInt32 nId)
VclPtr< VirtualDevice > pVDev
sal_uInt32 GetId(FontCollectionEntry &rFontDescriptor)
sal_uInt32 GetCount() const
static short GetScriptDirection(std::u16string_view rText)
std::unique_ptr< PPTExCharSheet > mpCharSheet[PPTEX_STYLESHEETENTRIES]
std::unique_ptr< PPTExParaSheet > mpParaSheet[PPTEX_STYLESHEETENTRIES]
bool IsHardAttribute(sal_uInt32 nInstance, sal_uInt32 nLevel, PPTExTextAttr eAttr, sal_uInt32 nValue)
void SetStyleSheet(const css::uno::Reference< css::beans::XPropertySet > &, FontCollection &rFontCollection, int nInstance, int nLevel)
static sal_uInt32 SizeOfTxCFStyleAtom()
PPTExParaSheet & GetParaSheet(int nInstance)
void WriteTxCFStyleAtom(SvStream &rSt)
PPTExStyleSheet(sal_uInt16 nDefaultTab, PPTExBulletProvider *pBuProv)
virtual void ImplWriteNotes(sal_uInt32 nPageNum)=0
css::uno::Reference< css::drawing::XDrawPagesSupplier > mXDrawPagesSupplier
css::uno::Reference< css::drawing::XShapes > mXShapes
virtual void ImplWriteSlideMaster(sal_uInt32, css::uno::Reference< css::beans::XPropertySet > const &)
::tools::Rectangle MapRectangle(const css::awt::Rectangle &)
css::awt::Point MapPoint(const css::awt::Point &)
css::uno::Reference< css::drawing::XDrawPages > mXDrawPages
PPTExStyleSheet * mpStyleSheet
bool GetPageByIndex(sal_uInt32 nIndex, PageType)
std::vector< std::unique_ptr< PPTExStyleSheet > > maStyleSheetList
static PHLayout const & GetLayout(const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
css::awt::Size maPageSize
virtual bool ImplCreateDocument()=0
sal_uInt32 GetMasterIndex(PageType ePageType)
PageType meLatestPageType
virtual void ImplWriteSlide(sal_uInt32, sal_uInt32, sal_uInt16, bool, css::uno::Reference< css::beans::XPropertySet > const &)
PPTWriterBase(const css::uno::Reference< css::frame::XModel > &rModel, const css::uno::Reference< css::task::XStatusIndicator > &rStatInd)
css::uno::Reference< css::beans::XPropertySet > mXPagePropSet
css::uno::Reference< css::task::XStatusIndicator > mXStatusIndicator
static sal_Int32 GetLayoutOffset(const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
void exportPPT(const std::vector< css::beans::PropertyValue > &)
FontCollection maFontCollection
virtual bool ImplCreateMainNotes()=0
virtual void exportPPTPre(const std::vector< css::beans::PropertyValue > &)
static sal_Int8 GetTransition(sal_Int16 nTransitionType, sal_Int16 nTransitionSubtype, css::presentation::FadeEffect eEffect, sal_Int32 nTransitionFadeColor, sal_uInt8 &nDirection)
css::uno::Reference< css::drawing::XMasterPagesSupplier > mXMasterPagesSupplier
bool CreateSlideMaster(sal_uInt32 nPageNum)
bool ContainsOtherShapeThanPlaceholders()
virtual void exportPPTPost()
::tools::Rectangle maRect
css::awt::Size MapSize(const css::awt::Size &)
static sal_Int32 GetLayoutOffsetFixed(const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
sal_uInt32 mnPages
number of Slides ( w/o master pages & notes & handout )
bool CreateSlide(sal_uInt32 nPageNum)
void SetCurrentStyleSheet(sal_uInt32 nPageNum)
css::uno::Reference< css::frame::XModel > mXModel
css::uno::Reference< css::drawing::XDrawPage > mXDrawPage
static sal_Int8 GetTransition(css::presentation::FadeEffect eEffect, sal_uInt8 &nDirection)
css::uno::Reference< css::beans::XPropertySet > mXBackgroundPropSet
css::awt::Point maPosition
css::awt::Size maNotesPageSize
bool CreateNotes(sal_uInt32 nPageNum)
css::awt::Size maDestPageSize
bool GetShapeByIndex(sal_uInt32 nIndex, bool bGroup)
css::uno::Reference< css::drawing::XShape > mXShape
css::uno::Reference< css::beans::XPropertySet > mXPropSet
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)
bool ImplGetPropertyValue(const OUString &rString)
virtual sal_uInt32 GetId() const override
@ CharAttr_AsianOrComplexFont
class SAL_LOPLUGIN_ANNOTATE("crosscast") PPTExBulletProvider
#define PPTEX_STYLESHEETENTRIES
class SAL_NO_VTABLE XPropertySet
void ImplInit(const OUString &rName)
FontCollectionEntry(const OUString &rName, sal_Int16 nFamily, sal_Int16 nPitch, sal_Int16 nCharSet)
FontCollectionEntry(const OUString &rName)
bool bSecOutlinerPossible
sal_uInt8 nUsedObjectPlaceHolder
sal_uInt8 nPlaceHolder[8]
sal_uInt8 nTypeOfOutliner
sal_uInt16 mnAsianOrComplexFont
void Write(SvStream &rSt, sal_uInt16 nLev, bool bSimpleText, const css::uno::Reference< css::beans::XPropertySet > &rPagePropSet)
PPTExCharLevel maCharLevel[5]
PPTExCharSheet(int nInstance)
void SetStyleSheet(const css::uno::Reference< css::beans::XPropertySet > &, FontCollection &rFontCollection, int nLevel)
sal_uInt32 mnMappedNumType
sal_uInt32 mnNumberingType
sal_uInt16 mnAsianSettings
sal_uInt16 mnBulletHeight
bool mbExtendedBulletsUsed
PPTExBulletProvider * pBuProv
PPTExParaLevel maParaLevel[5]
void SetStyleSheet(const css::uno::Reference< css::beans::XPropertySet > &, FontCollection &rFontCollection, int nLevel, const PPTExCharLevel &rCharLevel)
PPTExParaSheet(int nInstance, sal_uInt16 nDefaultTab, PPTExBulletProvider *pProv)
void Write(SvStream &rSt, sal_uInt16 nLev, bool bSimpleText, const css::uno::Reference< css::beans::XPropertySet > &rPagePropSet)