|
LibreOffice Module sc (master) 1
|
The "global table" representing the entire HTML document. More...
#include <htmlpars.hxx>
Public Member Functions | |
| ScHTMLGlobalTable (SfxItemPool &rPool, EditEngine &rEditEngine, std::vector< std::shared_ptr< ScEEParseEntry > > &rEEParseList, ScHTMLTableId &rnUnusedId, ScHTMLParser *pParser, const ScDocument &rDoc) | |
| virtual | ~ScHTMLGlobalTable () override |
| void | Recalc () |
| Recalculates sizes and resulting positions of all document entries. More... | |
Public Member Functions inherited from ScHTMLTable | |
| ScHTMLTable (ScHTMLTable &rParentTable, const HtmlImportInfo &rInfo, bool bPreFormText, const ScDocument &rDoc) | |
| Creates a new HTML table without content. More... | |
| virtual | ~ScHTMLTable () |
| const OUString & | GetTableName () const |
| Returns the name of the table, specified in the TABLE tag. More... | |
| const OUString & | GetTableCaption () const |
| Returns the caption of the table, specified in the tag. More... | |
| ScHTMLTableId | GetTableId () const |
| Returns the unique identifier of the table. More... | |
| ScHTMLSize | GetSpan (const ScHTMLPos &rCellPos) const |
| Returns the cell spanning of the specified cell. More... | |
| ScHTMLTable * | FindNestedTable (ScHTMLTableId nTableId) const |
| Searches in all nested tables for the specified table. More... | |
| void | PutItem (const SfxPoolItem &rItem) |
| Puts the item into the item set of the current entry. More... | |
| void | PutText (const HtmlImportInfo &rInfo) |
| Inserts a text portion into current entry. More... | |
| void | InsertPara (const HtmlImportInfo &rInfo) |
| Inserts a new line, if in preformatted text, else does nothing. More... | |
| void | BreakOn () |
| Inserts a line break ( tag). More... | |
| void | HeadingOn () |
| Inserts a heading line (. More... | |
| void | AnchorOn () |
| Processes a hyperlink ( tag). More... | |
| ScHTMLTable * | TableOn (const HtmlImportInfo &rInfo) |
| Starts a new table nested in this table (. More... | |
| ScHTMLTable * | TableOff (const HtmlImportInfo &rInfo) |
| Closes this table (tag). More... | |
| void | CaptionOn () |
| Processes the caption of the table ( tag). More... | |
| void | CaptionOff () |
| Processes the caption of the table ( tag). More... | |
| ScHTMLTable * | PreOn (const HtmlImportInfo &rInfo) |
| Starts a new table based on preformatted text (. More... | |
| ScHTMLTable * | PreOff (const HtmlImportInfo &rInfo) |
| Closes this table based on preformatted text ( tag). More... | |
| void | RowOn (const HtmlImportInfo &rInfo) |
| Starts next row (tag). More... | |
| void | RowOff (const HtmlImportInfo &rInfo) |
| Closes the current row (tag). More... | |
| void | DataOn (const HtmlImportInfo &rInfo) |
| Starts the next cell (or tag). More... | |
| void | DataOff (const HtmlImportInfo &rInfo) |
| Closes the current cell ( or tag). More... | |
| void | BodyOn (const HtmlImportInfo &rInfo) |
| Starts the body of the HTML document (<body> tag). More... | |
| void | BodyOff (const HtmlImportInfo &rInfo) |
| Closes the body of the HTML document (</body> tag). More... | |
| ScHTMLTable * | CloseTable (const HtmlImportInfo &rInfo) |
| Closes this table (tag) or preformatted text ( tag). More... | |
| SCCOLROW | GetDocSize (ScHTMLOrient eOrient, SCCOLROW nCellPos) const |
| Returns the resulting document row/column count of the specified HTML row/column. More... | |
| SCCOLROW | GetDocSize (ScHTMLOrient eOrient, SCCOLROW nCellBegin, SCCOLROW nCellEnd) const |
| Returns the resulting document row/column count in the half-open range [nCellBegin, nCellEnd). More... | |
| SCCOLROW | GetDocSize (ScHTMLOrient eOrient) const |
| Returns the total document row/column count in the specified direction. More... | |
| ScHTMLSize | GetDocSize (const ScHTMLPos &rCellPos) const |
| Returns the total document row/column count of the specified HTML cell. More... | |
| const ScHTMLPos & | GetDocPos () const |
| Returns the resulting Calc position of the top left edge of the table. More... | |
| SCCOLROW | GetDocPos (ScHTMLOrient eOrient, SCCOLROW nCellPos) const |
| Calculates the resulting Calc position of the specified HTML column/row. More... | |
| ScHTMLPos | GetDocPos (const ScHTMLPos &rCellPos) const |
| Calculates the resulting Calc position of the specified HTML cell. More... | |
| void | GetDocRange (ScRange &rRange) const |
| Calculates the current Calc document area of this table. More... | |
| void | ApplyCellBorders (ScDocument *pDoc, const ScAddress &rFirstPos) const |
| Applies border formatting to the passed document. More... | |
| SvNumberFormatter * | GetFormatTable () |
Additional Inherited Members | |
Protected Member Functions inherited from ScHTMLTable | |
| ScHTMLTable (SfxItemPool &rPool, EditEngine &rEditEngine, std::vector< std::shared_ptr< ScEEParseEntry > > &rEEParseList, ScHTMLTableId &rnUnusedId, ScHTMLParser *pParser, const ScDocument &rDoc) | |
| Creates a new HTML table without parent. More... | |
| void | FillEmptyCells () |
| Fills all empty cells in this and nested tables with dummy parse entries. More... | |
| void | RecalcDocSize () |
| Recalculates the size of all columns/rows in the table, regarding nested tables. More... | |
| void | RecalcDocPos (const ScHTMLPos &rBasePos) |
| Recalculates the position of all cell entries and nested tables. More... | |
The "global table" representing the entire HTML document.
Definition at line 558 of file htmlpars.hxx.
|
explicit |
Definition at line 2746 of file htmlpars.cxx.
|
overridevirtual |
Definition at line 2758 of file htmlpars.cxx.
| void ScHTMLGlobalTable::Recalc | ( | ) |
Recalculates sizes and resulting positions of all document entries.
Definition at line 2762 of file htmlpars.cxx.
References ScHTMLTable::FillEmptyCells(), ScHTMLTable::GetDocPos(), ScHTMLTable::RecalcDocPos(), and ScHTMLTable::RecalcDocSize().