summaryrefslogtreecommitdiffstats
path: root/sw/CppunitTest_sw_unowriter.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-01-04 11:04:05 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-04 11:58:19 +0100
commitba60204055823bce27a51078d7170e0ff9836636 (patch)
tree172fa028845f91908c3f3bcef852ff603098bbee /sw/CppunitTest_sw_unowriter.mk
parenttdf#42949 Fix IWYU warnings in starmath/inc/*hxx & starmath/source/*hxx (diff)
downloadcore-ba60204055823bce27a51078d7170e0ff9836636.tar.gz
core-ba60204055823bce27a51078d7170e0ff9836636.zip
svtools: expose document position in DocumentToGraphicRenderer
Writer pages always have an offset inside the root frame, and this is visible in the generated metafile as well. The offset is minimal for a small window and a single page, but the vertical offset increases with every page. Make this information visible, so sfx2 can compensate this. This is somewhat similar to what SfxObjectShell::DoDraw_Impl() does, but that works for the first page only (use case is thumbnail generation), while this is 0 offset for Calc/Impress and a proper offset for all Writer pages. Change-Id: I1075c98faf74f9e77c916572b4d63d40fbd80ab1 Reviewed-on: https://gerrit.libreoffice.org/65850 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/CppunitTest_sw_unowriter.mk')
-rw-r--r--sw/CppunitTest_sw_unowriter.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_unowriter.mk b/sw/CppunitTest_sw_unowriter.mk
index 726e364f4238..32e7ff06a0d5 100644
--- a/sw/CppunitTest_sw_unowriter.mk
+++ b/sw/CppunitTest_sw_unowriter.mk
@@ -33,6 +33,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_unowriter, \
unotest \
vcl \
tl \
+ tk \
utl \
))