LCOV - code coverage report
Current view: top level - sw/source/ui/vba - vbawrapformat.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 1 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 2 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             :  * 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_VBAWRAPFORMAT_HXX
      20             : #define INCLUDED_SW_SOURCE_UI_VBA_VBAWRAPFORMAT_HXX
      21             : 
      22             : #include <com/sun/star/drawing/XShape.hpp>
      23             : #include <ooo/vba/word/XWrapFormat.hpp>
      24             : #include <vbahelper/vbahelperinterface.hxx>
      25             : 
      26             : typedef InheritedHelperInterfaceImpl1< ooo::vba::word::XWrapFormat > SwVbaWrapFormat_BASE;
      27             : 
      28           0 : class SwVbaWrapFormat : public SwVbaWrapFormat_BASE
      29             : {
      30             : private:
      31             :     css::uno::Reference< css::drawing::XShape > m_xShape;
      32             :     css::uno::Reference< css::beans::XPropertySet > m_xPropertySet;
      33             :     sal_Int32 mnWrapFormatType;
      34             :     sal_Int32 mnSide;
      35             : 
      36             : private:
      37             :     void makeWrap() throw (css::uno::RuntimeException);
      38             :     float getDistance( const OUString& sName ) throw (css::uno::RuntimeException);
      39             :     void setDistance( const OUString& sName, float _distance ) throw (css::uno::RuntimeException);
      40             : 
      41             : public:
      42             :     SwVbaWrapFormat(  css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext );
      43             : 
      44             :     virtual ::sal_Int32 SAL_CALL getType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      45             :     virtual void SAL_CALL setType( ::sal_Int32 _type ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      46             :     virtual ::sal_Int32 SAL_CALL getSide() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      47             :     virtual void SAL_CALL setSide( ::sal_Int32 _side ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      48             :     virtual float SAL_CALL getDistanceTop() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      49             :     virtual void SAL_CALL setDistanceTop( float _distancetop ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      50             :     virtual float SAL_CALL getDistanceBottom() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      51             :     virtual void SAL_CALL setDistanceBottom( float _distancebottom ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      52             :     virtual float SAL_CALL getDistanceLeft() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      53             :     virtual void SAL_CALL setDistanceLeft( float _distanceleft ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      54             :     virtual float SAL_CALL getDistanceRight() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      55             :     virtual void SAL_CALL setDistanceRight( float _distanceright ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      56             : 
      57             :     virtual OUString getServiceImplName() SAL_OVERRIDE;
      58             :     virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
      59             : };
      60             : 
      61             : #endif // INCLUDED_SW_SOURCE_UI_VBA_VBAWRAPFORMAT_HXX
      62             : 
      63             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11