LibreOffice Module vcl (master) 1
Macros | Functions
xpmread.cxx File Reference
#include <filter/XpmReader.hxx>
#include <vcl/graph.hxx>
#include <tools/stream.hxx>
#include <bitmap/BitmapWriteAccess.hxx>
#include <graphic/GraphicReader.hxx>
#include "rgbtable.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
 

Functions

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

Macro Definition Documentation

◆ XPMCOLORS

#define XPMCOLORS   0x00000004

Definition at line 40 of file xpmread.cxx.

◆ XPMDEFINITION

#define XPMDEFINITION   0x00000002

Definition at line 38 of file xpmread.cxx.

◆ XPMDOUBLE

#define XPMDOUBLE   0x00000002

Definition at line 46 of file xpmread.cxx.

◆ XPMENDEXT

#define XPMENDEXT   0x00000007

Definition at line 43 of file xpmread.cxx.

◆ XPMEXTENSIONS

#define XPMEXTENSIONS   0x00000006

Definition at line 42 of file xpmread.cxx.

◆ XPMFINISHED

#define XPMFINISHED   0x00000008

Definition at line 48 of file xpmread.cxx.

◆ XPMIDENTIFIER

#define XPMIDENTIFIER   0x00000001

Definition at line 37 of file xpmread.cxx.

◆ XPMPIXELS

#define XPMPIXELS   0x00000005

Definition at line 41 of file xpmread.cxx.

◆ XPMREMARK

#define XPMREMARK   0x00000001

Definition at line 45 of file xpmread.cxx.

◆ XPMSTRING

#define XPMSTRING   0x00000004

Definition at line 47 of file xpmread.cxx.

◆ XPMSTRINGBUF

#define XPMSTRINGBUF   0x00008000

Definition at line 35 of file xpmread.cxx.

◆ XPMTEMPBUFSIZE

#define XPMTEMPBUFSIZE   0x00008000

Definition at line 34 of file xpmread.cxx.

◆ XPMVALUES

#define XPMVALUES   0x00000003

Definition at line 39 of file xpmread.cxx.

Function Documentation

◆ ImportXPM()

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::readXPM().