diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-15 12:35:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-15 13:19:08 +0200 |
commit | ecc5cbc69e4c2df4ddbe46bbc2f973cc60a10772 (patch) | |
tree | cf81b967bd41d2818f75907e080c18aadf3bc26b /sw/source/filter/ww8/rtfexport.hxx | |
parent | f57ed7edd498d62ca0ed9a8cedd72218985b4daf (diff) |
fdo#82860 RTF export: if shape has textbox, export its contents as shape text
See 8c677716c4707ccd86b152ae504841affb393cc0 (DOCX drawingML export: if
shape has textbox, export its contents as shape text, 2014-06-06).
Change-Id: I5b1afae4d1b80c9b225096677f7d7ae77ff90f5b
Diffstat (limited to 'sw/source/filter/ww8/rtfexport.hxx')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx index c384289cff77..80451477c4a8 100644 --- a/sw/source/filter/ww8/rtfexport.hxx +++ b/sw/source/filter/ww8/rtfexport.hxx @@ -173,6 +173,12 @@ public: sal_uLong m_nCurrentNodeIndex; SvStream& Strm(); + /// From now on, let Strm() return a memory stream, not a real one. + void setStream(); + /// Get the contents of the memory stream as a string. + OString getStream(); + /// Return back to the real stream. + void resetStream(); SvStream& OutULong(sal_uLong nVal); SvStream& OutLong(long nVal); void OutUnicode(const sal_Char* pToken, const OUString& rContent, bool bUpr = false); @@ -211,6 +217,8 @@ private: RtfColorTbl m_aColTbl; RtfStyleTbl m_aStyTbl; RtfRedlineTbl m_aRedlineTbl; + /// If set, then Strm() returns this tream, instead of m_pWriter's stream. + std::unique_ptr<SvMemoryStream> m_pStream; }; #endif // INCLUDED_SW_SOURCE_FILTER_WW8_RTFEXPORT_HXX |