diff options
Diffstat (limited to 'offapi/com/sun/star/text/TextDocument.idl')
-rw-r--r-- | offapi/com/sun/star/text/TextDocument.idl | 320 |
1 files changed, 166 insertions, 154 deletions
diff --git a/offapi/com/sun/star/text/TextDocument.idl b/offapi/com/sun/star/text/TextDocument.idl index 8871f986b..857e144e2 100644 --- a/offapi/com/sun/star/text/TextDocument.idl +++ b/offapi/com/sun/star/text/TextDocument.idl @@ -2,9 +2,9 @@ * * $RCSfile: TextDocument.idl,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: mi $ $Date: 2001-12-10 17:42:31 $ + * last change: $Author: mi $ $Date: 2002-10-03 13:10:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,212 +58,224 @@ * * ************************************************************************/ -#ifndef __com_sun_star_text_TextDocument_idl__ -#define __com_sun_star_text_TextDocument_idl__ - -#ifndef __com_sun_star_document_OfficeDocument_idl__ -#include <com/sun/star/document/OfficeDocument.idl> -#endif - -#ifndef __com_sun_star_text_XTextDocument_idl__ -#include <com/sun/star/text/XTextDocument.idl> -#endif - -#ifndef __com_sun_star_util_XSearchable_idl__ -#include <com/sun/star/util/XSearchable.idl> +#ifndef __com_sun_star_text_TextDocument_idl__ +#define __com_sun_star_text_TextDocument_idl__ + +#ifndef __com_sun_star_document_OfficeDocument_idl__ +#include <com/sun/star/document/OfficeDocument.idl> +#endif + +#ifndef __com_sun_star_text_XTextDocument_idl__ +#include <com/sun/star/text/XTextDocument.idl> +#endif + +#ifndef __com_sun_star_util_XSearchable_idl__ +#include <com/sun/star/util/XSearchable.idl> +#endif + +#ifndef _com_sun_star_util_XRefreshable_idl_ +#include <com/sun/star/util/XRefreshable.idl> +#endif + +#ifndef __com_sun_star_text_XFootnotesSupplier_idl__ +#include <com/sun/star/text/XFootnotesSupplier.idl> +#endif + +#ifndef __com_sun_star_text_XEndnotesSupplier_idl__ +#include <com/sun/star/text/XEndnotesSupplier.idl> +#endif + +#ifndef __com_sun_star_util_XReplaceable_idl__ +#include <com/sun/star/util/XReplaceable.idl> +#endif + +#ifndef __com_sun_star_text_XPagePrintable_idl__ +#include <com/sun/star/text/XPagePrintable.idl> +#endif + +#ifndef __com_sun_star_text_XReferenceMarksSupplier_idl__ +#include <com/sun/star/text/XReferenceMarksSupplier.idl> +#endif + +#ifndef __com_sun_star_text_XLineNumberingSupplier_idl__ +#include <com/sun/star/text/XLineNumberingSupplier.idl> +#endif + +#ifndef __com_sun_star_text_XChapterNumberingSupplier_idl__ +#include <com/sun/star/text/XChapterNumberingSupplier.idl> +#endif + +#ifndef __com_sun_star_text_XTextGraphicObjectsSupplier_idl__ +#include <com/sun/star/text/XTextGraphicObjectsSupplier.idl> +#endif + +#ifndef __com_sun_star_text_XTextEmbeddedObjectsSupplier_idl__ +#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.idl> #endif -#ifndef _com_sun_star_util_XRefreshable_idl_ -#include <com/sun/star/util/XRefreshable.idl> -#endif - -#ifndef __com_sun_star_text_XFootnotesSupplier_idl__ -#include <com/sun/star/text/XFootnotesSupplier.idl> -#endif - -#ifndef __com_sun_star_text_XEndnotesSupplier_idl__ -#include <com/sun/star/text/XEndnotesSupplier.idl> -#endif - -#ifndef __com_sun_star_util_XReplaceable_idl__ -#include <com/sun/star/util/XReplaceable.idl> -#endif - -#ifndef __com_sun_star_text_XPagePrintable_idl__ -#include <com/sun/star/text/XPagePrintable.idl> -#endif - -#ifndef __com_sun_star_text_XReferenceMarksSupplier_idl__ -#include <com/sun/star/text/XReferenceMarksSupplier.idl> -#endif - -#ifndef __com_sun_star_text_XLineNumberingSupplier_idl__ -#include <com/sun/star/text/XLineNumberingSupplier.idl> -#endif - -#ifndef __com_sun_star_text_XChapterNumberingSupplier_idl__ -#include <com/sun/star/text/XChapterNumberingSupplier.idl> -#endif - -#ifndef __com_sun_star_text_XTextGraphicObjectsSupplier_idl__ -#include <com/sun/star/text/XTextGraphicObjectsSupplier.idl> -#endif - -#ifndef __com_sun_star_text_XTextEmbeddedObjectsSupplier_idl__ -#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.idl> -#endif - -#ifndef __com_sun_star_text_XTextTablesSupplier_idl__ -#include <com/sun/star/text/XTextTablesSupplier.idl> -#endif - -#ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__ -#include <com/sun/star/style/XStyleFamiliesSupplier.idl> -#endif - -#ifndef __com_sun_star_lang_Locale_idl__ -#include <com/sun/star/lang/Locale.idl> -#endif - -//============================================================================= - - module com { module sun { module star { module text { - -//============================================================================= - +#ifndef __com_sun_star_text_XTextTablesSupplier_idl__ +#include <com/sun/star/text/XTextTablesSupplier.idl> +#endif + +#ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__ +#include <com/sun/star/style/XStyleFamiliesSupplier.idl> +#endif + +#ifndef __com_sun_star_util_XNumberFormatsSupplier_idl__ +#include <com/sun/star/util/XNumberFormatsSupplier.idl> +#endif + +#ifndef __com_sun_star_lang_Locale_idl__ +#include <com/sun/star/lang/Locale.idl> +#endif + +//============================================================================= + + module com { module sun { module star { module text { + +//============================================================================= + /** A text document is a model component which contains text structured by paragraphs. - + <p>Each paragraph and each portion of text can be fitted with some attributes (technically properties). - + <p>In addition, all text objects can be searched.</p> */ service TextDocument -{ +{ // DocMerge: empty anyway - service com::sun::star::document::OfficeDocument; - + service com::sun::star::document::OfficeDocument; + // DocMerge: empty anyway - interface com::sun::star::text::XTextDocument; - + interface com::sun::star::text::XTextDocument; + // DocMerge: empty anyway - interface com::sun::star::util::XSearchable; - + interface com::sun::star::util::XSearchable; + // DocMerge: empty anyway - interface com::sun::star::util::XRefreshable; + interface com::sun::star::util::XRefreshable; // DocMerge: empty anyway - [optional] interface com::sun::star::text::XFootnotesSupplier; - + [optional] interface com::sun::star::text::XFootnotesSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XEndnotesSupplier; - + [optional] interface com::sun::star::text::XEndnotesSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::util::XReplaceable; - + [optional] interface com::sun::star::util::XReplaceable; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XPagePrintable; - + [optional] interface com::sun::star::text::XPagePrintable; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XReferenceMarksSupplier; - + [optional] interface com::sun::star::text::XReferenceMarksSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XLineNumberingSupplier; - + [optional] interface com::sun::star::text::XLineNumberingSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XChapterNumberingSupplier; - + [optional] interface com::sun::star::text::XChapterNumberingSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::beans::XPropertySet; - + [optional] interface com::sun::star::beans::XPropertySet; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XTextGraphicObjectsSupplier; - + [optional] interface com::sun::star::text::XTextGraphicObjectsSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XTextEmbeddedObjectsSupplier; - + [optional] interface com::sun::star::text::XTextEmbeddedObjectsSupplier; + // DocMerge: empty anyway - [optional] interface com::sun::star::text::XTextTablesSupplier; + [optional] interface com::sun::star::text::XTextTablesSupplier; [optional] interface com::sun::star::style::XStyleFamiliesSupplier; - - //------------------------------------------------------------------------- - + + // + interface com::sun::star::util::XNumberFormatsSupplier; + //------------------------------------------------------------------------- + // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharLocale /** contains the identifier of the default locale of the document. */ - [optional, property] com::sun::star::lang::Locale CharLocale; - - //------------------------------------------------------------------------- - + [optional, 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. */ - [optional, readonly, property] long CharacterCount; + [optional, readonly, property] long CharacterCount; + + + //------------------------------------------------------------------------- - - //------------------------------------------------------------------------- - // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::ParagraphCount /** contains the count of all paragraphs in the document. */ - [optional, readonly, property] long ParagraphCount; - - //------------------------------------------------------------------------- - + [optional, 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 */ - [optional, readonly, property] long WordCount; - - //------------------------------------------------------------------------- - + [optional, 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. - - - + + + <p> I.e. slash and backslash. Whitespaces (tab stop, - space, paragraph break, line break) always separate + space, paragraph break, line break) always separate words.</p>@see WordCount */ - [optional, property] string WordSeparator; - -}; - -//============================================================================= - -}; }; }; }; - -/*============================================================================= - + [optional, property] string WordSeparator; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + $Log: not supported by cvs2svn $ + Revision 1.6.2.1 2002/02/26 08:31:56 os + XNumberFormatsSupplier added + + Revision 1.6 2001/12/10 17:42:31 mi + #94538# XStyleFamiliesSupplier added + Revision 1.5 2001/05/15 10:29:08 kz add. some missing headers - + Revision 1.4 2001/05/09 14:06:21 mi HypertextDocument and AdvancedTextDocument now deprecated, all members now optional in TextDocument - + Revision 1.3 2000/11/08 12:44:27 mi moved from api - + Revision 1.1.1.1 2000/09/18 23:36:03 hjs initial import - + Revision 1.5 2000/09/11 11:53:00 mi documentation merged from XML - - Revision 1.3 2000/04/20 08:39:04 os - #73237# include - - Revision 1.2 2000/04/20 08:37:27 os - #73237# ::com::sun::star::util::XRefreshable implemented - - Revision 1.1.1.1 1999/11/11 09:48:46 jsc - new - - -=============================================================================*/ -#endif + + Revision 1.3 2000/04/20 08:39:04 os + #73237# include + + Revision 1.2 2000/04/20 08:37:27 os + #73237# ::com::sun::star::util::XRefreshable implemented + + Revision 1.1.1.1 1999/11/11 09:48:46 jsc + new + + +=============================================================================*/ +#endif |