summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-20 15:33:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-25 18:07:04 +0100
commit214e6caf2c503d817c47ebcc419e4f7e33b336ac (patch)
treeda8e9b3b1e20cba644d188320249c68ec801db07 /offapi
parentef6d1789e45cc9b3ab8a351d84d98dd81cfd84a0 (diff)
[API CHANGE] remove BasicImport UNO interfaces
which are unused since commit 4e97fa0f4e73acdf522643aeec486b1395e63727 Date: Thu Feb 20 13:09:32 2020 +0200 use fast-parser APIs for embedded script parsing and highly unlikely to be externally used since they parse document internal script code. Change-Id: I2e0e237fb31bba85f1ef63c88f3a6959eedf2ca7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89104 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk3
-rw-r--r--offapi/com/sun/star/document/XMLBasicImporter.idl59
-rw-r--r--offapi/com/sun/star/document/XMLOasisBasicImporter.idl46
-rw-r--r--offapi/com/sun/star/document/XXMLOasisBasicImporter.idl52
-rw-r--r--offapi/type_reference/offapi.idl9
5 files changed, 0 insertions, 169 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 0453d1fd9614..8814f0076e31 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -134,7 +134,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/document,\
OOXMLDocumentPropertiesImporter \
XMLBasicExporter \
XMLOasisBasicExporter \
- XMLOasisBasicImporter \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/drawing,\
ColorTable \
@@ -757,7 +756,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/document,\
PDFDialog \
Settings \
TypeDetection \
- XMLBasicImporter \
))
$(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/drawing,\
AccessibleDrawDocumentView \
@@ -2258,7 +2256,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/document,\
XVbaMethodParameter \
XViewDataSupplier \
XXMLBasicExporter \
- XXMLOasisBasicImporter \
))
$(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/drawing,\
Alignment \
diff --git a/offapi/com/sun/star/document/XMLBasicImporter.idl b/offapi/com/sun/star/document/XMLBasicImporter.idl
deleted file mode 100644
index 208d95ddd003..000000000000
--- a/offapi/com/sun/star/document/XMLBasicImporter.idl
+++ /dev/null
@@ -1,59 +0,0 @@
-/* -*- 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 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 .
- */
-#ifndef __com_sun_star_document_XMLBasicImporter_idl__
-#define __com_sun_star_document_XMLBasicImporter_idl__
-
-#include <com/sun/star/document/XImporter.idl>
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-
-
-
-module com { module sun { module star { module document {
-
-
-/** Filter for importing Basic macros from the OpenOffice.org file format.
-
- <p>The XImporter::setTargetDocument() method must be
- called in order to provide the import component with the target document
- to which the data should be imported.
- The com::sun::star::xml::sax::XDocumentHandler
- interface is used to stream the XML data into the filter.</p>
-
- @since OOo 2.0
- */
-published service XMLBasicImporter
-{
-
- /** sets the target document for this filter.
- */
- interface com::sun::star::document::XImporter;
-
-
- /** receives notification of general document events.
- */
- interface com::sun::star::xml::sax::XDocumentHandler;
-
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/document/XMLOasisBasicImporter.idl b/offapi/com/sun/star/document/XMLOasisBasicImporter.idl
deleted file mode 100644
index 6d1fb9113606..000000000000
--- a/offapi/com/sun/star/document/XMLOasisBasicImporter.idl
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- 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 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 .
- */
-#ifndef __com_sun_star_document_XMLOasisBasicImporter_idl__
-#define __com_sun_star_document_XMLOasisBasicImporter_idl__
-
-#include <com/sun/star/document/XXMLOasisBasicImporter.idl>
-
-
-
-module com { module sun { module star { module document {
-
-
-/** Filter for importing Basic macros from the OASIS Open Office file format.
-
- <p>The XImporter::setTargetDocument() method must be
- called in order to provide the import component with the target document
- to which the data should be imported.
- The com::sun::star::xml::sax::XDocumentHandler
- interface is used to stream the XML data into the filter.</p>
-
- @since OOo 2.0
- */
-published service XMLOasisBasicImporter : XXMLOasisBasicImporter;
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/document/XXMLOasisBasicImporter.idl b/offapi/com/sun/star/document/XXMLOasisBasicImporter.idl
deleted file mode 100644
index e867151c8f5a..000000000000
--- a/offapi/com/sun/star/document/XXMLOasisBasicImporter.idl
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- 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 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 .
- */
-#ifndef __com_sun_star_document_XXMLOasisBasicImporter_idl__
-#define __com_sun_star_document_XXMLOasisBasicImporter_idl__
-
-#include <com/sun/star/document/XImporter.idl>
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-
-
-
-module com { module sun { module star { module document {
-
-
-/**
- @since LibreOffice 4.1
- */
-published interface XXMLOasisBasicImporter
-{
-
- /** sets the target document for this filter.
- */
- interface com::sun::star::document::XImporter;
-
-
- /** receives notification of general document events.
- */
- interface com::sun::star::xml::sax::XDocumentHandler;
-
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/type_reference/offapi.idl b/offapi/type_reference/offapi.idl
index e8a192a42bd3..1d6baddbba95 100644
--- a/offapi/type_reference/offapi.idl
+++ b/offapi/type_reference/offapi.idl
@@ -4974,18 +4974,9 @@ module com {
};
};
module document {
- published service XMLBasicImporter {
- interface ::com::sun::star::document::XImporter;
- interface ::com::sun::star::xml::sax::XDocumentHandler;
- };
published service XMLOasisBasicExporter: ::com::sun::star::document::XXMLBasicExporter {
createWithHandler([in] ::com::sun::star::xml::sax::XDocumentHandler DocumentHandler);
};
- published interface XXMLOasisBasicImporter {
- interface ::com::sun::star::document::XImporter;
- interface ::com::sun::star::xml::sax::XDocumentHandler;
- };
- published service XMLOasisBasicImporter: ::com::sun::star::document::XXMLOasisBasicImporter;
published interface XMimeTypeInfo {
interface ::com::sun::star::uno::XInterface;
boolean supportsMimeType([in] string MimeTypeName);