LibreOffice LibreOffice 4.2 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TextDocumentView.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 #ifndef __com_sun_star_text_TextDocumentView_idl__
20 #define __com_sun_star_text_TextDocumentView_idl__
21
22 #include <com/sun/star/view/OfficeDocumentView.idl>
23
24 #include <com/sun/star/view/XViewSettingsSupplier.idl>
25
26 #include <com/sun/star/text/XTextViewCursorSupplier.idl>
27
28 #include <com/sun/star/beans/XPropertySet.idl>
29
30
31 module com { module sun { module star { module text {
32
33
36 published service TextDocumentView
37 {
38 service com::sun::star::view::OfficeDocumentView;
39
40
43 interface com::sun::star::view::XViewSettingsSupplier;
44
45
49 interface com::sun::star::text::XTextViewCursorSupplier;
50
51
56 [optional] interface com::sun::star::beans::XPropertySet;
57
58
66 [optional, property, readonly] long PageCount;
67
77 [optional, property, readonly] long LineCount;
78
83 [optional, property] boolean IsConstantSpellcheck;
84
89 [optional, property] boolean IsHideSpellMarks;
90
91 };
92
93
94 }; }; }; };
95
96 #endif
97
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::text::XTextViewCursorSupplier
supplies access to the cursor in the view.
Definition: XTextViewCursorSupplier.idl:39
com::sun::star::text::TextDocumentView
specifies the view of a TextDocument.
Definition: TextDocumentView.idl:36
OfficeDocumentView.idl
com::sun::star::view::XViewSettingsSupplier
provides access to the view settings of the object.
Definition: XViewSettingsSupplier.idl:33
XViewSettingsSupplier.idl
com::sun::star::text::TextDocumentView::LineCount
long LineCount
returns the number of lines in the document
Definition: TextDocumentView.idl:77
com::sun::star::view::OfficeDocumentView
specifies a view of a standard office document.
Definition: OfficeDocumentView.idl:35
com::sun::star::text::TextDocumentView::IsHideSpellMarks
boolean IsHideSpellMarks
specifies if the marks for misspelled text should be displayed.
Definition: TextDocumentView.idl:89
XTextViewCursorSupplier.idl
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:63
XPropertySet.idl
com::sun::star::text::TextDocumentView::IsConstantSpellcheck
boolean IsConstantSpellcheck
specifies if spell checking should be done while typing.
Definition: TextDocumentView.idl:83
com::sun::star::text::TextDocumentView::PageCount
long PageCount
returns the number of pages in the document
Definition: TextDocumentView.idl:56