2001-02-13 05:08:24 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-08 20:59:56 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2001-02-13 05:08:24 -06:00
|
|
|
*
|
2005-09-08 20:59:56 -05:00
|
|
|
* $RCSfile: sdgrffilter.hxx,v $
|
2001-02-13 05:08:24 -06:00
|
|
|
*
|
2006-11-14 07:20:18 -06:00
|
|
|
* $Revision: 1.8 $
|
2001-02-13 05:08:24 -06:00
|
|
|
*
|
2006-11-14 07:20:18 -06:00
|
|
|
* last change: $Author: ihi $ $Date: 2006-11-14 14:20:18 $
|
2001-02-13 05:08:24 -06:00
|
|
|
*
|
2005-09-08 20:59:56 -05: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
|
|
|
*
|
|
|
|
*
|
2005-09-08 20:59:56 -05: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
|
|
|
*
|
2005-09-08 20:59:56 -05: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
|
|
|
*
|
2005-09-08 20:59:56 -05: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
|
|
|
*
|
2005-09-08 20:59:56 -05: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
|
|
|
|
|
2006-07-05 15:49:26 -05:00
|
|
|
#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"
|
|
|
|
|
2006-07-05 15:49:26 -05:00
|
|
|
class Graphic;
|
|
|
|
|
2001-02-13 05:08:24 -06:00
|
|
|
// ---------------
|
|
|
|
// - SdCGMFilter -
|
|
|
|
// ---------------
|
|
|
|
|
|
|
|
class SdGRFFilter : public SdFilter
|
|
|
|
{
|
2006-11-14 07:20:18 -06:00
|
|
|
bool mbHideSpell;
|
|
|
|
|
2001-02-13 05:08:24 -06:00
|
|
|
public:
|
2006-11-14 07:20:18 -06:00
|
|
|
SdGRFFilter ( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell );
|
|
|
|
|
2004-01-20 03:17:37 -06:00
|
|
|
virtual ~SdGRFFilter (void);
|
2001-02-13 05:08:24 -06:00
|
|
|
|
2004-10-04 12:14:55 -05:00
|
|
|
sal_Bool Import();
|
|
|
|
sal_Bool Export();
|
2001-02-13 05:08:24 -06:00
|
|
|
|
2006-07-05 15:49:26 -05: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
|