summaryrefslogtreecommitdiff
path: root/filter/Library_graphicfilter.mk
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-03-25 23:26:36 +0100
committerTomaž Vajngerl <quikee@gmail.com>2013-03-25 23:50:10 +0100
commit6a6519c27a5a7ea07e6a19fcd43e76ca616dce4d (patch)
treef0516fe768dcdb17293fb060aa6cf9d6f8650f3d /filter/Library_graphicfilter.mk
parentf7a226952ddd335d670f1a3766b2b87eb1572375 (diff)
Export current Writer page as jpg/png
This is first step to rework of graphic exporting. The idea is to replace the exporter that works only for Draw/Impress and replace it with a general exporter for any object. With this it will be far easier to export objects as charts. Currently only Writer is supported and only jpg/png. Additionally, this commit introduces a new Export dialog which supports setting the pixel width, height and DPI. Change-Id: I7302b26bd432840d7ef0c3d2d2e13ff150cd2a07
Diffstat (limited to 'filter/Library_graphicfilter.mk')
-rw-r--r--filter/Library_graphicfilter.mk56
1 files changed, 56 insertions, 0 deletions
diff --git a/filter/Library_graphicfilter.mk b/filter/Library_graphicfilter.mk
new file mode 100644
index 000000000000..223121e48844
--- /dev/null
+++ b/filter/Library_graphicfilter.mk
@@ -0,0 +1,56 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,graphicfilter))
+
+$(eval $(call gb_Library_set_componentfile,graphicfilter,filter/source/graphic/graphicfilter))
+
+$(eval $(call gb_Library_use_external,graphicfilter,boost_headers))
+
+$(eval $(call gb_Library_use_sdk_api,graphicfilter))
+
+$(eval $(call gb_Library_set_include,graphicfilter,\
+ -I$(SRCDIR)/filter/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_use_libraries,graphicfilter,\
+ svt \
+ sfx \
+ tk \
+ vcl \
+ utl \
+ tl \
+ svl \
+ i18nisolang1 \
+ comphelper \
+ basegfx \
+ cppuhelper \
+ cppu \
+ sal \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,graphicfilter,\
+ filter/source/graphic/GraphicExportFilter \
+ filter/source/graphic/GraphicExportDialog \
+ filter/source/graphic/Services \
+))
+
+# vim: set noet sw=4 ts=4: