summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-10-21 17:42:56 +0300
committerMichael Stahl <michael.stahl@allotropia.de>2023-10-27 11:31:35 +0200
commitef29791179ca6cfcb5c82a65fefcbe29e039831d (patch)
tree5f6c13648bdaf9ab866432dcc03e432c38ffe736 /officecfg
parentbcb7f367341e3cb4d09129f674ab88ebf917b060 (diff)
Related: tdf#89178 Add an option to avoid converting some fields into text
... during mail merge. In some modes (generating individual documents; creating PDF) the mail merge process converts all fields into text. But sometimes it is undesirable for fields not involved into mail merge itself: * It is inconsistent with how MS Word behaves; * The generated editable documents could benefit from having other fields kept as fields; * Some fields, when exported to PDF, produce different results: e.g., placeholder fields are output as empty spaces, not as placeholder text. An expert boolean configuration option is added: Office/Writer/FormLetter/ConvertToTextOnlyMMFields; it is false by default, in which case, the behavior is unchanged. When true, all fields in the mail merge document, except for database fields and hidden text fields, are not converted to text during mail merge process. Change-Id: Ibdb505ed3f2762db063bb0a91b674d27ecbc2e7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158306 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158476 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Writer.xcs6
1 files changed, 6 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
index cfa36e974ca8..d09e31d0dbc8 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
@@ -6000,6 +6000,12 @@
</prop>
</group>
</group>
+ <prop oor:name="ConvertToTextOnlyMMFields" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>When true, only fields that can be used in mail merge will be converted to text; all other fields will be kept as fields in the Mail Merge output</desc>
+ </info>
+ <value>false</value>
+ </prop>
</group>
<group oor:name="Misc">
<info>