LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
DifParser Class Reference

#include <dif.hxx>

Collaboration diagram for DifParser:
[legend]

Public Member Functions

 DifParser (SvStream &, const ScDocument &, rtl_TextEncoding)
 
TOPIC GetNextTopic ()
 
DATASET GetNextDataset ()
 

Static Public Member Functions

static const sal_UnicodeScanIntVal (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

SvNumberFormatterpNumFormatter
 
SvStreamrIn
 
OUString aLookAheadLine
 

Detailed Description

Definition at line 59 of file dif.hxx.

Constructor & Destructor Documentation

DifParser::DifParser ( SvStream rNewIn,
const ScDocument rDoc,
rtl_TextEncoding  eCharSet 
)

Member Function Documentation

DATASET DifParser::GetNextDataset ( )
TOPIC DifParser::GetNextTopic ( )
DATASET DifParser::GetNumberDataset ( const sal_Unicode pPossibleNumericData)
private
bool DifParser::Is1_0 ( const sal_Unicode pRef)
inlinestaticprivate

Definition at line 108 of file dif.hxx.

References pKey1_0.

Referenced by GetNextDataset(), and LookAhead().

bool DifParser::IsBOT ( const sal_Unicode pRef)
inlinestaticprivate

Definition at line 92 of file dif.hxx.

References pKeyBOT.

Referenced by GetNextDataset().

bool DifParser::IsEOD ( const sal_Unicode pRef)
inlinestaticprivate

Definition at line 100 of file dif.hxx.

References pKeyEOD.

Referenced by GetNextDataset().

bool DifParser::IsNumber ( const sal_Unicode  cChar)
inlinestatic

Definition at line 122 of file dif.hxx.

Referenced by ScanIntVal().

bool DifParser::IsV ( const sal_Unicode pRef)
inlinestatic

Definition at line 116 of file dif.hxx.

References pKeyV.

Referenced by ScFormatFilterPluginImpl::ScImportDif().

bool DifParser::LookAhead ( )
private
bool DifParser::ReadNextLine ( OUString &  rStr)
private
const sal_Unicode * DifParser::ScanIntVal ( const sal_Unicode pStart,
sal_uInt32 &  rRet 
)
static

Definition at line 582 of file difimp.cxx.

References IsNumber().

Referenced by GetNextTopic().

Member Data Documentation

OUString DifParser::aLookAheadLine
private

Definition at line 70 of file dif.hxx.

Referenced by LookAhead(), and ReadNextLine().

double DifParser::fVal

Definition at line 63 of file dif.hxx.

Referenced by GetNumberDataset(), and ScFormatFilterPluginImpl::ScImportDif().

OUStringBuffer DifParser::m_aData

Definition at line 62 of file dif.hxx.

Referenced by GetNextDataset(), GetNextTopic(), and ScFormatFilterPluginImpl::ScImportDif().

sal_uInt32 DifParser::nNumFormat

Definition at line 66 of file dif.hxx.

Referenced by GetNumberDataset(), and ScFormatFilterPluginImpl::ScImportDif().

sal_uInt32 DifParser::nVal

Definition at line 65 of file dif.hxx.

Referenced by GetNextTopic(), and ScFormatFilterPluginImpl::ScImportDif().

sal_uInt32 DifParser::nVector

Definition at line 64 of file dif.hxx.

Referenced by GetNextTopic(), and ScFormatFilterPluginImpl::ScImportDif().

SvNumberFormatter* DifParser::pNumFormatter
private

Definition at line 68 of file dif.hxx.

Referenced by GetNumberDataset().

SvStream& DifParser::rIn
private

Definition at line 69 of file dif.hxx.

Referenced by DifParser(), GetNextDataset(), LookAhead(), and ReadNextLine().


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