Debian Codegraph @

oovbaapi/ooo/vba/excel/XButton.idl

raw
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 /* Note: This is a compatibility interface for drawing objects and drawing
21 controls embedded in sheets. All these symbols are deprecated
22 in VBA and kept for compatibility with old VBA scripts. */
23
24 module ooo { module vba { module excel {
25
26 /** Additional attributes for a push button drawing control (this interface
27 does not belong to ActiveX form controls).
28 */
29 interface XButton : com::sun::star::uno::XInterface
30 {
31 /** Visible caption of the button. */
32 [attribute] string Caption;
33
34 /** Font settings for the entire caption text. */
35 [attribute] XFont Font;
36
37 /** Horizontal alignment of the caption. */
38 [attribute] long HorizontalAlignment;
39
40 /** Vertical alignment of the caption. */
41 [attribute] long VerticalAlignment;
42
43 /** Orientation (rotation) of the text. Must be a value from
44 ooo::vba::excel::XlOrientation. */
45 [attribute] long Orientation;
46
47 /** OptionButton only hack - are we checked */
48 [attribute] any Value;
49
50 /** OptionButton only hack - another way to get the text */
51 [attribute] string Text;
52
53 /** Access to text and text formatting of the button caption. */
54 XCharacters Characters( [in] any Start, [in] any Length );
55 };
56
57 }; }; };
58
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */