diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-10 10:28:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-10 12:19:50 +0200 |
commit | 367fedcc4456a74cb2fc29a28279bef314bd47ff (patch) | |
tree | a63115d6cfa2b2a2e3c2c4d3a55f623e7ecfd6d5 /sc/source | |
parent | 183b0b0b6038ec1fafb9f65024a846c90493a873 (diff) |
loplugin:unusedenumconstants
Change-Id: I54c0c1fca8ea5c89e71c6cd1110fad081ed3d334
Reviewed-on: https://gerrit.libreoffice.org/40953
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 231 |
1 files changed, 0 insertions, 231 deletions
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 3bf41105662b..a83c31af35b8 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -71,27 +71,6 @@ enum ScXMLDocTokens XML_TOK_DOC_SETTINGS }; -enum ScXMLBodyTokens -{ - XML_TOK_BODY_TRACKED_CHANGES, - XML_TOK_BODY_CALCULATION_SETTINGS, - XML_TOK_BODY_CONTENT_VALIDATIONS, - XML_TOK_BODY_LABEL_RANGES, - XML_TOK_BODY_TABLE, - XML_TOK_BODY_NAMED_EXPRESSIONS, - XML_TOK_BODY_DATABASE_RANGES, - XML_TOK_BODY_DATABASE_RANGE, - XML_TOK_BODY_DATA_PILOT_TABLES, - XML_TOK_BODY_CONSOLIDATION, - XML_TOK_BODY_DDE_LINKS, - XML_TOK_BODY_DATA_STREAM_SOURCE -}; - -enum ScXMLContentValidationsElemTokens -{ - XML_TOK_CONTENT_VALIDATION -}; - enum ScXMLContentValidationElemTokens { XML_TOK_CONTENT_VALIDATION_ELEM_HELP_MESSAGE, @@ -100,39 +79,11 @@ enum ScXMLContentValidationElemTokens XML_TOK_CONTENT_VALIDATION_ELEM_EVENT_LISTENERS }; -enum ScXMLContentValidationAttrTokens -{ - XML_TOK_CONTENT_VALIDATION_NAME, - XML_TOK_CONTENT_VALIDATION_CONDITION, - XML_TOK_CONTENT_VALIDATION_BASE_CELL_ADDRESS, - XML_TOK_CONTENT_VALIDATION_ALLOW_EMPTY_CELL, - XML_TOK_CONTENT_VALIDATION_DISPLAY_LIST -}; - enum ScXMLContentValidationMessageElemTokens { XML_TOK_P }; -enum ScXMLContentValidationHelpMessageAttrTokens -{ - XML_TOK_HELP_MESSAGE_ATTR_TITLE, - XML_TOK_HELP_MESSAGE_ATTR_DISPLAY -}; - -enum ScXMLContentValidationErrorMessageAttrTokens -{ - XML_TOK_ERROR_MESSAGE_ATTR_TITLE, - XML_TOK_ERROR_MESSAGE_ATTR_DISPLAY, - XML_TOK_ERROR_MESSAGE_ATTR_MESSAGE_TYPE -}; - -enum ScXMLContentValidationErrorMacroAttrTokens -{ - XML_TOK_ERROR_MACRO_ATTR_NAME, - XML_TOK_ERROR_MACRO_ATTR_EXECUTE -}; - enum ScXMLCondFormatsTokens { XML_TOK_CONDFORMATS_CONDFORMAT @@ -207,18 +158,6 @@ enum ScXMLIconSetAttrTokens XML_TOK_ICONSET_SHOWVALUE }; -enum ScXMLLabelRangesElemTokens -{ - XML_TOK_LABEL_RANGE_ELEM -}; - -enum ScXMLLabelRangeAttrTokens -{ - XML_TOK_LABEL_RANGE_ATTR_LABEL_RANGE, - XML_TOK_LABEL_RANGE_ATTR_DATA_RANGE, - XML_TOK_LABEL_RANGE_ATTR_ORIENTATION -}; - enum ScXMLTableTokens { XML_TOK_TABLE_NAMED_EXPRESSIONS, @@ -241,18 +180,6 @@ enum ScXMLTableTokens XML_TOK_TABLE_CONDFORMATS }; -enum ScXMLTokenProtectionTokens -{ - XML_TOK_TABLE_SELECT_PROTECTED_CELLS, - XML_TOK_TABLE_SELECT_UNPROTECTED_CELLS, - XML_TOK_TABLE_SELECT_PROTECTED_CELLS_EXT, - XML_TOK_TABLE_SELECT_UNPROTECTED_CELLS_EXT, - XML_TOK_TABLE_INSERT_COLUMNS_EXT, - XML_TOK_TABLE_INSERT_ROWS_EXT, - XML_TOK_TABLE_DELETE_COLUMNS_EXT, - XML_TOK_TABLE_DELETE_ROWS_EXT, -}; - enum ScXMLTableRowsTokens { XML_TOK_TABLE_ROWS_ROW_GROUP, @@ -261,47 +188,6 @@ enum ScXMLTableRowsTokens XML_TOK_TABLE_ROWS_ROW }; -enum ScXMLTableColsTokens -{ - XML_TOK_TABLE_COLS_COL_GROUP, - XML_TOK_TABLE_COLS_HEADER_COLS, - XML_TOK_TABLE_COLS_COLS, - XML_TOK_TABLE_COLS_COL -}; - -enum ScXMLTableAttrTokens -{ - XML_TOK_TABLE_NAME, - XML_TOK_TABLE_STYLE_NAME, - XML_TOK_TABLE_PROTECTED, - XML_TOK_TABLE_PRINT_RANGES, - XML_TOK_TABLE_PASSWORD, - XML_TOK_TABLE_PASSHASH, - XML_TOK_TABLE_PASSHASH_2, - XML_TOK_TABLE_PRINT -}; - -enum ScXMLTableScenarioAttrTokens -{ - XML_TOK_TABLE_SCENARIO_ATTR_DISPLAY_BORDER, - XML_TOK_TABLE_SCENARIO_ATTR_BORDER_COLOR, - XML_TOK_TABLE_SCENARIO_ATTR_COPY_BACK, - XML_TOK_TABLE_SCENARIO_ATTR_COPY_STYLES, - XML_TOK_TABLE_SCENARIO_ATTR_COPY_FORMULAS, - XML_TOK_TABLE_SCENARIO_ATTR_IS_ACTIVE, - XML_TOK_TABLE_SCENARIO_ATTR_SCENARIO_RANGES, - XML_TOK_TABLE_SCENARIO_ATTR_COMMENT, - XML_TOK_TABLE_SCENARIO_ATTR_PROTECTED -}; - -enum ScXMLTableColAttrTokens -{ - XML_TOK_TABLE_COL_ATTR_STYLE_NAME, - XML_TOK_TABLE_COL_ATTR_REPEATED, - XML_TOK_TABLE_COL_ATTR_VISIBILITY, - XML_TOK_TABLE_COL_ATTR_DEFAULT_CELL_STYLE_NAME -}; - enum ScXMLTableRowTokens { XML_TOK_TABLE_ROW_CELL, @@ -387,56 +273,6 @@ enum ScXMLCellRangeSourceAttrTokens XML_TOK_TABLE_CELL_RANGE_SOURCE_ATTR_REFRESH_DELAY }; -enum ScXMLNamedExpressionsTokens -{ - XML_TOK_NAMED_EXPRESSIONS_NAMED_RANGE, - XML_TOK_NAMED_EXPRESSIONS_NAMED_EXPRESSION -}; - -enum ScXMLNamedRangeAttrTokens -{ - XML_TOK_NAMED_RANGE_ATTR_NAME, - XML_TOK_NAMED_RANGE_ATTR_CELL_RANGE_ADDRESS, - XML_TOK_NAMED_RANGE_ATTR_BASE_CELL_ADDRESS, - XML_TOK_NAMED_RANGE_ATTR_RANGE_USABLE_AS -}; - -enum ScXMLNamedExpressionAttrTokens -{ - XML_TOK_NAMED_EXPRESSION_ATTR_NAME, - XML_TOK_NAMED_EXPRESSION_ATTR_BASE_CELL_ADDRESS, - XML_TOK_NAMED_EXPRESSION_ATTR_EXPRESSION -}; - -enum ScXMLDatabaseRangesTokens -{ - XML_TOK_DATABASE_RANGE -}; - -enum ScXMLDatabaseRangeTokens -{ - XML_TOK_DATABASE_RANGE_SOURCE_SQL, - XML_TOK_DATABASE_RANGE_SOURCE_TABLE, - XML_TOK_DATABASE_RANGE_SOURCE_QUERY, - XML_TOK_FILTER, - XML_TOK_SORT, - XML_TOK_DATABASE_RANGE_SUBTOTAL_RULES -}; - -enum ScXMLDatabaseRangeAttrTokens -{ - XML_TOK_DATABASE_RANGE_ATTR_NAME, - XML_TOK_DATABASE_RANGE_ATTR_IS_SELECTION, - XML_TOK_DATABASE_RANGE_ATTR_ON_UPDATE_KEEP_STYLES, - XML_TOK_DATABASE_RANGE_ATTR_ON_UPDATE_KEEP_SIZE, - XML_TOK_DATABASE_RANGE_ATTR_HAS_PERSISTENT_DATA, - XML_TOK_DATABASE_RANGE_ATTR_ORIENTATION, - XML_TOK_DATABASE_RANGE_ATTR_CONTAINS_HEADER, - XML_TOK_DATABASE_RANGE_ATTR_DISPLAY_FILTER_BUTTONS, - XML_TOK_DATABASE_RANGE_ATTR_TARGET_RANGE_ADDRESS, - XML_TOK_DATABASE_RANGE_ATTR_REFRESH_DELAY -}; - enum ScXMLDatabaseRangeSourceSQLAttrTokens { XML_TOK_SOURCE_SQL_ATTR_DATABASE_NAME, @@ -501,18 +337,6 @@ enum ScXMLSortTokens XML_TOK_SORT_SORT_BY }; -enum ScXMLSortAttrTokens -{ - XML_TOK_SORT_ATTR_BIND_STYLES_TO_CONTENT, - XML_TOK_SORT_ATTR_TARGET_RANGE_ADDRESS, - XML_TOK_SORT_ATTR_CASE_SENSITIVE, - XML_TOK_SORT_ATTR_RFC_LANGUAGE_TAG, - XML_TOK_SORT_ATTR_LANGUAGE, - XML_TOK_SORT_ATTR_SCRIPT, - XML_TOK_SORT_ATTR_COUNTRY, - XML_TOK_SORT_ATTR_ALGORITHM -}; - enum ScXMLSortSortByAttrTokens { XML_TOK_SORT_BY_ATTR_FIELD_NUMBER, @@ -520,41 +344,6 @@ enum ScXMLSortSortByAttrTokens XML_TOK_SORT_BY_ATTR_ORDER }; -enum ScXMLDatabaseRangeSubTotalRulesTokens -{ - XML_TOK_SUBTOTAL_RULES_SORT_GROUPS, - XML_TOK_SUBTOTAL_RULES_SUBTOTAL_RULE -}; - -enum ScXMLDatabaseRangeSubTotalRulesAttrTokens -{ - XML_TOK_SUBTOTAL_RULES_ATTR_BIND_STYLES_TO_CONTENT, - XML_TOK_SUBTOTAL_RULES_ATTR_CASE_SENSITIVE, - XML_TOK_SUBTOTAL_RULES_ATTR_PAGE_BREAKS_ON_GROUP_CHANGE -}; - -enum ScXMLSubTotalRulesSortGroupsAttrTokens -{ - XML_TOK_SORT_GROUPS_ATTR_DATA_TYPE, - XML_TOK_SORT_GROUPS_ATTR_ORDER -}; - -enum ScXMLSubTotalRulesSubTotalRuleTokens -{ - XML_TOK_SUBTOTAL_RULE_SUBTOTAL_FIELD -}; - -enum ScXMLSubTotalRulesSubTotalRuleAttrTokens -{ - XML_TOK_SUBTOTAL_RULE_ATTR_GROUP_BY_FIELD_NUMBER -}; - -enum ScXMLSubTotalRuleSubTotalField -{ - XML_TOK_SUBTOTAL_FIELD_ATTR_FIELD_NUMBER, - XML_TOK_SUBTOTAL_FIELD_ATTR_FUNCTION -}; - enum ScXMLDataPilotTablesElemTokens { XML_TOK_DATA_PILOT_TABLE @@ -675,15 +464,6 @@ enum ScXMLDataPilotMemberAttrTokens XML_TOK_DATA_PILOT_MEMBER_ATTR_SHOW_DETAILS }; -enum ScXMLConsolidationAttrTokens -{ - XML_TOK_CONSOLIDATION_ATTR_FUNCTION, - XML_TOK_CONSOLIDATION_ATTR_SOURCE_RANGES, - XML_TOK_CONSOLIDATION_ATTR_TARGET_ADDRESS, - XML_TOK_CONSOLIDATION_ATTR_USE_LABEL, - XML_TOK_CONSOLIDATION_ATTR_LINK_TO_SOURCE -}; - /** * Tokens for elements that come under <text:p> */ @@ -732,17 +512,6 @@ enum ScXMLCellTextSAttrTokens XML_TOK_CELL_TEXT_S_ATTR_C }; -/** - * Attribute tokens for <calcext:data-stream-source>. - */ -enum ScXMLDataStreamAttrTokens -{ - XML_TOK_DATA_STREAM_ATTR_URL, - XML_TOK_DATA_STREAM_ATTR_RANGE, - XML_TOK_DATA_STREAM_ATTR_EMPTY_LINE_REFRESH, - XML_TOK_DATA_STREAM_ATTR_INSERTION_POSITION -}; - class SvXMLTokenMap; class XMLShapeImportHelper; class ScXMLChangeTrackingImportHelper; |