Files
libreoffice/sw/source/core/access/accnotextframe.hxx
Jens-Heiner Rechtien 3a8e9a75ab INTEGRATION: CWS writercorehandoff (1.5.1112); FILE MERGED
2005/09/13 13:00:08 tra 1.5.1112.3: RESYNC: (1.5-1.6); FILE MERGED
2005/06/07 14:13:06 fme 1.5.1112.2: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2005/06/06 09:26:45 tra 1.5.1112.1: Unnecessary includes removed #i50348#
2006-08-14 14:45:43 +00:00

112 lines
3.8 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: accnotextframe.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2006-08-14 15:45:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
#ifndef _ACCNOTEXTFRAME_HXX
#define _ACCNOTEXTFRAME_HXX
#ifndef _ACCFRAMEBASE_HXX
#include "accframebase.hxx"
#endif
#ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLEIMAGE_HPP_
#include <com/sun/star/accessibility/XAccessibleImage.hpp>
#endif
class SwFlyFrm;
class SwNoTxtNode;
class SwAccessibleNoTextFrame : public SwAccessibleFrameBase,
public ::com::sun::star::accessibility::XAccessibleImage
{
SwDepend aDepend;
::rtl::OUString sDesc;
protected:
virtual ~SwAccessibleNoTextFrame();
const SwNoTxtNode *GetNoTxtNode() const;
public:
SwAccessibleNoTextFrame( SwAccessibleMap *pMap, sal_Int16 nRole,
const SwFlyFrm *pFlyFrm );
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);
//===== XAccessibleContext ==============================================
/// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (void)
throw (com::sun::star::uno::RuntimeException);
//===== XInterface ======================================================
// XInterface methods need to be implemented to disambiguate
// between those inherited through SwAcessibleContext and
// XAccessibleImage.
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type& aType )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL acquire( ) throw ()
{ SwAccessibleContext::acquire(); };
virtual void SAL_CALL release( ) throw ()
{ SwAccessibleContext::release(); };
//====== XTypeProvider ====================================================
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
//===== XAccessibleImage ================================================
virtual ::rtl::OUString SAL_CALL
getAccessibleImageDescription( )
throw ( ::com::sun::star::uno::RuntimeException );
virtual sal_Int32 SAL_CALL
getAccessibleImageHeight( )
throw ( ::com::sun::star::uno::RuntimeException );
virtual sal_Int32 SAL_CALL
getAccessibleImageWidth( )
throw ( ::com::sun::star::uno::RuntimeException );
// The object is not visible an longer and should be destroyed
virtual void Dispose( sal_Bool bRecursive = sal_False );
};
#endif