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_awt_UnoControlRoadmapModel_idl__
20 #define __com_sun_star_awt_UnoControlRoadmapModel_idl__
23 #include
<com
/sun
/star
/awt
/UnoControlModel.idl
>
24 #include
<com
/sun
/star
/container
/XIndexContainer.idl
>
25 #include
<com
/sun
/star
/beans
/XPropertyChangeListener.idl
>
26 #include
<com
/sun
/star
/graphic
/XGraphic.idl
>
29 module com
{ module sun
{ module star
{ module awt
{
32 /** specifies the standard model of an UnoControlContainer.
34 service UnoControlRoadmapModel
36 service com
::sun
::star
::awt
::UnoControlModel
;
38 /** The control serves as an indexed container typically for RoadmapItems
39 as specified in com::sun::star::awt:RoadmapItem. The RoadmapItems are
41 When inserting such items their ID is set equal to the Index of their
43 After removing items the CurrentItem property is - when beyond the upper sequence
44 boundaries - set equal to last index of the RoadmapItem Array.
46 interface com
::sun
::star
::container
::XIndexContainer
;
50 /** specifies the background color (RGB) of the control.
51 The Default value is white
53 [property
] long BackgroundColor
;
56 /** determines whether the control is interactive or not.
58 <p>A roadmap control which is interactive allows selecting its items out-of-order,
59 by simply clicking them.</p>
61 [property
] boolean Interactive
;
64 /** determines whether the control container is complete or not. If it is
65 false than a non - interactive RoadmapItem is appended
67 [property
] boolean Complete
;
71 /** specifies an URL to an image to use for the control.
72 The image is placed in the lower right corner of the control
75 [property
] string ImageURL
;
78 /** specifies a graphic to be displayed on the control
80 <p>If this property is present, it interacts with the #ImageURL in the
82 <ul><li>If #ImageURL is set, #Graphic will be reset
83 to an object as loaded from the given image URL, or `NULL` if #ImageURL
84 does not point to a valid image file.</li>
85 <li>If #Graphic is set, #ImageURL will be reset
86 to an empty string.</li>
91 [optional, property
, transient
] com
::sun
::star
::graphic
::XGraphic Graphic
;
94 /** specifies the border style of the control.
102 [property
] short Border
;
105 /** specifies whether the control will be printed with the document.
107 [property
] boolean Printable
;
110 /** specifies the text displayed in the control.
112 [property
] string Text
;
115 /** refers to the ID of the currently selected item. Initially this property is set to "-1"
116 which is equal to "undefined"
117 If the Roadmap Item that the CurrentItemID refers to is removed the property
118 "CurrentItemID" is set to -1
120 [property
] short CurrentItemID
;
124 /** specifies the help text of the control.
126 [property
] string HelpText
;
130 /** specifies the help URL of the control.
132 [property
] string HelpURL
;
141 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */