DOCX export: handle SDT around floating tables

Change-Id: I07fedc201c51008baca3254dcc099f0182aa4c72
This commit is contained in:
Miklos Vajna 2014-08-19 12:47:07 +02:00
parent 8ae264eb2f
commit b3f4709d73
2 changed files with 3 additions and 0 deletions

View file

@ -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)