office-gobmx/writerfilter
Justin Luth 19d7f9624e tdf#129452 writerfilter: use column, not cell when comparing rows
A natural mistake - especially when there are no existing
functions - is to assume that cell number defines column
number, and so it is valid to compare between rows.

This patch provides the functions, and switches this bug's
earlier patch to properly use columns instead of cells.

This commit depends on two prior patches in bug 129452:
  Change-Id: Ie305477f0e3468a4a923095d76f520d97fe99ffe
  Change-Id: Ibfdac336bbb1f7303c7e585a85c94be37ad6f916

I hope that this implementation covers all the bases.
This code is dreadful to understand,
as witnessed by comments from those much smarter than I.

P.S. I also cancelled a vertical merge if the cell
is not there (in a gridAfter situation).
If a row is shorter than the previous ones,
then a vertically merged cell should not be considered
to be able to span that gap. If the cells below are still
merged, it would be considered a new merged cell.

Change-Id: I63158ac73b1bf86d9f75dd3c1299d1b1a3f08064
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97434
Tested-by: Justin Luth <justin_luth@sil.org>
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-07-13 20:51:28 +02:00
..
documentation
inc update pches 2020-07-12 12:20:05 +02:00
qa DOCX export: fix interaction between the crop and the wrap polygon of image 2020-05-14 21:46:03 +02:00
source tdf#129452 writerfilter: use column, not cell when comparing rows 2020-07-13 20:51:28 +02:00
util
CppunitTest_writerfilter_dmapper.mk DOCX import: fix interaction between the crop and the wrap polygon of images 2020-05-13 21:29:25 +02:00
CppunitTest_writerfilter_filters_test.mk
CppunitTest_writerfilter_misc.mk
CustomTarget_source.mk
IwyuFilter_writerfilter.yaml replace usage of blacklist with excludelist for IWYU 2020-07-10 02:03:40 +02:00
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
     dbgutil 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