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

#include <qpro.hxx>

Collaboration diagram for ScQProReader:

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
bool mbEndOfFile
const SCTAB mnMaxTab

Detailed Description

Definition at line 33 of file qpro.hxx.

Constructor & Destructor Documentation

ScQProReader::ScQProReader ( SvStream pStream)

Definition at line 137 of file qpro.cxx.

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

ScQProReader::~ScQProReader ( )

Definition at line 152 of file qpro.cxx.

References mpStream, and SvStream::SetBufferSize().

Member Function Documentation

sal_uInt16 ScQProReader::getId ( ) const

Definition at line 49 of file qpro.hxx.

References mnId.

Referenced by parse(), and readSheet().

sal_uInt16 ScQProReader::getLength ( ) const

Definition at line 50 of file qpro.hxx.

References mnLength.

Referenced by parse(), and readSheet().

ErrCode ScQProReader::import ( ScDocument rDoc)

Definition at line 228 of file qpro.cxx.

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

Referenced by ScFormatFilterPluginImpl::ScImportQuattroPro().

bool ScQProReader::nextRecord ( )
ErrCode ScQProReader::parse ( ScDocument rDoc)
ErrCode ScQProReader::readSheet ( SCTAB  nTab,
ScDocument rDoc,
ScQProStyle pStyle 
OUString ScQProReader::readString ( sal_uInt16  nLength)

Definition at line 300 of file qpro.cxx.

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

Referenced by parse(), and readSheet().

bool ScQProReader::recordsLeft ( )

Definition at line 253 of file qpro.cxx.

References SvStream::good(), and mpStream.

Referenced by nextRecord(), and parse().

void ScQProReader::SetEof ( bool  bValue)

Definition at line 47 of file qpro.hxx.

Referenced by parse().

Member Data Documentation

bool ScQProReader::mbEndOfFile

Definition at line 39 of file qpro.hxx.

Referenced by nextRecord().

sal_uInt16 ScQProReader::mnId

Definition at line 35 of file qpro.hxx.

Referenced by getId(), and nextRecord().

sal_uInt16 ScQProReader::mnLength

Definition at line 36 of file qpro.hxx.

Referenced by getLength(), and nextRecord().

const SCTAB ScQProReader::mnMaxTab

Definition at line 40 of file qpro.hxx.

Referenced by parse().

sal_uInt32 ScQProReader::mnOffset

Definition at line 37 of file qpro.hxx.

Referenced by nextRecord().

SvStream* ScQProReader::mpStream

Definition at line 38 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: