Kaydet (Commit) 0a9e0fbc authored tarafından Michael Stahl's avatar Michael Stahl

API CHANGE: remove com.sun.star.xml.UserDefinedAttributeSupplier

This service is deprecated and has been replaced by
com.sun.star.xml.UserDefinedAttributesSupplier in OpenOffice.org 2.0.4.

Adapt all services including the removed service to use the replacement.
This should have no impact on client code as this service is just
glorified documentation anyway.

Change-Id: Ie3db10dc34a53d77fa426b5f3bb39dc78d21b946
EXISTENCE: published key "/UCR/com/sun/star/xml/UserDefinedAttributeSupplier" exists only in registry 1
SERVICE: /UCR/com/sun/star/chart/ChartArea
  incompatible change: Reference 2 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartAxis
  incompatible change: Reference 2 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartDataPointProperties
  incompatible change: Reference 3 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartDataRowProperties
  incompatible change: Reference 2 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartDocument
  incompatible change: Reference 0 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartGrid
  incompatible change: Reference 1 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartLegend
  incompatible change: Reference 2 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/ChartTitle
  incompatible change: Reference 1 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2'
SERVICE: /UCR/com/sun/star/chart/Diagram
  incompatible change: Reference 5 ('UserDefinedAttributeSupplier') in 'r1' is not longer a reference of this service in 'r2
üst 90227b15
......@@ -1494,7 +1494,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/xml,\
NamespaceContainer \
ParaUserDefinedAttributesSupplier \
TextUserDefinedAttributesSupplier \
UserDefinedAttributeSupplier \
UserDefinedAttributesSupplier \
XMLExportFilter \
XMLImportFilter \
......
......@@ -24,7 +24,7 @@
#include <com/sun/star/drawing/LineProperties.idl>
#include <com/sun/star/beans/XPropertySet.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -45,7 +45,7 @@ published service ChartArea
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
interface com::sun::star::beans::XPropertySet;
};
......
......@@ -32,7 +32,7 @@
#include <com/sun/star/chart/ChartAxisType.idl>
#include <com/sun/star/chart/TimeIncrement.idl>
#include <com/sun/star/chart/XAxis.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -60,7 +60,7 @@ published service ChartAxis
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
/** Access to the sub elements of an axis like title and grids.
@since OOo 3.4
......
......@@ -28,7 +28,7 @@
#include <com/sun/star/chart/Chart3DBarProperties.idl>
#include <com/sun/star/beans/XPropertySet.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -64,7 +64,7 @@ published service ChartDataPointProperties
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
/** is only available if the chart is of type
......
......@@ -25,7 +25,7 @@
#include <com/sun/star/beans/XPropertySet.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -55,7 +55,7 @@ published service ChartDataRowProperties
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
interface com::sun::star::beans::XPropertySet;
......
......@@ -21,7 +21,7 @@
#include <com/sun/star/chart/XChartDocument.idl>
#include <com/sun/star/beans/XPropertySet.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
#include <com/sun/star/drawing/XDrawPageSupplier.idl>
......@@ -47,7 +47,7 @@ published service ChartDocument
@since OOo 1.1.2
*/
[optional] service ::com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service ::com::sun::star::xml::UserDefinedAttributesSupplier;
interface ::com::sun::star::chart::XChartDocument;
interface ::com::sun::star::beans::XPropertySet;
......
......@@ -23,7 +23,7 @@
#include <com/sun/star/beans/XPropertySet.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -46,7 +46,7 @@ published service ChartGrid
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
interface com::sun::star::beans::XPropertySet;
};
......
......@@ -24,7 +24,7 @@
#include <com/sun/star/style/CharacterProperties.idl>
#include <com/sun/star/chart/ChartLegendPosition.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
......@@ -60,7 +60,7 @@ published service ChartLegend
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
/** determines the alignment of the legend relative
......
......@@ -20,7 +20,7 @@
#define __com_sun_star_chart_ChartTitle_idl__
#include <com/sun/star/drawing/Shape.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -49,7 +49,7 @@ published service ChartTitle
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
/** specifies the rotation of the shape in 100th of degrees.
......
......@@ -28,7 +28,7 @@
#include <com/sun/star/chart/ChartDataRowSource.idl>
#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl>
#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
module com { module sun { module star { module chart {
......@@ -88,7 +88,7 @@ published service Diagram
@since OOo 1.1.2
*/
[optional] service com::sun::star::xml::UserDefinedAttributeSupplier;
[optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
/** determines if the data for a data row is contained in the
......
/* -*- 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_UserDefinedAttributeSupplier_idl_
#define _com_sun_star_xml_UserDefinedAttributeSupplier_idl_
#include <com/sun/star/container/XNameContainer.idl>
module com { module sun { module star { module xml {
/** A component that supports this service preserves XML attributes,
unknown by its parser, that belong to the XML element representing
it (the component).
@since OOo 1.1.2
@deprecated because of typo in service name.
Please use the service UserDefinedAttributesSupplier instead.
@see <type scope="com::sun::star::xml">UserDefinedAttributesSupplier</type>
*/
published service UserDefinedAttributeSupplier
{
/** This container holds the <type>AttributeData</type> elements
that represent uninterpreted XML attributes.
<p>The idea behind this property is that a parser can stow
away all attributes that it cannot handle by itself on reading
an XML file. When the file is stored again, the unknown
attributes can be written back without loss.</p>
<p>The
<type scope="com::sun::star::container">XNameContainer</type>
supports the service <type>AttributeContainer</type>.</p>
@deprecated because of typo in service name.
Please use the service UserDefinedAttributesSupplier instead.
@see <type scope="com::sun::star::xml">UserDefinedAttributesSupplier</type>
*/
[property] ::com::sun::star::container::XNameContainer UserDefinedAttributes;
};
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment