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