LibreOffice Module sd (master) 1
|
#include <escherex.hxx>
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) |
![]() | |
EscherEx (std::shared_ptr< EscherExGlobal > xGlobal, SvStream *pOutStrm, bool bOOXML=false) | |
virtual | ~EscherEx () override |
virtual sal_uInt32 | GenerateShapeId () |
EscherGraphicProvider & | GetGraphicProvider () |
SvStream * | QueryPictureStream () |
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 |
SvStream & | GetStream () 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 EscherExHostAppData * | StartShape (const css::uno::Reference< css::drawing::XShape > &rShape, const tools::Rectangle *pChildAnchor) |
virtual void | EndShape (sal_uInt16 nShapeType, sal_uInt32 nShapeID) |
virtual EscherExHostAppData * | EnterAdditionalTextGroup () |
virtual sal_uInt32 | QueryTextID (const css::uno::Reference< css::drawing::XShape > &, sal_uInt32 nShapeId) |
sal_uInt32 | AddDummyShape () |
void | SetHellLayerId (SdrLayerID nId) |
SdrLayerID | GetHellLayerId () const |
![]() | |
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 () |
EscherPersistTable & | operator= (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 sal_uInt32 | GetColor (const sal_uInt32 nColor) |
static sal_uInt32 | GetColor (const Color &rColor) |
static const SdrObject * | GetSdrObject (const css::uno::Reference< css::drawing::XShape > &rXShape) |
![]() | |
::std::vector< std::unique_ptr< EscherPersistEntry > > | maPersistTable |
![]() | |
bool | DoSeek (sal_uInt32 nKey) |
![]() | |
std::shared_ptr< EscherExGlobal > | mxGlobal |
std::unique_ptr< ImplEESdrWriter > | mpImplEESdrWriter |
std::unique_ptr< SvStream > | mxOwnStrm |
SvStream * | mpOutStrm |
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 |
Definition at line 37 of file escherex.hxx.
PptEscherEx::PptEscherEx | ( | SvStream & | rOut, |
const OUString & | rBaseURI | ||
) |
Definition at line 22 of file escherex.cxx.
References make_shared(), EscherEx::mnCurrentDg, and EscherEx::mxGlobal.
|
overridevirtual |
Definition at line 122 of file escherex.cxx.
|
overridevirtual |
Reimplemented from EscherEx.
Definition at line 162 of file escherex.cxx.
References EscherEx::DoSeek(), ESCHER_DgContainer, ESCHER_Persist_Dg, ESCHER_SpgrContainer, EscherEx::mbEscherDg, EscherEx::mbEscherSpgr, EscherEx::mnCurrentDg, EscherEx::mnGroupLevel, EscherEx::mOffsets, EscherEx::mpOutStrm, EscherEx::mRecTypes, EscherEx::mxGlobal, nPos, SvStream::Seek(), SvStream::Tell(), and SvStream::WriteUInt32().
Referenced by EnterGroup().
sal_uInt32 PptEscherEx::DrawingGroupContainerSize | ( | ) |
Definition at line 29 of file escherex.cxx.
References ImplDggContainerSize().
Referenced by WriteDrawingGroupContainer().
sal_uInt32 PptEscherEx::EnterGroup | ( | ::tools::Rectangle const * | pBoundRect, |
SvMemoryStream * | pClientData | ||
) |
Definition at line 206 of file escherex.cxx.
References EscherEx::AddAtom(), EscherEx::AddShape(), tools::Rectangle::Bottom(), CloseContainer(), ESCHER_ChildAnchor, ESCHER_ClientAnchor, ESCHER_ClientData, ESCHER_Persist_Grouping_Logic, ESCHER_Persist_Grouping_Snap, ESCHER_ShpInst_Min, ESCHER_SpContainer, ESCHER_Spgr, ESCHER_SpgrContainer, EscherEx::GenerateShapeId(), SvMemoryStream::GetData(), tools::Rectangle::Left(), EscherEx::mnGroupLevel, EscherEx::mpOutStrm, OpenContainer(), EscherPersistTable::PtReplaceOrInsert(), tools::Rectangle::Right(), SvStream::Tell(), SvMemoryStream::TellEnd(), tools::Rectangle::Top(), SvStream::WriteBytes(), SvStream::WriteInt16(), SvStream::WriteInt32(), and SvStream::WriteUInt32().
|
virtual |
Reimplemented from EscherEx.
sal_uInt32 EscherEx::EnterGroup | ( | const tools::Rectangle * | pBoundRect = nullptr | ) |
|
private |
Definition at line 43 of file escherex.cxx.
References ImplOptAtomSize(), ImplSplitMenuColorsAtomSize(), and EscherEx::mxGlobal.
Referenced by DrawingGroupContainerSize(), and ImplWriteDggContainer().
|
staticprivate |
Definition at line 73 of file escherex.cxx.
References ESCHER_OPT_COUNT.
Referenced by ImplDggContainerSize(), and ImplWriteOptAtom().
|
staticprivate |
Definition at line 99 of file escherex.cxx.
References ESCHER_SPLIT_MENU_COLORS_COUNT.
Referenced by ImplDggContainerSize(), and ImplWriteSplitMenuColorsAtom().
|
private |
Definition at line 55 of file escherex.cxx.
References ESCHER_DggContainer, ImplDggContainerSize(), ImplWriteOptAtom(), ImplWriteSplitMenuColorsAtom(), EscherEx::mxGlobal, and SvStream::WriteUInt32().
Referenced by WriteDrawingGroupContainer().
|
staticprivate |
Definition at line 81 of file escherex.cxx.
References ESCHER_OPT, ESCHER_OPT_COUNT, ESCHER_Prop_fillBackColor, ESCHER_Prop_fillColor, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_lineColor, ESCHER_Prop_shadowColor, ImplOptAtomSize(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by ImplWriteDggContainer().
|
staticprivate |
Definition at line 107 of file escherex.cxx.
References ESCHER_SPLIT_MENU_COLORS_COUNT, ESCHER_SplitMenuColors, ImplSplitMenuColorsAtomSize(), and SvStream::WriteUInt32().
Referenced by ImplWriteDggContainer().
|
overridevirtual |
Reimplemented from EscherEx.
Definition at line 126 of file escherex.cxx.
References EscherEx::AddAtom(), ESCHER_Dg, ESCHER_DgContainer, ESCHER_Persist_Dg, ESCHER_SpgrContainer, EscherEx::mbEscherDg, EscherEx::mbEscherSpgr, EscherEx::mnCurrentDg, EscherEx::mOffsets, EscherEx::mpOutStrm, EscherEx::mRecTypes, EscherEx::mxGlobal, EscherPersistTable::PtReplaceOrInsert(), SvStream::Tell(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by EnterGroup().
void PptEscherEx::WriteDrawingGroupContainer | ( | SvStream & | rSt | ) |
Definition at line 34 of file escherex.cxx.
References DrawingGroupContainerSize(), ImplWriteDggContainer(), and SvStream::WriteUInt32().