summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2019-07-12 10:54:56 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-07-17 23:13:35 +0200
commit43d1c753d12ad66c7f7ebd9b76d903ee21f83ef5 (patch)
tree2d3290d62f67753c001ebc5017cd862de93e2596 /officecfg
parentb5890bf269214a47833bc9514b80650455e77ef6 (diff)
vcl: make "Reduce Transparency" parameter tweakable
"Reduce transparency" feature previously was using hardcoded value of 0.25. If current object area to whole printing area ratio exceeds this value, object is being written without any extra transparency layers in order to reduce metafile size. Right now this value can be adjusted in "Expert Configuration". Parameter is called "ReduceTransparencyMinArea". Change-Id: I43d5801a1dff6241de214f7b24425626dc06b4fb Reviewed-on: https://gerrit.libreoffice.org/75471 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs8
1 files changed, 8 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 6d54c8159706..b389379a836a 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -877,6 +877,14 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="ReduceTransparencyMinArea" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies minimal area of an object for applying "Reduce Transparency"
+ printer configuration option (removing object transparency). This value
+ is counted in percents of the printable area.</desc>
+ </info>
+ <value>25</value>
+ </prop>
</group>
<group oor:name="InternalMSExport">
<info>