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

LibreOffice LibreOffice 7.3 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
39published 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: */
FormButtonType.idl
FormControlModel.idl
UnoControlButtonModel.idl
XApproveActionBroadcaster.idl
XImageProducerSupplier.idl
XReset.idl
com::sun::star::form::XImageProducerSupplier
provides the access to an image producer.
Definition: XImageProducerSupplier.idl:36
com::sun::star::form::FormButtonType
FormButtonType
specifies the action to execute when a button is pressed.
Definition: FormButtonType.idl:31
com
Definition: Accessible.idl:22
com::sun::star::awt::UnoControlButtonModel
specifies the standard model of a UnoControlButton.
Definition: UnoControlButtonModel.idl:36
com::sun::star::form::FormControlModel
specifies a control model within a form.
Definition: FormControlModel.idl:40
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:40
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::component::CommandButton::DefaultState
boolean DefaultState
specifies the default toggle state for the button, used when it is reset.
Definition: CommandButton.idl:87
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
com::sun::star::form::component::CommandButton::ButtonType
com::sun::star::form::FormButtonType ButtonType
describes the action to be executed by the button when pressed.
Definition: CommandButton.idl:54