summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxsdrexport.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-01-13 21:34:08 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-13 21:50:50 +0100
commit8dc10235a29e00ae8ebf58b84650aaffd7f0329d (patch)
tree9683cbb75599ca2c7357503efc498ca98966403b /sw/source/filter/ww8/docxsdrexport.hxx
parent8891d8c42df288a4f3c631e9c73b24489c6c83a0 (diff)
DocxAttributeOutput: factor out writeDMLTextFrame() into DocxSdrExport
Also move the related m_pBodyPrAttrList and m_bDMLTextFrameSyntax members as well. Change-Id: I5c9f5b07b472efc930878ee2a26224346f036600
Diffstat (limited to 'sw/source/filter/ww8/docxsdrexport.hxx')
-rw-r--r--sw/source/filter/ww8/docxsdrexport.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx
index bae4a35c5e6e..0f871ac02917 100644
--- a/sw/source/filter/ww8/docxsdrexport.hxx
+++ b/sw/source/filter/ww8/docxsdrexport.hxx
@@ -11,7 +11,6 @@
#define INCLUDED_SW_SOURCE_FILTER_WW8_DOCXSDREXPORT_HXX
#include <boost/shared_ptr.hpp>
-#include <sax/fshelper.hxx>
namespace oox
{
@@ -56,6 +55,7 @@ public:
/// When exporting fly frames, this holds the real size of the frame.
const Size* getFlyFrameSize();
bool getTextFrameSyntax();
+ bool getDMLTextFrameSyntax();
sax_fastparser::FastAttributeList*& getFlyAttrList();
void setFlyAttrList(sax_fastparser::FastAttributeList* pAttrList);
/// Attributes of the next v:textbox element.
@@ -67,6 +67,8 @@ public:
sax_fastparser::FastAttributeList*& getFlyFillAttrList();
sax_fastparser::FastAttributeList* getFlyWrapAttrList();
void setFlyWrapAttrList(sax_fastparser::FastAttributeList* pAttrList);
+ /// Attributes of <wps:bodyPr>, used during DML export of text frames.
+ sax_fastparser::FastAttributeList* getBodyPrAttrList();
void startDMLAnchorInline(const SwFrmFmt* pFrmFmt, const Size& rSize);
void endDMLAnchorInline(const SwFrmFmt* pFrmFmt);
@@ -78,10 +80,12 @@ public:
void writeDMLEffectLst(const SwFrmFmt& rFrmFmt);
/// Writes a diagram (smartart).
void writeDiagram(const SdrObject* sdrObject, const SwFrmFmt& rFrmFmt, int nAnchorId);
+ /// Writes text frame in DML format.
+ void writeDMLTextFrame(sw::Frame* pParentFrame, int nAnchorId);
/// Writes text frame in VML format.
void writeVMLTextFrame(sw::Frame* pParentFrame);
/// Undo the text direction mangling done by the frame btLr handler in writerfilter::dmapper::DomainMapper::lcl_startCharacterGroup()
- bool checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* pTextboxAttrList = 0, sax_fastparser::FastAttributeList* pBodyPrAttrList = 0);
+ bool checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* pTextboxAttrList = 0);
};
#endif // INCLUDED_SW_SOURCE_FILTER_WW8_DOCXSDREXPORT_HXX