LCOV - code coverage report
Current view: top level - sw/source/ui/vba - vbalisthelper.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 3 0.0 %
Date: 2014-04-14 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : #ifndef INCLUDED_SW_SOURCE_UI_VBA_VBALISTHELPER_HXX
      10             : #define INCLUDED_SW_SOURCE_UI_VBA_VBALISTHELPER_HXX
      11             : 
      12             : #include <vbahelper/vbahelperinterface.hxx>
      13             : #include <com/sun/star/container/XIndexReplace.hpp>
      14             : #include <com/sun/star/container/XNameContainer.hpp>
      15             : #include <com/sun/star/text/XTextDocument.hpp>
      16             : #include <boost/shared_ptr.hpp>
      17             : 
      18             : class SwVbaListHelper;
      19             : typedef ::boost::shared_ptr< SwVbaListHelper > SwVbaListHelperRef;
      20             : 
      21           0 : class SwVbaListHelper
      22             : {
      23             : private:
      24             :     css::uno::Reference< css::text::XTextDocument > mxTextDocument;
      25             :     css::uno::Reference< css::container::XIndexReplace > mxNumberingRules;
      26             :     css::uno::Reference< css::container::XNameContainer > mxStyleFamily;
      27             :     css::uno::Reference< css::beans::XPropertySet > mxStyleProps;
      28             :     sal_Int32 mnGalleryType;
      29             :     sal_Int32 mnTemplateType;
      30             :     OUString msStyleName;
      31             : 
      32             :     void Init() throw( css::uno::RuntimeException );
      33             :     void CreateListTemplate() throw( css::uno::RuntimeException );
      34             :     void CreateBulletListTemplate() throw( css::uno::RuntimeException );
      35             :     void CreateNumberListTemplate() throw( css::uno::RuntimeException );
      36             :     void CreateOutlineNumberListTemplate() throw( css::uno::RuntimeException );
      37             :     void CreateOutlineNumberForType1() throw( css::uno::RuntimeException );
      38             :     void CreateOutlineNumberForType2() throw( css::uno::RuntimeException );
      39             :     void CreateOutlineNumberForType3() throw( css::uno::RuntimeException );
      40             :     void CreateOutlineNumberForType4() throw( css::uno::RuntimeException );
      41             :     void CreateOutlineNumberForType5() throw( css::uno::RuntimeException );
      42             :     void CreateOutlineNumberForType6() throw( css::uno::RuntimeException );
      43             :     void CreateOutlineNumberForType7() throw( css::uno::RuntimeException );
      44             : 
      45             : public:
      46             :     SwVbaListHelper( const css::uno::Reference< css::text::XTextDocument >& xTextDoc, sal_Int32 nGalleryType, sal_Int32 nTemplateType ) throw( css::uno::RuntimeException );
      47             : 
      48           0 :     sal_Int32 getGalleryType() const { return mnGalleryType; }
      49           0 :     css::uno::Reference< css::container::XIndexReplace > getNumberingRules() const { return mxNumberingRules; }
      50             :     css::uno::Any getPropertyValueWithNameAndLevel( sal_Int32 nLevel, const OUString& sName ) throw( css::uno::RuntimeException );
      51             :     void setPropertyValueWithNameAndLevel( sal_Int32 nLevel, const OUString& sName, const css::uno::Any& aValue ) throw( css::uno::RuntimeException );
      52             : 
      53             : };
      54             : 
      55             : #endif // INCLUDED_SW_SOURCE_UI_VBA_VBALISTHELPER_HXX
      56             : 
      57             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10