• Vinaya Mandke's avatar
    fdo#39056 fdo#75431 Section Properties if section starts with table · 2e8aad6d
    Vinaya Mandke yazdı
    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
    2e8aad6d
Adı
Son kayıt (commit)
Son güncelleme
..
documentation Loading commit data...
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_writerfilter_misc.mk Loading commit data...
CppunitTest_writerfilter_rtftok.mk Loading commit data...
CustomTarget_source.mk Loading commit data...
Library_writerfilter.mk Loading commit data...
Makefile Loading commit data...
Module_writerfilter.mk Loading commit data...
README Loading commit data...