Kaydet (Commit) 8674c120 authored tarafından Michael Stahl's avatar Michael Stahl

API CHANGE: remove com.sun.star.text.XLineNumberingSupplier

This interface has been deprecated since OpenOffice.org initial CVS
import.

EXISTENCE: published key "/UCR/com/sun/star/text/XLineNumberingSupplier"
exists only in registry 1
SERVICE: /UCR/com/sun/star/text/GenericTextDocument
service1 contains 1 more references as service2
incompatible change: Reference 10 ('XLineNumberingSupplier') in
'r1' is not longer a reference of this service in 'r2'

Change-Id: I24ff18d0fe22d3caa893a7d5c766d352b7ca99c3
üst 57045024
......@@ -3628,7 +3628,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/text,\
XHeaderFooter \
XHeaderFooterPageStyle \
XLineNumberingProperties \
XLineNumberingSupplier \
XMailMergeBroadcaster \
XMailMergeListener \
XMultiTextMarkup \
......
......@@ -28,7 +28,6 @@
#include <com/sun/star/util/XReplaceable.idl>
#include <com/sun/star/text/XPagePrintable.idl>
#include <com/sun/star/text/XReferenceMarksSupplier.idl>
#include <com/sun/star/text/XLineNumberingSupplier.idl>
#include <com/sun/star/text/XChapterNumberingSupplier.idl>
#include <com/sun/star/text/XTextGraphicObjectsSupplier.idl>
#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.idl>
......@@ -87,8 +86,6 @@ published service GenericTextDocument
[optional] interface com::sun::star::text::XReferenceMarksSupplier;
[optional] interface com::sun::star::text::XLineNumberingSupplier;
[optional] interface com::sun::star::text::XChapterNumberingSupplier;
[optional] interface com::sun::star::beans::XPropertySet;
......
/* -*- 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_text_XLineNumberingSupplier_idl__
#define __com_sun_star_text_XLineNumberingSupplier_idl__
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/beans/PropertyValue.idl>
module com { module sun { module star { module text {
// DocMerge from xml: interface com::sun::star::text::XLineNumberingSupplier
/** contains the settings of the line numbering in a text document.
@deprecated
*/
published interface XLineNumberingSupplier: com::sun::star::uno::XInterface
{
// DocMerge from idl: method com::sun::star::text::XLineNumberingSupplier::getLineNumberingRules
/** @return the <type>LineNumberingSettings</type> of the object.
*/
sequence< sequence<com::sun::star::beans::PropertyValue> > getLineNumberingRules();
// DocMerge from xml: method com::sun::star::text::XLineNumberingSupplier::setLineNumberingRules
/** sets a sequence of numbering rules.
<p>The elements of the sequence are representing the chapter levels,
index 0 for the major chapter level.</p>
*/
void setLineNumberingRules( [in] sequence< sequence<com::sun::star::beans::PropertyValue> > aRules );
};
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
No preview for this file type
......@@ -852,7 +852,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier \
qadevOOo/tests/java/ifc/text/_XFootnotesSupplier \
qadevOOo/tests/java/ifc/text/_XLineNumberingProperties \
qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier \
qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster \
qadevOOo/tests/java/ifc/text/_XPageCursor \
qadevOOo/tests/java/ifc/text/_XPagePrintable \
......
......@@ -36,8 +36,6 @@
"SwXTextDocument";"com::sun::star::frame::XStorable";"store()"
"SwXTextDocument";"com::sun::star::frame::XStorable";"storeAsURL()"
"SwXTextDocument";"com::sun::star::frame::XStorable";"storeToURL()"
"SwXTextDocument";"com::sun::star::text::XLineNumberingSupplier#optional";"getLineNumberingRules()"
"SwXTextDocument";"com::sun::star::text::XLineNumberingSupplier#optional";"setLineNumberingRules()"
"SwXTextDocument";"com::sun::star::document::XEventsSupplier#optional";"getEvents()"
"SwXTextDocument";"com::sun::star::text::XPagePrintable#optional";"getPagePrintSettings()"
"SwXTextDocument";"com::sun::star::text::XPagePrintable#optional";"setPagePrintSettings()"
......
/*
* 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 .
*/
package ifc.text;
import lib.MultiMethodTest;
import com.sun.star.beans.PropertyValue;
import com.sun.star.text.XLineNumberingSupplier;
/**
* Testing <code>com.sun.star.text.XLineNumberingSupplier</code>
* interface methods :
* <ul>
* <li><code> getLineNumberingRules()</code></li>
* <li><code> setLineNumberingRules()</code></li>
* </ul> <p>
* Test is <b> NOT </b> multithread compilant. <p>
* @see com.sun.star.text.XLineNumberingSupplier
*/
public class _XLineNumberingSupplier extends MultiMethodTest {
public static XLineNumberingSupplier oObj = null;
public PropertyValue[][] lineNumberingSettings = null;
/**
* Test calls the method. <p>
* Has <b> OK </b> status if the method returns not
* <code>null</code> value.
*/
public void _getLineNumberingRules() {
boolean res = false;
lineNumberingSettings = oObj.getLineNumberingRules();
res = lineNumberingSettings != null ;
tRes.tested("getLineNumberingRules()",res);
}
} // finish class _XLineNumberingSupplier
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