LCOV - code coverage report
Current view: top level - libreoffice/svx/inc/svx - IAccessibleViewForwarderListener.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-17 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 _SVX_ACCESSIBILITY_IACCESSIBLE_VIEW_FORWARDER_LISTENER_HXX
      21             : #define _SVX_ACCESSIBILITY_IACCESSIBLE_VIEW_FORWARDER_LISTENER_HXX
      22             : 
      23             : #include <sal/types.h>
      24             : #include <tools/gen.hxx>
      25             : 
      26             : 
      27             : namespace accessibility {
      28             : 
      29             : class IAccessibleViewForwarder;
      30             : 
      31             : /** <p>The purpose of this interface is to notify a user of an
      32             :     IAccessibleViewForwarder when that view forwarder changes its
      33             :     properties.  Such a change may be one of the following:
      34             :     <ul>
      35             :     <li>Change of the coordinate transformation.</li>
      36             :     <li>Change of the visible area (which in turn results in a change of the
      37             :     coordinate transformation.</li>
      38             :     <li>Change of the validity state of the view forwarder.</li>
      39             : */
      40           0 : class IAccessibleViewForwarderListener
      41             : {
      42             : public:
      43             :     /** Enumeration of the different change types.
      44             :     */
      45             :     enum ChangeType {TRANSFORMATION, VISIBLE_AREA, STATE};
      46             : 
      47             :     /** This method is called to indicate a change of the specified view
      48             :         forwarder.
      49             :         @param aChangeType
      50             :             The type of the change.  TRANSFORMATION indicates a change of
      51             :             the coordinate transformation with a constant visible area.  If
      52             :             the visible area changes, just use VISIBLE_AREA.  This changes
      53             :             the transformation implicitly.  The value STATE indicates a
      54             :             change of the validity state.  Check the IsValid method of the
      55             :             view forwarder before doing further calls.
      56             :         @param pViewForwarder
      57             :             The modified view forwarder.  It is specified just in case that
      58             :             there is more than one view forwarder in use at the same time.
      59             :     */
      60             :     virtual void ViewForwarderChanged (ChangeType aChangeType,
      61             :         const IAccessibleViewForwarder* pViewForwarder) = 0;
      62             : 
      63             : protected:
      64           0 :     ~IAccessibleViewForwarderListener() {}
      65             : };
      66             : 
      67             : } // end of namespace accessibility
      68             : 
      69             : #endif
      70             : 
      71             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10