LibreOffice
LibreOffice 7.1 SDK API Reference
TextPortion.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_TextPortion_idl__
20#define __com_sun_star_text_TextPortion_idl__
21
22
29
30
31
32module com { module sun { module star { module text {
33
46published service TextPortion
47{
48 service ::com::sun::star::text::TextRange;
49
55 [optional]
56 interface ::com::sun::star::container::XContentEnumerationAccess;
57
61 [optional]
62 interface ::com::sun::star::beans::XTolerantMultiPropertySet;
63
88 [readonly, property] string TextPortionType;
89
94 [readonly, property] short ControlCharacter;
95
97 [optional, readonly, property]
99
102 [optional, readonly, property]
104
106 [optional, readonly, property]
108
110 [optional, readonly, property]
112
114 [optional, readonly, property]
116
120 [optional, readonly, property]
122
124 [optional, readonly, property] boolean IsCollapsed;
125
131 [optional, readonly, property] boolean IsStart;
132
133};
134
135
136}; }; }; };
137#endif
138
139/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
specifies a footnote within a Text.
Definition: XFootnote.idl:31
enables objects to be inserted into a text and to provide their location in a text once they are inse...
Definition: XTextContent.idl:35
is the base interface for all text fields.
Definition: XTextField.idl:38
Definition: Ambiguous.idl:22
A TextPortion is a piece of text within a paragraph that does not contain changes of its attributes i...
Definition: TextPortion.idl:47
::com::sun::star::text::XTextContent Bookmark
contains the bookmark of a text portion of type Bookmark.
Definition: TextPortion.idl:98
::com::sun::star::text::XTextContent DocumentIndexMark
contains the document index mark of a text portion of type DocumentIndexMark.
Definition: TextPortion.idl:103
boolean IsCollapsed
contains whether the portion is a point only.
Definition: TextPortion.idl:124
string TextPortionType
contains the type of the text portion.
Definition: TextPortion.idl:62
::com::sun::star::text::XTextContent ReferenceMark
contains the bookmark of a text portion of type ReferenceMark.
Definition: TextPortion.idl:107
boolean IsStart
contains whether the portion is the start of the portion.
Definition: TextPortion.idl:131
::com::sun::star::text::XTextContent InContentMetadata
contains the text range of a text portion of type InContentMetadata.
Definition: TextPortion.idl:121
::com::sun::star::text::XFootnote Footnote
contains the footnote of a text portion of type Footnote.
Definition: TextPortion.idl:111
short ControlCharacter
contains the control character of a text portion of type ControlCharacter.
Definition: TextPortion.idl:94
::com::sun::star::text::XTextField TextField
contains the text field of a text portion of type TextField.
Definition: TextPortion.idl:115