office-gobmx/filter/Library_pdffilter.mk
Jan Holesovsky 6ac2d66c78 pdfium: Make Insert -> Image... use VectorGraphicData for PDF.
In principle, the current Svg/Emf/Wmf and PDF handling is trying to
achieve the same thing: Keep the original stream untouched, provide a
replacement graphics, and a kind of rendering.

To hold the data, the Svg/Emf/Wmf and PDF were using different structures
though.  This commit consolidatates that, and makes the Insert
-> Image... (for PDF) actually using the VectorGraphicData to hold the
original stream.

This breaks loading the PDF as a document via PDFium - I'll fix it in
the next commit(s).

Change-Id: Iac102f32b757390a03438c165e430283851cc10b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90561
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-03-17 22:01:15 +01:00

65 lines
1.7 KiB
Makefile

# -*- 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,pdffilter))
$(eval $(call gb_Library_set_componentfile,pdffilter,filter/source/pdf/pdffilter))
$(eval $(call gb_Library_use_external,pdffilter,boost_headers))
$(eval $(call gb_Library_use_sdk_api,pdffilter))
$(eval $(call gb_Library_set_include,pdffilter,\
-I$(SRCDIR)/filter/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_custom_headers,pdffilter,\
officecfg/registry \
))
$(eval $(call gb_Library_use_libraries,pdffilter,\
svt \
svx \
sfx \
tk \
vcl \
utl \
tl \
svl \
i18nlangtag \
comphelper \
basegfx \
cppuhelper \
cppu \
sal \
drawinglayer \
))
$(eval $(call gb_Library_add_exception_objects,pdffilter,\
filter/source/pdf/impdialog \
filter/source/pdf/pdfdecomposer \
filter/source/pdf/pdfdialog \
filter/source/pdf/pdfexport \
filter/source/pdf/pdffilter \
filter/source/pdf/pdfinteract \
filter/source/pdf/pdfuno \
))
# vim: set noet sw=4 ts=4: