android: Update app-specific/MIME type icons
[LibreOffice.git] / sw / source / ui / vba / vbaoptions.hxx
blob92994d55894244ee3c2f9326fb8dd6e94780473a
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 .
19 #ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAOPTIONS_HXX
20 #define INCLUDED_SW_SOURCE_UI_VBA_VBAOPTIONS_HXX
22 #include <ooo/vba/word/XOptions.hpp>
23 #include <vbahelper/vbahelperinterface.hxx>
24 #include <vbahelper/vbapropvalue.hxx>
26 typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XOptions > SwVbaOptions_BASE;
28 class SwVbaOptions : public SwVbaOptions_BASE,
29 public PropListener
31 private:
32 OUString msDefaultFilePath;
33 public:
34 explicit SwVbaOptions( css::uno::Reference< css::uno::XComponentContext > const & m_xContext );
35 virtual ~SwVbaOptions() override;
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;
54 virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeFormatListItemBeginning() 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;
65 // Methods
66 virtual css::uno::Any SAL_CALL DefaultFilePath( sal_Int32 _path ) override;
68 //PropListener
69 virtual void setValueEvent( const css::uno::Any& value ) override;
70 virtual css::uno::Any getValueEvent() override;
72 // XHelperInterface
73 virtual OUString getServiceImplName() override;
74 virtual css::uno::Sequence<OUString> getServiceNames() override;
76 #endif // INCLUDED_SW_SOURCE_UI_VBA_VBAOPTIONS_HXX
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */