diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-07-01 14:40:00 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-07-07 22:32:38 +0200 |
commit | 9f0766917a4fb1bc8fe1786c3b46132dd63c1c66 (patch) | |
tree | a38af5308785c8735d4e2907b01d16a3c8c74814 /include/drawinglayer | |
parent | de7d596d116b5231bff000a57be3fae481744bab (diff) |
tdf#50613 add support to load charts asynchronously
Generating primitives for chart visualisation can be moved to a
paralell executed task that loads the chart, thus speeding up
initial visualization. This is not possible for e.g. PDF or print
targets, only for edit visualization. On fallback, the replacement
images of the charts are used which are metafiles and have less
quality as primitives, but load quicker.
Change-Id: I68caa9e1bec50832bce535b5f54633d53cdef037
Diffstat (limited to 'include/drawinglayer')
-rw-r--r-- | include/drawinglayer/primitive2d/textlayoutdevice.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drawinglayer/primitive2d/textlayoutdevice.hxx b/include/drawinglayer/primitive2d/textlayoutdevice.hxx index e606f099a607..5761d3a03a9d 100644 --- a/include/drawinglayer/primitive2d/textlayoutdevice.hxx +++ b/include/drawinglayer/primitive2d/textlayoutdevice.hxx @@ -26,6 +26,7 @@ #include <vector> #include <com/sun/star/lang/Locale.hpp> #include <basegfx/polygon/b2dpolypolygon.hxx> +#include <vcl/svapp.hxx> // predefines class VirtualDevice; @@ -57,6 +58,7 @@ namespace drawinglayer class DRAWINGLAYER_DLLPUBLIC TextLayouterDevice { /// internally used VirtualDevice + SolarMutexGuard maSolarGuard; VirtualDevice& mrDevice; public: |