| 
    LibreOffice Module sc (master) 1
    
   | 
 
A map of ScHTMLTable objects. More...
Public Types | |
| typedef ScHTMLTableStdMap::iterator | iterator | 
| typedef ScHTMLTableStdMap::const_iterator | const_iterator | 
Public Member Functions | |
| ScHTMLTableMap (ScHTMLTable &rParentTable) | |
| Current table, used for fast search.  More... | |
| const_iterator | begin () const | 
| const_iterator | end () const | 
| ScHTMLTable * | FindTable (ScHTMLTableId nTableId, bool bDeep=true) const | 
| Returns the specified table.  More... | |
| ScHTMLTable * | CreateTable (const HtmlImportInfo &rInfo, bool bPreFormText, const ScDocument &rDoc) | 
| Inserts a new table into the container.  More... | |
Private Types | |
| typedef std::shared_ptr< ScHTMLTable > | ScHTMLTablePtr | 
| typedef std::map< ScHTMLTableId, ScHTMLTablePtr > | ScHTMLTableStdMap | 
Private Member Functions | |
| void | SetCurrTable (ScHTMLTable *pTable) const | 
| Sets a working table with its index for search optimization.  More... | |
Private Attributes | |
| ScHTMLTable & | mrParentTable | 
| ScHTMLTableStdMap | maTables | 
| Reference to parent table.  More... | |
| ScHTMLTable * | mpCurrTable | 
| Container for all table objects.  More... | |
A map of ScHTMLTable objects.
Organizes the tables with a unique table key. Stores nested tables inside the parent table and forms in this way a tree structure of tables. An instance of this class owns the contained table objects and deletes them on destruction.
Definition at line 1695 of file htmlpars.cxx.
| typedef ScHTMLTableStdMap::const_iterator ScHTMLTableMap::const_iterator | 
Definition at line 1703 of file htmlpars.cxx.
| typedef ScHTMLTableStdMap::iterator ScHTMLTableMap::iterator | 
Definition at line 1702 of file htmlpars.cxx.
      
  | 
  private | 
Definition at line 1698 of file htmlpars.cxx.
      
  | 
  private | 
Definition at line 1699 of file htmlpars.cxx.
      
  | 
  explicit | 
Current table, used for fast search.
Definition at line 1731 of file htmlpars.cxx.
      
  | 
  inline | 
| ScHTMLTable * ScHTMLTableMap::CreateTable | ( | const HtmlImportInfo & | rInfo, | 
| bool | bPreFormText, | ||
| const ScDocument & | rDoc | ||
| ) | 
Inserts a new table into the container.
This container owns the created table.
| bPreFormText | true = New table is based on preformatted text (tag).  | 
Definition at line 1758 of file htmlpars.cxx.
References ScHTMLTable::GetTableId(), maTables, mrParentTable, and SetCurrTable().
      
  | 
  inline | 
| ScHTMLTable * ScHTMLTableMap::FindTable | ( | ScHTMLTableId | nTableId, | 
| bool | bDeep = true  | 
        ||
| ) | const | 
Returns the specified table.
| nTableId | Unique identifier of the table. | 
| bDeep | true = searches deep in all nested table; false = only in this container. | 
Definition at line 1737 of file htmlpars.cxx.
References begin(), end(), ScHTMLTable::FindNestedTable(), ScHTMLTable::GetTableId(), maTables, mpCurrTable, and SetCurrTable().
      
  | 
  inlineprivate | 
Sets a working table with its index for search optimization.
Definition at line 1727 of file htmlpars.cxx.
References mpCurrTable.
Referenced by CreateTable(), and FindTable().
      
  | 
  private | 
Reference to parent table.
Definition at line 1707 of file htmlpars.cxx.
Referenced by begin(), CreateTable(), end(), and FindTable().
      
  | 
  mutableprivate | 
Container for all table objects.
Definition at line 1708 of file htmlpars.cxx.
Referenced by FindTable(), and SetCurrTable().
      
  | 
  private | 
Definition at line 1706 of file htmlpars.cxx.
Referenced by CreateTable().