LibreOffice
LibreOffice 24.2 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 
20 
21 
22  module com { module sun { module star { module form { module component {
23 
24 
30 published service CommandButton
31 {
33 
35 
46 
47 
50  [property] com::sun::star::form::FormButtonType ButtonType;
51 
59  [property] string TargetFrame;
60 
67  [property] string TargetURL;
68 
78  [optional, property] boolean DefaultState;
79 
89  [optional] interface ::com::sun::star::form::XReset;
90 };
91 
92 
93 }; }; }; }; };
94 
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
specifies the control model for a clickable button which is part of a form component hierarchy...
Definition: CommandButton.idl:30
specifies a control model within a form.
Definition: FormControlModel.idl:29
Definition: Ambiguous.idl:20
string TargetFrame
describes the frame, where to open the document specified by the TargetURL.
Definition: CommandButton.idl:59
provides the access to an image producer.
Definition: XImageProducerSupplier.idl:29
specifies the standard model of a UnoControlButton.
Definition: UnoControlButtonModel.idl:27
boolean DefaultState
specifies the default toggle state for the button, used when it is reset.
Definition: CommandButton.idl:78
string TargetURL
specifies the URL, which should be opened if the button was clicked.
Definition: CommandButton.idl:67
FormButtonType
specifies the action to execute when a button is pressed.
Definition: FormButtonType.idl:28