LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XBMReader Class Reference
Inheritance diagram for XBMReader:
[legend]
Collaboration diagram for XBMReader:
[legend]

Public Member Functions

 XBMReader (SvStream &rStm)
 
ReadState ReadXBM (Graphic &rGraphic)
 
- Public Member Functions inherited from GraphicReader
virtual ~GraphicReader ()
 
const OUString & GetUpperFilterName () const
 
void DisablePreviewMode ()
 
void SetPreviewSize (const Size &)
 
Size GetPreviewSize () const
 

Private Member Functions

void InitTable ()
 
OString FindTokenLine (SvStream *pInStm, const char *pTok1, const char *pTok2)
 
int ParseDefine (const sal_Char *pDefine)
 
void ParseData (SvStream *pInStm, const OString &aLastLine, XBMFormat eFormat)
 

Private Attributes

SvStreamrIStm
 
Bitmap aBmp1
 
BitmapScopedWriteAccess pAcc1
 
std::unique_ptr< short[]> pHexTable
 
BitmapColor aWhite
 
BitmapColor aBlack
 
long const nLastPos
 
long nWidth
 
long nHeight
 
bool bStatus
 

Additional Inherited Members

- Protected Member Functions inherited from GraphicReader
 GraphicReader ()
 
- Protected Attributes inherited from GraphicReader
OUString maUpperName
 

Detailed Description

Definition at line 42 of file xbmread.cxx.

Constructor & Destructor Documentation

XBMReader::XBMReader ( SvStream rStm)
explicit

Definition at line 68 of file xbmread.cxx.

References InitTable(), GraphicReader::maUpperName, and pHexTable.

Member Function Documentation

OString XBMReader::FindTokenLine ( SvStream pInStm,
const char *  pTok1,
const char *  pTok2 
)
private

Definition at line 116 of file xbmread.cxx.

References bStatus, and SvStream::ReadLine().

Referenced by ReadXBM().

void XBMReader::InitTable ( )
private

Definition at line 80 of file xbmread.cxx.

References pHexTable.

Referenced by XBMReader().

void XBMReader::ParseData ( SvStream pInStm,
const OString &  aLastLine,
XBMFormat  eFormat 
)
private
int XBMReader::ParseDefine ( const sal_Char pDefine)
private

Definition at line 153 of file xbmread.cxx.

References pHexTable.

Referenced by ReadXBM().

ReadState XBMReader::ReadXBM ( Graphic rGraphic)

Member Data Documentation

BitmapColor XBMReader::aBlack
private

Definition at line 50 of file xbmread.cxx.

Referenced by ParseData(), and ReadXBM().

Bitmap XBMReader::aBmp1
private

Definition at line 45 of file xbmread.cxx.

Referenced by ReadXBM().

BitmapColor XBMReader::aWhite
private

Definition at line 49 of file xbmread.cxx.

Referenced by ParseData(), and ReadXBM().

bool XBMReader::bStatus
private

Definition at line 54 of file xbmread.cxx.

Referenced by FindTokenLine(), and ReadXBM().

long XBMReader::nHeight
private

Definition at line 53 of file xbmread.cxx.

Referenced by ParseData(), and ReadXBM().

long const XBMReader::nLastPos
private

Definition at line 51 of file xbmread.cxx.

Referenced by ReadXBM().

long XBMReader::nWidth
private

Definition at line 52 of file xbmread.cxx.

Referenced by ParseData(), and ReadXBM().

BitmapScopedWriteAccess XBMReader::pAcc1
private

Definition at line 46 of file xbmread.cxx.

Referenced by ParseData(), and ReadXBM().

std::unique_ptr<short[]> XBMReader::pHexTable
private

Definition at line 48 of file xbmread.cxx.

Referenced by InitTable(), ParseData(), ParseDefine(), and XBMReader().

SvStream& XBMReader::rIStm
private

Definition at line 44 of file xbmread.cxx.

Referenced by ReadXBM().


The documentation for this class was generated from the following file: