tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / text / TextRange.idl
blob8a0c392a24e3f6bfd8e7566ce01b0677efb58aa8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 module com { module sun { module star { module text {
24 /** points to a sequence of characters within a Text.
26 <p>The service provides access to the string content and the properties
27 of this range of text and the TextContent instances which
28 are bound to this text range. </p>
30 <p>A TextRange is also used for a <i>text portion</i> which is
31 returned by the com::sun::star::container::XEnumeration
32 for a single paragraph. Because this is the mechanism to use to export
33 data, all formatting attributes and contents bound to this range have
34 to be available from implementations of this service. </p>
36 @see Text
38 published service TextRange
40 interface com::sun::star::text::XTextRange;
42 interface com::sun::star::beans::XPropertySet;
44 interface com::sun::star::beans::XPropertyState;
46 [optional] interface com::sun::star::container::XContentEnumerationAccess;
48 service com::sun::star::style::CharacterProperties;
50 [optional] service com::sun::star::style::CharacterPropertiesAsian;
52 [optional] service com::sun::star::style::CharacterPropertiesComplex;
54 service com::sun::star::style::ParagraphProperties;
56 [optional] service com::sun::star::style::ParagraphPropertiesAsian;
58 [optional] service com::sun::star::style::ParagraphPropertiesComplex;
62 }; }; }; };
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */