LCOV - code coverage report
Current view: top level - embeddedobj/source/inc - specialobject.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 1 0.0 %
Date: 2014-04-14 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             : 
      20             : #ifndef _INC_SPECIALOBJECT_HXX_
      21             : #define _INC_SPECIALOBJECT_HXX_
      22             : 
      23             : #include <com/sun/star/awt/Size.hpp>
      24             : 
      25             : #include "commonembobj.hxx"
      26             : 
      27           0 : class OSpecialEmbeddedObject : public OCommonEmbeddedObject
      28             : {
      29             : private:
      30             :     com::sun::star::awt::Size         maSize;
      31             : public:
      32             :     OSpecialEmbeddedObject(
      33             :         const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
      34             :         const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps );
      35             : 
      36             :     // XInterface
      37             :     virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& rType )
      38             :         throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
      39             : 
      40             :     // XTypeProvider
      41             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
      42             :         throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE ;
      43             : 
      44             :     // XVisualObject
      45             :     virtual ::com::sun::star::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect )
      46             :         throw ( ::com::sun::star::lang::IllegalArgumentException,
      47             :                 ::com::sun::star::embed::WrongStateException,
      48             :                 ::com::sun::star::uno::Exception,
      49             :                 ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      50             : 
      51             :     virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const ::com::sun::star::awt::Size& aSize )
      52             :         throw ( ::com::sun::star::lang::IllegalArgumentException,
      53             :                 ::com::sun::star::embed::WrongStateException,
      54             :                 ::com::sun::star::uno::Exception,
      55             :                 ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      56             : 
      57             :     virtual ::com::sun::star::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect )
      58             :         throw ( ::com::sun::star::lang::IllegalArgumentException,
      59             :                 ::com::sun::star::embed::WrongStateException,
      60             :                 ::com::sun::star::uno::Exception,
      61             :                 ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      62             : 
      63             :     virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect )
      64             :         throw ( ::com::sun::star::uno::Exception,
      65             :                 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      66             : 
      67             :     virtual void SAL_CALL changeState( sal_Int32 nNewState )
      68             :         throw ( ::com::sun::star::embed::UnreachableStateException,
      69             :                 ::com::sun::star::embed::WrongStateException,
      70             :                 ::com::sun::star::uno::Exception,
      71             :                 ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      72             : 
      73             :     virtual void SAL_CALL doVerb( sal_Int32 nVerbID )
      74             :         throw ( ::com::sun::star::lang::IllegalArgumentException,
      75             :                 ::com::sun::star::embed::WrongStateException,
      76             :                 ::com::sun::star::embed::UnreachableStateException,
      77             :                 ::com::sun::star::uno::Exception,
      78             :                 ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      79             : };
      80             : 
      81             : #endif
      82             : 
      83             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10