diff options
author | Vinaya Mandke <vinaya.mandke@synerzip.com> | 2014-04-18 15:50:51 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-24 12:57:51 +0200 |
commit | 2e8aad6d45c53d554ccaf26de998ede708cfc289 (patch) | |
tree | 544798fb9fd2268356056ed12c5841bfd3b2616f /include | |
parent | cf058da1e5664bc8c30a5777e2c1dbf059a6304f (diff) |
fdo#39056 fdo#75431 Section Properties if section starts with table
Section properties are not imported if the section starts with a table for DOCX,
and also for a few RTF files with combination of tables and section breaks.
SwXBodyText::createTextCursorByRange is not able to find the start of section and hence
section properties are not applied.
As a workaround added an empty paragraph at the beginning of every section
which has the the first element as a table. And then removed it when the
section ends ( DomainMapper::lcl_endSectionGroup is called).
Also handled to add the paragraph earlier, if there is a bookmark
so that the bookmark is not attached to the dummy paragraph.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/9097
Change-Id: I717ba40e22b055d974bc83d4414aeb2945e16d26
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions