diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /scp2/source/ooo/module_pdfimport.scp | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scp2/source/ooo/module_pdfimport.scp')
-rw-r--r-- | scp2/source/ooo/module_pdfimport.scp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/scp2/source/ooo/module_pdfimport.scp b/scp2/source/ooo/module_pdfimport.scp new file mode 100644 index 000000000..25e0a92d4 --- /dev/null +++ b/scp2/source/ooo/module_pdfimport.scp @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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 module is normally included unconditionally in the core installation, it +// provides various import filters for both plain PDF and hybrid PDF/ODF. For +// --with-system-poppler builds it can be advantageous though to package this +// module as an individual, optional part, so that the core installation does +// not feature a dependency on a poppler package. + +// The /org.openoffice.TypeDetection.Types/Types/pdf_Portable_Document_Format +// configuration node contained in pdfimport.xcd needs to override a +// node with the same name but which lacks import functionality and +// which is duplicated across calc, draw, impress, math, writer .xcd +// files. For this to work, there is a hack in +// postprocess/packregistry/makefile.mk to make pdfimport.xcd depend +// on all those other .xcd files (optionally, as not all of the other +// .xcd files need to be present in a given installation). + +#include "macros.inc" + +#include "AutoInstall/pdfimport" + +Module gid_Module_Pdfimport + Name = "PDF Import"; + Description = "PDF Import"; + PackageInfo = "packinfo_office.txt"; + ParentID = gid_Module_Root_Brand; + Styles = (HIDDEN_ROOT); + Dirs = (gid_Dir_Share_Xpdfimport); + Files = (auto_pdfimport_ALL, + gid_File_Xcd_Pdfimport); +End + +Directory gid_Dir_Share_Xpdfimport + ParentID = gid_Brand_Dir_Share; + DosName = "xpdfimport"; +End + +File gid_File_Xcd_Pdfimport + TXT_FILE_BODY; + Dir = gid_Brand_Dir_Share_Registry; + Name = "pdfimport.xcd"; + Styles = (PACKED); +End + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |