diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-09 08:46:27 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-09 08:46:56 +0100 |
commit | 7060525a64ef1048b387f0a6a9f842d78b52fb9a (patch) | |
tree | 9502caaf846e1de627c73fe0db54e3db6aa5edf4 /sw/source/filter/ww8/rtfattributeoutput.hxx | |
parent | 4754afddc3030347ef49b401a9b798cea8fe523c (diff) |
tdf#94377 RTF export: support comment formatting
The core of this change is that RtfAttributeOutput::PostitField() now
uses WriteOutliner() to handle comment text, instead of trying to output
the plain text as-is.
To have working roundtrip of the comment text, a few more changes are
needed:
1) When emptying the Styles buffer, also empty the StylesEnd one.
2) Annotations don't want a trailing \par, so don't write one for the
last paragraph.
3) Inform the MSWord_SdrAttrIter about where the editeng content will
end up, and make WriteOutliner() accessible outside RtfSdrExport.
Change-Id: I9cbcf4ce5dc3a099d310c6f321ea8e52f8644f9b
Diffstat (limited to 'sw/source/filter/ww8/rtfattributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index e13fcd6c2ec8..77e2303611d8 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -82,6 +82,7 @@ public: { return m_aStyles; } + OStringBuffer& StylesEnd(); /// Output text (without markup). virtual void RawText(const OUString& rText, rtl_TextEncoding eCharSet) override; |