LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
PPTWriter Class Referencefinal

#include <eppt.hxx>

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

Public Member Functions

 PPTWriter (tools::SvRef< SotStorage > xSvStorage, css::uno::Reference< css::frame::XModel > const &rModel, css::uno::Reference< css::task::XStatusIndicator > const &rStatInd, SvMemoryStream *pVBA, sal_uInt32 nCnvrtFlags)
 
virtual ~PPTWriter () override
 
bool IsValid () const
 
virtual void exportPPTPre (const std::vector< css::beans::PropertyValue > &) override
 
virtual void exportPPTPost () override
 
- Public Member Functions inherited from PPTWriterBase
 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 void WriteCString (SvStream &, std::u16string_view, sal_uInt32 nInstance=0)
 
- Static Public Member Functions inherited from PPTWriterBase
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)
 

Private Member Functions

void ImplWriteExtParaHeader (SvMemoryStream &rSt, sal_uInt32 nRef, sal_uInt32 nInstance, sal_uInt32 nSlideId)
 
sal_uInt32 ImplProgBinaryTag (SvStream *pOutStrm)
 
sal_uInt32 ImplProgBinaryTagContainer (SvStream *pOutStrm, SvMemoryStream *pBinTag)
 
sal_uInt32 ImplProgTagContainer (SvStream *pOutStrm, SvMemoryStream *pBinTag=nullptr)
 
sal_uInt32 ImplVBAInfoContainer (SvStream *pOutStrm)
 
sal_uInt32 ImplDocumentListContainer (SvStream *pOutStrm)
 
sal_uInt32 ImplMasterSlideListContainer (SvStream *pOutStrm)
 
void ImplCreateDocumentSummaryInformation ()
 
bool ImplCreateCurrentUserStream ()
 
void ImplCreateHeaderFooters (css::uno::Reference< css::beans::XPropertySet > const &rXPagePropSet)
 
virtual bool ImplCreateDocument () override
 
void ImplCreateHyperBlob (SvMemoryStream &rStream)
 
sal_uInt32 ImplInsertBookmarkURL (const OUString &rBookmark, const sal_uInt32 nType, std::u16string_view aStringVer0, std::u16string_view aStringVer1, std::u16string_view aStringVer2, std::u16string_view aStringVer3)
 
virtual bool ImplCreateMainNotes () override
 
void ImplWriteBackground (css::uno::Reference< css::beans::XPropertySet > const &rXBackgroundPropSet)
 
void ImplWriteVBA ()
 
void ImplWriteOLE ()
 
void ImplWriteAtomEnding ()
 
void ImplFlipBoundingBox (EscherPropertyContainer &rPropOpt)
 
bool ImplGetText ()
 Loads and converts text from shape, value is stored in mnTextSize. More...
 
bool ImplCreatePresentationPlaceholder (const bool bMaster, const sal_uInt32 StyleInstance, const sal_uInt8 PlaceHolderId)
 
void ImplWriteClickAction (SvStream &rSt, css::presentation::ClickAction eAction, bool bMediaClickAction)
 
void ImplWriteParagraphs (SvStream &rOutStrm, TextObj &rTextObj)
 
void ImplWritePortions (SvStream &rOutStrm, TextObj &rTextObj)
 
void ImplWriteTextStyleAtom (SvStream &rOut, int nTextInstance, sal_uInt32 nAtomInstance, TextRuleEntry *pTextRule, SvStream &rExtBu, EscherPropertyContainer *)
 
void ImplAdjustFirstLineLineSpacing (TextObj &rTextObj, EscherPropertyContainer &rPropOpt)
 
void ImplCreateShape (sal_uInt32 nType, ShapeFlag nFlags, EscherSolverContainer &)
 
void ImplCreateTextShape (EscherPropertyContainer &, EscherSolverContainer &, bool bFill)
 
void ImplWritePage (const PHLayout &rLayout, EscherSolverContainer &rSolver, PageType ePageType, bool bMaster, int nPageNumber=0)
 
bool ImplCreateCellBorder (const CellBorder *pCellBorder, sal_Int32 nX1, sal_Int32 nY1, sal_Int32 nX2, sal_Int32 nY2)
 
void ImplCreateTable (css::uno::Reference< css::drawing::XShape > const &rXShape, EscherSolverContainer &aSolverContainer, EscherPropertyContainer &aPropOpt)
 
bool ImplCloseDocument ()
 
virtual void ImplWriteSlide (sal_uInt32 nPageNum, sal_uInt32 nMasterID, sal_uInt16 nMode, bool bHasBackground, css::uno::Reference< css::beans::XPropertySet > const &aXBackgroundPropSet) override
 
virtual void ImplWriteNotes (sal_uInt32 nPageNum) override
 
virtual void ImplWriteSlideMaster (sal_uInt32 nPageNum, css::uno::Reference< css::beans::XPropertySet > const &aXBackgroundPropSet) override
 

Static Private Member Functions

static sal_uInt32 ImplOutlineViewInfoContainer (SvStream *pOutStrm)
 
static sal_uInt32 ImplSlideViewInfoContainer (sal_uInt32 nInstance, SvStream *pOutStrm)
 
static void ImplCreateHeaderFooterStrings (SvStream &rOut, css::uno::Reference< css::beans::XPropertySet > const &rXPagePropSet)
 
static bool ImplGetEffect (const css::uno::Reference< css::beans::XPropertySet > &, css::presentation::AnimationEffect &eEffect, css::presentation::AnimationEffect &eTextEffect, bool &bHasSound)
 

Private Attributes

sal_uInt32 mnCnvrtFlags
 
bool mbStatus
 
sal_uInt32 mnStatMaxValue
 
sal_uInt32 mnLatestStatValue
 
std::vector< OUString > maSlideNameList
 
OUString maBaseURI
 
css::uno::Reference< css::text::XSimpleText > mXText
 
sal_uInt32 mnTextStyle
 
bool mbFontIndependentLineSpacing
 
sal_uInt32 mnTextSize
 
tools::SvRef< SotStoragemrStg
 
tools::SvRef< SotStorageStreammpCurUserStrm
 
tools::SvRef< SotStorageStreammpStrm
 
tools::SvRef< SotStorageStreammpPicStrm
 
std::unique_ptr< PptEscherExmpPptEscherEx
 
std::vector< std::unique_ptr< PPTExOleObjEntry > > maExOleObj
 
sal_uInt32 mnVBAOleOfs
 
SvMemoryStreammpVBA
 
sal_uInt32 mnExEmbed
 
std::unique_ptr< SvMemoryStreammpExEmbed
 
sal_uInt32 mnPagesWritten
 
sal_uInt32 mnTxId
 
sal_uInt32 mnDiaMode
 
sal_uInt32 mnShapeMasterTitle
 
sal_uInt32 mnShapeMasterBody
 
std::vector< EPPTHyperlinkmaHyperlink
 
ppt::ExSoundCollection maSoundCollection
 

Additional Inherited Members

- Protected Member Functions inherited from PPTWriterBase
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 inherited from PPTWriterBase
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 114 of file eppt.hxx.

Constructor & Destructor Documentation

◆ PPTWriter()

PPTWriter::PPTWriter ( tools::SvRef< SotStorage xSvStorage,
css::uno::Reference< css::frame::XModel > const &  rModel,
css::uno::Reference< css::task::XStatusIndicator > const &  rStatInd,
SvMemoryStream pVBA,
sal_uInt32  nCnvrtFlags 
)

Definition at line 68 of file eppt.cxx.

◆ ~PPTWriter()

PPTWriter::~PPTWriter ( )
overridevirtual

Member Function Documentation

◆ exportPPTPost()

void PPTWriter::exportPPTPost ( )
overridevirtual

◆ exportPPTPre()

void PPTWriter::exportPPTPre ( const std::vector< css::beans::PropertyValue > &  rMediaData)
overridevirtual

◆ ImplAdjustFirstLineLineSpacing()

void PPTWriter::ImplAdjustFirstLineLineSpacing ( TextObj rTextObj,
EscherPropertyContainer rPropOpt 
)
private

◆ ImplCloseDocument()

bool PPTWriter::ImplCloseDocument ( )
private

◆ ImplCreateCellBorder()

bool PPTWriter::ImplCreateCellBorder ( const CellBorder pCellBorder,
sal_Int32  nX1,
sal_Int32  nY1,
sal_Int32  nX2,
sal_Int32  nY2 
)
private

◆ ImplCreateCurrentUserStream()

bool PPTWriter::ImplCreateCurrentUserStream ( )
private

Definition at line 462 of file eppt.cxx.

References EPP_CurrentUserAtom, i, mpCurUserStrm, and mrStg.

Referenced by exportPPTPre().

◆ ImplCreateDocument()

bool PPTWriter::ImplCreateDocument ( )
overrideprivatevirtual

◆ ImplCreateDocumentSummaryInformation()

void PPTWriter::ImplCreateDocumentSummaryInformation ( )
private

◆ ImplCreateHeaderFooters()

void PPTWriter::ImplCreateHeaderFooters ( css::uno::Reference< css::beans::XPropertySet > const &  rXPagePropSet)
private

◆ ImplCreateHeaderFooterStrings()

void PPTWriter::ImplCreateHeaderFooterStrings ( SvStream rOut,
css::uno::Reference< css::beans::XPropertySet > const &  rXPagePropSet 
)
staticprivate

Definition at line 552 of file eppt.cxx.

References PropValue::GetPropertyValue(), rStrm, and WriteCString().

Referenced by ImplCreateDocument(), and ImplCreateHeaderFooters().

◆ ImplCreateHyperBlob()

void PPTWriter::ImplCreateHyperBlob ( SvMemoryStream rStream)
private

◆ ImplCreateMainNotes()

bool PPTWriter::ImplCreateMainNotes ( )
overrideprivatevirtual

◆ ImplCreatePresentationPlaceholder()

bool PPTWriter::ImplCreatePresentationPlaceholder ( const bool  bMaster,
const sal_uInt32  StyleInstance,
const sal_uInt8  PlaceHolderId 
)
private

◆ ImplCreateShape()

void PPTWriter::ImplCreateShape ( sal_uInt32  nType,
ShapeFlag  nFlags,
EscherSolverContainer rSolver 
)
private

◆ ImplCreateTable()

void PPTWriter::ImplCreateTable ( css::uno::Reference< css::drawing::XShape > const &  rXShape,
EscherSolverContainer aSolverContainer,
EscherPropertyContainer aPropOpt 
)
private

◆ ImplCreateTextShape()

void PPTWriter::ImplCreateTextShape ( EscherPropertyContainer rPropOpt,
EscherSolverContainer rSolver,
bool  bFill 
)
private

◆ ImplDocumentListContainer()

sal_uInt32 PPTWriter::ImplDocumentListContainer ( SvStream pOutStrm)
private

◆ ImplFlipBoundingBox()

void PPTWriter::ImplFlipBoundingBox ( EscherPropertyContainer rPropOpt)
private

◆ ImplGetEffect()

bool PPTWriter::ImplGetEffect ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
css::presentation::AnimationEffect &  eEffect,
css::presentation::AnimationEffect &  eTextEffect,
bool &  bHasSound 
)
staticprivate

Definition at line 1500 of file epptso.cxx.

References PropValue::GetPropertyValue().

Referenced by ImplWritePage().

◆ ImplGetText()

bool PPTWriter::ImplGetText ( )
private

Loads and converts text from shape, value is stored in mnTextSize.

Definition at line 943 of file epptso.cxx.

References PropValue::GetPropertyValue(), mbFontIndependentLineSpacing, mnTextSize, PropValue::mXPropSet, PPTWriterBase::mXShape, and mXText.

Referenced by ImplCreatePresentationPlaceholder(), ImplCreateTextShape(), and ImplWritePage().

◆ ImplInsertBookmarkURL()

sal_uInt32 PPTWriter::ImplInsertBookmarkURL ( const OUString &  rBookmark,
const sal_uInt32  nType,
std::u16string_view  aStringVer0,
std::u16string_view  aStringVer1,
std::u16string_view  aStringVer2,
std::u16string_view  aStringVer3 
)
private

◆ ImplMasterSlideListContainer()

sal_uInt32 PPTWriter::ImplMasterSlideListContainer ( SvStream pOutStrm)
private

◆ ImplOutlineViewInfoContainer()

sal_uInt32 PPTWriter::ImplOutlineViewInfoContainer ( SvStream pOutStrm)
staticprivate

◆ ImplProgBinaryTag()

sal_uInt32 PPTWriter::ImplProgBinaryTag ( SvStream pOutStrm)
private

◆ ImplProgBinaryTagContainer()

sal_uInt32 PPTWriter::ImplProgBinaryTagContainer ( SvStream pOutStrm,
SvMemoryStream pBinTag 
)
private

◆ ImplProgTagContainer()

sal_uInt32 PPTWriter::ImplProgTagContainer ( SvStream pOutStrm,
SvMemoryStream pBinTag = nullptr 
)
private

◆ ImplSlideViewInfoContainer()

sal_uInt32 PPTWriter::ImplSlideViewInfoContainer ( sal_uInt32  nInstance,
SvStream pOutStrm 
)
staticprivate

◆ ImplVBAInfoContainer()

sal_uInt32 PPTWriter::ImplVBAInfoContainer ( SvStream pOutStrm)
private

◆ ImplWriteAtomEnding()

void PPTWriter::ImplWriteAtomEnding ( )
private

◆ ImplWriteBackground()

void PPTWriter::ImplWriteBackground ( css::uno::Reference< css::beans::XPropertySet > const &  rXBackgroundPropSet)
private

◆ ImplWriteClickAction()

void PPTWriter::ImplWriteClickAction ( SvStream rSt,
css::presentation::ClickAction  eAction,
bool  bMediaClickAction 
)
private

◆ ImplWriteExtParaHeader()

void PPTWriter::ImplWriteExtParaHeader ( SvMemoryStream rSt,
sal_uInt32  nRef,
sal_uInt32  nInstance,
sal_uInt32  nSlideId 
)
private

◆ ImplWriteNotes()

void PPTWriter::ImplWriteNotes ( sal_uInt32  nPageNum)
overrideprivatevirtual

◆ ImplWriteOLE()

void PPTWriter::ImplWriteOLE ( )
private

◆ ImplWritePage()

void PPTWriter::ImplWritePage ( const PHLayout rLayout,
EscherSolverContainer rSolver,
PageType  ePageType,
bool  bMaster,
int  nPageNumber = 0 
)
private

Definition at line 1603 of file epptso.cxx.

References EscherPropertyContainer::AddOpt(), EscherSolverContainer::AddShape(), tools::Rectangle::Bottom(), PHLayout::bOutlinerPossible, PHLayout::bSecOutlinerPossible, PHLayout::bTitlePossible, ParagraphObj::CharacterCount(), GroupTable::ClearGroupTable(), EscherPropertyContainer::Commit(), TextObj::Count(), EscherPropertyContainer::CreateBlipPropertiesforOLEControl(), EscherPropertyContainer::CreateConnectorProperties(), EscherPropertyContainer::CreateCustomShapeProperties(), EscherPropertyContainer::CreateFillProperties(), EscherPropertyContainer::CreateGraphicProperties(), EscherPropertyContainer::CreateLineProperties(), EscherPropertyContainer::CreateMediaGraphicProperties(), EscherPropertyContainer::CreateOLEGraphicProperties(), EscherPropertyContainer::CreatePolygonProperties(), EscherPropertyContainer::CreateShadowProperties(), EscherPropertyContainer::CreateShapeProperties(), EscherPropertyContainer::CreateTextProperties(), GroupTable::EnterGroup(), EPP_BaseTextPropAtom, EPP_CString, EPP_ExControl, EPP_ExControlAtom, EPP_ExEmbed, EPP_ExEmbedAtom, EPP_ExMCIMovie, EPP_ExMediaAtom, EPP_ExObjRefAtom, EPP_ExOleObjAtom, EPP_ExVideo, EPP_InteractiveInfo, EPP_InteractiveInfoAtom, EPP_OEPlaceholderAtom, EPP_PLACEHOLDER_MASTERBODY, EPP_PLACEHOLDER_MASTERDATE, EPP_PLACEHOLDER_MASTERFOOTER, EPP_PLACEHOLDER_MASTERHEADER, EPP_PLACEHOLDER_MASTERNOTESBODYIMAGE, EPP_PLACEHOLDER_MASTERNOTESSLIDEIMAGE, EPP_PLACEHOLDER_MASTERSLIDENUMBER, EPP_PLACEHOLDER_MASTERSUBTITLE, EPP_PLACEHOLDER_MASTERTITLE, EPP_PLACEHOLDER_NONE, EPP_PLACEHOLDER_NOTESBODY, EPP_PLACEHOLDER_NOTESSLIDEIMAGE, EPP_TextCharsAtom, EPP_TextHeaderAtom, EPP_TextSpecInfoAtom, EPP_TEXTSTYLE_BODY, EPP_TEXTSTYLE_NORMAL, EPP_TEXTSTYLE_TITLE, EPP_TEXTTYPE_Body, EPP_TEXTTYPE_CenterBody, EPP_TEXTTYPE_HalfBody, EPP_TEXTTYPE_Notes, EPP_TEXTTYPE_Other, EPP_TEXTTYPE_Title, ESCHER_AnchorMiddle, ESCHER_ClientAnchor, ESCHER_ClientData, ESCHER_ClientTextbox, ESCHER_CREATEPOLYGON_LINE, ESCHER_CREATEPOLYGON_POLYLINE, ESCHER_CREATEPOLYGON_POLYPOLYGON, ESCHER_Prop_adjustValue, ESCHER_Prop_AnchorText, ESCHER_Prop_fillBackColor, ESCHER_Prop_FitTextToShape, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_hspMaster, ESCHER_Prop_lineColor, ESCHER_Prop_LockAgainstGrouping, ESCHER_Prop_lTxid, ESCHER_Prop_pictureActive, ESCHER_Prop_pictureId, ESCHER_Prop_Rotation, ESCHER_Prop_shadowColor, ESCHER_Prop_shapePath, ESCHER_Prop_WrapText, ESCHER_Prop_wzName, ESCHER_ShapeComplex, ESCHER_ShpInst_Ellipse, ESCHER_ShpInst_HostControl, ESCHER_ShpInst_Line, ESCHER_ShpInst_NotPrimitive, ESCHER_ShpInst_PictureFrame, ESCHER_ShpInst_Rectangle, ESCHER_ShpInst_RoundRectangle, ESCHER_SpContainer, ESCHER_WrapNone, tools::SvRef< typename T >::get(), SdrObject::GetCurrentBoundRect(), GroupTable::GetCurrentGroupIndex(), GroupTable::GetCurrentGroupLevel(), EscherPropertyContainer::GetCustomShapeType(), GroupTable::GetGroupsClosed(), tools::Rectangle::GetHeight(), GroupTable::GetNextGroupEntry(), EscherPropertyContainer::GetOpt(), TextObj::GetParagraph(), PropValue::GetPropertyValue(), SdrObject::getSdrObjectFromXShape(), PPTWriterBase::GetShapeByIndex(), tools::Rectangle::GetWidth(), i, ImplAdjustFirstLineLineSpacing(), ImplCreatePresentationPlaceholder(), ImplCreateShape(), ImplCreateTable(), ImplCreateTextShape(), ImplFlipBoundingBox(), ImplGetEffect(), PropValue::ImplGetPropertyValue(), ImplGetText(), ImplProgTagContainer(), ImplWriteClickAction(), ImplWriteExtParaHeader(), ImplWriteTextStyleAtom(), EscherPropertyContainer::IsFontWork(), SdrObject::IsNotVisibleAsMaster(), tools::Rectangle::Left(), maExOleObj, PPTWriterBase::maFontCollection, PropValue::mAny, PPTWriterBase::maPosition, PPTWriterBase::MapPoint(), PPTWriterBase::MapRectangle(), PPTWriterBase::MapSize(), PPTWriterBase::maRect, PPTWriterBase::maSize, MASTER, PPTWriterBase::mbEmptyPresObj, PPTWriterBase::mbPresObj, PPTWriterBase::mbStatusIndicator, PPTWriterBase::mnAngle, mnExEmbed, mnLatestStatValue, mnPagesWritten, mnShapeMasterBody, mnShapeMasterTitle, mnStatMaxValue, mnTextSize, mnTextStyle, mnTxId, mpExEmbed, mpPicStrm, mpPptEscherEx, mpStrm, mso_sptMax, PPTWriterBase::mType, PPTWriterBase::mXModel, PropValue::mXPropSet, PPTWriterBase::mXShape, PPTWriterBase::mXShapes, PPTWriterBase::mXStatusIndicator, mXText, SOParagraph::nDepth, nLength, NORMAL, NORMAL_OLE_OBJECT, tools::Rectangle::Normalize(), NOTICE, nPageId, PHLayout::nTypeOfOutliner, PHLayout::nTypeOfTitle, PHLayout::nUsedObjectPlaceHolder, nValue, nVersion, OCX_CONTROL, TextObj::ParagraphCount(), pE, pOut, TextRuleEntry::pOut, read_uInt8s_ToOString(), GroupTable::ResetGroupTable(), tools::Rectangle::Right(), tools::Polygon::Rotate(), STREAM_SEEK_TO_END, SvStream::Tell(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), TextObjBinary::Write(), WriteCString(), and oox::ole::MSConvertOCXControls::WriteOCXStream().

Referenced by ImplCreateMainNotes(), ImplWriteNotes(), ImplWriteSlide(), and ImplWriteSlideMaster().

◆ ImplWriteParagraphs()

void PPTWriter::ImplWriteParagraphs ( SvStream rOutStrm,
TextObj rTextObj 
)
private

Definition at line 624 of file epptso.cxx.

References SOParagraph::aFontDesc, SOParagraph::bExtendedParameters, SOParagraph::cBulletId, ParagraphObj::CharacterCount(), COL_AUTO(), convertMm100ToMasterUnit(), ParagraphObj::front(), FontCollection::GetById(), FontCollection::GetId(), TextObj::GetInstance(), TextObj::GetParagraph(), PropValue::GetPropertyValue(), i, PPTExStyleSheet::IsHardAttribute(), PPTWriterBase::maFontCollection, ParagraphObj::mbFixedLineSpacing, mbFontIndependentLineSpacing, ParagraphObj::mbForbiddenRules, ParagraphObj::mbParagraphPunctation, ParagraphObj::meBiDi, ParagraphObj::meForbiddenRules, ParagraphObj::meLineSpacing, ParagraphObj::meLineSpacingBottom, ParagraphObj::meLineSpacingTop, ParagraphObj::meParagraphPunctation, ParagraphObj::meTextAdjust, ParagraphObj::mnBiDi, PortionObj::mnCharHeight, PortionObj::mnFont, ParagraphObj::mnLineSpacing, ParagraphObj::mnLineSpacingBottom, ParagraphObj::mnLineSpacingTop, ParagraphObj::mnTextAdjust, PPTWriterBase::mpStyleSheet, PPTWriterBase::mXPagePropSet, SOParagraph::nBulletColor, SOParagraph::nBulletFlags, SOParagraph::nBulletOfs, SOParagraph::nBulletRealSize, SOParagraph::nDepth, SOParagraph::nParaFlags, nPropertyFlags, SOParagraph::nTextOfs, ParaAttr_Adjust, ParaAttr_BiDi, ParaAttr_BulletOfs, ParaAttr_LineFeed, ParaAttr_LowerDist, ParaAttr_TextOfs, ParaAttr_UpperDist, TextObj::ParagraphCount(), FontCollectionEntry::Scaling, SvStream::WriteInt16(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().

Referenced by ImplWriteTextStyleAtom().

◆ ImplWritePortions()

void PPTWriter::ImplWritePortions ( SvStream rOutStrm,
TextObj rTextObj 
)
private

◆ ImplWriteSlide()

void PPTWriter::ImplWriteSlide ( sal_uInt32  nPageNum,
sal_uInt32  nMasterID,
sal_uInt16  nMode,
bool  bHasBackground,
css::uno::Reference< css::beans::XPropertySet > const &  aXBackgroundPropSet 
)
overrideprivatevirtual

◆ ImplWriteSlideMaster()

void PPTWriter::ImplWriteSlideMaster ( sal_uInt32  nPageNum,
css::uno::Reference< css::beans::XPropertySet > const &  aXBackgroundPropSet 
)
overrideprivatevirtual

◆ ImplWriteTextStyleAtom()

void PPTWriter::ImplWriteTextStyleAtom ( SvStream rOut,
int  nTextInstance,
sal_uInt32  nAtomInstance,
TextRuleEntry pTextRule,
SvStream rExtBu,
EscherPropertyContainer pPropOpt 
)
private

Definition at line 1025 of file epptso.cxx.

References FieldEntry::aFieldUrl, FieldEntry::aRepresentation, ParagraphObj::begin(), SOParagraph::bExtendedBulletsUsed, SOParagraph::bExtendedParameters, convertMm100ToMasterUnit(), INetURLObject::decode(), ParagraphObj::end(), EPP_DateTimeMCAtom, EPP_FooterMCAtom, EPP_GenericDateMCAtom, EPP_HeaderMCAtom, EPP_InteractiveInfo, EPP_InteractiveInfoAtom, EPP_PST_ExtendedParagraphAtom, EPP_SlideNumberMCAtom, EPP_StyleTextPropAtom, EPP_TextHeaderAtom, EPP_TextRulerAtom, EPP_TxInteractiveInfoAtom, INetURLObject::GetMainURL(), TextObj::GetParagraph(), PPTExStyleSheet::GetParaSheet(), INetURLObject::GetProtocol(), tools::Rectangle::GetWidth(), TextObj::HasExtendedBullets(), i, ImplAdjustFirstLineLineSpacing(), PropValue::ImplGetPropertyValue(), ImplInsertBookmarkURL(), ImplWriteParagraphs(), ImplWritePortions(), PPTWriterBase::maFontCollection, PropValue::mAny, PPTExParaSheet::maParaLevel, PPTWriterBase::MapSize(), PPTWriterBase::maRect, maSlideNameList, ParagraphObj::maTabStop, PPTWriterBase::mbEmptyPresObj, PPTExParaLevel::mnBulletOfs, PPTExParaLevel::mnTextOfs, mnTextSize, PortionObj::mpFieldEntry, PPTWriterBase::mpStyleSheet, PPTWriterBase::mType, PPTWriterBase::mXModel, mXText, SOParagraph::nBulletId, SOParagraph::nBulletOfs, SOParagraph::nDepth, FieldEntry::nFieldEndPos, FieldEntry::nFieldStartPos, FieldEntry::nFieldType, SOParagraph::nMappedNumType, SOParagraph::nNumberingType, INetURLObject::NONE, nPos, SOParagraph::nStartWith, SOParagraph::nTextOfs, nType, TextObj::ParagraphCount(), INetURLObject::PathToFileName(), Position, TextRuleEntry::pOut, SvStream::SeekRel(), SVX_NUM_ARABIC, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_CIRCLE_NUMBER, SVX_NUM_FULL_WIDTH_ARABIC, SVX_NUM_NUMBER_LOWER_ZH, SVX_NUM_NUMBER_NONE, SVX_NUM_NUMBER_UPPER_ZH, SVX_NUM_NUMBER_UPPER_ZH_TW, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, SvStream::Tell(), u, INetURLObject::WithCharset, TextObjBinary::Write(), SvStream::WriteInt16(), SvStream::WriteInt32(), TextObjBinary::WriteTextSpecInfo(), SvStream::WriteUChar(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().

Referenced by ImplCreatePresentationPlaceholder(), ImplCreateTable(), and ImplWritePage().

◆ ImplWriteVBA()

void PPTWriter::ImplWriteVBA ( )
private

◆ IsValid()

bool PPTWriter::IsValid ( ) const
inline

Definition at line 227 of file eppt.hxx.

References mbStatus.

Referenced by ExportPPT().

◆ WriteCString()

void PPTWriter::WriteCString ( SvStream rSt,
std::u16string_view  aString,
sal_uInt32  nInstance = 0 
)
static

Member Data Documentation

◆ maBaseURI

OUString PPTWriter::maBaseURI
private

Definition at line 122 of file eppt.hxx.

Referenced by exportPPTPre(), and ImplInsertBookmarkURL().

◆ maExOleObj

std::vector<std::unique_ptr<PPTExOleObjEntry> > PPTWriter::maExOleObj
private

Definition at line 136 of file eppt.hxx.

Referenced by ImplWriteAtomEnding(), ImplWriteOLE(), ImplWritePage(), and ~PPTWriter().

◆ maHyperlink

std::vector<EPPTHyperlink> PPTWriter::maHyperlink
private

Definition at line 151 of file eppt.hxx.

Referenced by ImplCreateHyperBlob(), and ImplInsertBookmarkURL().

◆ maSlideNameList

std::vector<OUString> PPTWriter::maSlideNameList
private

Definition at line 121 of file eppt.hxx.

Referenced by ImplCreateDocument(), ImplWriteClickAction(), and ImplWriteTextStyleAtom().

◆ maSoundCollection

ppt::ExSoundCollection PPTWriter::maSoundCollection
private

Definition at line 153 of file eppt.hxx.

Referenced by ImplCloseDocument(), ImplWriteClickAction(), and ImplWriteSlide().

◆ mbFontIndependentLineSpacing

bool PPTWriter::mbFontIndependentLineSpacing
private

◆ mbStatus

bool PPTWriter::mbStatus
private

Definition at line 117 of file eppt.hxx.

Referenced by exportPPTPost(), and IsValid().

◆ mnCnvrtFlags

sal_uInt32 PPTWriter::mnCnvrtFlags
private

Definition at line 116 of file eppt.hxx.

Referenced by ImplCreateDocumentSummaryInformation(), and ImplWriteOLE().

◆ mnDiaMode

sal_uInt32 PPTWriter::mnDiaMode
private

Definition at line 144 of file eppt.hxx.

Referenced by ImplWriteSlide().

◆ mnExEmbed

sal_uInt32 PPTWriter::mnExEmbed
private

Definition at line 139 of file eppt.hxx.

Referenced by ImplCloseDocument(), ImplInsertBookmarkURL(), and ImplWritePage().

◆ mnLatestStatValue

sal_uInt32 PPTWriter::mnLatestStatValue
private

Definition at line 119 of file eppt.hxx.

Referenced by exportPPTPost(), and ImplWritePage().

◆ mnPagesWritten

sal_uInt32 PPTWriter::mnPagesWritten
private

Definition at line 142 of file eppt.hxx.

Referenced by ImplWritePage().

◆ mnShapeMasterBody

sal_uInt32 PPTWriter::mnShapeMasterBody
private

Definition at line 149 of file eppt.hxx.

Referenced by ImplWritePage().

◆ mnShapeMasterTitle

sal_uInt32 PPTWriter::mnShapeMasterTitle
private

Definition at line 148 of file eppt.hxx.

Referenced by ImplWritePage().

◆ mnStatMaxValue

sal_uInt32 PPTWriter::mnStatMaxValue
private

Definition at line 118 of file eppt.hxx.

Referenced by exportPPTPost(), exportPPTPre(), and ImplWritePage().

◆ mnTextSize

sal_uInt32 PPTWriter::mnTextSize
private

Definition at line 128 of file eppt.hxx.

Referenced by ImplCreateTable(), ImplGetText(), ImplWritePage(), and ImplWriteTextStyleAtom().

◆ mnTextStyle

sal_uInt32 PPTWriter::mnTextStyle
private

Definition at line 125 of file eppt.hxx.

Referenced by ImplCreateTextShape(), and ImplWritePage().

◆ mnTxId

sal_uInt32 PPTWriter::mnTxId
private

◆ mnVBAOleOfs

sal_uInt32 PPTWriter::mnVBAOleOfs
private

Definition at line 137 of file eppt.hxx.

Referenced by ImplWriteAtomEnding(), and ImplWriteVBA().

◆ mpCurUserStrm

tools::SvRef<SotStorageStream> PPTWriter::mpCurUserStrm
private

Definition at line 131 of file eppt.hxx.

Referenced by ImplCreateCurrentUserStream(), ImplWriteAtomEnding(), and ~PPTWriter().

◆ mpExEmbed

std::unique_ptr<SvMemoryStream> PPTWriter::mpExEmbed
private

Definition at line 140 of file eppt.hxx.

Referenced by ImplCloseDocument(), ImplInsertBookmarkURL(), ImplWritePage(), and ~PPTWriter().

◆ mpPicStrm

tools::SvRef<SotStorageStream> PPTWriter::mpPicStrm
private

◆ mpPptEscherEx

std::unique_ptr<PptEscherEx> PPTWriter::mpPptEscherEx
private

◆ mpStrm

tools::SvRef<SotStorageStream> PPTWriter::mpStrm
private

◆ mpVBA

SvMemoryStream* PPTWriter::mpVBA
private

Definition at line 138 of file eppt.hxx.

Referenced by ImplWriteAtomEnding(), and ImplWriteVBA().

◆ mrStg

tools::SvRef<SotStorage> PPTWriter::mrStg
private

◆ mXText

css::uno::Reference< css::text::XSimpleText > PPTWriter::mXText
private

Definition at line 124 of file eppt.hxx.

Referenced by ImplCreateTable(), ImplGetText(), ImplWritePage(), and ImplWriteTextStyleAtom().


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