LibreOffice Module sc (master) 1
|
#include <dif.hxx>
Public Member Functions | |
DifParser (SvStream &, const ScDocument &, rtl_TextEncoding) | |
TOPIC | GetNextTopic () |
DATASET | GetNextDataset () |
Static Public Member Functions | |
static const sal_Unicode * | ScanIntVal (const sal_Unicode *pStart, sal_uInt32 &rRet) |
static bool | IsNumber (const sal_Unicode cChar) |
static bool | IsV (const sal_Unicode *pRef) |
Public Attributes | |
OUStringBuffer | m_aData |
double | fVal |
sal_uInt32 | nVector |
sal_uInt32 | nVal |
sal_uInt32 | nNumFormat |
Private Member Functions | |
bool | ReadNextLine (OUString &rStr) |
bool | LookAhead () |
DATASET | GetNumberDataset (const sal_Unicode *pPossibleNumericData) |
Static Private Member Functions | |
static bool | IsBOT (const sal_Unicode *pRef) |
static bool | IsEOD (const sal_Unicode *pRef) |
static bool | Is1_0 (const sal_Unicode *pRef) |
Private Attributes | |
SvNumberFormatter * | pNumFormatter |
SvStream & | rIn |
OUString | aLookAheadLine |
DifParser::DifParser | ( | SvStream & | rNewIn, |
const ScDocument & | rDoc, | ||
rtl_TextEncoding | eCharSet | ||
) |
Definition at line 220 of file difimp.cxx.
References SvStream::GetStreamCharSet(), rIn, SvStream::SetStreamCharSet(), and SvStream::StartReadingUnicodeText().
DATASET DifParser::GetNextDataset | ( | ) |
Definition at line 453 of file difimp.cxx.
References D_BOT, D_EOD, D_STRING, D_SYNT_ERROR, D_UNKNOWN, SvStream::eof(), GetNumberDataset(), Is1_0(), IsBOT(), IsEOD(), lcl_DeEscapeQuotesDif(), LookAhead(), m_aData, ReadNextLine(), and rIn.
Referenced by ScFormatFilterPluginImpl::ScImportDif().
TOPIC DifParser::GetNextTopic | ( | ) |
Definition at line 236 of file difimp.cxx.
References m_aData, nVal, nVector, pKeyDATA, pKeyTABLE, pKeyTUPLES, pKeyVECTORS, ReadNextLine(), ScanIntVal(), T_COMMENT, T_DATA, T_DISPLAYUNITS, T_END, T_LABEL, T_MAJORSTART, T_MINORSTART, T_PERIODICITY, T_SIZE, T_TABLE, T_TRUELENGTH, T_TUPLES, T_UINITS, T_UNKNOWN, T_VECTORS, and u.
Referenced by ScFormatFilterPluginImpl::ScImportDif().
|
private |
Definition at line 379 of file difimp.cxx.
References D_NUMERIC, D_SYNT_ERROR, fVal, SvNumberFormatter::IsNumberFormat(), nNumFormat, and pNumFormatter.
Referenced by GetNextDataset(), and LookAhead().
|
inlinestaticprivate |
Definition at line 97 of file dif.hxx.
References u.
Referenced by GetNextDataset(), and LookAhead().
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
Definition at line 107 of file dif.hxx.
Referenced by ScanIntVal().
|
inlinestatic |
Definition at line 102 of file dif.hxx.
References u.
Referenced by ScFormatFilterPluginImpl::ScImportDif().
|
private |
Definition at line 415 of file difimp.cxx.
References aLookAheadLine, D_SYNT_ERROR, GetNumberDataset(), SvStream::GetStreamCharSet(), Is1_0(), SvStream::ReadUniOrByteStringLine(), and rIn.
Referenced by GetNextDataset().
|
private |
Definition at line 399 of file difimp.cxx.
References aLookAheadLine, SvStream::GetStreamCharSet(), SvStream::ReadUniOrByteStringLine(), and rIn.
Referenced by GetNextDataset(), and GetNextTopic().
|
static |
|
private |
Definition at line 65 of file dif.hxx.
Referenced by LookAhead(), and ReadNextLine().
double DifParser::fVal |
Definition at line 58 of file dif.hxx.
Referenced by GetNumberDataset(), and ScFormatFilterPluginImpl::ScImportDif().
OUStringBuffer DifParser::m_aData |
Definition at line 57 of file dif.hxx.
Referenced by GetNextDataset(), GetNextTopic(), and ScFormatFilterPluginImpl::ScImportDif().
sal_uInt32 DifParser::nNumFormat |
Definition at line 61 of file dif.hxx.
Referenced by GetNumberDataset(), and ScFormatFilterPluginImpl::ScImportDif().
sal_uInt32 DifParser::nVal |
Definition at line 60 of file dif.hxx.
Referenced by GetNextTopic(), and ScFormatFilterPluginImpl::ScImportDif().
sal_uInt32 DifParser::nVector |
Definition at line 59 of file dif.hxx.
Referenced by GetNextTopic(), and ScFormatFilterPluginImpl::ScImportDif().
|
private |
Definition at line 63 of file dif.hxx.
Referenced by GetNumberDataset().
|
private |
Definition at line 64 of file dif.hxx.
Referenced by DifParser(), GetNextDataset(), LookAhead(), and ReadNextLine().