LibreOffice Module sw (master) 1
vbaformfieldcheckbox.hxx
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#pragma once
10
11#include <ooo/vba/word/XCheckBox.hpp>
12
14
16
18
20{
21private:
23
24public:
26 SwVbaFormFieldCheckBox(const css::uno::Reference<ooo::vba::XHelperInterface>& rParent,
27 const css::uno::Reference<css::uno::XComponentContext>& rContext,
28 sw::mark::IFieldmark& rFormField);
29 ~SwVbaFormFieldCheckBox() override;
30
31 // XCheckBox
32 OUString SAL_CALL getDefaultPropertyName() override;
33
34 // Default member: True if the specified form field object is a valid check box form field
35 sal_Bool SAL_CALL getValid() override;
36
37 sal_Bool SAL_CALL getAutoSize() override;
38 void SAL_CALL setAutoSize(sal_Bool bSet) override;
39 // Returns the default check box value
40 sal_Bool SAL_CALL getDefault() override;
41 void SAL_CALL setDefault(sal_Bool bSet) override;
42 // Returns the size of a check box, in points
43 sal_Int32 SAL_CALL getSize() override;
44 void SAL_CALL setSize(sal_Int32 nSet) override;
45
46 sal_Bool SAL_CALL getValue() override;
47 void SAL_CALL setValue(sal_Bool bSet) override;
48
49 // XHelperInterface
50 OUString getServiceImplName() override;
51 css::uno::Sequence<OUString> getServiceNames() override;
52};
53
54/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Bool SAL_CALL getDefault() override
SwVbaFormFieldCheckBox(const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, sw::mark::IFieldmark &rFormField)
CheckBoxes are inline text objects that are only found in MS Word.
sal_Bool SAL_CALL getAutoSize() override
void SAL_CALL setAutoSize(sal_Bool bSet) override
css::uno::Sequence< OUString > getServiceNames() override
void SAL_CALL setSize(sal_Int32 nSet) override
void SAL_CALL setValue(sal_Bool bSet) override
OUString getServiceImplName() override
sw::mark::ICheckboxFieldmark * m_pCheckBox
sal_Bool SAL_CALL getValid() override
void SAL_CALL setDefault(sal_Bool bSet) override
OUString SAL_CALL getDefaultPropertyName() override
sal_Bool SAL_CALL getValue() override
sal_Int32 SAL_CALL getSize() override
unsigned char sal_Bool
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XCheckBox > SwVbaFormFieldCheckBox_BASE