LibreOffice Module sc (master)  1
Classes | Typedefs | Enumerations | Functions | Variables
htmlpars.hxx File Reference
#include <memory>
#include <map>
#include <stack>
#include <string_view>
#include <unordered_map>
#include <vector>
#include <o3tl/sorted_vector.hxx>
#include <rangelst.hxx>
#include "eeparser.hxx"
Include dependency graph for htmlpars.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ScHTMLStyles
 Collection of HTML style data parsed from the content of <style> elements. More...
 
class  ScHTMLParser
 Base class for HTML parser classes. More...
 
struct  ScHTMLTableStackEntry
 
struct  ScHTMLAdjustStackEntry
 
class  ScHTMLLayoutParser
 
struct  ScHTMLPos
 A 2D cell position in an HTML table. More...
 
struct  ScHTMLSize
 A 2D cell size in an HTML table. More...
 
struct  ScHTMLEntry
 A single entry containing a line of text or representing a table. More...
 
struct  ScHTMLTableAutoId
 This struct handles creation of unique table identifiers. More...
 
class  ScHTMLTable
 Stores data for one table in an HTML document. More...
 
class  ScHTMLGlobalTable
 The "global table" representing the entire HTML document. More...
 
class  ScHTMLQueryParser
 The HTML parser for data queries. More...
 

Typedefs

typedef o3tl::sorted_vector< sal_uLongScHTMLColOffset
 
typedef ::std::map< SCROW, SCROWInnerMap
 
typedef ::std::map< sal_uInt16, InnerMap * > OuterMap
 
typedef sal_uInt16 ScHTMLTableId
 Type for a unique identifier for each table. More...
 

Enumerations

enum  ScHTMLOrient {
  tdCol = 0,
  tdRow = 1
}
 Declares the orientation in or for a table: column or row. More...
 

Functions

bool operator< (const ScHTMLPos &rPos1, const ScHTMLPos &rPos2)
 

Variables

const sal_uInt32 SC_HTML_FONTSIZES = 7
 
const sal_uInt16 SC_HTML_OFFSET_TOLERANCE_SMALL = 1
 
const sal_uInt16 SC_HTML_OFFSET_TOLERANCE_LARGE = 10
 
const ScHTMLTableId SC_HTML_GLOBAL_TABLE = 0
 Identifier of the "global table" (the entire HTML document). More...
 
const ScHTMLTableId SC_HTML_NO_TABLE = 0
 Used as table index for normal (non-table) entries in ScHTMLEntry structs. More...
 

Typedef Documentation

Definition at line 145 of file htmlpars.hxx.

typedef ::std::map<sal_uInt16, InnerMap*> OuterMap

Definition at line 149 of file htmlpars.hxx.

Definition at line 97 of file htmlpars.hxx.

typedef sal_uInt16 ScHTMLTableId

Type for a unique identifier for each table.

Definition at line 227 of file htmlpars.hxx.

Enumeration Type Documentation

Declares the orientation in or for a table: column or row.

Enumerator
tdCol 
tdRow 

Definition at line 224 of file htmlpars.hxx.

Function Documentation

bool operator< ( const ScHTMLPos rPos1,
const ScHTMLPos rPos2 
)
inline

Definition at line 254 of file htmlpars.hxx.

References ScHTMLPos::mnCol, and ScHTMLPos::mnRow.

Variable Documentation

const sal_uInt32 SC_HTML_FONTSIZES = 7
const ScHTMLTableId SC_HTML_GLOBAL_TABLE = 0

Identifier of the "global table" (the entire HTML document).

Definition at line 229 of file htmlpars.hxx.

Referenced by ScHTMLTable::GetExistingTable(), IMPL_LINK(), ScHTMLTable::PushTableEntry(), and ScHTMLImport::WriteToDocument().

const ScHTMLTableId SC_HTML_NO_TABLE = 0

Used as table index for normal (non-table) entries in ScHTMLEntry structs.

Definition at line 231 of file htmlpars.hxx.

Referenced by ScHTMLEntry::IsTable(), and ScHTMLTable::RecalcDocPos().

const sal_uInt16 SC_HTML_OFFSET_TOLERANCE_LARGE = 10

Definition at line 38 of file htmlpars.hxx.

Referenced by ScHTMLLayoutParser::TableOn().

const sal_uInt16 SC_HTML_OFFSET_TOLERANCE_SMALL = 1

Definition at line 37 of file htmlpars.hxx.