LibreOffice Module sw (master)  1
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
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 .
18  */
22 #include <ooo/vba/word/XOptions.hpp>
29  public PropListener
30 {
31 private:
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;
75 };
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeFormatListItemBeginning() override
Definition: vbaoptions.cxx:208
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XOptions > SwVbaOptions_BASE
Definition: vbaoptions.hxx:26
virtual void setValueEvent(const css::uno::Any &value) override
Definition: vbaoptions.cxx:92
virtual OUString getServiceImplName() override
Definition: vbaoptions.cxx:259
virtual void SAL_CALL setAutoFormatAsYouTypeApplyNumberedLists(sal_Bool _autoformatasyoutypeapplynumberedlists) override
Definition: vbaoptions.cxx:203
virtual void SAL_CALL setReplaceSelection(sal_Bool _replaceselection) override
Definition: vbaoptions.cxx:163
virtual ::sal_Int32 SAL_CALL getDefaultBorderColorIndex() override
Definition: vbaoptions.cxx:148
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeDefineStyles() override
Definition: vbaoptions.cxx:218
virtual void SAL_CALL setAutoFormatApplyHeadings(sal_Bool _autoformatapplyheadings) override
Definition: vbaoptions.cxx:233
virtual void SAL_CALL setAutoFormatApplyBulletedLists(sal_Bool _autoformatapplybulletedlists) override
Definition: vbaoptions.cxx:253
SwVbaOptions(css::uno::Reference< css::uno::XComponentContext > const &m_xContext)
Definition: vbaoptions.cxx:33
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyNumberedLists() override
Definition: vbaoptions.cxx:198
virtual void SAL_CALL setAutoFormatApplyLists(sal_Bool _autoformatapplylists) override
Definition: vbaoptions.cxx:243
virtual void SAL_CALL setMapPaperSize(sal_Bool _mappapersize) override
Definition: vbaoptions.cxx:173
OUString msDefaultFilePath
Definition: vbaoptions.hxx:32
virtual css::uno::Sequence< OUString > getServiceNames() override
Definition: vbaoptions.cxx:265
virtual sal_Bool SAL_CALL getMapPaperSize() override
Definition: vbaoptions.cxx:168
virtual void SAL_CALL setDefaultBorderLineWidth(::sal_Int32 _defaultborderlinewidth) override
Definition: vbaoptions.cxx:143
virtual sal_Bool SAL_CALL getAutoFormatApplyHeadings() override
Definition: vbaoptions.cxx:228
virtual sal_Bool SAL_CALL getAutoFormatApplyBulletedLists() override
Definition: vbaoptions.cxx:248
virtual ::sal_Int32 SAL_CALL getDefaultBorderLineStyle() override
Definition: vbaoptions.cxx:128
virtual void SAL_CALL setAutoFormatAsYouTypeDefineStyles(sal_Bool _autoformatasyoutypedefinestyles) override
Definition: vbaoptions.cxx:223
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyHeadings() override
Definition: vbaoptions.cxx:178
virtual css::uno::Any getValueEvent() override
Definition: vbaoptions.cxx:111
unsigned char sal_Bool
virtual void SAL_CALL setDefaultBorderColorIndex(::sal_Int32 _defaultbordercolorindex) override
Definition: vbaoptions.cxx:153
virtual void SAL_CALL setAutoFormatAsYouTypeApplyHeadings(sal_Bool _autoformatasyoutypeapplyheadings) override
Definition: vbaoptions.cxx:183
virtual sal_Bool SAL_CALL getReplaceSelection() override
Definition: vbaoptions.cxx:158
virtual void SAL_CALL setAutoFormatAsYouTypeApplyBulletedLists(sal_Bool _autoformatasyoutypeapplybulletedlists) override
Definition: vbaoptions.cxx:193
virtual void SAL_CALL setDefaultBorderLineStyle(::sal_Int32 _defaultborderlinestyle) override
Definition: vbaoptions.cxx:133
virtual void SAL_CALL setAutoFormatAsYouTypeFormatListItemBeginning(sal_Bool _autoformatasyoutypeformatlistitembeginning) override
Definition: vbaoptions.cxx:213
virtual sal_Bool SAL_CALL getAutoFormatApplyLists() override
Definition: vbaoptions.cxx:238
virtual ~SwVbaOptions() override
Definition: vbaoptions.cxx:37
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyBulletedLists() override
Definition: vbaoptions.cxx:188
virtual css::uno::Any SAL_CALL DefaultFilePath(sal_Int32 _path) override
Definition: vbaoptions.cxx:42
virtual ::sal_Int32 SAL_CALL getDefaultBorderLineWidth() override
Definition: vbaoptions.cxx:138