office-gobmx/hwpfilter/source/himgutil.h

87 lines
2.6 KiB
C
Raw Normal View History

2003-10-15 08:44:37 -05:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
2003-10-15 08:44:37 -05:00
*
* $RCSfile: himgutil.h,v $
2003-10-15 08:44:37 -05:00
*
* $Revision: 1.2 $
2003-10-15 08:44:37 -05:00
*
* last change: $Author: rt $ $Date: 2005-09-07 16:35:23 $
2003-10-15 08:44:37 -05:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2003-10-15 08:44:37 -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
2003-10-15 08:44:37 -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.
2003-10-15 08:44:37 -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.
2003-10-15 08:44:37 -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
2003-10-15 08:44:37 -05:00
*
************************************************************************/
/* NAME $Id: himgutil.h,v 1.2 2005-09-07 16:35:23 rt Exp $
2003-10-15 08:44:37 -05:00
* PURPOSE
* WIN32 <EFBFBD><EFBFBD><EFBFBD><EFBFBD> xv image <EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
* <EFBFBD>̹<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ȯ<EFBFBD>ϴµ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD>.
* NOTES
*
* HISTORY
* frog - Dec 23, 1998: Created.
*/
#ifndef _HIMGUTIL_H_
#define _HIMGUTIL_H_
/**
* Graphics file format identifiers.
*/
#define RFT_ERROR -1 /* couldn't open file, or whatever... */
#define RFT_UNKNOWN 0
#define RFT_GIF 1
#define RFT_PM 2
#define RFT_PBM 3
#define RFT_XBM 4
#define RFT_SUNRAS 5
#define RFT_BMP 6
#define RFT_UTAHRLE 7
#define RFT_IRIS 8
#define RFT_PCX 9
#define RFT_JFIF 10
#define RFT_TIFF 11
#define RFT_PDSVICAR 12
#define RFT_COMPRESS 13
#define RFT_PS 14
#define RFT_IFF 15
#define RFT_TARGA 16
#define RFT_XPM 17
#define RFT_XWD 18
#define RFT_FITS 19
#define RFT_WMF 20
// function declaration
struct EmPicture;
int ReadFileType(const char *fname);
const char *GetPictureFilename(const char *picname);
/**
* Extract the name from given object
* @param empic Object having name to extract
* @returns Name of embeded picture
*/
const char *GetEmbImgname(const EmPicture *empic);
#endif /* _HIMGUTIL_H_ */