Kaydet (Commit) 3ade281c authored tarafından Justin Luth's avatar Justin Luth

tdf#103261 allow postponed text except in .doc

fixes regression from tdf#89317,
commit b39feae4.

Change-Id: I0590579997e2c29de171aac91ba4459e0c776cc0
Reviewed-on: https://gerrit.libreoffice.org/29984Tested-by: 's avatarJustin Luth <justin_luth@sil.org>
Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
üst 9ab40827
......@@ -2176,7 +2176,7 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode )
if( rNode.IsTextNode()
&& aStr != aStringForImage && !aStr.isEmpty()
&& !rNode.GetFlyFormat()
&& !IsInTable()
&& !(IsInTable() && !AllowPostponedTextInTable())
&& aAttrIter.IsAnchorLinkedToThisNode(rNode.GetIndex()) )
{
bPostponeWritingText = true ;
......
......@@ -658,6 +658,9 @@ public:
/// If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).
virtual bool PreferPageBreakBefore() const = 0;
/// Text in tables can be postponed except for .doc
virtual bool AllowPostponedTextInTable() const { return true; }
/// Guess the script (asian/western).
///
/// Sadly word does not have two different sizes for asian font size and
......@@ -969,6 +972,8 @@ public:
virtual bool PreferPageBreakBefore() const override { return true; }
virtual bool AllowPostponedTextInTable() const override { return false; }
virtual bool SupportsOneColumnBreak() const override { return false; }
virtual bool FieldsQuoted() const override { return false; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment