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 54 of file dif.hxx.

Constructor & Destructor Documentation

◆ DifParser()

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

Member Function Documentation

◆ GetNextDataset()

DATASET DifParser::GetNextDataset ( )

◆ GetNextTopic()

TOPIC DifParser::GetNextTopic ( )

◆ GetNumberDataset()

DATASET DifParser::GetNumberDataset ( const sal_Unicode pPossibleNumericData)
private

◆ Is1_0()

bool DifParser::Is1_0 ( const sal_Unicode pRef)
inlinestaticprivate

Definition at line 97 of file dif.hxx.

References u.

Referenced by GetNextDataset(), and LookAhead().

◆ IsBOT()

bool DifParser::IsBOT ( const sal_Unicode pRef)
inlinestaticprivate

Definition at line 87 of file dif.hxx.

References pKeyBOT.

Referenced by GetNextDataset().

◆ IsEOD()

bool DifParser::IsEOD ( const sal_Unicode pRef)
inlinestaticprivate

Definition at line 92 of file dif.hxx.

References pKeyEOD.

Referenced by GetNextDataset().

◆ IsNumber()

bool DifParser::IsNumber ( const sal_Unicode  cChar)
inlinestatic

Definition at line 107 of file dif.hxx.

Referenced by ScanIntVal().

◆ IsV()

bool DifParser::IsV ( const sal_Unicode pRef)
inlinestatic

Definition at line 102 of file dif.hxx.

References u.

Referenced by ScFormatFilterPluginImpl::ScImportDif().

◆ LookAhead()

bool DifParser::LookAhead ( )
private

◆ ReadNextLine()

bool DifParser::ReadNextLine ( OUString &  rStr)
private

◆ ScanIntVal()

const sal_Unicode * DifParser::ScanIntVal ( const sal_Unicode pStart,
sal_uInt32 &  rRet 
)
static

Definition at line 562 of file difimp.cxx.

References IsNumber().

Referenced by GetNextTopic().

Member Data Documentation

◆ aLookAheadLine

OUString DifParser::aLookAheadLine
private

Definition at line 65 of file dif.hxx.

Referenced by LookAhead(), and ReadNextLine().

◆ fVal

double DifParser::fVal

Definition at line 58 of file dif.hxx.

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

◆ m_aData

OUStringBuffer DifParser::m_aData

Definition at line 57 of file dif.hxx.

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

◆ nNumFormat

sal_uInt32 DifParser::nNumFormat

Definition at line 61 of file dif.hxx.

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

◆ nVal

sal_uInt32 DifParser::nVal

Definition at line 60 of file dif.hxx.

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

◆ nVector

sal_uInt32 DifParser::nVector

Definition at line 59 of file dif.hxx.

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

◆ pNumFormatter

SvNumberFormatter* DifParser::pNumFormatter
private

Definition at line 63 of file dif.hxx.

Referenced by GetNumberDataset().

◆ rIn

SvStream& DifParser::rIn
private

Definition at line 64 of file dif.hxx.

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


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