summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org/openoffice/Office/Common.xcs
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-04-29 02:02:08 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-04-29 09:23:04 +0200
commitf9598b27815dbf9fa4010eda24e4f3f7cc90e3f2 (patch)
tree175ec06ef727b8509f019a5322abefb99acce02a /officecfg/registry/schema/org/openoffice/Office/Common.xcs
parent8b9c26218cb2c9526f69b40ff6f72ce757a464c2 (diff)
improve: pdf export caching of jpeg bitmaps
* make cache size configurable (defaults to 15) * have one cache object per PDFWriter instance, thus avoiding accidentally caching JPEGs with different compression settings Change-Id: I6664fc09b382f471cbe7c3e7aaedb3ebb5883b47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93112 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'officecfg/registry/schema/org/openoffice/Office/Common.xcs')
-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 b405ea981d53..f55a7ce1280e 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -908,6 +908,14 @@
</info>
<value>25</value>
</prop>
+ <prop oor:name="PDFExportImageCacheSize" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies number of PDF image instances to cache on
+ export - can save potentially huge amount of CPU time on
+ re-compressing the same JPEG image over and over again.</desc>
+ </info>
+ <value>15</value>
+ </prop>
</group>
<group oor:name="InternalMSExport">
<info>