LibreOffice
LibreOffice 24.2 SDK API Reference
GenericTextDocument.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 
21  module com { module sun { module star { module text {
22 
23 
35 published service GenericTextDocument
36 {
38 
47 
49 
51 
53 
56 
58 
60 
63 
64  [optional] interface com::sun::star::util::XReplaceable;
65 
67 
69 
71 
73 
75 
77 
79 
81 
85 
89 
93 
97 
101 
105 
108  [optional, property] com::sun::star::lang::Locale CharLocale;
109 
110 
113  [optional, readonly, property] long CharacterCount;
114 
115 
116 
119  [optional, readonly, property] long ParagraphCount;
120 
121 
124  [optional, readonly, property] long WordCount;
125 
126 
136  [optional, property] string WordSeparator;
137 
146  [optional, property] string IndexAutoMarkFileURL;
147 
152  [optional, property] boolean RecordChanges;
153 
164  [optional, property] short TwoDigitYear;
165 };
166 
167 
168 }; }; }; };
169 
170 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interface provides access to the style families within the container document.
Definition: XStyleFamiliesSupplier.idl:27
gives access to the collection of document indexes.
Definition: XDocumentIndexesSupplier.idl:30
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:33
makes it possible to access the TextFrame instances in this context (e.g.
Definition: XTextFramesSupplier.idl:27
long WordCount
contains the count of all words in the document.
Definition: GenericTextDocument.idl:124
enables the object to handle text tables.
Definition: XTextTablesSupplier.idl:27
makes it possible to replace strings in a text described by a SearchDescriptor.
Definition: XReplaceable.idl:37
makes it possible to access the footnotes within the context (e.g.
Definition: XFootnotesSupplier.idl:27
provides the collection of all embedded objects within this context (i.e.
Definition: XTextEmbeddedObjectsSupplier.idl:27
Definition: Ambiguous.idl:20
contains the settings of the chapter numbering in a text document.
Definition: XChapterNumberingSupplier.idl:27
string WordSeparator
contains a string that consists of characters that mark the separation of words in counting the words...
Definition: GenericTextDocument.idl:136
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:33
manages the text sections within the context (i.e.
Definition: XTextSectionsSupplier.idl:26
abstract service which specifies a storable and printable document
Definition: OfficeDocument.idl:33
Print several pages on one printer page.
Definition: XPagePrintable.idl:27
provides access to the collection of all bookmarks within this text container.
Definition: XBookmarksSupplier.idl:26
long CharacterCount
contains the count of all characters in the document.
Definition: GenericTextDocument.idl:113
boolean RecordChanges
specifies if change recording is active.
Definition: GenericTextDocument.idl:152
supplies the collection of NumberFormats (for example, in a document) and the settings belonging to t...
Definition: XNumberFormatsSupplier.idl:28
short TwoDigitYear
specifies the first 4 digit year to be used when years are given in 2 digits.
Definition: GenericTextDocument.idl:164
A text document is a model component which contains text structured by paragraphs.
Definition: GenericTextDocument.idl:35
is supported by objects with data that can be refreshed from a data source.
Definition: XRefreshable.idl:27
makes it possible to access the text fields used in this context (e.g.
Definition: XTextFieldsSupplier.idl:28
provides access to the reference marks within this context (i.e.
Definition: XReferenceMarksSupplier.idl:33
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:45
tiled rendering using a system-specific handle to a window
Definition: XTiledRenderable.idl:24
is the main interface of a text document.
Definition: XTextDocument.idl:26
long ParagraphCount
contains the count of all paragraphs in the document.
Definition: GenericTextDocument.idl:119
string IndexAutoMarkFileURL
specifies the concordance file taken into account when creating an index.
Definition: GenericTextDocument.idl:146
enables the object to look for specified contents of the object (in particular, for a text range whic...
Definition: XSearchable.idl:45
makes it possible to access the endnotes within the context (e.g.
Definition: XEndnotesSupplier.idl:27
provides access to the collection of all embedded and linked graphics within this context (i...
Definition: XTextGraphicObjectsSupplier.idl:27
makes it possible to access the content controls within the context (e.g.
Definition: XContentControlsSupplier.idl:27