LibreOffice Module sc (master)
1
|
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) |
XclImpStream & | operator>> (XclImpStream &rStrm, XclGuid &rGuid) |
XclExpStream & | operator<< (XclExpStream &rStrm, const XclGuid &rGuid) |
XclImpStream & | operator>> (XclImpStream &rStrm, Color &rColor) |
Reads a color from the passed stream. More... | |
XclExpStream & | operator<< (XclExpStream &rStrm, const Color &rColor) |
Reads a color to the passed stream. More... | |
#define DBG_ERROR_BIFF | ( | ) | OSL_FAIL( "Unknown BIFF type!" ) |
Definition at line 34 of file xltools.hxx.
Referenced by XclExpCellAlign::FillFromItemSet(), XclExpCellBorder::FillFromItemSet(), XclExpLabelCell::Init(), XclExpFontBuffer::InitDefaultFonts(), XclImpString::Read(), ImportExcel::Read(), XclImpDecryptHelper::ReadFilepass(), XclImpFont::ReadFont(), XclImpNumFmtBuffer::ReadFormat(), XclImpSheetDrawing::ReadNote(), XclImpDrawing::ReadObj(), XclImpPictureObj::ReadPictFmla(), XclImpWebQueryBuffer::ReadQsi(), XclImpTabViewSettings::ReadWindow2(), XclImpXF::ReadXF(), XclExpNote::Save(), XclExpSubStream::Save(), ScFormatFilterPluginImpl::ScImportExcel(), XclExpWindow2::WriteBody(), XclExpXF::WriteBody(), XclExpLabelCell::WriteContents(), XclDefaultPalette::XclDefaultPalette(), XclExpDimensions::XclExpDimensions(), XclExpFontBuffer::XclExpFontBuffer(), XclExpLinkManager::XclExpLinkManager(), XclExpNote::XclExpNote(), XclExpNumFmtBuffer::XclExpNumFmtBuffer(), XclImpFontBuffer::XclImpFontBuffer(), XclImpName::XclImpName(), and XclRootData::XclRootData().
#define OSL_ENSURE_BIFF | ( | c | ) | OSL_ENSURE( c, "Unknown BIFF type!" ) |
Definition at line 35 of file xltools.hxx.
Referenced by ExcelToSc::GetAbsRefs(), XclImpPageSettings::ReadCenter(), XclImpFont::ReadCFFontBlock(), XclImpValidationManager::ReadDV(), XclImpValidationManager::ReadDval(), XclImpHyperlink::ReadEmbeddedData(), XclImpLabelranges::ReadLabelranges(), XclImpDrawing::ReadMsoDrawing(), XclImpObjectManager::ReadMsoDrawingGroup(), XclImpPageSettings::ReadSetup(), XclImpStyle::ReadStyle(), XclImpTabViewSettings::ReadTabBgColor(), XclImpSheetDrawing::ReadTabChart(), XclImpTabInfo::ReadTabid(), XclExpSingleCellBase::Save(), XclExpMultiCellBase::Save(), XclExpScl::WriteBody(), XclExpNote::WriteBody(), XclExpDefrowheight::WriteBody(), and XclExpChEscherFormat::XclExpChEscherFormat().
enum 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 40 of file xltools.hxx.
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().
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().