LibreOffice Module vcl (master)  1
Macros | Enumerations | Functions
xpmread.cxx File Reference
#include <bitmapwriteaccess.hxx>
#include <vcl/graph.hxx>
#include <tools/stream.hxx>
#include <graphic/GraphicReader.hxx>
#include "rgbtable.hxx"
#include "xpmread.hxx"
#include <cstring>
#include <array>
#include <map>
Include dependency graph for xpmread.cxx:

Go to the source code of this file.

Macros

#define XPMTEMPBUFSIZE   0x00008000
 
#define XPMSTRINGBUF   0x00008000
 
#define XPMIDENTIFIER   0x00000001
 
#define XPMDEFINITION   0x00000002
 
#define XPMVALUES   0x00000003
 
#define XPMCOLORS   0x00000004
 
#define XPMPIXELS   0x00000005
 
#define XPMEXTENSIONS   0x00000006
 
#define XPMENDEXT   0x00000007
 
#define XPMREMARK   0x00000001
 
#define XPMDOUBLE   0x00000002
 
#define XPMSTRING   0x00000004
 
#define XPMFINISHED   0x00000008
 

Enumerations

enum  ReadState {
  JPEGREAD_OK,
  JPEGREAD_ERROR,
  JPEGREAD_NEED_MORE
}
 

Functions

VCL_DLLPUBLIC bool ImportXPM (SvStream &rStm, Graphic &rGraphic)
 

Macro Definition Documentation

#define XPMCOLORS   0x00000004

Definition at line 36 of file xpmread.cxx.

#define XPMDEFINITION   0x00000002

Definition at line 34 of file xpmread.cxx.

#define XPMDOUBLE   0x00000002

Definition at line 42 of file xpmread.cxx.

#define XPMENDEXT   0x00000007

Definition at line 39 of file xpmread.cxx.

#define XPMEXTENSIONS   0x00000006

Definition at line 38 of file xpmread.cxx.

#define XPMFINISHED   0x00000008

Definition at line 44 of file xpmread.cxx.

#define XPMIDENTIFIER   0x00000001

Definition at line 33 of file xpmread.cxx.

#define XPMPIXELS   0x00000005

Definition at line 37 of file xpmread.cxx.

#define XPMREMARK   0x00000001

Definition at line 41 of file xpmread.cxx.

#define XPMSTRING   0x00000004

Definition at line 43 of file xpmread.cxx.

#define XPMSTRINGBUF   0x00008000

Definition at line 31 of file xpmread.cxx.

#define XPMTEMPBUFSIZE   0x00008000

Definition at line 30 of file xpmread.cxx.

#define XPMVALUES   0x00000003

Definition at line 35 of file xpmread.cxx.

Enumeration Type Documentation

enum ReadState
Enumerator
JPEGREAD_OK 
JPEGREAD_ERROR 
JPEGREAD_NEED_MORE 

Definition at line 48 of file xpmread.cxx.

Function Documentation

VCL_DLLPUBLIC bool ImportXPM ( SvStream rStm,
Graphic rGraphic 
)

Definition at line 670 of file xpmread.cxx.

References Graphic::GetReaderContext(), and Graphic::SetReaderContext().

Referenced by GraphicFilter::ImportGraphic().