LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
PptEscherEx Class Reference

#include <escherex.hxx>

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

Public Member Functions

 PptEscherEx (SvStream &rOut, const OUString &)
 
virtual ~PptEscherEx () override
 
void OpenContainer (sal_uInt16 n_EscherContainer, int nRecInstance=0) override
 
void CloseContainer () override
 
sal_uInt32 EnterGroup (::tools::Rectangle const *pBoundRect, SvMemoryStream *pClientData)
 
sal_uInt32 DrawingGroupContainerSize ()
 
void WriteDrawingGroupContainer (SvStream &rSt)
 
virtual sal_uInt32 EnterGroup (const OUString &rShapeName, const tools::Rectangle *pBoundRect)
 
sal_uInt32 EnterGroup (const tools::Rectangle *pBoundRect=nullptr)
 
- Public Member Functions inherited from EscherEx
 EscherEx (std::shared_ptr< EscherExGlobal > xGlobal, SvStream *pOutStrm, bool bOOXML=false)
 
virtual ~EscherEx () override
 
virtual sal_uInt32 GenerateShapeId ()
 
EscherGraphicProviderGetGraphicProvider ()
 
SvStreamQueryPictureStream ()
 
void Flush (SvStream *pPicStreamMergeBSE=nullptr)
 
void InsertAtCurrentPos (sal_uInt32 nBytes)
 
void InsertPersistOffset (sal_uInt32 nKey, sal_uInt32 nOffset)
 
void ReplacePersistOffset (sal_uInt32 nKey, sal_uInt32 nOffset)
 
sal_uInt32 GetPersistOffset (sal_uInt32 nKey)
 
bool SeekToPersistOffset (sal_uInt32 nKey)
 
void InsertAtPersistOffset (sal_uInt32 nKey, sal_uInt32 nValue)
 
void SetEditAs (const OUString &rEditAs)
 
const OUString & GetEditAs () const
 
SvStreamGetStream () const
 
sal_uInt64 GetStreamPos () const
 
virtual void OpenContainer (sal_uInt16 nEscherContainer, int nRecInstance=0)
 
virtual void CloseContainer ()
 
void BeginAtom ()
 
void EndAtom (sal_uInt16 nRecType, int nRecVersion=0, int nRecInstance=0)
 
void AddAtom (sal_uInt32 nAtomSitze, sal_uInt16 nRecType, int nRecVersion=0, int nRecInstance=0)
 
void AddChildAnchor (const tools::Rectangle &rRectangle)
 
void AddClientAnchor (const tools::Rectangle &rRectangle)
 
virtual sal_uInt32 EnterGroup (const OUString &rShapeName, const tools::Rectangle *pBoundRect)
 
sal_uInt32 EnterGroup (const tools::Rectangle *pBoundRect=nullptr)
 
sal_uInt32 GetGroupLevel () const
 
void SetGroupSnapRect (sal_uInt32 nGroupLevel, const tools::Rectangle &rRect)
 
void SetGroupLogicRect (sal_uInt32 nGroupLevel, const tools::Rectangle &rRect)
 
virtual void LeaveGroup ()
 
virtual void AddShape (sal_uInt32 nShpInstance, ShapeFlag nFlagIds, sal_uInt32 nShapeID=0)
 
virtual void Commit (EscherPropertyContainer &rProps, const tools::Rectangle &rRect)
 
void AddSdrPage (const SdrPage &rPage, bool ooxmlExport=false)
 
void AddUnoShapes (const css::uno::Reference< css::drawing::XShapes > &rxShapes, bool ooxmlExport=false)
 
sal_uInt32 AddSdrObject (const SdrObject &rObj, bool ooxmlExport=false, sal_uInt32 nId=0)
 
virtual void AddSdrObjectVMLObject (const SdrObject &)
 
void EndSdrObjectPage ()
 
virtual EscherExHostAppDataStartShape (const css::uno::Reference< css::drawing::XShape > &rShape, const tools::Rectangle *pChildAnchor)
 
virtual void EndShape (sal_uInt16 nShapeType, sal_uInt32 nShapeID)
 
virtual EscherExHostAppDataEnterAdditionalTextGroup ()
 
virtual sal_uInt32 QueryTextID (const css::uno::Reference< css::drawing::XShape > &, sal_uInt32 nShapeId)
 
sal_uInt32 AddDummyShape ()
 
void SetHellLayerId (SdrLayerID nId)
 
SdrLayerID GetHellLayerId () const
 
- Public Member Functions inherited from EscherPersistTable
bool PtIsID (sal_uInt32 nID)
 
void PtInsert (sal_uInt32 nID, sal_uInt32 nOfs)
 
void PtDelete (sal_uInt32 nID)
 
sal_uInt32 PtGetOffsetByID (sal_uInt32 nID)
 
void PtReplace (sal_uInt32 nID, sal_uInt32 nOfs)
 
void PtReplaceOrInsert (sal_uInt32 nID, sal_uInt32 nOfs)
 
 EscherPersistTable ()
 
virtual ~EscherPersistTable ()
 
EscherPersistTableoperator= (EscherPersistTable const &)=delete
 
 EscherPersistTable (EscherPersistTable const &)=delete
 

Private Member Functions

sal_uInt32 ImplDggContainerSize ()
 
void ImplWriteDggContainer (SvStream &rSt)
 

Static Private Member Functions

static sal_uInt32 ImplOptAtomSize ()
 
static void ImplWriteOptAtom (SvStream &rSt)
 
static sal_uInt32 ImplSplitMenuColorsAtomSize ()
 
static void ImplWriteSplitMenuColorsAtom (SvStream &rSt)
 

Additional Inherited Members

- Static Public Member Functions inherited from EscherEx
static sal_uInt32 GetColor (const sal_uInt32 nColor)
 
static sal_uInt32 GetColor (const Color &rColor)
 
static const SdrObjectGetSdrObject (const css::uno::Reference< css::drawing::XShape > &rXShape)
 
- Public Attributes inherited from EscherPersistTable
::std::vector< std::unique_ptr< EscherPersistEntry > > maPersistTable
 
- Protected Member Functions inherited from EscherEx
bool DoSeek (sal_uInt32 nKey)
 
- Protected Attributes inherited from EscherEx
std::shared_ptr< EscherExGlobalmxGlobal
 
std::unique_ptr< ImplEESdrWritermpImplEESdrWriter
 
std::unique_ptr< SvStreammxOwnStrm
 
SvStreammpOutStrm
 
sal_uInt32 mnStrmStartOfs
 
std::vector< sal_uInt32 > mOffsets
 
std::vector< sal_uInt16 > mRecTypes
 
sal_uInt32 mnCurrentDg
 
sal_uInt32 mnCountOfs
 
sal_uInt32 mnGroupLevel
 
SdrLayerID mnHellLayerId
 
bool mbEscherSpgr
 
bool mbEscherDg
 
bool mbOOXML
 
OUString mEditAs
 

Detailed Description

Definition at line 37 of file escherex.hxx.

Constructor & Destructor Documentation

◆ PptEscherEx()

PptEscherEx::PptEscherEx ( SvStream rOut,
const OUString &  rBaseURI 
)

Definition at line 22 of file escherex.cxx.

References make_shared(), EscherEx::mnCurrentDg, and EscherEx::mxGlobal.

◆ ~PptEscherEx()

PptEscherEx::~PptEscherEx ( )
overridevirtual

Definition at line 122 of file escherex.cxx.

Member Function Documentation

◆ CloseContainer()

void PptEscherEx::CloseContainer ( )
overridevirtual

◆ DrawingGroupContainerSize()

sal_uInt32 PptEscherEx::DrawingGroupContainerSize ( )

Definition at line 29 of file escherex.cxx.

References ImplDggContainerSize().

Referenced by WriteDrawingGroupContainer().

◆ EnterGroup() [1/3]

sal_uInt32 PptEscherEx::EnterGroup ( ::tools::Rectangle const *  pBoundRect,
SvMemoryStream pClientData 
)

◆ EnterGroup() [2/3]

virtual sal_uInt32 EscherEx::EnterGroup ( const OUString &  rShapeName,
const tools::Rectangle pBoundRect 
)
virtual

Reimplemented from EscherEx.

◆ EnterGroup() [3/3]

sal_uInt32 EscherEx::EnterGroup ( const tools::Rectangle pBoundRect = nullptr)

◆ ImplDggContainerSize()

sal_uInt32 PptEscherEx::ImplDggContainerSize ( )
private

◆ ImplOptAtomSize()

sal_uInt32 PptEscherEx::ImplOptAtomSize ( )
staticprivate

Definition at line 73 of file escherex.cxx.

References ESCHER_OPT_COUNT.

Referenced by ImplDggContainerSize(), and ImplWriteOptAtom().

◆ ImplSplitMenuColorsAtomSize()

sal_uInt32 PptEscherEx::ImplSplitMenuColorsAtomSize ( )
staticprivate

Definition at line 99 of file escherex.cxx.

References ESCHER_SPLIT_MENU_COLORS_COUNT.

Referenced by ImplDggContainerSize(), and ImplWriteSplitMenuColorsAtom().

◆ ImplWriteDggContainer()

void PptEscherEx::ImplWriteDggContainer ( SvStream rSt)
private

◆ ImplWriteOptAtom()

void PptEscherEx::ImplWriteOptAtom ( SvStream rSt)
staticprivate

◆ ImplWriteSplitMenuColorsAtom()

void PptEscherEx::ImplWriteSplitMenuColorsAtom ( SvStream rSt)
staticprivate

◆ OpenContainer()

void PptEscherEx::OpenContainer ( sal_uInt16  n_EscherContainer,
int  nRecInstance = 0 
)
overridevirtual

◆ WriteDrawingGroupContainer()

void PptEscherEx::WriteDrawingGroupContainer ( SvStream rSt)

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