tdf#151548 vba FormFields: Add basic word::XCheckBox support
[LibreOffice.git] / oovbaapi / ooo / vba / word / XCheckBox.idl
blobf1eb13a19c54ac0f7bf23e500bb345b46e2bfc7d
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 module ooo { module vba { module word {
22 interface XCheckBox
24 interface ooo::vba::XHelperInterface;
25 interface com::sun::star::script::XDefaultProperty;
27 /// Default member: True if the specified form field object is a valid check box form field.
28 [attribute, readonly] boolean Valid;
30 /** AutoSize:
31 * True sizes the check box or text frame according to the font size of the surrounding text.
32 * False sizes the check box or text frame according to the Size property.
34 [attribute] boolean AutoSize;
35 /// Returns or sets the default check box value. True if the default value is checked.
36 [attribute] boolean Default;
37 /// Returns or sets the size of a check box, in points.
38 [attribute] long Size;
39 /// Returns or sets true if the check box is ticked.
40 [attribute] boolean Value;
43 }; }; };
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */