diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-12-24 00:29:25 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-05 20:30:00 +1100 |
commit | 832d43812459e6c5297c09811866b23212d23a09 (patch) | |
tree | c36ecef219c2298e3f4059ef79f8bb6a722e7819 /vcl/Executable_mtfparser.mk | |
parent | fdo#86674 paragraphs have ATK_STATE_INVALID (diff) | |
download | core-832d43812459e6c5297c09811866b23212d23a09.tar.gz core-832d43812459e6c5297c09811866b23212d23a09.zip |
vcl: Read EMF files
private/tbsdy/emf
I have rewritten the EMF filter to read files based on a command pattern.
Each record type is read via an "Action" record, much like GDIMetafile does.
In this commit, I have a demo, mtfparser that can take an emf file and read
the records one by one. Note that EMF+ records are not yet parsed.
I will be creating a class that contains the EMF records. But for now, this is
phase 1 of the rewrite.
I will also be pushing unit tests soon.
Change-Id: I6af8f5e4a2741a45ad8e726f383ca883596fd2d2
Diffstat (limited to 'vcl/Executable_mtfparser.mk')
-rw-r--r-- | vcl/Executable_mtfparser.mk | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/vcl/Executable_mtfparser.mk b/vcl/Executable_mtfparser.mk new file mode 100644 index 000000000000..c0f27729c99d --- /dev/null +++ b/vcl/Executable_mtfparser.mk @@ -0,0 +1,59 @@ +# -*- 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/. +# + +$(eval $(call gb_Executable_Executable,mtfparser)) + +$(eval $(call gb_Executable_use_api,mtfparser,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Executable_use_external,mtfparser,boost_headers)) + +$(eval $(call gb_Executable_set_include,mtfparser,\ + $$(INCLUDE) \ + -I$(SRCDIR)/vcl/inc \ + -I$(SRCDIR)/solenv/inc \ +)) + +$(eval $(call gb_Executable_use_libraries,mtfparser,\ + basegfx \ + tl \ + sal \ + vcl \ + cppu \ + cppuhelper \ + comphelper \ +)) + +$(eval $(call gb_Executable_add_exception_objects,mtfparser,\ + vcl/workben/mtfparser \ +)) + +$(eval $(call gb_Executable_use_static_libraries,mtfparser,\ + vclmain \ +)) + +ifeq ($(OS),LINUX) +$(eval $(call gb_Executable_add_libs,mtfparser,\ + -lm \ + -ldl \ + -lpthread \ + -lGL \ + -lGLU \ + -lX11 \ +)) + +$(eval $(call gb_Executable_use_static_libraries,mtfparser,\ + glxtest \ +)) +endif + +# vim: set noet sw=4 ts=4: |