summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-02-17 08:49:59 +0100
committerMiklos Vajna <vmiklos@collabora.com>2023-02-17 09:12:28 +0000
commit3282508f8deeafd50f5af45ca0adf760efb114a3 (patch)
tree186f72891e42cc47a770e9783a001e7dfaf0223d /officecfg
parentfb3a4468ab7ce0409d4cd5a7e263fa4c0c3eac38 (diff)
sw floattable: add ImportFloatingTableAsSplitFly expert setting
Mapping DOCX floating tables to Writer split flys is still disabled by default, but now the environment variable affects the DOCX import instead of affecting the Writer item pool's default. This allows mixing ImportFloatingTableAsSplitFly=true and =false tests in the same suite, so the sw/CppunitTest_sw_core_layout_flycnt.mk boilerplate can be dropped. It also allows overwriting this default from an xcu file (expert config, or the XCU file in online.git) for testing / demo purposes. Also extend the layout representation comment / doc a bit. Change-Id: I239e9c6e9d9c8748ed0846ae336c9c818d59f180 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147191 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Writer.xcs7
1 files changed, 7 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
index 99c3e8e0f606..07fcc54d10d4 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
@@ -5670,6 +5670,13 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="ImportFloatingTableAsSplitFly" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Specifies whether a floating table should be imported as a split text frame.</desc>
+ <label>Import floating table as split frame.</label>
+ </info>
+ <value>false</value>
+ </prop>
</group>
</group>
</group>