Kaydet (Commit) b3f4709d authored tarafından Miklos Vajna's avatar Miklos Vajna

DOCX export: handle SDT around floating tables

Change-Id: I07fedc201c51008baca3254dcc099f0182aa4c72
üst 8ae264eb
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "wrtww8.hxx" #include "wrtww8.hxx"
#include <comphelper/string.hxx> #include <comphelper/string.hxx>
#include <comphelper/flagguard.hxx>
#include <oox/token/tokens.hxx> #include <oox/token/tokens.hxx>
#include <oox/export/utils.hxx> #include <oox/export/utils.hxx>
#include <oox/mathml/export.hxx> #include <oox/mathml/export.hxx>
...@@ -442,6 +443,8 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT ...@@ -442,6 +443,8 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT
++m_nTextFrameLevel; ++m_nTextFrameLevel;
if( m_nTextFrameLevel == 1 ) if( m_nTextFrameLevel == 1 )
{ {
comphelper::FlagRestorationGuard aStartedParaSdtGuard(m_bStartedParaSdt, false);
assert(!m_postponedCustomShape); assert(!m_postponedCustomShape);
m_postponedCustomShape = new std::list< PostponedDrawing >; m_postponedCustomShape = new std::list< PostponedDrawing >;
for (size_t nIndex = 0; nIndex < m_aFramesOfParagraph.size(); ++nIndex) for (size_t nIndex = 0; nIndex < m_aFramesOfParagraph.size(); ++nIndex)
......
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