diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /sdext/source/pdfimport/config/pdf_import_filter.xcu | |
parent | Initial commit. (diff) | |
download | libreoffice-1ad18e38974bb28c3d98d0be8f7d8c18fc56de29.tar.xz libreoffice-1ad18e38974bb28c3d98d0be8f7d8c18fc56de29.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sdext/source/pdfimport/config/pdf_import_filter.xcu')
-rw-r--r-- | sdext/source/pdfimport/config/pdf_import_filter.xcu | 216 |
1 files changed, 216 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/config/pdf_import_filter.xcu b/sdext/source/pdfimport/config/pdf_import_filter.xcu new file mode 100644 index 000000000..3909f9fc1 --- /dev/null +++ b/sdext/source/pdfimport/config/pdf_import_filter.xcu @@ -0,0 +1,216 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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 . + --> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Filter" oor:package="org.openoffice.TypeDetection"> + <node oor:name="Filters"> + <node oor:name="draw_pdf_import" oor:type="xs:string" oor:op="replace"> + <prop oor:name="DocumentService"> + <value>com.sun.star.drawing.DrawingDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <!-- stacks filters for XML import. see UserData below. + the _Writer_ in the impl name is a misnomer --> + <value>com.sun.star.comp.Writer.XmlFilterAdaptor</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT PREFERRED SUPPORTSSIGNING</value> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format (Draw)</value> + </prop> + <prop oor:name="TemplateName"/> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData" oor:type="oor:string-list"> + <!-- converter service, ,import service,export service, , ,bool for pretty printing on or off --> + <value oor:separator=",">org.libreoffice.comp.documents.DrawPDFImport,,com.sun.star.comp.Draw.XMLOasisImporter,,,,true</value> + </prop> + </node> + + <node oor:name="impress_pdf_import" oor:type="xs:string" oor:op="replace"> + <prop oor:name="DocumentService"> + <value>com.sun.star.presentation.PresentationDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <!-- stacks filters for XML import. see UserData below. + the _Writer_ in the impl name is a misnomer --> + <value>com.sun.star.comp.Writer.XmlFilterAdaptor</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT PREFERRED</value> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format (Impress)</value> + </prop> + <prop oor:name="TemplateName"/> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData" oor:type="oor:string-list"> + <!-- converter service, ,import service,export service, , ,bool for pretty printing on or off --> + <value oor:separator=",">org.libreoffice.comp.documents.ImpressPDFImport,,com.sun.star.comp.Impress.XMLOasisImporter,,,,true</value> + </prop> + </node> + + <node oor:name="writer_pdf_import" oor:type="xs:string" oor:op="replace"> + <prop oor:name="DocumentService"> + <value>com.sun.star.text.TextDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <!-- stacks filters for XML import. see UserData below. + the _Writer_ in the impl name is a misnomer --> + <value>com.sun.star.comp.Writer.XmlFilterAdaptor</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT PREFERRED</value> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format (Writer)</value> + </prop> + <prop oor:name="TemplateName"/> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData" oor:type="oor:string-list"> + <!-- converter service, ,import service,export service, , ,bool for pretty printing on or off --> + <value oor:separator=",">org.libreoffice.comp.documents.WriterPDFImport,,com.sun.star.comp.Writer.XMLOasisImporter,,,,true</value> + </prop> + </node> + + <node oor:name="writer_pdf_addstream_import" oor:op="replace"> + <prop oor:name="DocumentService" oor:type="xs:string"> + <value>com.sun.star.text.TextDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <value>org.libreoffice.comp.documents.HybridPDFImport</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT NOTINFILEDIALOG</value> + </prop> + <prop oor:name="TemplateName" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIComponent" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format</value> + </prop> + </node> + + <node oor:name="impress_pdf_addstream_import" oor:op="replace"> + <prop oor:name="DocumentService" oor:type="xs:string"> + <value>com.sun.star.presentation.PresentationDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <value>org.libreoffice.comp.documents.HybridPDFImport</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT NOTINFILEDIALOG NOTINCHOOSER</value> + </prop> + <prop oor:name="TemplateName" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIComponent" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format</value> + </prop> + </node> + + <node oor:name="draw_pdf_addstream_import" oor:op="replace"> + <prop oor:name="DocumentService" oor:type="xs:string"> + <value>com.sun.star.drawing.DrawingDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <value>org.libreoffice.comp.documents.HybridPDFImport</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT NOTINFILEDIALOG NOTINCHOOSER</value> + </prop> + <prop oor:name="TemplateName" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIComponent" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format</value> + </prop> + </node> + + <node oor:name="calc_pdf_addstream_import" oor:op="replace"> + <prop oor:name="DocumentService" oor:type="xs:string"> + <value>com.sun.star.sheet.SpreadsheetDocument</value> + </prop> + <prop oor:name="FileFormatVersion" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="FilterService" oor:type="xs:string"> + <value>org.libreoffice.comp.documents.HybridPDFImport</value> + </prop> + <prop oor:name="Flags" oor:type="oor:string-list"> + <value>3RDPARTYFILTER ALIEN IMPORT NOTINFILEDIALOG NOTINCHOOSER</value> + </prop> + <prop oor:name="TemplateName" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <value>pdf_Portable_Document_Format</value> + </prop> + <prop oor:name="UIComponent" oor:type="xs:string"> + <value/> + </prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">PDF - Portable Document Format</value> + </prop> + </node> + </node> +</oor:component-data> |