diff options
author | Rohit Deshmukh <rohit.deshmukh@synerzip.com> | 2014-06-13 11:39:56 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-19 11:01:17 +0000 |
commit | 1c876f5616522ab695de8c0316cdb0c601081815 (patch) | |
tree | cca50a93dbf02fe9e9e6b8935a2a4496b051f642 /sw/source/filter/ww8/docxsdrexport.hxx | |
parent | ee9e8f677103f3b93faaef55832fb704f95e0a4b (diff) |
fdo#78590: Fix for Corruption of para with framePr & drawing object into para
Issue:
- File contains paragraph with framePr have graphic object in it.
- So Libreoffice converts framePr into textbox.
- So after saving file textbox gets exported with drawing object.
- MS office does not allowed drawing object inside tetxbox.
Change-Id: I673e0e9f6681a189bde1c63a8cb7aea2cac0ab41
Fix: - Export framePr into paragraph and igonre exporting of
dummy textbox added by LO for framePr.
Reviewed-on: https://gerrit.libreoffice.org/9389
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/docxsdrexport.hxx')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx index 09f2185ec931..5c98a424dbb0 100644 --- a/sw/source/filter/ww8/docxsdrexport.hxx +++ b/sw/source/filter/ww8/docxsdrexport.hxx @@ -99,6 +99,8 @@ public: bool checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* pTextboxAttrList = 0); /// Is this a standalone TextFrame, or used as a TextBox of a shape? bool isTextBox(const SwFrmFmt& rFrmFmt); + /// Writes text from Textbox for <w:framePr> + void writeOnlyTextOfFrame(sw::Frame* pParentFrame); }; #endif // INCLUDED_SW_SOURCE_FILTER_WW8_DOCXSDREXPORT_HXX |