LibreOffice Module sc (master)  1
Public Member Functions | Protected Attributes | Private Attributes | List of all members
ScHTMLParser Class Referenceabstract

Base class for HTML parser classes. More...

#include <htmlpars.hxx>

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

Public Member Functions

 ScHTMLParser (EditEngine *pEditEngine, ScDocument *pDoc)
 The destination document. More...
 
virtual ~ScHTMLParser () override
 
virtual ErrCode Read (SvStream &rStrm, const OUString &rBaseURL) override=0
 
ScHTMLStylesGetStyles ()
 
ScDocumentGetDoc ()
 
virtual const ScHTMLTableGetGlobalTable () const =0
 Returns the "global table" which contains the entire HTML document. More...
 
- 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
 

Protected Attributes

sal_uInt32 maFontHeights [SC_HTML_FONTSIZES]
 
ScDocumentmpDoc
 
- 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
 

Private Attributes

ScHTMLStyles maStyles
 

Additional Inherited Members

- Protected Member Functions inherited from ScEEParser
void NewActEntry (const ScEEParseEntry *)
 

Detailed Description

Base class for HTML parser classes.

Definition at line 76 of file htmlpars.hxx.

Constructor & Destructor Documentation

ScHTMLParser::ScHTMLParser ( EditEngine pEditEngine,
ScDocument pDoc 
)
explicit

The destination document.

Definition at line 185 of file htmlpars.cxx.

References SvxHtmlOptions::Get(), SvxHtmlOptions::GetFontSize(), maFontHeights, nIndex, and SC_HTML_FONTSIZES.

ScHTMLParser::~ScHTMLParser ( )
overridevirtual

Definition at line 194 of file htmlpars.cxx.

Member Function Documentation

ScDocument& ScHTMLParser::GetDoc ( )
inline

Definition at line 90 of file htmlpars.hxx.

References mpDoc.

Referenced by ScHTMLTable::GetFormatTable().

virtual const ScHTMLTable* ScHTMLParser::GetGlobalTable ( ) const
pure virtual

Returns the "global table" which contains the entire HTML document.

Implemented in ScHTMLQueryParser, and ScHTMLLayoutParser.

Referenced by ScHTMLImport::WriteToDocument().

ScHTMLStyles& ScHTMLParser::GetStyles ( )
inline

Definition at line 89 of file htmlpars.hxx.

References maStyles.

Referenced by ScHTMLTable::DataOn().

virtual ErrCode ScHTMLParser::Read ( SvStream rStrm,
const OUString &  rBaseURL 
)
overridepure virtual

Implements ScEEParser.

Implemented in ScHTMLQueryParser, and ScHTMLLayoutParser.

Member Data Documentation

sal_uInt32 ScHTMLParser::maFontHeights[SC_HTML_FONTSIZES]
protected
ScHTMLStyles ScHTMLParser::maStyles
private

Definition at line 78 of file htmlpars.hxx.

Referenced by GetStyles().

ScDocument* ScHTMLParser::mpDoc
protected

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