path: root/libreofficekit/
diff options
authorAndrzej Hunt <>2014-07-08 08:54:13 +0200
committerAndrzej Hunt <>2014-07-12 05:19:12 +0200
commita864ab2ef17e02930df5ae91112b5104bdea1e39 (patch)
treeecd53e8aa034a7eb02197795be6bf9923a7206f4 /libreofficekit/
parentdfdc9f5ba4493369a0c6fb3a1d7c5781deeb5bc2 (diff)
Implement a (qa-only) quad-tiled viewer.
I.e. we subdivide the document into 4 tiles: one at 100% scaling, one at 200%, one at 50%, one at 25% -- these are then post-scaled in gdk) and assembled to show as one document again. This is specifically a test only widget, primarily to be able to quickly spot any tile positioning/border-transition issues. We could theoretically make this widget inherit from the original widget, however that would mean having to introduce virtual methods etc., which is not something that we'd want in production -- in the longer run that widget will hopefully be extended to have proper tile composition etc., which would then break this widget too if it were inheriting from there. Change-Id: Ib880a1614f89724135e753013cf91aec25973e39
Diffstat (limited to 'libreofficekit/')
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/ b/libreofficekit/
index 0ce922288165..d4ef643693d1 100644
--- a/libreofficekit/
+++ b/libreofficekit/
@@ -42,6 +42,10 @@ $(eval $(call gb_Executable_add_libs,gtktiledviewer,\
+$(eval $(call gb_Executable_add_cobjects,gtktiledviewer,\
+ libreofficekit/qa/lokdocview_quad/lokdocview_quad \
$(eval $(call gb_Executable_add_exception_objects,gtktiledviewer,\
libreofficekit/qa/gtktiledviewer/gtktiledviewer \