From c581cb503c9f99cdd0079c120f4f143f4bfddd39 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 30 Nov 2012 17:13:08 +0100 Subject: API CHANGE: remove com.sun.star.text.HypertextDocument ... and derived com.sun.star.text.AdvancedTextDocument services, which are deprecated since 2001 and actually unimplemented. EXISTENCE: published key "/UCR/com/sun/star/text/HypertextDocument" exists only in registry 1 EXISTENCE: published key "/UCR/com/sun/star/text/AdvancedTextDocument" exists only in registry 1 Change-Id: I3f538951401f8696b18e94ad8b2cd07f9c0820b2 --- offapi/UnoApi_offapi.mk | 2 - offapi/com/sun/star/text/AdvancedTextDocument.idl | 128 ---------------------- offapi/com/sun/star/text/HypertextDocument.idl | 64 ----------- offapi/type_reference/types.rdb | Bin 7459840 -> 7459840 bytes 4 files changed, 194 deletions(-) delete mode 100644 offapi/com/sun/star/text/AdvancedTextDocument.idl delete mode 100644 offapi/com/sun/star/text/HypertextDocument.idl diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 4f5af08563dc..608bfa0dc484 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1217,7 +1217,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/text,\ AccessibleTextEmbeddedObject \ AccessibleTextFrameView \ AccessibleTextGraphicObject \ - AdvancedTextDocument \ AutoTextContainer \ AutoTextEntry \ AutoTextGroup \ @@ -1253,7 +1252,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/text,\ GenericTextDocument \ GlobalDocument \ GlobalSettings \ - HypertextDocument \ IllustrationsIndex \ InContentMetadata \ LineNumberingProperties \ diff --git a/offapi/com/sun/star/text/AdvancedTextDocument.idl b/offapi/com/sun/star/text/AdvancedTextDocument.idl deleted file mode 100644 index 6211349d89c5..000000000000 --- a/offapi/com/sun/star/text/AdvancedTextDocument.idl +++ /dev/null @@ -1,128 +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_text_AdvancedTextDocument_idl__ -#define __com_sun_star_text_AdvancedTextDocument_idl__ - -#include - -#include - -#include - -#include - -#include - -#include - -#include - -#include - -#include - -#include - - - - module com { module sun { module star { module text { - - -// DocMerge from xml: service com::sun::star::text::AdvancedTextDocument -/** An advanced text document is an extension of a hypertext document - which can also contain text-frames, foot- and endnotes, and some - other advanced contents. - - @deprecated - use TextDocument instead. - */ -published service AdvancedTextDocument -{ - // DocMerge: empty anyway - service com::sun::star::text::HypertextDocument; - - // DocMerge: empty anyway - interface com::sun::star::text::XFootnotesSupplier; - - // DocMerge: empty anyway - interface com::sun::star::text::XEndnotesSupplier; - - // DocMerge: empty anyway - interface com::sun::star::util::XReplaceable; - - // DocMerge: empty anyway - interface com::sun::star::text::XPagePrintable; - - // DocMerge: empty anyway - interface com::sun::star::text::XReferenceMarksSupplier; - - // DocMerge: empty anyway - interface com::sun::star::text::XLineNumberingSupplier; - - // DocMerge: empty anyway - interface com::sun::star::text::XChapterNumberingSupplier; - - // DocMerge: empty anyway - interface com::sun::star::beans::XPropertySet; - - - // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharLocale - /** contains the identifier of the default locale of the document. - */ - [property] com::sun::star::lang::Locale CharLocale; - - - // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharacterCount - /** contains the count of all characters in the document. - */ - [readonly, property] long CharacterCount; - - - // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::ParagraphCount - /** contains the count of all paragraphs in the document. - */ - [readonly, property] long ParagraphCount; - - - // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::WordCount - /** contains the count of all words in the document.@see WordSeparator - */ - [readonly, property] long WordCount; - - - // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::WordSeparator - /** contains a string that consists of characters that mark the - separation of words in counting the words in a document. - - - -

I.e., slash and backslash. Whitespace (tab stop, - space, paragraph break, or line break) always separate - words.

@see WordCount - */ - [property] string WordSeparator; - -}; - - -}; }; }; }; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/HypertextDocument.idl b/offapi/com/sun/star/text/HypertextDocument.idl deleted file mode 100644 index c3efde9b360e..000000000000 --- a/offapi/com/sun/star/text/HypertextDocument.idl +++ /dev/null @@ -1,64 +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_text_HypertextDocument_idl__ -#define __com_sun_star_text_HypertextDocument_idl__ - -#include - -#include - -#include - -#include - - - - module com { module sun { module star { module text { - - -// DocMerge from xml: service com::sun::star::text::HypertextDocument -/** is an extension of a text document which - can also contain tables and certain kinds of embedded objects - (e.g., graphics). - - @deprecated - use TextDocument instead. - */ -published service HypertextDocument -{ - // DocMerge: empty anyway - service com::sun::star::text::TextDocument; - - // DocMerge: empty anyway - interface com::sun::star::text::XTextGraphicObjectsSupplier; - - // DocMerge: empty anyway - interface com::sun::star::text::XTextEmbeddedObjectsSupplier; - - // DocMerge: empty anyway - interface com::sun::star::text::XTextTablesSupplier; - -}; - - -}; }; }; }; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/type_reference/types.rdb b/offapi/type_reference/types.rdb index 17a39be42878..db615c6ec9d1 100644 Binary files a/offapi/type_reference/types.rdb and b/offapi/type_reference/types.rdb differ -- cgit v1.2.3