LibreOffice Module sc (master)  1
Classes | Macros | Enumerations | Functions
xltools.hxx File Reference
#include <types.hxx>
#include "ftools.hxx"
Include dependency graph for xltools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XclGuid
 This struct stores a GUID (class ID) and supports reading, writing and comparison. More...
 
class  XclTools
 This class contains static helper methods for the Excel import and export filters. More...
 

Macros

#define DBG_ERROR_BIFF()    OSL_FAIL( "Unknown BIFF type!" )
 
#define OSL_ENSURE_BIFF(c)    OSL_ENSURE( c, "Unknown BIFF type!" )
 

Enumerations

enum  XclBoolError {
  xlErrNull,
  xlErrDiv0,
  xlErrValue,
  xlErrRef,
  xlErrName,
  xlErrNum,
  xlErrNA,
  xlErrTrue,
  xlErrFalse,
  xlErrUnknown
}
 An enumeration for all Excel error codes and the values true and false. More...
 

Functions

bool operator== (const XclGuid &rCmp1, const XclGuid &rCmp2)
 
XclImpStreamoperator>> (XclImpStream &rStrm, XclGuid &rGuid)
 
XclExpStreamoperator<< (XclExpStream &rStrm, const XclGuid &rGuid)
 
XclImpStreamoperator>> (XclImpStream &rStrm, Color &rColor)
 Reads a color from the passed stream. More...
 
XclExpStreamoperator<< (XclExpStream &rStrm, const Color &rColor)
 Reads a color to the passed stream. More...
 

Macro Definition Documentation

#define DBG_ERROR_BIFF ( )    OSL_FAIL( "Unknown BIFF type!" )
#define OSL_ENSURE_BIFF (   c)    OSL_ENSURE( c, "Unknown BIFF type!" )

Enumeration Type Documentation

An enumeration for all Excel error codes and the values true and false.

Enumerator
xlErrNull 
xlErrDiv0 

The error code NULL!

xlErrValue 

The error code #DIV/0!

xlErrRef 

The error code #VALUE!

xlErrName 

The error code #REF!

xlErrNum 

The error code #NAME?

xlErrNA 

The error code #NUM!

xlErrTrue 

The error code N/A!

xlErrFalse 

The Boolean value true.

xlErrUnknown 

The Boolean value false.

For unknown codes and values.

Definition at line 37 of file xltools.hxx.

Function Documentation

XclExpStream& operator<< ( XclExpStream rStrm,
const XclGuid rGuid 
)

Definition at line 77 of file xltools.cxx.

References XclGuid::mpnData, and XclExpStream::Write().

XclExpStream& operator<< ( XclExpStream rStrm,
const Color rColor 
)

Reads a color to the passed stream.

The color has the format (all values 8-bit): Red, Green, Blue, 0.

Definition at line 737 of file xltools.cxx.

References Color::GetBlue(), Color::GetGreen(), and Color::GetRed().

bool operator== ( const XclGuid rCmp1,
const XclGuid rCmp2 
)

Definition at line 66 of file xltools.cxx.

References XclGuid::mpnData.

XclImpStream& operator>> ( XclImpStream rStrm,
XclGuid rGuid 
)

Definition at line 71 of file xltools.cxx.

References XclGuid::mpnData, and XclImpStream::Read().

XclImpStream& operator>> ( XclImpStream rStrm,
Color rColor 
)

Reads a color from the passed stream.

The color has the format (all values 8-bit): Red, Green, Blue, 0.

Definition at line 727 of file xltools.cxx.

References XclImpStream::Ignore(), and XclImpStream::ReaduInt8().