LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
oox::vml::VMLExport Class Reference

#include <vmlexport.hxx>

Inheritance diagram for oox::vml::VMLExport:
[legend]
Collaboration diagram for oox::vml::VMLExport:
[legend]

Public Member Functions

 VMLExport (::sax_fastparser::FSHelperPtr pSerializer, VMLTextExport *pTextExport=nullptr)
 
virtual ~VMLExport () override
 
const ::sax_fastparser::FSHelperPtrGetFS () const
 
void SetFS (const ::sax_fastparser::FSHelperPtr &pSerializer)
 
OString const & AddSdrObject (const SdrObject &rObj, bool const bIsFollowingTextFlow=false, sal_Int16 eHOri=-1, sal_Int16 eVOri=-1, sal_Int16 eHRel=-1, sal_Int16 eVRel=-1, sax_fastparser::FastAttributeList *pWrapAttrList=nullptr, const bool bOOxmlExport=false, sal_uInt32 nId=0)
 Export the sdr object as VML. More...
 
OString const & AddInlineSdrObject (const SdrObject &rObj, const bool bOOxmlExport)
 
virtual void AddSdrObjectVMLObject (const SdrObject &rObj) override
 
void SetSkipwzName (bool bSkipwzName)
 
void SetHashMarkForType (bool bUseHashMarkForType)
 
void OverrideShapeIDGen (bool bOverrideShapeIdGeneration, const OString &sShapeIDPrefix=OString())
 
- 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
 

Static Public Member Functions

static bool IsWaterMarkShape (std::u16string_view rStr)
 
static OString GetVMLShapeTypeDefinition (std::string_view sShapeID, const bool bIsPictureFrame)
 
- 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)
 

Protected Member Functions

void AddShapeAttribute (sal_Int32 nAttribute, std::string_view sValue)
 Add an attribute to the generated <v:shape/> element. More...
 
virtual sal_uInt32 GenerateShapeId () override
 Override shape ID generation when m_bOverrideShapeIdGeneration is set to true. More...
 
virtual sal_Int32 StartShape ()
 Start the shape for which we just collected the information. More...
 
virtual void EndShape (sal_Int32 nShapeElement)
 End the shape. More...
 
virtual void Commit (EscherPropertyContainer &rProps, const tools::Rectangle &rRect) override
 
virtual EscherExHostAppDataStartShape (const css::uno::Reference< css::drawing::XShape > &rShape, const tools::Rectangle *pChildAnchor)
 
virtual void EndShape (sal_uInt16 nShapeType, sal_uInt32 nShapeID)
 
- Protected Member Functions inherited from EscherEx
bool DoSeek (sal_uInt32 nKey)
 

Private Member Functions

virtual void OpenContainer (sal_uInt16 nEscherContainer, int nRecInstance=0) override
 
virtual void CloseContainer () override
 
virtual sal_uInt32 EnterGroup (const OUString &rShapeName, const tools::Rectangle *pBoundRect) override
 
virtual void LeaveGroup () override
 
virtual void AddShape (sal_uInt32 nShapeType, ShapeFlag nShapeFlags, sal_uInt32 nShapeId=0) override
 
OString ShapeIdString (sal_uInt32 nId)
 Create an OString representing the id from a numerical id. More...
 
void AddFlipXY ()
 Add flip X and\or flip Y. More...
 
void AddLineDimensions (const tools::Rectangle &rRectangle)
 Add starting and ending point of a line to the m_pShapeAttrList. More...
 
void AddRectangleDimensions (OStringBuffer &rBuffer, const tools::Rectangle &rRectangle, bool rbAbsolutePos=true)
 Add position and size to the OStringBuffer. More...
 

Private Attributes

::sax_fastparser::FSHelperPtr m_pSerializer
 Fast serializer to output the data. More...
 
VMLTextExportm_pTextExport
 Parent exporter, used for text callback. More...
 
sal_Int16 m_eHOri
 Anchoring - Writer specific properties. More...
 
sal_Int16 m_eVOri
 
sal_Int16 m_eHRel
 
sal_Int16 m_eVRel
 
rtl::Reference< sax_fastparser::FastAttributeListm_pWrapAttrList
 
bool m_bInline
 
bool m_IsFollowingTextFlow = false
 
const SdrObjectm_pSdrObject
 The object we're exporting. More...
 
rtl::Reference<::sax_fastparser::FastAttributeListm_pShapeAttrList
 Fill the shape attributes as they come. More...
 
sal_uInt32 m_nShapeType
 Remember the shape type. More...
 
ShapeFlag m_nShapeFlags
 Remember the shape flags. More...
 
OStringBuffer m_ShapeStyle
 Remember style, the most important shape attribute ;-) More...
 
OStringBuffer m_TextboxStyle
 style for textbox More...
 
OString m_sShapeId
 Remember the generated shape id. More...
 
std::vector< bool > m_aShapeTypeWritten
 Remember which shape types we had already written. More...
 
bool m_bSkipwzName
 It seems useless to write out an XML_ID attribute next to XML_id which defines the actual shape id. More...
 
bool m_bUseHashMarkForType
 Use '#' mark for type attribute (check Type Attribute of VML shape in OOXML documentation) More...
 
bool m_bOverrideShapeIdGeneration
 There is a shapeid generation mechanism in EscherEx, but it does not seem to work so override the existing behavior to get actually unique ids. More...
 
OString m_sShapeIDPrefix
 Prefix for overridden shape id generation (used if m_bOverrideShapeIdGeneration is true) More...
 
sal_uInt64 m_nShapeIDCounter
 Counter for generating shape ids (used if m_bOverrideShapeIdGeneration is true) More...
 

Additional Inherited Members

- Public Attributes inherited from EscherPersistTable
::std::vector< std::unique_ptr< EscherPersistEntry > > maPersistTable
 
- 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 73 of file vmlexport.hxx.

Constructor & Destructor Documentation

◆ VMLExport()

VMLExport::VMLExport ( ::sax_fastparser::FSHelperPtr  pSerializer,
VMLTextExport pTextExport = nullptr 
)

◆ ~VMLExport()

VMLExport::~VMLExport ( )
overridevirtual

Definition at line 92 of file vmlexport.cxx.

Member Function Documentation

◆ AddFlipXY()

void VMLExport::AddFlipXY ( )
private

Add flip X and\or flip Y.

Definition at line 1108 of file vmlexport.cxx.

References m_nShapeFlags, and m_ShapeStyle.

Referenced by AddLineDimensions(), and AddRectangleDimensions().

◆ AddInlineSdrObject()

OString const & VMLExport::AddInlineSdrObject ( const SdrObject rObj,
const bool  bOOxmlExport 
)

◆ AddLineDimensions()

void VMLExport::AddLineDimensions ( const tools::Rectangle rRectangle)
private

Add starting and ending point of a line to the m_pShapeAttrList.

Definition at line 1122 of file vmlexport.cxx.

References AddFlipXY(), tools::Rectangle::Bottom(), tools::Rectangle::Left(), m_pShapeAttrList, m_ShapeStyle, EscherEx::mnGroupLevel, tools::Rectangle::Right(), and tools::Rectangle::Top().

Referenced by Commit().

◆ AddRectangleDimensions()

void VMLExport::AddRectangleDimensions ( OStringBuffer &  rBuffer,
const tools::Rectangle rRectangle,
bool  rbAbsolutePos = true 
)
private

Add position and size to the OStringBuffer.

Definition at line 1156 of file vmlexport.cxx.

References AddFlipXY(), tools::Rectangle::Bottom(), tools::Rectangle::Left(), m_bInline, EscherEx::mnGroupLevel, tools::Rectangle::Right(), and tools::Rectangle::Top().

Referenced by Commit(), and EnterGroup().

◆ AddSdrObject()

OString const & VMLExport::AddSdrObject ( const SdrObject rObj,
bool const  bIsFollowingTextFlow = false,
sal_Int16  eHOri = -1,
sal_Int16  eVOri = -1,
sal_Int16  eHRel = -1,
sal_Int16  eVRel = -1,
sax_fastparser::FastAttributeList pWrapAttrList = nullptr,
const bool  bOOxmlExport = false,
sal_uInt32  nId = 0 
)

Export the sdr object as VML.

Call this when you need to export the object as VML.

Definition at line 1580 of file vmlexport.cxx.

References EscherEx::AddSdrObject(), m_bInline, m_eHOri, m_eHRel, m_eVOri, m_eVRel, m_IsFollowingTextFlow, m_pSdrObject, m_pWrapAttrList, m_sShapeId, and nId.

◆ AddSdrObjectVMLObject()

void VMLExport::AddSdrObjectVMLObject ( const SdrObject rObj)
overridevirtual

Reimplemented from EscherEx.

Definition at line 371 of file vmlexport.cxx.

References m_pSdrObject.

◆ AddShape()

void VMLExport::AddShape ( sal_uInt32  nShapeType,
ShapeFlag  nShapeFlags,
sal_uInt32  nShapeId = 0 
)
overrideprivatevirtual

◆ AddShapeAttribute()

void VMLExport::AddShapeAttribute ( sal_Int32  nAttribute,
std::string_view  sValue 
)
protected

Add an attribute to the generated <v:shape/> element.

This should be called from within StartShape() to ensure that the added attribute is preserved.

Definition at line 1191 of file vmlexport.cxx.

References m_pShapeAttrList.

◆ CloseContainer()

void VMLExport::CloseContainer ( )
overrideprivatevirtual

◆ Commit()

void VMLExport::Commit ( EscherPropertyContainer rProps,
const tools::Rectangle rRect 
)
overrideprotectedvirtual

Reimplemented from EscherEx.

Definition at line 375 of file vmlexport.cxx.

References AddLineDimensions(), AddRectangleDimensions(), aSegments, DFF_Prop_adjust2Value, DFF_Prop_adjustValue, DFF_Prop_gtextFStrikethrough, DFF_Prop_gtextSpacing, ESCHER_AnchorBottom, ESCHER_AnchorBottomBaseline, ESCHER_AnchorBottomCentered, ESCHER_AnchorBottomCenteredBaseline, ESCHER_AnchorMiddle, ESCHER_AnchorMiddleCentered, ESCHER_AnchorTop, ESCHER_AnchorTopBaseline, ESCHER_AnchorTopCentered, ESCHER_AnchorTopCenteredBaseline, ESCHER_FillPicture, ESCHER_FillSolid, ESCHER_FillTexture, ESCHER_LineDashDotDotSys, ESCHER_LineDashDotGEL, ESCHER_LineDashDotSys, ESCHER_LineDashGEL, ESCHER_LineDashSys, ESCHER_LineDotGEL, ESCHER_LineDotSys, ESCHER_LineEndCapFlat, ESCHER_LineEndCapRound, ESCHER_LineEndCapSquare, ESCHER_LineJoinBevel, ESCHER_LineJoinMiter, ESCHER_LineJoinRound, ESCHER_LineLongDashDotDotGEL, ESCHER_LineLongDashDotGEL, ESCHER_LineLongDashGEL, ESCHER_LineSolid, ESCHER_Prop_AnchorText, ESCHER_Prop_fHidden, ESCHER_Prop_fillBackColor, ESCHER_Prop_fillBlip, ESCHER_Prop_fillColor, ESCHER_Prop_fillOpacity, ESCHER_Prop_fillType, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_fshadowObscured, ESCHER_Prop_geoBottom, ESCHER_Prop_geoLeft, ESCHER_Prop_geoRight, ESCHER_Prop_geoTop, ESCHER_Prop_gtextFont, ESCHER_Prop_gtextSize, ESCHER_Prop_gtextUNICODE, ESCHER_Prop_lineColor, ESCHER_Prop_lineDashing, ESCHER_Prop_lineEndArrowhead, ESCHER_Prop_lineEndArrowLength, ESCHER_Prop_lineEndArrowWidth, ESCHER_Prop_lineEndCapStyle, ESCHER_Prop_lineJoinStyle, ESCHER_Prop_lineStartArrowhead, ESCHER_Prop_lineStartArrowLength, ESCHER_Prop_lineStartArrowWidth, ESCHER_Prop_lineWidth, ESCHER_Prop_pSegmentInfo, ESCHER_Prop_pVertices, ESCHER_Prop_Rotation, ESCHER_Prop_shadowColor, ESCHER_Prop_txflTextFlow, ESCHER_Prop_WrapText, ESCHER_Prop_wzName, ESCHER_ShpInst_Line, ESCHER_ShpInst_Nil, ESCHER_ShpInst_PictureFrame, ESCHER_txflBtoT, ESCHER_txflHorzN, ESCHER_txflTtoBA, ESCHER_WrapByPoints, ESCHER_WrapNone, ESCHER_WrapSquare, ESCHER_WrapThrough, ESCHER_WrapTopBottom, FSNS(), oox::vml::VMLTextExport::GetDrawingML(), SfxItemSet::GetItem(), SdrObject::GetMergedItemSet(), SdrObject::GetName(), tools::Rectangle::getOpenHeight(), EscherPropertyContainer::GetOpt(), EscherPropertyContainer::GetOpts(), SdrGrafObj::getSignatureLineId(), SdrGrafObj::getSignatureLineSigningInstructions(), SdrGrafObj::getSignatureLineSuggestedSignerEmail(), SdrGrafObj::getSignatureLineSuggestedSignerName(), SdrGrafObj::getSignatureLineSuggestedSignerTitle(), SdrGrafObj::getSignatureLineUnsignedGraphic(), namespaces::i, impl_AddArrowHead(), impl_AddArrowLength(), impl_AddArrowWidth(), impl_AddBool(), impl_AddColor(), impl_AddInt(), impl_GetPointComponent(), impl_GetUInt16(), GraphicConverter::Import(), SdrGrafObj::isSignatureLine(), SdrGrafObj::isSignatureLineCanAddComment(), SdrGrafObj::isSignatureLineShowSignDate(), IsWaterMarkShape(), m_bSkipwzName, m_nShapeType, m_pSdrObject, m_pSerializer, m_pShapeAttrList, m_pTextExport, m_ShapeStyle, m_TextboxStyle, SvxMSDffManager::MSDFFReadZString(), mso_sptTextCanDown, mso_sptTextOnRing, mso_sptTextPlainText, mso_sptTextSimple, msopathClientEscape, msopathClose, msopathCurveTo, msopathEnd, msopathEscape, msopathInvalid, msopathLineTo, msopathMoveTo, nCount, nId, EscherPropSortStruct::nProp, nValue, sax_fastparser::POSTPONE, rSet, SAL_INFO, SAL_WARN, SDRATTR_TEXT_UPPERDIST(), SvStream::Seek(), tools::Rectangle::setHeight(), Tag_Commit, SvStream::WriteBytes(), oox::drawingml::DrawingML::WriteImage(), XML_ID, and XML_type.

◆ EndShape() [1/2]

void VMLExport::EndShape ( sal_Int32  nShapeElement)
protectedvirtual

◆ EndShape() [2/2]

virtual void EscherEx::EndShape ( sal_uInt16  nShapeType,
sal_uInt32  nShapeID 
)
protectedvirtual

Reimplemented from EscherEx.

◆ EnterGroup()

sal_uInt32 VMLExport::EnterGroup ( const OUString &  rShapeName,
const tools::Rectangle pBoundRect 
)
overrideprivatevirtual

◆ GenerateShapeId()

sal_uInt32 VMLExport::GenerateShapeId ( )
overrideprotectedvirtual

Override shape ID generation when m_bOverrideShapeIdGeneration is set to true.

Reimplemented from EscherEx.

Definition at line 1246 of file vmlexport.cxx.

References EscherEx::GenerateShapeId(), m_bOverrideShapeIdGeneration, and m_nShapeIDCounter.

Referenced by EnterGroup().

◆ GetFS()

const ::sax_fastparser::FSHelperPtr & oox::vml::VMLExport::GetFS ( ) const
inline

Definition at line 133 of file vmlexport.hxx.

◆ GetVMLShapeTypeDefinition()

OString VMLExport::GetVMLShapeTypeDefinition ( std::string_view  sShapeID,
const bool  bIsPictureFrame 
)
static

Definition at line 1254 of file vmlexport.cxx.

Referenced by StartShape().

◆ IsWaterMarkShape()

bool VMLExport::IsWaterMarkShape ( std::u16string_view  rStr)
static

Definition at line 212 of file vmlexport.cxx.

References o3tl::starts_with(), and u.

Referenced by AddShape(), Commit(), and StartShape().

◆ LeaveGroup()

void VMLExport::LeaveGroup ( )
overrideprivatevirtual

Reimplemented from EscherEx.

Definition at line 180 of file vmlexport.cxx.

References m_pSerializer, and EscherEx::mnGroupLevel.

◆ OpenContainer()

void VMLExport::OpenContainer ( sal_uInt16  nEscherContainer,
int  nRecInstance = 0 
)
overrideprivatevirtual

◆ OverrideShapeIDGen()

void VMLExport::OverrideShapeIDGen ( bool  bOverrideShapeIdGeneration,
const OString &  sShapeIDPrefix = OString() 
)

Definition at line 219 of file vmlexport.cxx.

References m_bOverrideShapeIdGeneration, and m_sShapeIDPrefix.

◆ SetFS()

void VMLExport::SetFS ( const ::sax_fastparser::FSHelperPtr pSerializer)

Definition at line 87 of file vmlexport.cxx.

References m_pSerializer.

◆ SetHashMarkForType()

void oox::vml::VMLExport::SetHashMarkForType ( bool  bUseHashMarkForType)
inline

Definition at line 151 of file vmlexport.hxx.

◆ SetSkipwzName()

void oox::vml::VMLExport::SetSkipwzName ( bool  bSkipwzName)
inline

Definition at line 150 of file vmlexport.hxx.

◆ ShapeIdString()

OString VMLExport::ShapeIdString ( sal_uInt32  nId)
private

Create an OString representing the id from a numerical id.

Definition at line 1100 of file vmlexport.cxx.

References m_bOverrideShapeIdGeneration, m_sShapeIDPrefix, and nId.

Referenced by AddShape(), and EnterGroup().

◆ StartShape() [1/2]

sal_Int32 VMLExport::StartShape ( )
protectedvirtual

◆ StartShape() [2/2]

virtual EscherExHostAppData * EscherEx::StartShape ( const css::uno::Reference< css::drawing::XShape > &  rShape,
const tools::Rectangle pChildAnchor 
)
protectedvirtual

Reimplemented from EscherEx.

Member Data Documentation

◆ m_aShapeTypeWritten

std::vector<bool> oox::vml::VMLExport::m_aShapeTypeWritten
private

Remember which shape types we had already written.

Definition at line 109 of file vmlexport.hxx.

Referenced by StartShape().

◆ m_bInline

bool oox::vml::VMLExport::m_bInline
private

Definition at line 84 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddRectangleDimensions(), and AddSdrObject().

◆ m_bOverrideShapeIdGeneration

bool oox::vml::VMLExport::m_bOverrideShapeIdGeneration
private

There is a shapeid generation mechanism in EscherEx, but it does not seem to work so override the existing behavior to get actually unique ids.

Definition at line 120 of file vmlexport.hxx.

Referenced by GenerateShapeId(), OverrideShapeIDGen(), and ShapeIdString().

◆ m_bSkipwzName

bool oox::vml::VMLExport::m_bSkipwzName
private

It seems useless to write out an XML_ID attribute next to XML_id which defines the actual shape id.

Definition at line 112 of file vmlexport.hxx.

Referenced by Commit().

◆ m_bUseHashMarkForType

bool oox::vml::VMLExport::m_bUseHashMarkForType
private

Use '#' mark for type attribute (check Type Attribute of VML shape in OOXML documentation)

Definition at line 115 of file vmlexport.hxx.

Referenced by StartShape().

◆ m_eHOri

sal_Int16 oox::vml::VMLExport::m_eHOri
private

Anchoring - Writer specific properties.

Definition at line 82 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and StartShape().

◆ m_eHRel

sal_Int16 oox::vml::VMLExport::m_eHRel
private

Definition at line 82 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and StartShape().

◆ m_eVOri

sal_Int16 oox::vml::VMLExport::m_eVOri
private

Definition at line 82 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and StartShape().

◆ m_eVRel

sal_Int16 oox::vml::VMLExport::m_eVRel
private

Definition at line 82 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and StartShape().

◆ m_IsFollowingTextFlow

bool oox::vml::VMLExport::m_IsFollowingTextFlow = false
private

Definition at line 85 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and StartShape().

◆ m_nShapeFlags

ShapeFlag oox::vml::VMLExport::m_nShapeFlags
private

Remember the shape flags.

Definition at line 97 of file vmlexport.hxx.

Referenced by AddFlipXY(), and AddShape().

◆ m_nShapeIDCounter

sal_uInt64 oox::vml::VMLExport::m_nShapeIDCounter
private

Counter for generating shape ids (used if m_bOverrideShapeIdGeneration is true)

Definition at line 126 of file vmlexport.hxx.

Referenced by GenerateShapeId().

◆ m_nShapeType

sal_uInt32 oox::vml::VMLExport::m_nShapeType
private

Remember the shape type.

Definition at line 94 of file vmlexport.hxx.

Referenced by AddShape(), CloseContainer(), Commit(), OpenContainer(), and StartShape().

◆ m_pSdrObject

const SdrObject* oox::vml::VMLExport::m_pSdrObject
private

The object we're exporting.

Definition at line 88 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), AddSdrObjectVMLObject(), AddShape(), Commit(), EndShape(), and StartShape().

◆ m_pSerializer

::sax_fastparser::FSHelperPtr oox::vml::VMLExport::m_pSerializer
private

Fast serializer to output the data.

Definition at line 76 of file vmlexport.hxx.

Referenced by CloseContainer(), Commit(), EndShape(), EnterGroup(), LeaveGroup(), OpenContainer(), SetFS(), and StartShape().

◆ m_pShapeAttrList

rtl::Reference<::sax_fastparser::FastAttributeList> oox::vml::VMLExport::m_pShapeAttrList
private

Fill the shape attributes as they come.

Definition at line 91 of file vmlexport.hxx.

Referenced by AddLineDimensions(), AddShape(), AddShapeAttribute(), CloseContainer(), Commit(), OpenContainer(), and StartShape().

◆ m_pTextExport

VMLTextExport* oox::vml::VMLExport::m_pTextExport
private

Parent exporter, used for text callback.

Definition at line 79 of file vmlexport.hxx.

Referenced by Commit(), EndShape(), and StartShape().

◆ m_pWrapAttrList

rtl::Reference<sax_fastparser::FastAttributeList> oox::vml::VMLExport::m_pWrapAttrList
private

Definition at line 83 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and EndShape().

◆ m_ShapeStyle

OStringBuffer oox::vml::VMLExport::m_ShapeStyle
private

Remember style, the most important shape attribute ;-)

Definition at line 100 of file vmlexport.hxx.

Referenced by AddFlipXY(), AddLineDimensions(), Commit(), OpenContainer(), and StartShape().

◆ m_sShapeId

OString oox::vml::VMLExport::m_sShapeId
private

Remember the generated shape id.

Definition at line 106 of file vmlexport.hxx.

Referenced by AddInlineSdrObject(), AddSdrObject(), and AddShape().

◆ m_sShapeIDPrefix

OString oox::vml::VMLExport::m_sShapeIDPrefix
private

Prefix for overridden shape id generation (used if m_bOverrideShapeIdGeneration is true)

Definition at line 123 of file vmlexport.hxx.

Referenced by OverrideShapeIDGen(), ShapeIdString(), and StartShape().

◆ m_TextboxStyle

OStringBuffer oox::vml::VMLExport::m_TextboxStyle
private

style for textbox

Definition at line 103 of file vmlexport.hxx.

Referenced by Commit(), and StartShape().


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