summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-28 11:02:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-28 14:30:53 +0200
commit6701329f5b7d9c39fbd00f2f735dcd375992aa8e (patch)
tree4645f37a3b98ebfd6e9bdcf6593be38bdba540fc /offapi
parent0aa7ee7827fc77b5b4c0479402bfbd9a4e5d9e84 (diff)
[API CHANGE] drop ShapeContextHandler service and interface
There is zero chance an extension is using this, because it is so intimately tired together with the oox and writerfilter interactions. I'm removing this so I can expose the ShapeContextHandler and then override it's implementation in a more fashion without jumping through UNO hoops. Change-Id: I79ef30247f4642303dfdb92bbf8f6e6226234829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117996 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk2
-rw-r--r--offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl33
-rw-r--r--offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl62
3 files changed, 0 insertions, 97 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 01dd48280fea..0de6196f54b4 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -476,7 +476,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/xml/dom,\
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/xml/sax,\
FastParser \
- FastShapeContextHandler \
FastTokenHandler \
Parser \
Writer \
@@ -4373,7 +4372,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/xml/sax,\
XFastDocumentHandler \
XFastParser \
XFastSAXSerializable \
- XFastShapeContextHandler \
XFastTokenHandler \
XLocator \
XParser \
diff --git a/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl b/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl
deleted file mode 100644
index 094482793219..000000000000
--- a/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl
+++ /dev/null
@@ -1,33 +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_xml_sax_FastShapeContextHandler_idl__
-#define __com_sun_star_xml_sax_FastShapeContextHandler_idl__
-
-#include <com/sun/star/xml/sax/XFastShapeContextHandler.idl>
-
-
-module com { module sun { module star { module xml { module sax {
-
-service FastShapeContextHandler : XFastShapeContextHandler;
-
-}; }; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl b/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl
deleted file mode 100644
index 1475db6479b1..000000000000
--- a/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl
+++ /dev/null
@@ -1,62 +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_xml_sax_XFastShapeContextHandler_idl__
-#define __com_sun_star_xml_sax_XFastShapeContextHandler_idl__
-
-#include <com/sun/star/xml/sax/XFastContextHandler.idl>
-#include <com/sun/star/drawing/XShape.idl>
-#include <com/sun/star/drawing/XDrawPage.idl>
-#include <com/sun/star/frame/XModel.idl>
-#include <com/sun/star/io/XInputStream.idl>
-#include <com/sun/star/document/XDocumentProperties.idl>
-#include <com/sun/star/graphic/XGraphicMapper.idl>
-
-module com { module sun { module star { module xml { module sax {
-
-
-/** receives notification of sax document events from a
- XFastParser.
-
- @see XFastDocumentHandler
- */
-interface XFastShapeContextHandler: com::sun::star::xml::sax::XFastContextHandler
-{
- [attribute, readonly] com::sun::star::drawing::XShape Shape;
- [attribute] com::sun::star::drawing::XDrawPage DrawPage;
- [attribute] com::sun::star::frame::XModel Model;
- [attribute] string RelationFragmentPath;
- [attribute] long StartToken;
- [attribute] com::sun::star::awt::Point Position;
- [attribute] com::sun::star::document::XDocumentProperties DocumentProperties;
- [attribute] sequence< com::sun::star::beans::PropertyValue > MediaDescriptor;
-
- /** Graphic mapper to map a key/id string to a XGraphic. This is needed to
- remember for XGraphics for a path in the document storage
-
- @since LibreOffice 7.1
- */
- void setGraphicMapper([in] com::sun::star::graphic::XGraphicMapper xGraphicMapper);
-};
-
-
-}; }; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */