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

#include <qpro.hxx>

Collaboration diagram for ScQProReader:
[legend]

Public Member Functions

 ScQProReader (SvStream *pStream)
 
 ~ScQProReader ()
 
bool recordsLeft ()
 
void SetEof (bool bValue)
 
bool nextRecord ()
 
sal_uInt16 getId () const
 
sal_uInt16 getLength () const
 
OUString readString (sal_uInt16 nLength)
 
ErrCode parse (ScDocument &rDoc)
 
ErrCode import (ScDocument &rDoc)
 
ErrCode readSheet (SCTAB nTab, ScDocument &rDoc, ScQProStyle *pStyle)
 

Private Attributes

sal_uInt16 mnId
 
sal_uInt16 mnLength
 
sal_uInt32 mnOffset
 
SvStreammpStream
 
bool mbEndOfFile
 
const SCTAB mnMaxTab
 

Detailed Description

Definition at line 32 of file qpro.hxx.

Constructor & Destructor Documentation

◆ ScQProReader()

ScQProReader::ScQProReader ( SvStream pStream)

Definition at line 152 of file qpro.cxx.

References mnId, mpStream, SvStream::SetBufferSize(), and SvStream::SetStreamCharSet().

◆ ~ScQProReader()

ScQProReader::~ScQProReader ( )

Definition at line 167 of file qpro.cxx.

References mpStream, and SvStream::SetBufferSize().

Member Function Documentation

◆ getId()

sal_uInt16 ScQProReader::getId ( ) const
inline

Definition at line 48 of file qpro.hxx.

References mnId.

Referenced by parse(), and readSheet().

◆ getLength()

sal_uInt16 ScQProReader::getLength ( ) const
inline

Definition at line 49 of file qpro.hxx.

References mnLength.

Referenced by parse(), and readSheet().

◆ import()

ErrCode ScQProReader::import ( ScDocument rDoc)

Definition at line 243 of file qpro.cxx.

References ScDocument::CalcAfterLoad(), and parse().

Referenced by ScFormatFilterPluginImpl::ScImportQuattroPro().

◆ nextRecord()

bool ScQProReader::nextRecord ( )

◆ parse()

ErrCode ScQProReader::parse ( ScDocument rDoc)

◆ readSheet()

ErrCode ScQProReader::readSheet ( SCTAB  nTab,
ScDocument rDoc,
ScQProStyle pStyle 
)

◆ readString()

OUString ScQProReader::readString ( sal_uInt16  nLength)

Definition at line 315 of file qpro.cxx.

References SvStream::GetStreamCharSet(), mpStream, nLength, and read_uInt8s_ToOUString().

Referenced by parse(), and readSheet().

◆ recordsLeft()

bool ScQProReader::recordsLeft ( )

Definition at line 268 of file qpro.cxx.

References SvStream::good(), and mpStream.

Referenced by nextRecord(), and parse().

◆ SetEof()

void ScQProReader::SetEof ( bool  bValue)
inline

Definition at line 46 of file qpro.hxx.

References mbEndOfFile.

Referenced by parse().

Member Data Documentation

◆ mbEndOfFile

bool ScQProReader::mbEndOfFile
private

Definition at line 38 of file qpro.hxx.

Referenced by nextRecord(), and SetEof().

◆ mnId

sal_uInt16 ScQProReader::mnId
private

Definition at line 34 of file qpro.hxx.

Referenced by getId(), and nextRecord().

◆ mnLength

sal_uInt16 ScQProReader::mnLength
private

Definition at line 35 of file qpro.hxx.

Referenced by getLength(), and nextRecord().

◆ mnMaxTab

const SCTAB ScQProReader::mnMaxTab
private

Definition at line 39 of file qpro.hxx.

Referenced by parse().

◆ mnOffset

sal_uInt32 ScQProReader::mnOffset
private

Definition at line 36 of file qpro.hxx.

Referenced by nextRecord().

◆ mpStream

SvStream* ScQProReader::mpStream
private

Definition at line 37 of file qpro.hxx.

Referenced by nextRecord(), parse(), readSheet(), readString(), recordsLeft(), ScQProReader(), and ~ScQProReader().


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