lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XButton.idl
blob03ca15b0072f057def28b668788a458849baaed0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef __ooo_vba_excel_XButton_idl__
21 #define __ooo_vba_excel_XButton_idl__
23 #include <ooo/vba/excel/XFont.idl>
24 #include <ooo/vba/excel/XCharacters.idl>
26 /* Note: This is a compatibility interface for drawing objects and drawing
27 controls embedded in sheets. All these symbols are deprecated
28 in VBA and kept for compatibility with old VBA scripts. */
30 module ooo { module vba { module excel {
32 /** Additional attributes for a push button drawing control (this interface
33 does not belong to ActiveX form controls).
35 interface XButton : com::sun::star::uno::XInterface
37 /** Visible caption of the button. */
38 [attribute] string Caption;
40 /** Font settings for the entire caption text. */
41 [attribute] XFont Font;
43 /** Horizontal alignment of the caption. */
44 [attribute] long HorizontalAlignment;
46 /** Vertical alignment of the caption. */
47 [attribute] long VerticalAlignment;
49 /** Orientation (rotation) of the text. Must be a value from
50 ooo::vba::excel::XlOrientation. */
51 [attribute] long Orientation;
53 /** OptionButton only hack - are we checked */
54 [attribute] any Value;
56 /** OptionButton only hack - another way to get the text */
57 [attribute] string Text;
59 /** Access to text and text formatting of the button caption. */
60 XCharacters Characters( [in] any Start, [in] any Length );
63 }; }; };
65 #endif
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */