cool#10610 Ensure the parent-child relations of comments.
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XButton.idl
blob5bb2414f9f801826f9b4e3a7f71b11511235398b
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 /* 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. */
24 module ooo { module vba { module excel {
26 /** Additional attributes for a push button drawing control (this interface
27 does not belong to ActiveX form controls).
29 interface XButton : com::sun::star::uno::XInterface
31 /** Visible caption of the button. */
32 [attribute] string Caption;
34 /** Font settings for the entire caption text. */
35 [attribute] XFont Font;
37 /** Horizontal alignment of the caption. */
38 [attribute] long HorizontalAlignment;
40 /** Vertical alignment of the caption. */
41 [attribute] long VerticalAlignment;
43 /** Orientation (rotation) of the text. Must be a value from
44 ooo::vba::excel::XlOrientation. */
45 [attribute] long Orientation;
47 /** OptionButton only hack - are we checked */
48 [attribute] any Value;
50 /** OptionButton only hack - another way to get the text */
51 [attribute] string Text;
53 /** Access to text and text formatting of the button caption. */
54 XCharacters Characters( [in] any Start, [in] any Length );
57 }; }; };
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */