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 ()
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
std::unique_ptr< SfxItemPool, SfxItemPoolDeleterpPool
std::unique_ptr< SfxItemPool, SfxItemPoolDeleterpDocPool
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 76 of file htmlpars.hxx.

Constructor & Destructor Documentation

ScHTMLParser::ScHTMLParser ( EditEngine pEditEngine,
ScDocument pDoc 

The destination document.

Definition at line 185 of file htmlpars.cxx.

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

ScHTMLParser::~ScHTMLParser ( )

Definition at line 194 of file htmlpars.cxx.

Member Function Documentation

ScDocument& ScHTMLParser::GetDoc ( )

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 ( )

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]
ScHTMLStyles ScHTMLParser::maStyles

Definition at line 78 of file htmlpars.hxx.

Referenced by GetStyles().

ScDocument* ScHTMLParser::mpDoc

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