LibreOffice Module sw (master) 1
vbaformfielddropdownlistentry.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/XListEntry.hpp>
12
14
16
19
21{
22private:
24 // All LO and internal UNO functions are 0-based. Convert to 1-based when sending to VBA
25 const sal_Int32 m_nZIndex;
26
27public:
30 const css::uno::Reference<ooo::vba::XHelperInterface>& rParent,
31 const css::uno::Reference<css::uno::XComponentContext>& rContext,
32 sw::mark::IDropdownFieldmark& rFormField, sal_Int32 nZIndex);
34
35 // XListEntry
36 sal_Int32 SAL_CALL getIndex() override;
37
38 OUString SAL_CALL getName() override;
39 void SAL_CALL setName(const OUString& sSet) override;
40
41 void SAL_CALL Delete() override;
42
43 // XHelperInterface
44 OUString getServiceImplName() override;
45 css::uno::Sequence<OUString> getServiceNames() override;
46};
47
48/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SAL_CALL setName(const OUString &sSet) override
css::uno::Sequence< OUString > getServiceNames() override
SwVbaFormFieldDropDownListEntry(const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, sw::mark::IDropdownFieldmark &rFormField, sal_Int32 nZIndex)
sw::mark::IDropdownFieldmark & m_rDropDown
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XListEntry > SwVbaFormFieldDropDownListEntry_BASE