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:210
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XOptions > SwVbaOptions_BASE
Definition: vbaoptions.hxx:26
virtual void setValueEvent(const css::uno::Any &value) override
Definition: vbaoptions.cxx:94
virtual OUString getServiceImplName() override
Definition: vbaoptions.cxx:261
virtual void SAL_CALL setAutoFormatAsYouTypeApplyNumberedLists(sal_Bool _autoformatasyoutypeapplynumberedlists) override
Definition: vbaoptions.cxx:205
virtual void SAL_CALL setReplaceSelection(sal_Bool _replaceselection) override
Definition: vbaoptions.cxx:165
virtual ::sal_Int32 SAL_CALL getDefaultBorderColorIndex() override
Definition: vbaoptions.cxx:150
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeDefineStyles() override
Definition: vbaoptions.cxx:220
virtual void SAL_CALL setAutoFormatApplyHeadings(sal_Bool _autoformatapplyheadings) override
Definition: vbaoptions.cxx:235
virtual void SAL_CALL setAutoFormatApplyBulletedLists(sal_Bool _autoformatapplybulletedlists) override
Definition: vbaoptions.cxx:255
SwVbaOptions(css::uno::Reference< css::uno::XComponentContext > const &m_xContext)
Definition: vbaoptions.cxx:35
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyNumberedLists() override
Definition: vbaoptions.cxx:200
virtual void SAL_CALL setAutoFormatApplyLists(sal_Bool _autoformatapplylists) override
Definition: vbaoptions.cxx:245
virtual void SAL_CALL setMapPaperSize(sal_Bool _mappapersize) override
Definition: vbaoptions.cxx:175
OUString msDefaultFilePath
Definition: vbaoptions.hxx:32
virtual css::uno::Sequence< OUString > getServiceNames() override
Definition: vbaoptions.cxx:267
virtual sal_Bool SAL_CALL getMapPaperSize() override
Definition: vbaoptions.cxx:170
virtual void SAL_CALL setDefaultBorderLineWidth(::sal_Int32 _defaultborderlinewidth) override
Definition: vbaoptions.cxx:145
virtual sal_Bool SAL_CALL getAutoFormatApplyHeadings() override
Definition: vbaoptions.cxx:230
virtual sal_Bool SAL_CALL getAutoFormatApplyBulletedLists() override
Definition: vbaoptions.cxx:250
virtual ::sal_Int32 SAL_CALL getDefaultBorderLineStyle() override
Definition: vbaoptions.cxx:130
virtual void SAL_CALL setAutoFormatAsYouTypeDefineStyles(sal_Bool _autoformatasyoutypedefinestyles) override
Definition: vbaoptions.cxx:225
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyHeadings() override
Definition: vbaoptions.cxx:180
virtual css::uno::Any getValueEvent() override
Definition: vbaoptions.cxx:113
unsigned char sal_Bool
virtual void SAL_CALL setDefaultBorderColorIndex(::sal_Int32 _defaultbordercolorindex) override
Definition: vbaoptions.cxx:155
virtual void SAL_CALL setAutoFormatAsYouTypeApplyHeadings(sal_Bool _autoformatasyoutypeapplyheadings) override
Definition: vbaoptions.cxx:185
virtual sal_Bool SAL_CALL getReplaceSelection() override
Definition: vbaoptions.cxx:160
virtual void SAL_CALL setAutoFormatAsYouTypeApplyBulletedLists(sal_Bool _autoformatasyoutypeapplybulletedlists) override
Definition: vbaoptions.cxx:195
virtual void SAL_CALL setDefaultBorderLineStyle(::sal_Int32 _defaultborderlinestyle) override
Definition: vbaoptions.cxx:135
virtual void SAL_CALL setAutoFormatAsYouTypeFormatListItemBeginning(sal_Bool _autoformatasyoutypeformatlistitembeginning) override
Definition: vbaoptions.cxx:215
virtual sal_Bool SAL_CALL getAutoFormatApplyLists() override
Definition: vbaoptions.cxx:240
virtual ~SwVbaOptions() override
Definition: vbaoptions.cxx:39
virtual sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyBulletedLists() override
Definition: vbaoptions.cxx:190
virtual css::uno::Any SAL_CALL DefaultFilePath(sal_Int32 _path) override
Definition: vbaoptions.cxx:44
virtual ::sal_Int32 SAL_CALL getDefaultBorderLineWidth() override
Definition: vbaoptions.cxx:140