diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-08 13:01:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-08 20:56:30 +0200 |
commit | 61d49afadb2badc7572b04c73ee682afde1d2e7b (patch) | |
tree | ab72148a48dc97ef4fcf01218358e5e75b72a835 /sc/source | |
parent | fac539889e32e5e47ca6b6da0a588abbe4cbe066 (diff) |
loplugin:unusedmethods
Change-Id: Id66cf12e3a59aeed1b9a7a111b841e30b248635b
Reviewed-on: https://gerrit.libreoffice.org/40876
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 823 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 47 |
2 files changed, 0 insertions, 870 deletions
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index ee241d416a31..e2950bab64a1 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -512,200 +512,6 @@ const SvXMLTokenMap& ScXMLImport::GetContentValidationMessageElemTokenMap() return *pContentValidationMessageElemTokenMap; } -const SvXMLTokenMap& ScXMLImport::GetCondFormatsTokenMap() -{ - if( !pCondFormatsTokenMap ) - { - static const SvXMLTokenMapEntry aCondFormatsElemTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_CONDITIONAL_FORMAT, XML_TOK_CONDFORMATS_CONDFORMAT }, - XML_TOKEN_MAP_END - }; - - pCondFormatsTokenMap = new SvXMLTokenMap( aCondFormatsElemTokenMap ); - } - - return *pCondFormatsTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCondFormatTokenMap() -{ - if( !pCondFormatTokenMap ) - { - static const SvXMLTokenMapEntry aCondFormatElemTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_COLOR_SCALE, XML_TOK_CONDFORMAT_COLORSCALE }, - { XML_NAMESPACE_CALC_EXT, XML_DATA_BAR, XML_TOK_CONDFORMAT_DATABAR }, - { XML_NAMESPACE_CALC_EXT, XML_CONDITION, XML_TOK_CONDFORMAT_CONDITION }, - { XML_NAMESPACE_CALC_EXT, XML_ICON_SET, XML_TOK_CONDFORMAT_ICONSET }, - { XML_NAMESPACE_CALC_EXT, XML_DATE_IS, XML_TOK_CONDFORMAT_DATE }, - XML_TOKEN_MAP_END - }; - - pCondFormatTokenMap = new SvXMLTokenMap( aCondFormatElemTokenMap ); - } - - return *pCondFormatTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCondFormatAttrMap() -{ - if( !pCondFormatAttrMap ) - { - static const SvXMLTokenMapEntry aCondFormatAttrTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_TARGET_RANGE_ADDRESS, XML_TOK_CONDFORMAT_TARGET_RANGE }, - XML_TOKEN_MAP_END - }; - - pCondFormatAttrMap = new SvXMLTokenMap( aCondFormatAttrTokenMap ); - } - - return *pCondFormatAttrMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCondDateAttrMap() -{ - if( !pCondDateAttrMap ) - { - static const SvXMLTokenMapEntry aCondDateAttrTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_DATE, XML_TOK_COND_DATE_VALUE }, - { XML_NAMESPACE_CALC_EXT, XML_STYLE, XML_TOK_COND_DATE_STYLE }, - XML_TOKEN_MAP_END - }; - - pCondDateAttrMap = new SvXMLTokenMap( aCondDateAttrTokenMap ); - } - - return *pCondDateAttrMap; -} - -const SvXMLTokenMap& ScXMLImport::GetConditionAttrMap() -{ - if( !pConditionAttrMap ) - { - static const SvXMLTokenMapEntry aConditionAttrTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_VALUE, XML_TOK_CONDITION_VALUE }, - { XML_NAMESPACE_CALC_EXT, XML_APPLY_STYLE_NAME, XML_TOK_CONDITION_APPLY_STYLE_NAME }, - { XML_NAMESPACE_CALC_EXT, XML_BASE_CELL_ADDRESS, XML_TOK_CONDITION_BASE_CELL_ADDRESS }, - XML_TOKEN_MAP_END - }; - - pConditionAttrMap = new SvXMLTokenMap( aConditionAttrTokenMap ); - } - - return *pConditionAttrMap; -} - -const SvXMLTokenMap& ScXMLImport::GetColorScaleTokenMap() -{ - if( !pColorScaleTokenMap ) - { - static const SvXMLTokenMapEntry aColorScaleElemTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_COLOR_SCALE_ENTRY, XML_TOK_COLORSCALE_COLORSCALEENTRY }, - XML_TOKEN_MAP_END - }; - - pColorScaleTokenMap = new SvXMLTokenMap( aColorScaleElemTokenMap ); - } - - return *pColorScaleTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetColorScaleEntryAttrMap() -{ - if( !pColorScaleEntryAttrTokenMap ) - { - static const SvXMLTokenMapEntry aColorScaleAttrTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_TYPE, XML_TOK_COLORSCALEENTRY_TYPE }, - { XML_NAMESPACE_CALC_EXT, XML_VALUE, XML_TOK_COLORSCALEENTRY_VALUE }, - { XML_NAMESPACE_CALC_EXT, XML_COLOR, XML_TOK_COLORSCALEENTRY_COLOR }, - XML_TOKEN_MAP_END - }; - - pColorScaleEntryAttrTokenMap = new SvXMLTokenMap( aColorScaleAttrTokenMap ); - } - - return *pColorScaleEntryAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetFormattingTokenMap() -{ - if( !pDataBarTokenMap ) - { - static const SvXMLTokenMapEntry aDataBarElemTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_DATA_BAR_ENTRY, XML_TOK_DATABAR_DATABARENTRY }, - { XML_NAMESPACE_CALC_EXT, XML_FORMATTING_ENTRY, XML_TOK_FORMATTING_ENTRY }, - XML_TOKEN_MAP_END - }; - - pDataBarTokenMap = new SvXMLTokenMap( aDataBarElemTokenMap ); - } - - return *pDataBarTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataBarAttrMap() -{ - if( !pDataBarAttrMap ) - { - static const SvXMLTokenMapEntry aDataBarAttrTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_POSITIVE_COLOR, XML_TOK_DATABAR_POSITIVE_COLOR }, - { XML_NAMESPACE_CALC_EXT, XML_NEGATIVE_COLOR, XML_TOK_DATABAR_NEGATIVE_COLOR }, - { XML_NAMESPACE_CALC_EXT, XML_GRADIENT, XML_TOK_DATABAR_GRADIENT }, - { XML_NAMESPACE_CALC_EXT, XML_AXIS_POSITION, XML_TOK_DATABAR_AXISPOSITION }, - { XML_NAMESPACE_CALC_EXT, XML_SHOW_VALUE, XML_TOK_DATABAR_SHOWVALUE }, - { XML_NAMESPACE_CALC_EXT, XML_AXIS_COLOR, XML_TOK_DATABAR_AXISCOLOR }, - { XML_NAMESPACE_CALC_EXT, XML_MIN_LENGTH, XML_TOK_DATABAR_MINLENGTH }, - { XML_NAMESPACE_CALC_EXT, XML_MAX_LENGTH, XML_TOK_DATABAR_MAXLENGTH }, - XML_TOKEN_MAP_END - }; - - pDataBarAttrMap = new SvXMLTokenMap( aDataBarAttrTokenMap ); - } - - return *pDataBarAttrMap; -} - -const SvXMLTokenMap& ScXMLImport::GetIconSetAttrMap() -{ - if( !pIconSetAttrMap ) - { - static const SvXMLTokenMapEntry aIconSetAttrTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_ICON_SET_TYPE, XML_TOK_ICONSET_TYPE }, - { XML_NAMESPACE_CALC_EXT, XML_SHOW_VALUE, XML_TOK_ICONSET_SHOWVALUE }, - XML_TOKEN_MAP_END - }; - - pIconSetAttrMap = new SvXMLTokenMap( aIconSetAttrTokenMap ); - } - - return *pIconSetAttrMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataBarEntryAttrMap() -{ - if( !pFormattingEntryAttrMap ) - { - static const SvXMLTokenMapEntry aDataBarAttrEntryTokenMap[] = - { - { XML_NAMESPACE_CALC_EXT, XML_TYPE, XML_TOK_DATABARENTRY_TYPE }, - { XML_NAMESPACE_CALC_EXT, XML_VALUE, XML_TOK_DATABARENTRY_VALUE }, - XML_TOKEN_MAP_END - }; - - pFormattingEntryAttrMap = new SvXMLTokenMap( aDataBarAttrEntryTokenMap ); - } - - return *pFormattingEntryAttrMap; -} const SvXMLTokenMap& ScXMLImport::GetTableElemTokenMap() { @@ -838,633 +644,6 @@ const SvXMLTokenMap& ScXMLImport::GetTableAnnotationAttrTokenMap() return *pTableAnnotationAttrTokenMap; } -const SvXMLTokenMap& ScXMLImport::GetDetectiveElemTokenMap() -{ - if( !pDetectiveElemTokenMap ) - { - static const SvXMLTokenMapEntry aDetectiveElemTokenMap[]= - { - { XML_NAMESPACE_TABLE, XML_HIGHLIGHTED_RANGE, XML_TOK_DETECTIVE_ELEM_HIGHLIGHTED }, - { XML_NAMESPACE_TABLE, XML_OPERATION, XML_TOK_DETECTIVE_ELEM_OPERATION }, - XML_TOKEN_MAP_END - }; - - pDetectiveElemTokenMap = new SvXMLTokenMap( aDetectiveElemTokenMap ); - } // if( !pDetectiveElemTokenMap ) - - return *pDetectiveElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDetectiveHighlightedAttrTokenMap() -{ - if( !pDetectiveHighlightedAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDetectiveHighlightedAttrTokenMap[]= - { - { XML_NAMESPACE_TABLE, XML_CELL_RANGE_ADDRESS, XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_CELL_RANGE }, - { XML_NAMESPACE_TABLE, XML_DIRECTION, XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_DIRECTION }, - { XML_NAMESPACE_TABLE, XML_CONTAINS_ERROR, XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_CONTAINS_ERROR }, - { XML_NAMESPACE_TABLE, XML_MARKED_INVALID, XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_MARKED_INVALID }, - XML_TOKEN_MAP_END - }; - - pDetectiveHighlightedAttrTokenMap = new SvXMLTokenMap( aDetectiveHighlightedAttrTokenMap ); - } // if( !pDetectiveHighlightedAttrTokenMap ) - - return *pDetectiveHighlightedAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDetectiveOperationAttrTokenMap() -{ - if( !pDetectiveOperationAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDetectiveOperationAttrTokenMap[]= - { - { XML_NAMESPACE_TABLE, XML_NAME, XML_TOK_DETECTIVE_OPERATION_ATTR_NAME }, - { XML_NAMESPACE_TABLE, XML_INDEX, XML_TOK_DETECTIVE_OPERATION_ATTR_INDEX }, - XML_TOKEN_MAP_END - }; - - pDetectiveOperationAttrTokenMap = new SvXMLTokenMap( aDetectiveOperationAttrTokenMap ); - } // if( !pDetectiveOperationAttrTokenMap ) - - return *pDetectiveOperationAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetTableCellRangeSourceAttrTokenMap() -{ - if( !pTableCellRangeSourceAttrTokenMap ) - { - static const SvXMLTokenMapEntry aTableCellRangeSourceAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_NAME, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_NAME }, - { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_HREF }, - { XML_NAMESPACE_TABLE, XML_FILTER_NAME, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_FILTER_NAME }, - { XML_NAMESPACE_TABLE, XML_FILTER_OPTIONS, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_FILTER_OPTIONS }, - { XML_NAMESPACE_TABLE, XML_LAST_COLUMN_SPANNED, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_LAST_COLUMN }, - { XML_NAMESPACE_TABLE, XML_LAST_ROW_SPANNED, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_LAST_ROW }, - { XML_NAMESPACE_TABLE, XML_REFRESH_DELAY, XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_REFRESH_DELAY }, - XML_TOKEN_MAP_END - }; - - pTableCellRangeSourceAttrTokenMap = new SvXMLTokenMap( aTableCellRangeSourceAttrTokenMap ); - } // if( !pTableCellRangeSourceAttrTokenMap ) - - return *pTableCellRangeSourceAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDatabaseRangeSourceSQLAttrTokenMap() -{ - if( !pDatabaseRangeSourceSQLAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDatabaseRangeSourceSQLAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATABASE_NAME, XML_TOK_SOURCE_SQL_ATTR_DATABASE_NAME }, - { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_SOURCE_SQL_ATTR_HREF }, - { XML_NAMESPACE_TABLE, XML_CONNECTION_RESOURCE, XML_TOK_SOURCE_SQL_ATTR_CONNECTION_RESOURCE}, - { XML_NAMESPACE_TABLE, XML_SQL_STATEMENT, XML_TOK_SOURCE_SQL_ATTR_SQL_STATEMENT }, - { XML_NAMESPACE_TABLE, XML_PARSE_SQL_STATEMENT, XML_TOK_SOURCE_SQL_ATTR_PARSE_SQL_STATEMENT }, - XML_TOKEN_MAP_END - }; - - pDatabaseRangeSourceSQLAttrTokenMap = new SvXMLTokenMap( aDatabaseRangeSourceSQLAttrTokenMap ); - } // if( !pDatabaseRangeSourceSQLAttrTokenMap ) - - return *pDatabaseRangeSourceSQLAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDatabaseRangeSourceTableAttrTokenMap() -{ - if( !pDatabaseRangeSourceTableAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDatabaseRangeSourceTableAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATABASE_NAME, XML_TOK_SOURCE_TABLE_ATTR_DATABASE_NAME }, - { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_SOURCE_TABLE_ATTR_HREF }, - { XML_NAMESPACE_TABLE, XML_CONNECTION_RESOURCE, XML_TOK_SOURCE_TABLE_ATTR_CONNECTION_RESOURCE }, - { XML_NAMESPACE_TABLE, XML_TABLE_NAME, XML_TOK_SOURCE_TABLE_ATTR_TABLE_NAME }, - { XML_NAMESPACE_TABLE, XML_DATABASE_TABLE_NAME, XML_TOK_SOURCE_TABLE_ATTR_TABLE_NAME }, - XML_TOKEN_MAP_END - }; - - pDatabaseRangeSourceTableAttrTokenMap = new SvXMLTokenMap( aDatabaseRangeSourceTableAttrTokenMap ); - } // if( !pDatabaseRangeSourceTableAttrTokenMap ) - - return *pDatabaseRangeSourceTableAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDatabaseRangeSourceQueryAttrTokenMap() -{ - if( !pDatabaseRangeSourceQueryAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDatabaseRangeSourceQueryAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATABASE_NAME, XML_TOK_SOURCE_QUERY_ATTR_DATABASE_NAME }, - { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_SOURCE_QUERY_ATTR_HREF }, - { XML_NAMESPACE_TABLE, XML_CONNECTION_RESOURCE, XML_TOK_SOURCE_QUERY_ATTR_CONNECTION_RESOURCE }, - { XML_NAMESPACE_TABLE, XML_QUERY_NAME, XML_TOK_SOURCE_QUERY_ATTR_QUERY_NAME }, - XML_TOKEN_MAP_END - }; - - pDatabaseRangeSourceQueryAttrTokenMap = new SvXMLTokenMap( aDatabaseRangeSourceQueryAttrTokenMap ); - } // if( !pDatabaseRangeSourceQueryAttrTokenMap ) - - return *pDatabaseRangeSourceQueryAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetFilterElemTokenMap() -{ - if( !pFilterElemTokenMap ) - { - static const SvXMLTokenMapEntry aFilterTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_FILTER_AND, XML_TOK_FILTER_AND }, - { XML_NAMESPACE_TABLE, XML_FILTER_OR, XML_TOK_FILTER_OR }, - { XML_NAMESPACE_TABLE, XML_FILTER_CONDITION, XML_TOK_FILTER_CONDITION }, - XML_TOKEN_MAP_END - }; - - pFilterElemTokenMap = new SvXMLTokenMap( aFilterTokenMap ); - } // if( !pFilterElemTokenMap ) - - return *pFilterElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetFilterAttrTokenMap() -{ - if( !pFilterAttrTokenMap ) - { - static const SvXMLTokenMapEntry aFilterAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_TARGET_RANGE_ADDRESS, XML_TOK_FILTER_ATTR_TARGET_RANGE_ADDRESS }, - { XML_NAMESPACE_TABLE, XML_CONDITION_SOURCE_RANGE_ADDRESS, XML_TOK_FILTER_ATTR_CONDITION_SOURCE_RANGE_ADDRESS }, - { XML_NAMESPACE_TABLE, XML_CONDITION_SOURCE, XML_TOK_FILTER_ATTR_CONDITION_SOURCE }, - { XML_NAMESPACE_TABLE, XML_DISPLAY_DUPLICATES, XML_TOK_FILTER_ATTR_DISPLAY_DUPLICATES }, - XML_TOKEN_MAP_END - }; - - pFilterAttrTokenMap = new SvXMLTokenMap( aFilterAttrTokenMap ); - } // if( !pFilterAttrTokenMap ) - - return *pFilterAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetFilterConditionElemTokenMap() -{ - if( !pFilterConditionElemTokenMap ) - { - static const SvXMLTokenMapEntry aTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_FILTER_SET_ITEM, XML_TOK_CONDITION_FILTER_SET_ITEM }, - XML_TOKEN_MAP_END - }; - - pFilterConditionElemTokenMap = new SvXMLTokenMap( aTokenMap ); - } - - return *pFilterConditionElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetFilterConditionAttrTokenMap() -{ - if( !pFilterConditionAttrTokenMap ) - { - static const SvXMLTokenMapEntry aFilterConditionAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_FIELD_NUMBER, XML_TOK_CONDITION_ATTR_FIELD_NUMBER }, - { XML_NAMESPACE_TABLE, XML_CASE_SENSITIVE, XML_TOK_CONDITION_ATTR_CASE_SENSITIVE }, - { XML_NAMESPACE_TABLE, XML_DATA_TYPE, XML_TOK_CONDITION_ATTR_DATA_TYPE }, - { XML_NAMESPACE_TABLE, XML_VALUE, XML_TOK_CONDITION_ATTR_VALUE }, - { XML_NAMESPACE_TABLE, XML_OPERATOR, XML_TOK_CONDITION_ATTR_OPERATOR }, - XML_TOKEN_MAP_END - }; - - pFilterConditionAttrTokenMap = new SvXMLTokenMap( aFilterConditionAttrTokenMap ); - } // if( !pFilterConditionAttrTokenMap ) - - return *pFilterConditionAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetFilterSetItemAttrTokenMap() -{ - if( !pFilterSetItemAttrTokenMap ) - { - static const SvXMLTokenMapEntry aTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_VALUE, XML_TOK_FILTER_SET_ITEM_ATTR_VALUE }, - XML_TOKEN_MAP_END - }; - - pFilterSetItemAttrTokenMap = new SvXMLTokenMap( aTokenMap ); - } - - return *pFilterSetItemAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetSortElemTokenMap() -{ - if( !pSortElemTokenMap ) - { - static const SvXMLTokenMapEntry aSortTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_SORT_BY, XML_TOK_SORT_SORT_BY }, - XML_TOKEN_MAP_END - }; - - pSortElemTokenMap = new SvXMLTokenMap( aSortTokenMap ); - } // if( !pSortElemTokenMap ) - - return *pSortElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetSortSortByAttrTokenMap() -{ - if( !pSortSortByAttrTokenMap ) - { - static const SvXMLTokenMapEntry aSortSortByAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_FIELD_NUMBER, XML_TOK_SORT_BY_ATTR_FIELD_NUMBER }, - { XML_NAMESPACE_TABLE, XML_DATA_TYPE, XML_TOK_SORT_BY_ATTR_DATA_TYPE }, - { XML_NAMESPACE_TABLE, XML_ORDER, XML_TOK_SORT_BY_ATTR_ORDER }, - XML_TOKEN_MAP_END - }; - - pSortSortByAttrTokenMap = new SvXMLTokenMap( aSortSortByAttrTokenMap ); - } // if( !pSortSortByAttrTokenMap ) - - return *pSortSortByAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotTablesElemTokenMap() -{ - if( !pDataPilotTablesElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotTablesElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_TABLE, XML_TOK_DATA_PILOT_TABLE }, - XML_TOKEN_MAP_END - }; - - pDataPilotTablesElemTokenMap = new SvXMLTokenMap( aDataPilotTablesElemTokenMap ); - } // if( !pDataPilotTablesElemTokenMap ) - - return *pDataPilotTablesElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotTableAttrTokenMap() -{ - if( !pDataPilotTableAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotTableAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_NAME, XML_TOK_DATA_PILOT_TABLE_ATTR_NAME }, - { XML_NAMESPACE_TABLE, XML_APPLICATION_DATA, XML_TOK_DATA_PILOT_TABLE_ATTR_APPLICATION_DATA }, - { XML_NAMESPACE_TABLE, XML_GRAND_TOTAL, XML_TOK_DATA_PILOT_TABLE_ATTR_GRAND_TOTAL }, - { XML_NAMESPACE_TABLE, XML_IGNORE_EMPTY_ROWS, XML_TOK_DATA_PILOT_TABLE_ATTR_IGNORE_EMPTY_ROWS }, - { XML_NAMESPACE_TABLE, XML_IDENTIFY_CATEGORIES, XML_TOK_DATA_PILOT_TABLE_ATTR_IDENTIFY_CATEGORIES }, - { XML_NAMESPACE_TABLE, XML_TARGET_RANGE_ADDRESS, XML_TOK_DATA_PILOT_TABLE_ATTR_TARGET_RANGE_ADDRESS }, - { XML_NAMESPACE_TABLE, XML_BUTTONS, XML_TOK_DATA_PILOT_TABLE_ATTR_BUTTONS }, - { XML_NAMESPACE_TABLE, XML_SHOW_FILTER_BUTTON, XML_TOK_DATA_PILOT_TABLE_ATTR_SHOW_FILTER_BUTTON }, - { XML_NAMESPACE_TABLE, XML_DRILL_DOWN_ON_DOUBLE_CLICK, XML_TOK_DATA_PILOT_TABLE_ATTR_DRILL_DOWN }, - { XML_NAMESPACE_TABLE, XML_HEADER_GRID_LAYOUT, XML_TOK_DATA_PILOT_TABLE_ATTR_HEADER_GRID_LAYOUT }, - XML_TOKEN_MAP_END - }; - - pDataPilotTableAttrTokenMap = new SvXMLTokenMap( aDataPilotTableAttrTokenMap ); - } // if( !pDataPilotTableAttrTokenMap ) - - return *pDataPilotTableAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotTableElemTokenMap() -{ - if( !pDataPilotTableElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotTableElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATABASE_SOURCE_SQL, XML_TOK_DATA_PILOT_TABLE_ELEM_SOURCE_SQL }, - { XML_NAMESPACE_TABLE, XML_DATABASE_SOURCE_TABLE, XML_TOK_DATA_PILOT_TABLE_ELEM_SOURCE_TABLE }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_GRAND_TOTAL, XML_TOK_DATA_PILOT_TABLE_ELEM_GRAND_TOTAL }, - { XML_NAMESPACE_TABLE_EXT, XML_DATA_PILOT_GRAND_TOTAL, XML_TOK_DATA_PILOT_TABLE_ELEM_GRAND_TOTAL_EXT }, - { XML_NAMESPACE_TABLE, XML_DATABASE_SOURCE_QUERY, XML_TOK_DATA_PILOT_TABLE_ELEM_SOURCE_QUERY }, - { XML_NAMESPACE_TABLE, XML_SOURCE_SERVICE, XML_TOK_DATA_PILOT_TABLE_ELEM_SOURCE_SERVICE }, - { XML_NAMESPACE_TABLE, XML_SOURCE_CELL_RANGE, XML_TOK_DATA_PILOT_TABLE_ELEM_SOURCE_CELL_RANGE }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_FIELD, XML_TOK_DATA_PILOT_TABLE_ELEM_DATA_PILOT_FIELD }, - XML_TOKEN_MAP_END - }; - - pDataPilotTableElemTokenMap = new SvXMLTokenMap( aDataPilotTableElemTokenMap ); - } // if( !pDataPilotTableElemTokenMap ) - - return *pDataPilotTableElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotTableSourceServiceAttrTokenMap() -{ - if( !pDataPilotTableSourceServiceAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotTableSourceServiceAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_NAME, XML_TOK_SOURCE_SERVICE_ATTR_NAME }, - { XML_NAMESPACE_TABLE, XML_SOURCE_NAME, XML_TOK_SOURCE_SERVICE_ATTR_SOURCE_NAME }, - { XML_NAMESPACE_TABLE, XML_OBJECT_NAME, XML_TOK_SOURCE_SERVICE_ATTR_OBJECT_NAME }, - { XML_NAMESPACE_TABLE, XML_USER_NAME, XML_TOK_SOURCE_SERVICE_ATTR_USER_NAME }, - { XML_NAMESPACE_TABLE, XML_PASSWORD, XML_TOK_SOURCE_SERVICE_ATTR_PASSWORD }, - XML_TOKEN_MAP_END - }; - - pDataPilotTableSourceServiceAttrTokenMap = new SvXMLTokenMap( aDataPilotTableSourceServiceAttrTokenMap ); - } // if( !pDataPilotTableSourceServiceAttrTokenMap ) - - return *pDataPilotTableSourceServiceAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotGrandTotalAttrTokenMap() -{ - if (!pDataPilotGrandTotalAttrTokenMap) - { - static const SvXMLTokenMapEntry aDataPilotGrandTotalAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DISPLAY, XML_TOK_DATA_PILOT_GRAND_TOTAL_ATTR_DISPLAY }, - { XML_NAMESPACE_TABLE, XML_ORIENTATION, XML_TOK_DATA_PILOT_GRAND_TOTAL_ATTR_ORIENTATION }, - { XML_NAMESPACE_TABLE, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_GRAND_TOTAL_ATTR_DISPLAY_NAME }, - { XML_NAMESPACE_TABLE_EXT, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_GRAND_TOTAL_ATTR_DISPLAY_NAME_EXT }, - XML_TOKEN_MAP_END - }; - - pDataPilotGrandTotalAttrTokenMap = new SvXMLTokenMap( aDataPilotGrandTotalAttrTokenMap ); - } - - return *pDataPilotGrandTotalAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotTableSourceCellRangeAttrTokenMap() -{ - if( !pDataPilotTableSourceCellRangeAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotTableSourceCellRangeAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_CELL_RANGE_ADDRESS, XML_TOK_SOURCE_CELL_RANGE_ATTR_CELL_RANGE_ADDRESS }, - { XML_NAMESPACE_TABLE, XML_NAME, XML_TOK_SOURCE_CELL_RANGE_ATTR_NAME }, - XML_TOKEN_MAP_END - }; - - pDataPilotTableSourceCellRangeAttrTokenMap = new SvXMLTokenMap( aDataPilotTableSourceCellRangeAttrTokenMap ); - } // if( !pDataPilotTableSourceCellRangeAttrTokenMap ) - - return *pDataPilotTableSourceCellRangeAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotTableSourceCellRangeElemTokenMap() -{ - if( !pDataPilotTableSourceCellRangeElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotTableSourceCellRangeElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_FILTER, XML_TOK_SOURCE_CELL_RANGE_ELEM_FILTER}, - XML_TOKEN_MAP_END - }; - - pDataPilotTableSourceCellRangeElemTokenMap = new SvXMLTokenMap( aDataPilotTableSourceCellRangeElemTokenMap ); - } // if( !pDataPilotTableSourceCellRangeElemTokenMap ) - - return *pDataPilotTableSourceCellRangeElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotFieldAttrTokenMap() -{ - if( !pDataPilotFieldAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotFieldAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_SOURCE_FIELD_NAME, XML_TOK_DATA_PILOT_FIELD_ATTR_SOURCE_FIELD_NAME }, - { XML_NAMESPACE_TABLE, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_FIELD_ATTR_DISPLAY_NAME }, - { XML_NAMESPACE_TABLE_EXT, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_FIELD_ATTR_DISPLAY_NAME_EXT }, - { XML_NAMESPACE_TABLE, XML_IS_DATA_LAYOUT_FIELD, XML_TOK_DATA_PILOT_FIELD_ATTR_IS_DATA_LAYOUT_FIELD }, - { XML_NAMESPACE_TABLE, XML_FUNCTION, XML_TOK_DATA_PILOT_FIELD_ATTR_FUNCTION }, - { XML_NAMESPACE_TABLE, XML_ORIENTATION, XML_TOK_DATA_PILOT_FIELD_ATTR_ORIENTATION }, - { XML_NAMESPACE_TABLE, XML_SELECTED_PAGE, XML_TOK_DATA_PILOT_FIELD_ATTR_SELECTED_PAGE }, - { XML_NAMESPACE_LO_EXT, XML_IGNORE_SELECTED_PAGE, XML_TOK_DATA_PILOT_FIELD_ATTR_IGNORE_SELECTED_PAGE }, - { XML_NAMESPACE_TABLE, XML_USED_HIERARCHY, XML_TOK_DATA_PILOT_FIELD_ATTR_USED_HIERARCHY }, - XML_TOKEN_MAP_END - }; - - pDataPilotFieldAttrTokenMap = new SvXMLTokenMap( aDataPilotFieldAttrTokenMap ); - } // if( !pDataPilotFieldAttrTokenMap ) - - return *pDataPilotFieldAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotFieldElemTokenMap() -{ - if( !pDataPilotFieldElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotFieldElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_LEVEL, XML_TOK_DATA_PILOT_FIELD_ELEM_DATA_PILOT_LEVEL }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_FIELD_REFERENCE, XML_TOK_DATA_PILOT_FIELD_ELEM_DATA_PILOT_REFERENCE }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_GROUPS, XML_TOK_DATA_PILOT_FIELD_ELEM_DATA_PILOT_GROUPS }, - XML_TOKEN_MAP_END - }; - - pDataPilotFieldElemTokenMap = new SvXMLTokenMap( aDataPilotFieldElemTokenMap ); - } // if( !pDataPilotFieldElemTokenMap ) - - return *pDataPilotFieldElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotLevelAttrTokenMap() -{ - if( !pDataPilotLevelAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotLevelAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_SHOW_EMPTY, XML_TOK_DATA_PILOT_LEVEL_ATTR_SHOW_EMPTY }, - { XML_NAMESPACE_CALC_EXT, XML_REPEAT_ITEM_LABELS, XML_TOK_DATA_PILOT_LEVEL_ATTR_REPEAT_ITEM_LABELS }, - XML_TOKEN_MAP_END - }; - - pDataPilotLevelAttrTokenMap = new SvXMLTokenMap( aDataPilotLevelAttrTokenMap ); - } // if( !pDataPilotLevelAttrTokenMap ) - - return *pDataPilotLevelAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotLevelElemTokenMap() -{ - if( !pDataPilotLevelElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotLevelElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_SUBTOTALS, XML_TOK_DATA_PILOT_LEVEL_ELEM_DATA_PILOT_SUBTOTALS }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_MEMBERS, XML_TOK_DATA_PILOT_LEVEL_ELEM_DATA_PILOT_MEMBERS }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_DISPLAY_INFO, XML_TOK_DATA_PILOT_FIELD_ELEM_DATA_PILOT_DISPLAY_INFO }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_SORT_INFO, XML_TOK_DATA_PILOT_FIELD_ELEM_DATA_PILOT_SORT_INFO }, - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_LAYOUT_INFO, XML_TOK_DATA_PILOT_FIELD_ELEM_DATA_PILOT_LAYOUT_INFO }, - XML_TOKEN_MAP_END - }; - - pDataPilotLevelElemTokenMap = new SvXMLTokenMap( aDataPilotLevelElemTokenMap ); - } // if( !pDataPilotLevelElemTokenMap ) - - return *pDataPilotLevelElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotSubTotalsElemTokenMap() -{ - if( !pDataPilotSubTotalsElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotSubTotalsElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_SUBTOTAL, XML_TOK_DATA_PILOT_SUBTOTALS_ELEM_DATA_PILOT_SUBTOTAL }, - XML_TOKEN_MAP_END - }; - - pDataPilotSubTotalsElemTokenMap = new SvXMLTokenMap( aDataPilotSubTotalsElemTokenMap ); - } // if( !pDataPilotSubTotalsElemTokenMap ) - - return *pDataPilotSubTotalsElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotSubTotalAttrTokenMap() -{ - if( !pDataPilotSubTotalAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotSubTotalAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_FUNCTION, XML_TOK_DATA_PILOT_SUBTOTAL_ATTR_FUNCTION }, - { XML_NAMESPACE_TABLE, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_SUBTOTAL_ATTR_DISPLAY_NAME }, - { XML_NAMESPACE_TABLE_EXT, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_SUBTOTAL_ATTR_DISPLAY_NAME_EXT }, - XML_TOKEN_MAP_END - }; - - pDataPilotSubTotalAttrTokenMap = new SvXMLTokenMap( aDataPilotSubTotalAttrTokenMap ); - } // if( !pDataPilotSubTotalAttrTokenMap ) - - return *pDataPilotSubTotalAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotMembersElemTokenMap() -{ - if( !pDataPilotMembersElemTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotMembersElemTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_DATA_PILOT_MEMBER, XML_TOK_DATA_PILOT_MEMBERS_ELEM_DATA_PILOT_MEMBER }, - XML_TOKEN_MAP_END - }; - - pDataPilotMembersElemTokenMap = new SvXMLTokenMap( aDataPilotMembersElemTokenMap ); - } // if( !pDataPilotMembersElemTokenMap ) - - return *pDataPilotMembersElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetDataPilotMemberAttrTokenMap() -{ - if( !pDataPilotMemberAttrTokenMap ) - { - static const SvXMLTokenMapEntry aDataPilotMemberAttrTokenMap[] = - { - { XML_NAMESPACE_TABLE, XML_NAME, XML_TOK_DATA_PILOT_MEMBER_ATTR_NAME }, - { XML_NAMESPACE_TABLE, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_MEMBER_ATTR_DISPLAY_NAME }, - { XML_NAMESPACE_TABLE_EXT, XML_DISPLAY_NAME, XML_TOK_DATA_PILOT_MEMBER_ATTR_DISPLAY_NAME_EXT }, - { XML_NAMESPACE_TABLE, XML_DISPLAY, XML_TOK_DATA_PILOT_MEMBER_ATTR_DISPLAY }, - { XML_NAMESPACE_TABLE, XML_SHOW_DETAILS, XML_TOK_DATA_PILOT_MEMBER_ATTR_SHOW_DETAILS }, - XML_TOKEN_MAP_END - }; - - pDataPilotMemberAttrTokenMap = new SvXMLTokenMap( aDataPilotMemberAttrTokenMap ); - } // if( !pDataPilotMemberAttrTokenMap ) - - return *pDataPilotMemberAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCellTextParaElemTokenMap() -{ - if (!pCellTextParaElemTokenMap) - { - static const SvXMLTokenMapEntry aMap[] = - { - { XML_NAMESPACE_TEXT, XML_S, XML_TOK_CELL_TEXT_S }, - { XML_NAMESPACE_TEXT, XML_SPAN, XML_TOK_CELL_TEXT_SPAN }, - { XML_NAMESPACE_TEXT, XML_SHEET_NAME, XML_TOK_CELL_TEXT_SHEET_NAME }, - { XML_NAMESPACE_TEXT, XML_DATE, XML_TOK_CELL_TEXT_DATE }, - { XML_NAMESPACE_TEXT, XML_TITLE, XML_TOK_CELL_TEXT_TITLE }, - { XML_NAMESPACE_TEXT, XML_A, XML_TOK_CELL_TEXT_URL }, - XML_TOKEN_MAP_END - }; - - pCellTextParaElemTokenMap = new SvXMLTokenMap(aMap); - } - return *pCellTextParaElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCellTextSpanElemTokenMap() -{ - if (!pCellTextSpanElemTokenMap) - { - static const SvXMLTokenMapEntry aMap[] = - { - { XML_NAMESPACE_TEXT, XML_SHEET_NAME, XML_TOK_CELL_TEXT_SPAN_ELEM_SHEET_NAME }, - { XML_NAMESPACE_TEXT, XML_DATE, XML_TOK_CELL_TEXT_SPAN_ELEM_DATE }, - { XML_NAMESPACE_TEXT, XML_TITLE, XML_TOK_CELL_TEXT_SPAN_ELEM_TITLE }, - { XML_NAMESPACE_TEXT, XML_A, XML_TOK_CELL_TEXT_SPAN_ELEM_URL }, - { XML_NAMESPACE_TEXT, XML_S, XML_TOK_CELL_TEXT_SPAN_ELEM_S }, - XML_TOKEN_MAP_END - }; - - pCellTextSpanElemTokenMap = new SvXMLTokenMap(aMap); - } - return *pCellTextSpanElemTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCellTextSpanAttrTokenMap() -{ - if (!pCellTextSpanAttrTokenMap) - { - static const SvXMLTokenMapEntry aMap[] = - { - { XML_NAMESPACE_TEXT, XML_STYLE_NAME, XML_TOK_CELL_TEXT_SPAN_ATTR_STYLE_NAME }, - XML_TOKEN_MAP_END - }; - - pCellTextSpanAttrTokenMap = new SvXMLTokenMap(aMap); - } - return *pCellTextSpanAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCellTextURLAttrTokenMap() -{ - if (!pCellTextURLAttrTokenMap) - { - static const SvXMLTokenMapEntry aMap[] = - { - { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_CELL_TEXT_URL_ATTR_UREF }, - { XML_NAMESPACE_XLINK, XML_TYPE, XML_TOK_CELL_TEXT_URL_ATTR_TYPE }, - { XML_NAMESPACE_OFFICE, XML_TARGET_FRAME_NAME, XML_TOK_CELL_TEXT_URL_TARGET_FRAME }, - XML_TOKEN_MAP_END - }; - - pCellTextURLAttrTokenMap = new SvXMLTokenMap(aMap); - } - return *pCellTextURLAttrTokenMap; -} - -const SvXMLTokenMap& ScXMLImport::GetCellTextSAttrTokenMap() -{ - if (!pCellTextSAttrTokenMap) - { - static const SvXMLTokenMapEntry aMap[] = - { - { XML_NAMESPACE_TEXT, XML_C, XML_TOK_CELL_TEXT_S_ATTR_C }, - XML_TOKEN_MAP_END - }; - - pCellTextSAttrTokenMap = new SvXMLTokenMap(aMap); - } - return *pCellTextSAttrTokenMap; -} void ScXMLImport::SetPostProcessData( sc::ImportPostProcessData* p ) { @@ -1555,7 +734,6 @@ ScXMLImport::ScXMLImport( pDataBarTokenMap( nullptr ), pDataBarAttrMap( nullptr ), pFormattingEntryAttrMap( nullptr ), - pIconSetAttrMap( nullptr ), pTableElemTokenMap( nullptr ), pTableRowsElemTokenMap( nullptr ), pTableAttrTokenMap( nullptr ), @@ -1582,7 +760,6 @@ ScXMLImport::ScXMLImport( pDataPilotTableAttrTokenMap( nullptr ), pDataPilotTableElemTokenMap( nullptr ), pDataPilotTableSourceServiceAttrTokenMap( nullptr ), - pDataPilotGrandTotalAttrTokenMap(nullptr), pDataPilotTableSourceCellRangeElemTokenMap( nullptr ), pDataPilotTableSourceCellRangeAttrTokenMap( nullptr ), pDataPilotFieldAttrTokenMap( nullptr ), diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index b098995a5e45..3bf41105662b 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -845,7 +845,6 @@ class ScXMLImport: public SvXMLImport SvXMLTokenMap *pDataBarTokenMap; SvXMLTokenMap *pDataBarAttrMap; SvXMLTokenMap *pFormattingEntryAttrMap; - SvXMLTokenMap *pIconSetAttrMap; SvXMLTokenMap *pTableElemTokenMap; SvXMLTokenMap *pTableRowsElemTokenMap; SvXMLTokenMap *pTableAttrTokenMap; @@ -872,7 +871,6 @@ class ScXMLImport: public SvXMLImport SvXMLTokenMap *pDataPilotTableAttrTokenMap; SvXMLTokenMap *pDataPilotTableElemTokenMap; SvXMLTokenMap *pDataPilotTableSourceServiceAttrTokenMap; - SvXMLTokenMap *pDataPilotGrandTotalAttrTokenMap; SvXMLTokenMap *pDataPilotTableSourceCellRangeElemTokenMap; SvXMLTokenMap *pDataPilotTableSourceCellRangeAttrTokenMap; SvXMLTokenMap *pDataPilotFieldAttrTokenMap; @@ -981,17 +979,6 @@ public: const SvXMLTokenMap& GetDocElemTokenMap(); const SvXMLTokenMap& GetContentValidationElemTokenMap(); const SvXMLTokenMap& GetContentValidationMessageElemTokenMap(); - const SvXMLTokenMap& GetCondFormatsTokenMap(); - const SvXMLTokenMap& GetCondFormatTokenMap(); - const SvXMLTokenMap& GetCondFormatAttrMap(); - const SvXMLTokenMap& GetCondDateAttrMap(); - const SvXMLTokenMap& GetConditionAttrMap(); - const SvXMLTokenMap& GetColorScaleTokenMap(); - const SvXMLTokenMap& GetColorScaleEntryAttrMap(); - const SvXMLTokenMap& GetFormattingTokenMap(); - const SvXMLTokenMap& GetDataBarAttrMap(); - const SvXMLTokenMap& GetDataBarEntryAttrMap(); - const SvXMLTokenMap& GetIconSetAttrMap(); const SvXMLTokenMap& GetTableElemTokenMap(); const SvXMLTokenMap& GetTableRowsElemTokenMap(); const SvXMLTokenMap& GetTableRowElemTokenMap(); @@ -999,40 +986,6 @@ public: const SvXMLTokenMap& GetTableRowCellElemTokenMap(); const SvXMLTokenMap& GetTableRowCellAttrTokenMap(); const SvXMLTokenMap& GetTableAnnotationAttrTokenMap(); - const SvXMLTokenMap& GetDetectiveElemTokenMap(); - const SvXMLTokenMap& GetDetectiveHighlightedAttrTokenMap(); - const SvXMLTokenMap& GetDetectiveOperationAttrTokenMap(); - const SvXMLTokenMap& GetTableCellRangeSourceAttrTokenMap(); - const SvXMLTokenMap& GetDatabaseRangeSourceSQLAttrTokenMap(); - const SvXMLTokenMap& GetDatabaseRangeSourceTableAttrTokenMap(); - const SvXMLTokenMap& GetDatabaseRangeSourceQueryAttrTokenMap(); - const SvXMLTokenMap& GetFilterElemTokenMap(); - const SvXMLTokenMap& GetFilterAttrTokenMap(); - const SvXMLTokenMap& GetFilterConditionElemTokenMap(); - const SvXMLTokenMap& GetFilterConditionAttrTokenMap(); - const SvXMLTokenMap& GetFilterSetItemAttrTokenMap(); - const SvXMLTokenMap& GetSortElemTokenMap(); - const SvXMLTokenMap& GetSortSortByAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotTablesElemTokenMap(); - const SvXMLTokenMap& GetDataPilotTableAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotTableElemTokenMap(); - const SvXMLTokenMap& GetDataPilotTableSourceServiceAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotGrandTotalAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotTableSourceCellRangeElemTokenMap(); - const SvXMLTokenMap& GetDataPilotTableSourceCellRangeAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotFieldAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotFieldElemTokenMap(); - const SvXMLTokenMap& GetDataPilotLevelAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotLevelElemTokenMap(); - const SvXMLTokenMap& GetDataPilotSubTotalsElemTokenMap(); - const SvXMLTokenMap& GetDataPilotSubTotalAttrTokenMap(); - const SvXMLTokenMap& GetDataPilotMembersElemTokenMap(); - const SvXMLTokenMap& GetDataPilotMemberAttrTokenMap(); - const SvXMLTokenMap& GetCellTextParaElemTokenMap(); - const SvXMLTokenMap& GetCellTextSpanElemTokenMap(); - const SvXMLTokenMap& GetCellTextSpanAttrTokenMap(); - const SvXMLTokenMap& GetCellTextURLAttrTokenMap(); - const SvXMLTokenMap& GetCellTextSAttrTokenMap(); void SetPostProcessData( sc::ImportPostProcessData* p ); sc::ImportPostProcessData* GetPostProcessData() { return mpPostProcessData;} |