LibreOffice: com/sun/star/form/component/CommandButton.idl Source File

LibreOffice LibreOffice 6.0 SDK API Reference

CommandButton.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 #ifndef __com_sun_star_form_component_CommandButton_idl__
20 #define __com_sun_star_form_component_CommandButton_idl__
21
22 #include <com/sun/star/form/FormControlModel.idl>
23 #include <com/sun/star/awt/UnoControlButtonModel.idl>
24 #include <com/sun/star/form/XImageProducerSupplier.idl>
25 #include <com/sun/star/form/XApproveActionBroadcaster.idl>
26 #include <com/sun/star/form/FormButtonType.idl>
27 #include <com/sun/star/form/XReset.idl>
28
29
30
31 module com { module sun { module star { module form { module component {
32
33
39 published service CommandButton
40 {
41 service com::sun::star::awt::UnoControlButtonModel;
42
43 service com::sun::star::form::FormControlModel;
44
54 interface com::sun::star::form::XImageProducerSupplier;
55
56
59 [property] com::sun::star::form::FormButtonType ButtonType;
60
68 [property] string TargetFrame;
69
76 [property] string TargetURL;
77
87 [optional, property] boolean DefaultState;
88
98 [optional] interface ::com::sun::star::form::XReset;
99 };
100
101
102 }; }; }; }; };
103
104 #endif
105
106 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XApproveActionBroadcaster.idl
UnoControlButtonModel.idl
com::sun::star::form::component::CommandButton
specifies the control model for a clickable button which is part of a form component hierarchy.
Definition: CommandButton.idl:39
com::sun::star::form::FormControlModel
specifies a control model within a form.
Definition: FormControlModel.idl:39
com
Definition: Ambiguous.idl:22
XImageProducerSupplier.idl
com::sun::star::form::component::CommandButton::TargetFrame
string TargetFrame
describes the frame, where to open the document specified by the TargetURL.
Definition: CommandButton.idl:68
com::sun::star::form::XImageProducerSupplier
provides the access to an image producer.
Definition: XImageProducerSupplier.idl:35
FormButtonType.idl
com::sun::star::awt::UnoControlButtonModel
specifies the standard model of an UnoControlButton.
Definition: UnoControlButtonModel.idl:35
com::sun::star::form::component::CommandButton::DefaultState
boolean DefaultState
specifies the default toggle state for the button, used when it is reset.
Definition: CommandButton.idl:87
FormControlModel.idl
com::sun::star::form::component::CommandButton::TargetURL
string TargetURL
specifies the URL, which should be opened if the button was clicked.
Definition: CommandButton.idl:76
XReset.idl
com::sun::star::form::FormButtonType
FormButtonType
specifies the action to execute when a button is pressed.
Definition: FormButtonType.idl:30