svtools: encode Base64 the images of the items of the control "ValueSet"
commitb918a7a7f5b0a868cd1c975cd0e6b3346c74ba3b
authorHenry Castro <hcastro@collabora.com>
Fri, 22 Nov 2019 22:25:00 +0000 (22 18:25 -0400)
committerHenry Castro <hcastro@collabora.com>
Wed, 27 Nov 2019 02:06:01 +0000 (27 03:06 +0100)
tree680ae00b974a1aab2bc22d2927a9d01e78f94b3f
parent05734503ed36cff64cfaac8afb7c6df5eced8873
svtools: encode Base64 the images of the items of the control "ValueSet"

Unfortunately the "Table Design" panel has a "ValueSet" control with
images constructed with the function "CreateDesignPreview". I have no
other choice to export the images to base64 and send it to client.

Perhaps later we can optimize the function "CreateDesignPreview", to
accept SVG pattern or something related.

Change-Id: I34bc8374ffd2a16fbb8fbc2fcd6a41a96bda57a5
Reviewed-on: https://gerrit.libreoffice.org/83538
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/83687
Tested-by: Jenkins
svtools/source/control/valueset.cxx