office-gobmx/sd/inc/sdgrffilter.hxx
Ivo Hinkelmann 247a9110c5 INTEGRATION: CWS aw024 (1.5.100); FILE MERGED
2006/08/03 16:24:23 aw 1.5.100.3: RESYNC: (1.6-1.7); FILE MERGED
2005/09/17 09:57:49 aw 1.5.100.2: RESYNC: (1.5-1.6); FILE MERGED
2005/05/12 16:46:02 aw 1.5.100.1: #i39529#
2006-11-14 13:20:18 +00:00

68 lines
2.1 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sdgrffilter.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: ihi $ $Date: 2006-11-14 14:20:18 $
*
* 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 _SD_SDGRFFILTER_HXX
#define _SD_SDGRFFILTER_HXX
#ifndef _COM_SUN_STAR_DRAWING_XSHAPE_HPP_
#include <com/sun/star/drawing/XShape.hpp>
#endif
#include <tools/errinf.hxx>
#include "sdfilter.hxx"
class Graphic;
// ---------------
// - SdCGMFilter -
// ---------------
class SdGRFFilter : public SdFilter
{
bool mbHideSpell;
public:
SdGRFFilter ( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell );
virtual ~SdGRFFilter (void);
sal_Bool Import();
sal_Bool Export();
static void SaveGraphic( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape );
static void HandleGraphicFilterError( USHORT nFilterError, ULONG nStreamError = ERRCODE_NONE );
};
#endif // _SD_SDGRFFILTER_HXX