office-gobmx/sd/inc/sdgrffilter.hxx

69 lines
2.1 KiB
C++
Raw Normal View History

2001-02-13 05:08:24 -06:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
2001-02-13 05:08:24 -06:00
*
* $RCSfile: sdgrffilter.hxx,v $
2001-02-13 05:08:24 -06:00
*
* $Revision: 1.8 $
2001-02-13 05:08:24 -06:00
*
* last change: $Author: ihi $ $Date: 2006-11-14 14:20:18 $
2001-02-13 05:08:24 -06:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2001-02-13 05:08:24 -06:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2001-02-13 05:08:24 -06:00
*
* 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.
2001-02-13 05:08:24 -06:00
*
* 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.
2001-02-13 05:08:24 -06:00
*
* 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
2001-02-13 05:08:24 -06:00
*
************************************************************************/
#ifndef _SD_SDGRFFILTER_HXX
#define _SD_SDGRFFILTER_HXX
#ifndef _COM_SUN_STAR_DRAWING_XSHAPE_HPP_
#include <com/sun/star/drawing/XShape.hpp>
#endif
2001-02-13 05:08:24 -06:00
#include <tools/errinf.hxx>
#include "sdfilter.hxx"
class Graphic;
2001-02-13 05:08:24 -06:00
// ---------------
// - SdCGMFilter -
// ---------------
class SdGRFFilter : public SdFilter
{
bool mbHideSpell;
2001-02-13 05:08:24 -06:00
public:
SdGRFFilter ( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell );
virtual ~SdGRFFilter (void);
2001-02-13 05:08:24 -06:00
sal_Bool Import();
sal_Bool Export();
2001-02-13 05:08:24 -06:00
static void SaveGraphic( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape );
2001-02-13 05:08:24 -06:00
static void HandleGraphicFilterError( USHORT nFilterError, ULONG nStreamError = ERRCODE_NONE );
};
#endif // _SD_SDGRFFILTER_HXX