1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: AdvancedTextDocument.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_AdvancedTextDocument_idl__
31 #define __com_sun_star_text_AdvancedTextDocument_idl__
33 #ifndef __com_sun_star_lang_Locale_idl__
34 #include
<com
/sun
/star
/lang
/Locale.idl
>
37 #ifndef __com_sun_star_text_HypertextDocument_idl__
38 #include
<com
/sun
/star
/text
/HypertextDocument.idl
>
41 #ifndef __com_sun_star_text_XFootnotesSupplier_idl__
42 #include
<com
/sun
/star
/text
/XFootnotesSupplier.idl
>
45 #ifndef __com_sun_star_text_XEndnotesSupplier_idl__
46 #include
<com
/sun
/star
/text
/XEndnotesSupplier.idl
>
49 #ifndef __com_sun_star_util_XReplaceable_idl__
50 #include
<com
/sun
/star
/util
/XReplaceable.idl
>
53 #ifndef __com_sun_star_text_XPagePrintable_idl__
54 #include
<com
/sun
/star
/text
/XPagePrintable.idl
>
57 #ifndef __com_sun_star_text_XReferenceMarksSupplier_idl__
58 #include
<com
/sun
/star
/text
/XReferenceMarksSupplier.idl
>
61 #ifndef __com_sun_star_text_XLineNumberingSupplier_idl__
62 #include
<com
/sun
/star
/text
/XLineNumberingSupplier.idl
>
65 #ifndef __com_sun_star_text_XChapterNumberingSupplier_idl__
66 #include
<com
/sun
/star
/text
/XChapterNumberingSupplier.idl
>
69 #ifndef __com_sun_star_beans_XPropertySet_idl__
70 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
74 //=============================================================================
76 module com
{ module sun
{ module star
{ module text
{
78 //=============================================================================
80 // DocMerge from xml: service com::sun::star::text::AdvancedTextDocument
81 /** An advanced text document is an extension of a hypertext document
82 which can also contain text-frames, foot- and endnotes, and some
83 other advanced contents.
86 use <type>TextDocument</type> instead.
88 published service AdvancedTextDocument
90 // DocMerge: empty anyway
91 service com
::sun
::star
::text
::HypertextDocument
;
93 // DocMerge: empty anyway
94 interface com
::sun
::star
::text
::XFootnotesSupplier
;
96 // DocMerge: empty anyway
97 interface com
::sun
::star
::text
::XEndnotesSupplier
;
99 // DocMerge: empty anyway
100 interface com
::sun
::star
::util
::XReplaceable
;
102 // DocMerge: empty anyway
103 interface com
::sun
::star
::text
::XPagePrintable
;
105 // DocMerge: empty anyway
106 interface com
::sun
::star
::text
::XReferenceMarksSupplier
;
108 // DocMerge: empty anyway
109 interface com
::sun
::star
::text
::XLineNumberingSupplier
;
111 // DocMerge: empty anyway
112 interface com
::sun
::star
::text
::XChapterNumberingSupplier
;
114 // DocMerge: empty anyway
115 interface com
::sun
::star
::beans
::XPropertySet
;
117 //-------------------------------------------------------------------------
119 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharLocale
120 /** contains the identifier of the default locale of the document.
122 [property
] com
::sun
::star
::lang
::Locale CharLocale
;
124 //-------------------------------------------------------------------------
126 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharacterCount
127 /** contains the count of all characters in the document.
129 [readonly, property
] long CharacterCount
;
131 //-------------------------------------------------------------------------
133 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::ParagraphCount
134 /** contains the count of all paragraphs in the document.
136 [readonly, property
] long ParagraphCount
;
138 //-------------------------------------------------------------------------
140 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::WordCount
141 /** contains the count of all words in the document.@see WordSeparator
143 [readonly, property
] long WordCount
;
145 //-------------------------------------------------------------------------
147 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::WordSeparator
148 /** contains a string that consists of characters that mark the
149 separation of words in counting the words in a document.
153 <p> I.e., slash and backslash. Whitespaces (tab stop,
154 space, paragraph break, or line break) always separate
155 words.</p>@see WordCount
157 [property
] string WordSeparator
;
161 //=============================================================================