Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / offapi / com / sun / star / chart / ChartTitle.idl
blobae36db2f8e1c29e73b7b060bf8e33721f2bc7147
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 chart {
24 /** specifies titles in a chart.
26 <p>In a chart there may be the following titles: the main title,
27 the sub title, and axis titles of the x- and y-axis.</p>
29 published service ChartTitle
31 service com::sun::star::drawing::Shape;
34 /** If this property is `TRUE` the position is calculated by the application automatically.
35 Setting this property to false will have no effect. Instead use the interface com::sun::star::drawing::XShape
36 to set a concrete position.
38 [optional, property] boolean AutomaticPosition;
41 /** If a ChartTitle may be stored as XML element,
42 this service should be supported in order to preserve unparsed
43 XML attributes.
45 @since OOo 1.1.2
47 [optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
50 /** specifies the rotation of the shape in 100th of degrees.
52 <p>Especially in three-dimensional charts, this property comes
53 in handy if you want to align the axis titles with the axis,
54 which are usually not vertical or horizontal in the
55 two-dimensional projection.</p>
57 [property] long TextRotation;
60 /** contains the text of the title.
62 <p>Note that you cannot change attributes of parts of a
63 title, e.g., put one word in bold characters. All formatting
64 affects the entire string.</p>
66 [property] string String;
71 }; }; }; };
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */