DOCX export: handle SDT around floating tables
Change-Id: I07fedc201c51008baca3254dcc099f0182aa4c72
This commit is contained in:
parent
8ae264eb2f
commit
b3f4709d73
2 changed files with 3 additions and 0 deletions
BIN
sw/qa/core/exportdata/ooxml/pass/sdt-around-float-table.docx
Normal file
BIN
sw/qa/core/exportdata/ooxml/pass/sdt-around-float-table.docx
Normal file
Binary file not shown.
|
@ -41,6 +41,7 @@
|
|||
#include "wrtww8.hxx"
|
||||
|
||||
#include <comphelper/string.hxx>
|
||||
#include <comphelper/flagguard.hxx>
|
||||
#include <oox/token/tokens.hxx>
|
||||
#include <oox/export/utils.hxx>
|
||||
#include <oox/mathml/export.hxx>
|
||||
|
@ -442,6 +443,8 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT
|
|||
++m_nTextFrameLevel;
|
||||
if( m_nTextFrameLevel == 1 )
|
||||
{
|
||||
comphelper::FlagRestorationGuard aStartedParaSdtGuard(m_bStartedParaSdt, false);
|
||||
|
||||
assert(!m_postponedCustomShape);
|
||||
m_postponedCustomShape = new std::list< PostponedDrawing >;
|
||||
for (size_t nIndex = 0; nIndex < m_aFramesOfParagraph.size(); ++nIndex)
|
||||
|
|
Loading…
Reference in a new issue