LibreOffice Module sw (master) 1
vbaoptions.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 * 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#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAOPTIONS_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBAOPTIONS_HXX
21
22#include <ooo/vba/word/XOptions.hpp>
25
27
29 public PropListener
30{
31private:
33public:
34 explicit SwVbaOptions( css::uno::Reference< css::uno::XComponentContext > const & m_xContext );
35 virtual ~SwVbaOptions() override;
36
37 // Attributes
38 virtual ::sal_Int32 SAL_CALL getDefaultBorderLineStyle() override;
39 virtual void SAL_CALL setDefaultBorderLineStyle( ::sal_Int32 _defaultborderlinestyle ) override;
40 virtual ::sal_Int32 SAL_CALL getDefaultBorderLineWidth() override;
41 virtual void SAL_CALL setDefaultBorderLineWidth( ::sal_Int32 _defaultborderlinewidth ) override;
42 virtual ::sal_Int32 SAL_CALL getDefaultBorderColorIndex() override;
43 virtual void SAL_CALL setDefaultBorderColorIndex( ::sal_Int32 _defaultbordercolorindex ) override;
44 virtual sal_Bool SAL_CALL getReplaceSelection() override;
45 virtual void SAL_CALL setReplaceSelection( sal_Bool _replaceselection ) override;
46 virtual sal_Bool SAL_CALL getMapPaperSize() override;
47 virtual void SAL_CALL setMapPaperSize( sal_Bool _mappapersize ) override;
48 virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyHeadings() override;
49 virtual void SAL_CALL setAutoFormatAsYouTypeApplyHeadings( sal_Bool _autoformatasyoutypeapplyheadings ) override;
50 virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyBulletedLists() override;
51 virtual void SAL_CALL setAutoFormatAsYouTypeApplyBulletedLists( sal_Bool _autoformatasyoutypeapplybulletedlists ) override;
52 virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyNumberedLists() override;
53 virtual void SAL_CALL setAutoFormatAsYouTypeApplyNumberedLists( sal_Bool _autoformatasyoutypeapplynumberedlists ) override;
55 virtual void SAL_CALL setAutoFormatAsYouTypeFormatListItemBeginning( sal_Bool _autoformatasyoutypeformatlistitembeginning ) override;
56 virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeDefineStyles() override;
57 virtual void SAL_CALL setAutoFormatAsYouTypeDefineStyles( sal_Bool _autoformatasyoutypedefinestyles ) override;
58 virtual sal_Bool SAL_CALL getAutoFormatApplyHeadings() override;
59 virtual void SAL_CALL setAutoFormatApplyHeadings( sal_Bool _autoformatapplyheadings ) override;
60 virtual sal_Bool SAL_CALL getAutoFormatApplyLists() override;
61 virtual void SAL_CALL setAutoFormatApplyLists( sal_Bool _autoformatapplylists ) override;
62 virtual sal_Bool SAL_CALL getAutoFormatApplyBulletedLists() override;
63 virtual void SAL_CALL setAutoFormatApplyBulletedLists( sal_Bool _autoformatapplybulletedlists ) override;
64
65 // Methods
66 virtual css::uno::Any SAL_CALL DefaultFilePath( sal_Int32 _path ) override;
67
68 //PropListener
69 virtual void setValueEvent( const css::uno::Any& value ) override;
70 virtual css::uno::Any getValueEvent() override;
71
72 // XHelperInterface
73 virtual OUString getServiceImplName() override;
74 virtual css::uno::Sequence<OUString> getServiceNames() override;
75};
76#endif // INCLUDED_SW_SOURCE_UI_VBA_VBAOPTIONS_HXX
77
78/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual sal_Bool SAL_CALL getReplaceSelection() override
Definition: vbaoptions.cxx:158
OUString msDefaultFilePath
Definition: vbaoptions.hxx:32
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeDefineStyles() override
Definition: vbaoptions.cxx:218
virtual void setValueEvent(const css::uno::Any &value) override
Definition: vbaoptions.cxx:92
virtual void SAL_CALL setAutoFormatAsYouTypeDefineStyles(sal_Bool _autoformatasyoutypedefinestyles) override
Definition: vbaoptions.cxx:223
virtual void SAL_CALL setDefaultBorderColorIndex(::sal_Int32 _defaultbordercolorindex) override
Definition: vbaoptions.cxx:153
virtual void SAL_CALL setAutoFormatApplyBulletedLists(sal_Bool _autoformatapplybulletedlists) override
Definition: vbaoptions.cxx:253
virtual OUString getServiceImplName() override
Definition: vbaoptions.cxx:259
virtual ::sal_Int32 SAL_CALL getDefaultBorderLineStyle() override
Definition: vbaoptions.cxx:128
virtual css::uno::Sequence< OUString > getServiceNames() override
Definition: vbaoptions.cxx:265
virtual sal_Bool SAL_CALL getMapPaperSize() override
Definition: vbaoptions.cxx:168
SwVbaOptions(css::uno::Reference< css::uno::XComponentContext > const &m_xContext)
Definition: vbaoptions.cxx:33
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyHeadings() override
Definition: vbaoptions.cxx:178
virtual void SAL_CALL setAutoFormatAsYouTypeFormatListItemBeginning(sal_Bool _autoformatasyoutypeformatlistitembeginning) override
Definition: vbaoptions.cxx:213
virtual void SAL_CALL setAutoFormatApplyHeadings(sal_Bool _autoformatapplyheadings) override
Definition: vbaoptions.cxx:233
virtual void SAL_CALL setAutoFormatAsYouTypeApplyNumberedLists(sal_Bool _autoformatasyoutypeapplynumberedlists) override
Definition: vbaoptions.cxx:203
virtual void SAL_CALL setMapPaperSize(sal_Bool _mappapersize) override
Definition: vbaoptions.cxx:173
virtual void SAL_CALL setDefaultBorderLineStyle(::sal_Int32 _defaultborderlinestyle) override
Definition: vbaoptions.cxx:133
virtual sal_Bool SAL_CALL getAutoFormatApplyBulletedLists() override
Definition: vbaoptions.cxx:248
virtual css::uno::Any getValueEvent() override
Definition: vbaoptions.cxx:111
virtual ~SwVbaOptions() override
Definition: vbaoptions.cxx:37
virtual css::uno::Any SAL_CALL DefaultFilePath(sal_Int32 _path) override
Definition: vbaoptions.cxx:42
virtual void SAL_CALL setAutoFormatAsYouTypeApplyHeadings(sal_Bool _autoformatasyoutypeapplyheadings) override
Definition: vbaoptions.cxx:183
virtual sal_Bool SAL_CALL getAutoFormatApplyHeadings() override
Definition: vbaoptions.cxx:228
virtual ::sal_Int32 SAL_CALL getDefaultBorderColorIndex() override
Definition: vbaoptions.cxx:148
virtual void SAL_CALL setReplaceSelection(sal_Bool _replaceselection) override
Definition: vbaoptions.cxx:163
virtual ::sal_Int32 SAL_CALL getDefaultBorderLineWidth() override
Definition: vbaoptions.cxx:138
virtual sal_Bool SAL_CALL getAutoFormatApplyLists() override
Definition: vbaoptions.cxx:238
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyBulletedLists() override
Definition: vbaoptions.cxx:188
virtual void SAL_CALL setAutoFormatAsYouTypeApplyBulletedLists(sal_Bool _autoformatasyoutypeapplybulletedlists) override
Definition: vbaoptions.cxx:193
virtual void SAL_CALL setAutoFormatApplyLists(sal_Bool _autoformatapplylists) override
Definition: vbaoptions.cxx:243
virtual void SAL_CALL setDefaultBorderLineWidth(::sal_Int32 _defaultborderlinewidth) override
Definition: vbaoptions.cxx:143
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyNumberedLists() override
Definition: vbaoptions.cxx:198
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeFormatListItemBeginning() override
Definition: vbaoptions.cxx:208
unsigned char sal_Bool
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XOptions > SwVbaOptions_BASE
Definition: vbaoptions.hxx:26