LibreOffice Module sc (master) 1
Classes | Macros | Enumerations | Functions
xltools.hxx File Reference
#include <types.hxx>
#include "ftools.hxx"
#include <tools/long.hxx>
#include <tools/degree.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

◆ DBG_ERROR_BIFF

#define DBG_ERROR_BIFF ( )    OSL_FAIL( "Unknown BIFF type!" )

Definition at line 33 of file xltools.hxx.

◆ OSL_ENSURE_BIFF

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

Definition at line 34 of file xltools.hxx.

Enumeration Type Documentation

◆ XclBoolError

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 39 of file xltools.hxx.

Function Documentation

◆ operator<<() [1/2]

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

Reads a color to the passed stream.

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

Definition at line 739 of file xltools.cxx.

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

◆ operator<<() [2/2]

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

Definition at line 78 of file xltools.cxx.

References XclGuid::mpnData, and rStrm.

◆ operator==()

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

Definition at line 67 of file xltools.cxx.

References XclGuid::mpnData.

◆ operator>>() [1/2]

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

Reads a color from the passed stream.

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

Definition at line 729 of file xltools.cxx.

References rStrm.

◆ operator>>() [2/2]

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

Definition at line 72 of file xltools.cxx.

References XclGuid::mpnData, and rStrm.