20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_RTFSDREXPORT_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_RTFSDREXPORT_HXX
25#include <rtl/strbuf.hxx>
86 void EndShape(sal_Int32 nShapeElement);
90 void OpenContainer(sal_uInt16 nEscherContainer,
int nRecInstance = 0)
override;
96 void AddShape(sal_uInt32 nShapeType,
ShapeFlag nShapeFlags, sal_uInt32 nShapeId = 0)
override;
virtual void EndShape(sal_uInt16 nShapeType, sal_uInt32 nShapeID)
virtual EscherExHostAppData * StartShape(const css::uno::Reference< css::drawing::XShape > &rShape, const tools::Rectangle *pChildAnchor)
The class that has handlers for various resource types when exporting as RTF.
The class that does all the actual RTF export-related work.
Handles export of drawings using RTF markup.
void AddRectangleDimensions(OStringBuffer &rBuffer, const tools::Rectangle &rRectangle)
Add position and size to the OStringBuffer.
void EndShape(sal_Int32 nShapeElement)
sal_uInt32 m_nShapeType
Remember the shape type.
void Commit(EscherPropertyContainer &rProps, const tools::Rectangle &rRect) override
sal_uInt32 EnterGroup(const OUString &rShapeName, const tools::Rectangle *pBoundRect) override
void CloseContainer() override
void WriteOutliner(const OutlinerParaObject &rParaObj, TextTypes eType)
Write editeng text, e.g. shape or comment.
void LeaveGroup() override
OStringBuffer m_aShapeStyle
Remember style, the most important shape attribute ;-)
ShapeFlag m_nShapeFlags
Remember the shape flags.
RtfSdrExport(RtfExport &rExport)
std::map< OString, OString > m_aShapeProps
const SdrObject * m_pSdrObject
void AddSdrObject(const SdrObject &rObj)
Export the sdr object as Sdr.
std::unique_ptr< bool[]> m_pShapeTypeWritten
Remember which shape types we had already written.
void impl_writeGraphic()
Exports the pib property of the shape.
static bool isTextBox(const SwFrameFormat &rFrameFormat)
Is this a standalone TextFrame, or used as a TextBox of a shape?
void AddShape(sal_uInt32 nShapeType, ShapeFlag nShapeFlags, sal_uInt32 nShapeId=0) override
void AddLineDimensions(const tools::Rectangle &rRectangle)
Add starting and ending point of a line to the m_pShapeAttrList.
RtfAttributeOutput & m_rAttrOutput
void OpenContainer(sal_uInt16 nEscherContainer, int nRecInstance=0) override