1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_AdvancedTextDocument_idl__
28 #define __com_sun_star_text_AdvancedTextDocument_idl__
30 #ifndef __com_sun_star_lang_Locale_idl__
31 #include
<com
/sun
/star
/lang
/Locale.idl
>
34 #ifndef __com_sun_star_text_HypertextDocument_idl__
35 #include
<com
/sun
/star
/text
/HypertextDocument.idl
>
38 #ifndef __com_sun_star_text_XFootnotesSupplier_idl__
39 #include
<com
/sun
/star
/text
/XFootnotesSupplier.idl
>
42 #ifndef __com_sun_star_text_XEndnotesSupplier_idl__
43 #include
<com
/sun
/star
/text
/XEndnotesSupplier.idl
>
46 #ifndef __com_sun_star_util_XReplaceable_idl__
47 #include
<com
/sun
/star
/util
/XReplaceable.idl
>
50 #ifndef __com_sun_star_text_XPagePrintable_idl__
51 #include
<com
/sun
/star
/text
/XPagePrintable.idl
>
54 #ifndef __com_sun_star_text_XReferenceMarksSupplier_idl__
55 #include
<com
/sun
/star
/text
/XReferenceMarksSupplier.idl
>
58 #ifndef __com_sun_star_text_XLineNumberingSupplier_idl__
59 #include
<com
/sun
/star
/text
/XLineNumberingSupplier.idl
>
62 #ifndef __com_sun_star_text_XChapterNumberingSupplier_idl__
63 #include
<com
/sun
/star
/text
/XChapterNumberingSupplier.idl
>
66 #ifndef __com_sun_star_beans_XPropertySet_idl__
67 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
71 //=============================================================================
73 module com
{ module sun
{ module star
{ module text
{
75 //=============================================================================
77 // DocMerge from xml: service com::sun::star::text::AdvancedTextDocument
78 /** An advanced text document is an extension of a hypertext document
79 which can also contain text-frames, foot- and endnotes, and some
80 other advanced contents.
83 use <type>TextDocument</type> instead.
85 published service AdvancedTextDocument
87 // DocMerge: empty anyway
88 service com
::sun
::star
::text
::HypertextDocument
;
90 // DocMerge: empty anyway
91 interface com
::sun
::star
::text
::XFootnotesSupplier
;
93 // DocMerge: empty anyway
94 interface com
::sun
::star
::text
::XEndnotesSupplier
;
96 // DocMerge: empty anyway
97 interface com
::sun
::star
::util
::XReplaceable
;
99 // DocMerge: empty anyway
100 interface com
::sun
::star
::text
::XPagePrintable
;
102 // DocMerge: empty anyway
103 interface com
::sun
::star
::text
::XReferenceMarksSupplier
;
105 // DocMerge: empty anyway
106 interface com
::sun
::star
::text
::XLineNumberingSupplier
;
108 // DocMerge: empty anyway
109 interface com
::sun
::star
::text
::XChapterNumberingSupplier
;
111 // DocMerge: empty anyway
112 interface com
::sun
::star
::beans
::XPropertySet
;
114 //-------------------------------------------------------------------------
116 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharLocale
117 /** contains the identifier of the default locale of the document.
119 [property
] com
::sun
::star
::lang
::Locale CharLocale
;
121 //-------------------------------------------------------------------------
123 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::CharacterCount
124 /** contains the count of all characters in the document.
126 [readonly, property
] long CharacterCount
;
128 //-------------------------------------------------------------------------
130 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::ParagraphCount
131 /** contains the count of all paragraphs in the document.
133 [readonly, property
] long ParagraphCount
;
135 //-------------------------------------------------------------------------
137 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::WordCount
138 /** contains the count of all words in the document.@see WordSeparator
140 [readonly, property
] long WordCount
;
142 //-------------------------------------------------------------------------
144 // DocMerge from xml: property com::sun::star::text::AdvancedTextDocument::WordSeparator
145 /** contains a string that consists of characters that mark the
146 separation of words in counting the words in a document.
150 <p> I.e., slash and backslash. Whitespaces (tab stop,
151 space, paragraph break, or line break) always separate
152 words.</p>@see WordCount
154 [property
] string WordSeparator
;
158 //=============================================================================