Kaydet (Commit) 91ae8f6c authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

docx: actually import the last frame of a section.

When there is no paragraph outside the frame before the section end, the
paragraphs weren't transformed to a frame.
üst b8b1b45c
......@@ -3233,6 +3233,7 @@ void DomainMapper::lcl_startParagraphGroup()
void DomainMapper::lcl_endParagraphGroup()
{
m_pImpl->CheckUnregisteredFrameConversion();
m_pImpl->PopProperties(CONTEXT_PARAGRAPH);
m_pImpl->getTableManager().endParagraphGroup();
//frame conversion has to be executed after table conversion
......
......@@ -578,6 +578,7 @@ public:
void SetCustomFtnMark(bool bSet) { m_bIsCustomFtnMark = bSet; }
bool IsCustomFtnMark() const { return m_bIsCustomFtnMark; }
void CheckUnregisteredFrameConversion( );
void RegisterFrameConversion(
::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xFrameStartRange,
::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xFrameEndRange,
......
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