diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-05-11 00:22:06 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-05-12 10:07:09 +0200 |
commit | 8484e52675052848d2d3ffe07378ce2ad29fd288 (patch) | |
tree | 61745cc72ae36c6a04572021e6ccac1638a12c35 /vcl/Module_vcl.mk | |
parent | 3e2fdcf48055572dd0f6bb7d73b14c1832622f24 (diff) |
tdf#117427 missing API for determining and loading linked graphic
This adds 2 properties to GraphicDescriptor:
"Linked" - to indicate if the graphic is a linked one
"OriginURL" - the URL of the location from where the graphic was
or will be loaded (and is linked to)
Additionally GraphicProvider was extended with a "LoadAsLink"
(media)property, which can be passed using queryGraphic method.
If "LoadAsLink" is set to true, then the Graphic will be created
as a linked one.
In addition the tests for this API was added to VCL (home of this
API implementors).
Change-Id: Ibdabe5e7780d1b372d1e66c3e19b18779fee2c9a
Reviewed-on: https://gerrit.libreoffice.org/54090
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/Module_vcl.mk')
-rw-r--r-- | vcl/Module_vcl.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk index 3005538a966c..a3db18b5413d 100644 --- a/vcl/Module_vcl.mk +++ b/vcl/Module_vcl.mk @@ -203,6 +203,7 @@ $(eval $(call gb_Module_add_check_targets,vcl,\ CppunitTest_vcl_pdfexport \ CppunitTest_vcl_errorhandler \ CppunitTest_vcl_bitmap_render_test \ + CppunitTest_vcl_apitests \ )) |