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:
Collaboration diagram for ScHTMLParser:

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 ()
virtual ErrCode Read (SvStream &, const OUString &rBaseURL)=0
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]
- Protected Attributes inherited from ScEEParser
rtl::Reference< SfxItemPoolpPool
rtl::Reference< SfxItemPoolpDocPool
std::vector< std::shared_ptr< ScEEParseEntry > > maList
std::shared_ptr< ScEEParseEntrymxActEntry
ColWidthsMap maColWidths
int nRtfLastToken

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 78 of file htmlpars.hxx.

Constructor & Destructor Documentation

◆ ScHTMLParser()

ScHTMLParser::ScHTMLParser ( EditEngine pEditEngine,
ScDocument pDoc 

The destination document.

Definition at line 188 of file htmlpars.cxx.

References maFontHeights.

◆ ~ScHTMLParser()

ScHTMLParser::~ScHTMLParser ( )

Definition at line 201 of file htmlpars.cxx.

Member Function Documentation

◆ GetDoc()

ScDocument & ScHTMLParser::GetDoc ( )

Definition at line 92 of file htmlpars.hxx.

References mpDoc.

Referenced by ScHTMLTable::GetFormatTable().

◆ GetGlobalTable()

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

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

Implemented in ScHTMLLayoutParser, and ScHTMLQueryParser.

Referenced by ScHTMLImport::WriteToDocument().

◆ GetStyles()

ScHTMLStyles & ScHTMLParser::GetStyles ( )

Definition at line 91 of file htmlpars.hxx.

References maStyles.

Referenced by ScHTMLTable::DataOn(), and ScHTMLQueryParser::ParseStyle().

◆ Read()

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

Implements ScEEParser.

Implemented in ScHTMLLayoutParser, and ScHTMLQueryParser.

Member Data Documentation

◆ maFontHeights

sal_uInt32 ScHTMLParser::maFontHeights[SC_HTML_FONTSIZES]

◆ maStyles

ScHTMLStyles ScHTMLParser::maStyles

Definition at line 80 of file htmlpars.hxx.

Referenced by GetStyles().

◆ mpDoc

ScDocument* ScHTMLParser::mpDoc

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