summaryrefslogtreecommitdiff
path: root/svtools/README
blob: dbcc30b39035b3476500dde5814f389b958e4d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Tools on top of VCL. Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.


== Image swapping ==

LO has two kind of swapout mechanisms:

1) Size based auto swapping: when the size of all graphic objects reaches a configurable limit (20 MB by default)
then some of the graphics are saved to the local file system and freed in the memory.
Configure: Tools -> Options -> Memory -> GraphicsCache -> Use for LibreOffice

2) Time based auto swapping: after an image is swapped in / loaded a timer starts and when the timer (1 min by default)
has a time out this image is swapped out ( sometimes this time out is ignored when the image is in use ).
Configure: Tools -> Options -> Memory -> GraphicsCache -> Remove from memory after

Both swapping are done by GraphicObject and GraphicManager.
es * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a