LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SwBasicEscherEx Class Reference

#include <escher.hxx>

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

Public Member Functions

 SwBasicEscherEx (SvStream *pStrm, WW8Export &rWrt)
 
sal_Int32 WriteGrfFlyFrame (const SwFrameFormat &rFormat, sal_uInt32 nShapeId)
 
void WriteGrfBullet (const Graphic &)
 
sal_Int32 WriteOLEFlyFrame (const SwFrameFormat &rFormat, sal_uInt32 nShapeId)
 
void WriteEmptyFlyFrame (const SwFrameFormat &rFormat, sal_uInt32 nShapeId)
 
virtual void WriteFrameExtraData (const SwFrameFormat &)
 
virtual void WritePictures ()
 
virtual ~SwBasicEscherEx () override
 
bool IsRelUrl () const
 
OUString GetBasePath () const
 
OUString BuildFileName (sal_uInt16 &rnLevel, bool &rbRel, const OUString &rUrl)
 
void WriteHyperlinkWithinFly (SvMemoryStream &rStrm, const SwFormatURL *pINetFormatArg)
 
void PreWriteHyperlinkWithinFly (const SwFrameFormat &rFormat, EscherPropertyContainer &rPropOpt)
 
- 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)
 
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
 

Protected Member Functions

virtual sal_Int32 WriteFlyFrameAttr (const SwFrameFormat &rFormat, MSO_SPT eShapeType, EscherPropertyContainer &rPropOpt)
 
void WriteBrushAttr (const SvxBrushItem &rBrush, EscherPropertyContainer &rPropOpt)
 
void WriteOLEPicture (EscherPropertyContainer &rPropOpt, ShapeFlag nShapeFlags, const Graphic &rGraphic, const SdrObject &rObj, sal_uInt32 nShapeId, const css::awt::Rectangle *pVisArea)
 
sal_Int32 DrawModelToEmu (sal_Int32 nVal) const
 
virtual void SetPicId (const SdrObject &, sal_uInt32, EscherPropertyContainer &)
 
SdrLayerID GetInvisibleHellId () const
 
- Protected Member Functions inherited from EscherEx
bool DoSeek (sal_uInt32 nKey)
 

Static Protected Member Functions

static void WriteGrfAttr (const SwNoTextNode &rNd, const SwFrameFormat &rFormat, EscherPropertyContainer &rPropOpt)
 
static sal_Int32 ToFract16 (sal_Int32 nVal, sal_uInt32 nMax)
 

Protected Attributes

WW8ExportmrWrt
 
SvStreammpEscherStrm
 
tools::Long mnEmuMul
 
tools::Long mnEmuDiv
 
- 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
 

Private Member Functions

void Init ()
 
 SwBasicEscherEx (const SwBasicEscherEx &)=delete
 
SwBasicEscherExoperator= (const SwBasicEscherEx &)=delete
 

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
 

Detailed Description

Definition at line 93 of file escher.hxx.

Constructor & Destructor Documentation

◆ SwBasicEscherEx() [1/2]

SwBasicEscherEx::SwBasicEscherEx ( SvStream pStrm,
WW8Export rWrt 
)

Definition at line 1518 of file wrtw8esh.cxx.

References Init(), and make_shared().

◆ ~SwBasicEscherEx()

SwBasicEscherEx::~SwBasicEscherEx ( )
overridevirtual

Definition at line 1524 of file wrtw8esh.cxx.

◆ SwBasicEscherEx() [2/2]

SwBasicEscherEx::SwBasicEscherEx ( const SwBasicEscherEx )
privatedelete

Member Function Documentation

◆ BuildFileName()

OUString SwBasicEscherEx::BuildFileName ( sal_uInt16 &  rnLevel,
bool &  rbRel,
const OUString &  rUrl 
)

◆ DrawModelToEmu()

sal_Int32 SwBasicEscherEx::DrawModelToEmu ( sal_Int32  nVal) const
inlineprotected

Definition at line 111 of file escher.hxx.

References BigMulDiv(), mnEmuDiv, and mnEmuMul.

Referenced by WriteFlyFrameAttr(), SwEscherEx::WriteFlyFrameAttr(), and WriteGrfBullet().

◆ GetBasePath()

OUString SwBasicEscherEx::GetBasePath ( ) const

◆ GetInvisibleHellId()

SdrLayerID SwBasicEscherEx::GetInvisibleHellId ( ) const
protected

◆ Init()

void SwBasicEscherEx::Init ( void  )
private

◆ IsRelUrl()

bool SwBasicEscherEx::IsRelUrl ( ) const

◆ operator=()

SwBasicEscherEx & SwBasicEscherEx::operator= ( const SwBasicEscherEx )
privatedelete

◆ PreWriteHyperlinkWithinFly()

void SwBasicEscherEx::PreWriteHyperlinkWithinFly ( const SwFrameFormat rFormat,
EscherPropertyContainer rPropOpt 
)

◆ SetPicId()

void SwBasicEscherEx::SetPicId ( const SdrObject ,
sal_uInt32  ,
EscherPropertyContainer  
)
protectedvirtual

Reimplemented in SwEscherEx.

Definition at line 1765 of file wrtw8esh.cxx.

Referenced by WriteOLEPicture().

◆ ToFract16()

sal_Int32 SwBasicEscherEx::ToFract16 ( sal_Int32  nVal,
sal_uInt32  nMax 
)
staticprotected

Definition at line 2138 of file wrtw8esh.cxx.

Referenced by WriteGrfAttr().

◆ WriteBrushAttr()

void SwBasicEscherEx::WriteBrushAttr ( const SvxBrushItem rBrush,
EscherPropertyContainer rPropOpt 
)
protected

◆ WriteEmptyFlyFrame()

void SwBasicEscherEx::WriteEmptyFlyFrame ( const SwFrameFormat rFormat,
sal_uInt32  nShapeId 
)

◆ WriteFlyFrameAttr()

sal_Int32 SwBasicEscherEx::WriteFlyFrameAttr ( const SwFrameFormat rFormat,
MSO_SPT  eShapeType,
EscherPropertyContainer rPropOpt 
)
protectedvirtual

◆ WriteFrameExtraData()

void SwBasicEscherEx::WriteFrameExtraData ( const SwFrameFormat )
virtual

◆ WriteGrfAttr()

void SwBasicEscherEx::WriteGrfAttr ( const SwNoTextNode rNd,
const SwFrameFormat rFormat,
EscherPropertyContainer rPropOpt 
)
staticprotected

◆ WriteGrfBullet()

void SwBasicEscherEx::WriteGrfBullet ( const Graphic rGrf)

◆ WriteGrfFlyFrame()

sal_Int32 SwBasicEscherEx::WriteGrfFlyFrame ( const SwFrameFormat rFormat,
sal_uInt32  nShapeId 
)

◆ WriteHyperlinkWithinFly()

void SwBasicEscherEx::WriteHyperlinkWithinFly ( SvMemoryStream rStrm,
const SwFormatURL pINetFormatArg 
)

◆ WriteOLEFlyFrame()

sal_Int32 SwBasicEscherEx::WriteOLEFlyFrame ( const SwFrameFormat rFormat,
sal_uInt32  nShapeId 
)

◆ WriteOLEPicture()

void SwBasicEscherEx::WriteOLEPicture ( EscherPropertyContainer rPropOpt,
ShapeFlag  nShapeFlags,
const Graphic rGraphic,
const SdrObject rObj,
sal_uInt32  nShapeId,
const css::awt::Rectangle *  pVisArea 
)
protected

◆ WritePictures()

void SwBasicEscherEx::WritePictures ( )
virtual

Member Data Documentation

◆ mnEmuDiv

tools::Long SwBasicEscherEx::mnEmuDiv
protected

Definition at line 100 of file escher.hxx.

Referenced by DrawModelToEmu(), and Init().

◆ mnEmuMul

tools::Long SwBasicEscherEx::mnEmuMul
protected

Definition at line 100 of file escher.hxx.

Referenced by DrawModelToEmu(), and Init().

◆ mpEscherStrm

SvStream* SwBasicEscherEx::mpEscherStrm
protected

Definition at line 99 of file escher.hxx.

Referenced by SwEscherEx::FinishEscher(), and WritePictures().

◆ mrWrt

WW8Export& SwBasicEscherEx::mrWrt
protected

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