summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2019-12-21 09:00:51 +0300
committerJustin Luth <justin_luth@sil.org>2019-12-21 10:36:05 +0100
commitfa3cb1a31ef0bbe9ebc8ab8a79463c7f4d760d89 (patch)
tree320970f0424a32dcc4ffe84d0bec6bbc45422292 /writerfilter/source/dmapper
parent817b6e6f97ed50d999928b1ff37db8357d37b505 (diff)
nitpick tdf#123262 writefilter: use enum class and document
Change-Id: Ibc040c75fff309699911ffa72d1f44ce5b231688 Reviewed-on: https://gerrit.libreoffice.org/85644 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter/source/dmapper')
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index f3f9f77ce1cf..cdbc2f8a80c2 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -114,7 +114,16 @@ enum BreakType
COLUMN_BREAK
};
-enum SkipFootnoteSeparator
+/**
+ * Two special footnotes are a separator line, and a continuation line.
+ * In MSOffice, these can contain text as well, but LO doesn't implement this
+ * rarely used feature, so the separator text needs to be skipped. (tdf#123262)
+ * Three-way logic is needed because there is no guaranteed on-off event.
+ * OFF == not in footnote separator
+ * ON == in footnote separator
+ * SKIPPING == ON status has been recognized.
+ */
+enum class SkipFootnoteSeparator
{
OFF,
ON,