LibreOffice LibreOffice 25.2 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
20
21
22
23module com { module sun { module star { module text {
24
37published service TextPortion
38{
39 service ::com::sun::star::text::TextRange;
40
46 [optional]
47 interface ::com::sun::star::container::XContentEnumerationAccess;
48
52 [optional]
53 interface ::com::sun::star::beans::XTolerantMultiPropertySet;
54
79 [readonly, property] string TextPortionType;
80
85 [readonly, property] short ControlCharacter;
86
88 [optional, readonly, property]
89 ::com::sun::star::text::XTextContent Bookmark;
90
93 [optional, readonly, property]
94 ::com::sun::star::text::XTextContent DocumentIndexMark;
95
97 [optional, readonly, property]
98 ::com::sun::star::text::XTextContent ReferenceMark;
99
101 [optional, readonly, property]
102 ::com::sun::star::text::XFootnote Footnote;
103
105 [optional, readonly, property]
106 ::com::sun::star::text::XTextField TextField;
107
111 [optional, readonly, property]
112 ::com::sun::star::text::XTextContent InContentMetadata;
113
115 [optional, readonly, property] boolean IsCollapsed;
116
122 [optional, readonly, property] boolean IsStart;
123
124};
125
126
127}; }; }; };
128
129/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::text::XFootnote
specifies a footnote within a Text.
Definition: XFootnote.idl:27
com::sun::star::text::XTextContent
enables objects to be inserted into a text and to provide their location in a text once they are inse...
Definition: XTextContent.idl:29
com::sun::star::text::XTextField
is the base interface for all text fields.
Definition: XTextField.idl:34
com
Definition: Ambiguous.idl:20
com::sun::star::text::TextPortion
A TextPortion is a piece of text within a paragraph that does not contain changes of its attributes i...
Definition: TextPortion.idl:38
com::sun::star::text::TextPortion::Bookmark
::com::sun::star::text::XTextContent Bookmark
contains the bookmark of a text portion of type Bookmark.
Definition: TextPortion.idl:89
com::sun::star::text::TextPortion::DocumentIndexMark
::com::sun::star::text::XTextContent DocumentIndexMark
contains the document index mark of a text portion of type DocumentIndexMark.
Definition: TextPortion.idl:94
com::sun::star::text::TextPortion::IsCollapsed
boolean IsCollapsed
contains whether the portion is a point only.
Definition: TextPortion.idl:115
com::sun::star::text::TextPortion::TextPortionType
string TextPortionType
contains the type of the text portion.
Definition: TextPortion.idl:53
com::sun::star::text::TextPortion::ReferenceMark
::com::sun::star::text::XTextContent ReferenceMark
contains the bookmark of a text portion of type ReferenceMark.
Definition: TextPortion.idl:98
com::sun::star::text::TextPortion::IsStart
boolean IsStart
contains whether the portion is the start of the portion.
Definition: TextPortion.idl:122
com::sun::star::text::TextPortion::InContentMetadata
::com::sun::star::text::XTextContent InContentMetadata
contains the text range of a text portion of type InContentMetadata.
Definition: TextPortion.idl:112
com::sun::star::text::TextPortion::Footnote
::com::sun::star::text::XFootnote Footnote
contains the footnote of a text portion of type Footnote.
Definition: TextPortion.idl:102
com::sun::star::text::TextPortion::ControlCharacter
short ControlCharacter
contains the control character of a text portion of type ControlCharacter.
Definition: TextPortion.idl:85
com::sun::star::text::TextPortion::TextField
::com::sun::star::text::XTextField TextField
contains the text field of a text portion of type TextField.
Definition: TextPortion.idl:106