1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
19 #ifndef com_sun_star_chart2_Title_idl
20 #define com_sun_star_chart2_Title_idl
22 #include
<com
/sun
/star
/style
/ParagraphProperties.idl
>
23 #include
<com
/sun
/star
/chart2
/XTitle.idl
>
24 #include
<com
/sun
/star
/chart2
/RelativePosition.idl
>
25 #include
<com
/sun
/star
/beans
/PropertySet.idl
>
26 #include
<com
/sun
/star
/drawing
/LineProperties.idl
>
27 #include
<com
/sun
/star
/drawing
/FillProperties.idl
>
28 //FIXME does not exist <com/sun/star/layout/LayoutElement.idl>
41 /** only mandatory properties
43 service
::com
::sun
::star
::style
::ParagraphProperties
;
44 service
::com
::sun
::star
::drawing
::FillProperties
;
45 service
::com
::sun
::star
::drawing
::LineProperties
;
46 service
::com
::sun
::star
::beans
::PropertySet
;
47 //FIXME [optional] service ::com::sun::star::layout::LayoutElement;
53 /** the rotation of the title's text in degrees in the range
56 [property
] double TextRotation
;
58 /** writes the characters of the title on top of each other if set
61 [property
] boolean StackCharacters
;
63 /** The position is a relative position on the page.
65 <p>If a relative position is given the title is not automatically placed,
66 but instead is placed relative on the page.</p>
68 [property
, maybevoid
] ::com
::sun
::star
::chart2
::RelativePosition RelativePosition
;
71 /** contains the size of the page at the time when properties were
72 set (e.g. the CharHeight).
74 <p>This way it is possible to resize objects (like text) in
75 the view without modifying the model.</p>
77 [property
, maybevoid
] com
::sun
::star
::awt
::Size ReferencePageSize
;
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */