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

#include <rtfparse.hxx>

Inheritance diagram for ScRTFParser:
[legend]
Collaboration diagram for ScRTFParser:
[legend]

Public Member Functions

 ScRTFParser (EditEngine *)
 
virtual ~ScRTFParser () override
 
virtual ErrCode Read (SvStream &, const OUString &rBaseURL) override
 
- Public Member Functions inherited from ScEEParser
 ScEEParser (EditEngine *)
 
virtual ~ScEEParser ()
 
const ColWidthsMapGetColWidths () const
 
ColWidthsMapGetColWidths ()
 
void GetDimensions (SCCOL &nCols, SCROW &nRows) const
 
size_t ListSize () const
 
ScEEParseEntryListEntry (size_t index)
 
const ScEEParseEntryListEntry (size_t index) const
 

Private Types

typedef std::vector< std::unique_ptr< ScRTFCellDefault > > DefaultList
 

Private Member Functions

 DECL_LINK (RTFImportHdl, RtfImportInfo &, void)
 
void NextRow ()
 
void EntryEnd (ScEEParseEntry *, const ESelection &)
 
void ProcToken (RtfImportInfo *)
 
void ColAdjust ()
 
bool SeekTwips (sal_uInt16 nTwips, SCCOL *pCol)
 
void NewCellRow ()
 

Private Attributes

DefaultList maDefaultList
 
size_t mnCurPos
 
ScRTFColTwips aColTwips
 
std::unique_ptr< ScRTFCellDefaultpInsDefault
 
ScRTFCellDefaultpActDefault
 
ScRTFCellDefaultpDefMerge
 
sal_uLong nStartAdjust
 
sal_uInt16 nLastWidth
 
bool bNewDef
 

Additional Inherited Members

- Protected Member Functions inherited from ScEEParser
void NewActEntry (const ScEEParseEntry *)
 
- Protected Attributes inherited from ScEEParser
EditEnginepEdit
 
SfxItemPoolpPool
 
SfxItemPoolpDocPool
 
std::vector< std::shared_ptr< ScEEParseEntry > > maList
 
std::shared_ptr< ScEEParseEntrymxActEntry
 
ColWidthsMap maColWidths
 
int nRtfLastToken
 
SCCOL nColCnt
 
SCROW nRowCnt
 
SCCOL nColMax
 
SCROW nRowMax
 

Detailed Description

Definition at line 49 of file rtfparse.hxx.

Member Typedef Documentation

typedef std::vector< std::unique_ptr<ScRTFCellDefault> > ScRTFParser::DefaultList
private

Definition at line 52 of file rtfparse.hxx.

Constructor & Destructor Documentation

ScRTFParser::ScRTFParser ( EditEngine pEditP)
ScRTFParser::~ScRTFParser ( )
overridevirtual

Definition at line 51 of file rtfparse.cxx.

References maDefaultList, and pInsDefault.

Member Function Documentation

void ScRTFParser::ColAdjust ( )
private
ScRTFParser::DECL_LINK ( RTFImportHdl  ,
RtfImportInfo ,
void   
)
private
void ScRTFParser::EntryEnd ( ScEEParseEntry pE,
const ESelection aSel 
)
private
void ScRTFParser::NewCellRow ( )
private
void ScRTFParser::NextRow ( )
inlineprivate

Definition at line 95 of file rtfparse.cxx.

References ScEEParser::nRowCnt, and ScEEParser::nRowMax.

Referenced by ProcToken().

void ScRTFParser::ProcToken ( RtfImportInfo pInfo)
private
ErrCode ScRTFParser::Read ( SvStream rStream,
const OUString &  rBaseURL 
)
overridevirtual
bool ScRTFParser::SeekTwips ( sal_uInt16  nTwips,
SCCOL pCol 
)
private

Member Data Documentation

ScRTFColTwips ScRTFParser::aColTwips
private

Definition at line 57 of file rtfparse.hxx.

Referenced by ColAdjust(), NewCellRow(), and SeekTwips().

bool ScRTFParser::bNewDef
private

Definition at line 63 of file rtfparse.hxx.

Referenced by NewCellRow(), and ProcToken().

DefaultList ScRTFParser::maDefaultList
private

Definition at line 54 of file rtfparse.hxx.

Referenced by NewCellRow(), ProcToken(), and ~ScRTFParser().

size_t ScRTFParser::mnCurPos
private

Definition at line 55 of file rtfparse.hxx.

Referenced by NewCellRow(), and ProcToken().

sal_uInt16 ScRTFParser::nLastWidth
private

Definition at line 62 of file rtfparse.hxx.

Referenced by NewCellRow(), and ProcToken().

sal_uLong ScRTFParser::nStartAdjust
private

Definition at line 61 of file rtfparse.hxx.

Referenced by ColAdjust(), and ProcToken().

ScRTFCellDefault* ScRTFParser::pActDefault
private

Definition at line 59 of file rtfparse.hxx.

Referenced by NewCellRow(), and ProcToken().

ScRTFCellDefault* ScRTFParser::pDefMerge
private

Definition at line 60 of file rtfparse.hxx.

Referenced by NewCellRow(), and ProcToken().

std::unique_ptr<ScRTFCellDefault> ScRTFParser::pInsDefault
private

Definition at line 58 of file rtfparse.hxx.

Referenced by ProcToken(), ScRTFParser(), and ~ScRTFParser().


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