office-gobmx/writerfilter
Miklos Vajna d220e476df tdf#120551 DOCX import: fix position of group shape with absolute position
Regression from commit af313fc149
(tdf#105143 DOCX import: enable DoNotCaptureDrawObjsOnPage layout compat
option, 2017-01-06), the group shape which covers most of the single
page in the document had a negative left position, while it should have
a small positive one (checking the drawingML markup).

This was a pre-existing problem, but now it's visible since we no longer
force objects to be on the page in Word compat mode.

Seeing the ODT import never positions group shapes (it's just a
container for child shapes), probably the DOCX import shouldn't do that
either. Start moving into this direction, first only for
absolute-positioned toplevel group shapes only, which already fixes the
bug.

Change-Id: I152ba06a81a2bd09195a4c724da4b8878b0457bb
Reviewed-on: https://gerrit.libreoffice.org/63606
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-20 09:07:44 +01:00
..
documentation
inc
qa
source tdf#120551 DOCX import: fix position of group shape with absolute position 2018-11-20 09:07:44 +01:00
util
CppunitTest_writerfilter_misc.mk
CppunitTest_writerfilter_rtftok.mk
CustomTarget_source.mk
IwyuFilter_writerfilter.yaml
Library_writerfilter.mk
Makefile
Module_writerfilter.mk
README

The writerfilter module contains import filters for Writer, using its UNO API.

Import filter for docx and rtf.

== Module contents ==
 * documentation: RNG schema for the OOXML tokenizer, etc.
 * inc: module-global headers (can be included by any files under source)
 * qa: cppunit tests
 * source: the filters themselves
 * util: UNO passive registration config

== Source contents ==
 * dmapper: the domain mapper, hiding UNO from the tokenizers, used by DOCX and RTF import
   * The incoming traffic of dmapper can be dumped into an XML file in /tmp in
     debug builds, start soffice with the `SW_DEBUG_WRITERFILTER=1`
     environment variable if you want that.
 * filter: the UNO filter service implementations, invoked by UNO and calling
   the dmapper + one of the tokenizers
 * ooxml: the docx tokenizer
 * rtftok: the rtf tokenizer