LCOV - code coverage report
Current view: top level - forms/source/richtext - specialdispatchers.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 3 0.0 %
Date: 2014-04-14 Functions: 0 6 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 INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
      21             : #define INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
      22             : 
      23             : #include "parametrizedattributedispatcher.hxx"
      24             : 
      25             : 
      26             : namespace frm
      27             : {
      28             : 
      29             : 
      30             : 
      31             :     //= OSelectAllDispatcher
      32             : 
      33             :     class OSelectAllDispatcher : public ORichTextFeatureDispatcher
      34             :     {
      35             :     public:
      36             :         OSelectAllDispatcher( EditView& _rView, const ::com::sun::star::util::URL&  _rURL );
      37             : 
      38             :     protected:
      39             :         virtual ~OSelectAllDispatcher();
      40             : 
      41             :         // XDispatch
      42             :         virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments )
      43             :             throw (::com::sun::star::uno::RuntimeException,
      44             :                    std::exception) SAL_OVERRIDE;
      45             : 
      46             :         // ORichTextFeatureDispatcher
      47             :         virtual ::com::sun::star::frame::FeatureStateEvent  buildStatusEvent() const SAL_OVERRIDE;
      48             :     };
      49             : 
      50             : 
      51             :     //= OParagraphDirectionDispatcher
      52             : 
      53           0 :     class OParagraphDirectionDispatcher : public OAttributeDispatcher
      54             :     {
      55             :     public:
      56             :         OParagraphDirectionDispatcher(
      57             :             EditView&                           _rView,
      58             :             AttributeId                         _nAttributeId,
      59             :             const ::com::sun::star::util::URL&  _rURL,
      60             :             IMultiAttributeDispatcher*          _pMasterDispatcher
      61             :         );
      62             : 
      63             :     protected:
      64             :         // ORichTextFeatureDispatcher
      65             :         virtual ::com::sun::star::frame::FeatureStateEvent  buildStatusEvent() const SAL_OVERRIDE;
      66             :     };
      67             : 
      68             : 
      69             :     //= OTextDirectionDispatcher
      70             : 
      71           0 :     class OTextDirectionDispatcher : public ORichTextFeatureDispatcher
      72             :     {
      73             :     public:
      74             :         OTextDirectionDispatcher( EditView& _rView, const ::com::sun::star::util::URL&  _rURL );
      75             : 
      76             :     protected:
      77             :         // XDispatch
      78             :         virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      79             : 
      80             :         // ORichTextFeatureDispatcher
      81             :         virtual ::com::sun::star::frame::FeatureStateEvent  buildStatusEvent() const SAL_OVERRIDE;
      82             :     };
      83             : 
      84             : 
      85             :     //= OAsianFontLayoutDispatcher
      86             : 
      87           0 :     class OAsianFontLayoutDispatcher : public OParametrizedAttributeDispatcher
      88             :     {
      89             :     public:
      90             :         OAsianFontLayoutDispatcher(
      91             :             EditView&                           _rView,
      92             :             AttributeId                         _nAttributeId,
      93             :             const ::com::sun::star::util::URL&  _rURL,
      94             :             IMultiAttributeDispatcher*          _pMasterDispatcher
      95             :         );
      96             : 
      97             :     protected:
      98             :         // OParametrizedAttributeDispatcher
      99             :         virtual const SfxPoolItem* convertDispatchArgsToItem(
     100             :             const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rArguments ) SAL_OVERRIDE;
     101             :     };
     102             : 
     103             : 
     104             : } // namespace frm
     105             : 
     106             : 
     107             : #endif // INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
     108             : 
     109             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10