summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/ViewSettingsSequenceDefines.hxx1
-rw-r--r--sc/inc/attrib.hxx2
-rw-r--r--sc/inc/cfgids.hxx1
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/inc/filter.hxx2
-rw-r--r--sc/inc/global.hxx3
-rw-r--r--sc/inc/helpids.h80
-rw-r--r--sc/inc/rechead.hxx67
-rw-r--r--sc/inc/sccommands.h19
-rw-r--r--sc/inc/unonames.hxx2
-rw-r--r--sc/inc/userdat.hxx1
-rw-r--r--sc/source/filter/inc/excdefs.hxx2
-rw-r--r--sc/source/filter/inc/scflt.hxx15
-rw-r--r--sc/source/filter/inc/xlchart.hxx5
-rw-r--r--sc/source/ui/dbgui/pvfundlg.hrc2
-rw-r--r--sc/source/ui/inc/fupoor.hxx1
-rw-r--r--sc/source/ui/inc/miscdlgs.hrc3
-rw-r--r--sc/source/ui/inc/printfun.hxx1
-rw-r--r--sc/source/ui/inc/viewdata.hxx1
19 files changed, 0 insertions, 210 deletions
diff --git a/sc/inc/ViewSettingsSequenceDefines.hxx b/sc/inc/ViewSettingsSequenceDefines.hxx
index d427377ab877..5bbaff44a48c 100644
--- a/sc/inc/ViewSettingsSequenceDefines.hxx
+++ b/sc/inc/ViewSettingsSequenceDefines.hxx
@@ -68,7 +68,6 @@
#define SC_TABLE_ZOOM_TYPE 11
#define SC_TABLE_ZOOM_VALUE 12
#define SC_TABLE_PAGE_VIEW_ZOOM_VALUE 13
-#define SC_TABLE_TAB_BG_COLOR 14
#define SC_TABLE_SHOWGRID 15
#define SC_CURSORPOSITIONX "CursorPositionX"
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 42535b99430a..8c86e0ea3e48 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -146,8 +146,6 @@ public:
// ScRangeItem: manages an area of a table
#define SCR_INVALID 0x01
-#define SCR_ALLTABS 0x02
-#define SCR_TONEWTAB 0x04
class ScRangeItem : public SfxPoolItem
{
diff --git a/sc/inc/cfgids.hxx b/sc/inc/cfgids.hxx
index 3b0210378ddd..7f8db9f760db 100644
--- a/sc/inc/cfgids.hxx
+++ b/sc/inc/cfgids.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_SC_INC_CFGIDS_HXX
#define INCLUDED_SC_INC_CFGIDS_HXX
-#define SCCFG_DOC SFX_ITEMTYPE_SC_BEGIN
#define SCCFG_VIEW (SFX_ITEMTYPE_SC_BEGIN + 1)
#define SCCFG_APP (SFX_ITEMTYPE_SC_BEGIN + 2)
#define SCCFG_SPELLCHECK (SFX_ITEMTYPE_SC_BEGIN + 3)
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 003bf22889a6..57fcf7425ed0 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -212,8 +212,6 @@ namespace com { namespace sun { namespace star {
#define SC_DOC_NEW 0xFFFF
#define SC_MACROCALL_ALLOWED 0
-#define SC_MACROCALL_NOTALLOWED 1
-#define SC_MACROCALL_ASK 2
#define SC_ASIANCOMPRESSION_INVALID 0xff
#define SC_ASIANKERNING_INVALID 0xff
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx
index 6d3df3dedec3..4602f19b1c92 100644
--- a/sc/inc/filter.hxx
+++ b/sc/inc/filter.hxx
@@ -41,13 +41,11 @@ typedef sal_uLong FltError;
#define eERR_OK ERRCODE_NONE // no error
#define eERR_OPEN SCERR_IMPORT_OPEN
-#define eERR_UNBEK SCERR_IMPORT_UNKNOWN // unknown error, historical meaning
#define eERR_NOMEM SCERR_IMPORT_OUTOFMEM // out of memory
#define eERR_UNKN_WK SCERR_IMPORT_UNKNOWN_WK // unknown WK? format (Lotus 1-2-3)
#define eERR_FORMAT SCERR_IMPORT_FORMAT // format error during reading (no formula error!)
#define eERR_NI SCERR_IMPORT_NI // filter not implemented
#define eERR_UNKN_BIFF SCERR_IMPORT_UNKNOWN_BIFF // unknown BIFF format (Excel)
-#define eERR_NI_BIFF SCERR_IMPORT_NI_BIFF // not implemented BIFF format
#define eERR_FILEPASSWD SCERR_IMPORT_FILEPASSWD // file password protected
#define eERR_INTERN SCERR_IMPORT_INTERNAL // internal error
#define eERR_RNGOVRFLW SCWARN_IMPORT_RANGE_OVERFLOW// overflow of cell coordinates
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 28eb5e70bb97..70bc85f59d9d 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -48,7 +48,6 @@ class Color;
// STRING_SCAPP was "scalc3", "scalc4", now just "scalc"
#define STRING_SCAPP "scalc"
-#define STRING_SCSTREAM "StarCalcDocument"
#define STRING_STANDARD "Standard"
@@ -127,7 +126,6 @@ namespace sc
#define OLE_STD_CELLS_X 4
#define OLE_STD_CELLS_Y 5
-#define SC_SIZE_OPTIMUM 0xFFFF
// repaint flags (for messages)
#define PAINT_GRID 1
@@ -264,7 +262,6 @@ const InsertDeleteFlags IDF_AUTOFILL = IDF_ALL & ~(IDF_NOTE | IDF_OBJECTS);
// step = 10pt, max. indention = 100 steps
#define SC_INDENT_STEP 200
-#define SC_MAX_INDENT 20000
// scenario flags
#define SC_SCENARIO_COPYALL 1
diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h
index 6b23f9ab2bef..1e820214e10e 100644
--- a/sc/inc/helpids.h
+++ b/sc/inc/helpids.h
@@ -53,8 +53,6 @@
// Hilfe IDs fuer Dialoge / Pages (max.70) -----------------------------------
#define HID_SC_NAVIGATOR "SC_HID_SC_NAVIGATOR"
-#define HID_SC_GROUP_COLS "SC_HID_SC_GROUP_COLS"
-#define HID_SC_GROUP_ROWS "SC_HID_SC_GROUP_ROWS"
#define HID_SC_HEADER_EDIT "SC_HID_SC_HEADER_EDIT"
#define HID_SC_FOOTER_EDIT "SC_HID_SC_FOOTER_EDIT"
@@ -67,13 +65,6 @@
#define HID_SC_RENAME_NAME "SC_HID_SC_RENAME_NAME"
#define HID_SC_APPEND_NAME "SC_HID_SC_APPEND_NAME"
-// Funktionsautopilot: nur als Unique-IDs
-#define HID_SC_FAP_PAGE "SC_HID_SC_FAP_PAGE"
-#define HID_SC_FAP_EDIT1 "SC_HID_SC_FAP_EDIT1"
-#define HID_SC_FAP_EDIT2 "SC_HID_SC_FAP_EDIT2"
-#define HID_SC_FAP_EDIT3 "SC_HID_SC_FAP_EDIT3"
-#define HID_SC_FAP_EDIT4 "SC_HID_SC_FAP_EDIT4"
-
#define HID_SC_ADD_AUTOFMT "SC_HID_SC_ADD_AUTOFMT"
#define HID_SC_AUTOFMT_NAME "SC_HID_SC_AUTOFMT_NAME"
@@ -81,29 +72,17 @@
#define HID_SC_DROPMODE_LINK "SC_HID_SC_DROPMODE_LINK"
#define HID_SC_DROPMODE_COPY "SC_HID_SC_DROPMODE_COPY"
-#define HID_SC_FAP_STRUCT "SC_HID_SC_FAP_STRUCT"
#define HID_SC_SCENARIO_DELETE "SC_HID_SC_SCENARIO_DELETE"
#define HID_SC_SCENARIO_EDIT "SC_HID_SC_SCENARIO_EDIT"
#define HID_FUNCTION_BOX "SC_HID_FUNCTION_BOX"
-#define HID_SC_REDLIN_CTR "SC_HID_SC_REDLIN_CTR"
-
-// Hilfe IDs fuer Objekt- und Werkzeugleisten (max.10) -----------------------
-
-#define HID_SC_TOOLBOX_TOOLS "SC_HID_SC_TOOLBOX_TOOLS"
-#define HID_SC_TOOLBOX_TABLE "SC_HID_SC_TOOLBOX_TABLE"
-#define HID_SC_TOOLBOX_DRAW "SC_HID_SC_TOOLBOX_DRAW"
-#define HID_SC_TOOLBOX_DRTEXT "SC_HID_SC_TOOLBOX_DRTEXT"
-#define HID_SC_TOOLBOX_PREVIEW "SC_HID_SC_TOOLBOX_PREVIEW"
// wrong group - HID_SC_DLG_START is full
-#define HID_SC_RENAME_AUTOFMT "SC_HID_SC_RENAME_AUTOFMT"
#define HID_SC_REN_AFMT_NAME "SC_HID_SC_REN_AFMT_NAME"
#define HID_CHG_PROTECT "SC_HID_CHG_PROTECT"
-#define HID_SC_RENAME_OBJECT "SC_HID_SC_RENAME_OBJECT"
#define HID_SC_REN_AFMT_DLG "SC_HID_SC_REN_AFMT_DLG"
@@ -112,15 +91,6 @@
#define HID_SCMENU_OBJARRANGE "SC_HID_SCMENU_OBJARRANGE"
#define HID_SCMENU_ANCHOR "SC_HID_SCMENU_ANCHOR"
-#define HID_SC_FAP_BTN_FX1 "SC_HID_SC_FAP_BTN_FX1"
-#define HID_SC_FAP_BTN_FX2 "SC_HID_SC_FAP_BTN_FX2"
-#define HID_SC_FAP_BTN_FX3 "SC_HID_SC_FAP_BTN_FX3"
-#define HID_SC_FAP_BTN_FX4 "SC_HID_SC_FAP_BTN_FX4"
-#define HID_SC_FAP_BTN_REF1 "SC_HID_SC_FAP_BTN_REF1"
-#define HID_SC_FAP_BTN_REF2 "SC_HID_SC_FAP_BTN_REF2"
-#define HID_SC_FAP_BTN_REF3 "SC_HID_SC_FAP_BTN_REF3"
-#define HID_SC_FAP_BTN_REF4 "SC_HID_SC_FAP_BTN_REF4"
-#define HID_SC_FAP_FORMULA "SC_HID_SC_FAP_FORMULA"
#define HID_SC_SORT_ACTION "SC_HID_SC_SORT_ACTION"
#define HID_SC_SORT_AUTHOR "SC_HID_SC_SORT_AUTHOR"
@@ -128,26 +98,17 @@
#define HID_SC_SORT_COMMENT "SC_HID_SC_SORT_COMMENT"
#define HID_SORT_POSITION "SC_HID_SORT_POSITION"
#define HID_SC_CHANGES_COMMENT "SC_HID_SC_CHANGES_COMMENT"
-#define HID_SC_FUNCTIONLIST "SC_HID_SC_FUNCTIONLIST"
#define HID_PASSWD_TABLE "SC_HID_PASSWD_TABLE"
#define HID_PASSWD_DOC "SC_HID_PASSWD_DOC"
-#define HID_DATAPILOT_SERVICE "SC_HID_DATAPILOT_SERVICE"
// Other help IDs (max.70) ---------------------------------------------------
#define HID_SELECTTABLES "SC_HID_SELECTTABLES"
#define HID_SC_REPLCELLSWARN "SC_HID_SC_REPLCELLSWARN"
-#define HID_SC_DRAW_RENAME "SC_HID_SC_DRAW_RENAME"
-#define HID_SC_DPSHOWDETAIL "SC_HID_SC_DPSHOWDETAIL"
-#define HID_SCDLG_CONFLICTS "SC_HID_SCDLG_CONFLICTS"
-#define HID_SC_HF_HL_DEFINED "SC_HID_SC_HF_HL_DEFINED"
-#define HID_SC_HF_HR_DEFINED "SC_HID_SC_HF_HR_DEFINED"
-#define HID_SC_HF_FL_DEFINED "SC_HID_SC_HF_FL_DEFINED"
-#define HID_SC_HF_FR_DEFINED "SC_HID_SC_HF_FR_DEFINED"
// Analysis Addin Functions (max.120) ----------------------------------------
#define HID_AAI_FUNC_WORKDAY "SC_HID_AAI_FUNC_WORKDAY"
@@ -261,39 +222,13 @@
#define HID_DAI_FUNC_DIFFYEARS "SC_HID_DAI_FUNC_DIFFYEARS"
#define HID_DAI_FUNC_ROT13 "SC_HID_DAI_FUNC_ROT13"
-#define HID_SCPAGE_OPREDLINBE_FT_CONTENT "SC_HID_SCPAGE_OPREDLINBE_FT_CONTENT"
#define HID_MN_FORMAT_STYLE "SC_HID_MN_FORMAT_STYLE"
#define HID_MN_FORMAT_ALGN "SC_HID_MN_FORMAT_ALGN"
#define HID_MN_FORMAT_LINESPACE "SC_HID_MN_FORMAT_LINESPACE"
// sidebar -----------------------------------------
-// AlignmentPropertyPanel -----------------------------------------
-#define HID_PROPERTYPANEL_SC_ALIGN_SECTION "SC_HID_PROPERTYPANEL_SC_ALIGN_SECTION"
-#define HID_PROPERTY_PANEL_ALIGN_TBX_HOR "SC_HID_PROPERTY_PANEL_ALIGN_TBX_HOR"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_HOR_L "SC_HID_PROPERTY_PANEL_ALIGN_TBI_HOR_L"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_HOR_C "SC_HID_PROPERTY_PANEL_ALIGN_TBI_HOR_C"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_HOR_R "SC_HID_PROPERTY_PANEL_ALIGN_TBI_HOR_R"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_HOR_J "SC_HID_PROPERTY_PANEL_ALIGN_TBI_HOR_J"
-#define HID_PROPERTY_PANEL_ALIGN_TBX_VER "SC_HID_PROPERTY_PANEL_ALIGN_TBX_VER"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_VER_T "SC_HID_PROPERTY_PANEL_ALIGN_TBI_VER_T"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_VER_C "SC_HID_PROPERTY_PANEL_ALIGN_TBI_VER_C"
-#define HID_PROPERTY_PANEL_ALIGN_TBI_VER_B "SC_HID_PROPERTY_PANEL_ALIGN_TBI_VER_B"
-#define HID_PROPERTY_PANEL_ALIGN_MBX_INDENT "SC_HID_PROPERTY_PANEL_ALIGN_MBX_INDENT"
-#define HID_PROPERTY_PANEL_ALIGN_CBX_WRAP "SC_HID_PROPERTY_PANEL_ALIGN_CBX_WRAP"
-#define HID_PROPERTY_PANEL_ALIGN_CBX_MERGE "SC_HID_PROPERTY_PANEL_ALIGN_CBX_MERGE"
-#define HID_PROPERTY_PANEL_ALIGN_MBX_ANGLE "SC_HID_PROPERTY_PANEL_ALIGN_MBX_ANGLE"
-#define HID_PROPERTY_PANEL_ALIGN_DIAL_CONTROL "SC_HID_PROPERTY_PANEL_ALIGN_DIAL_CONTROL"
-#define HID_PROPERTY_PANEL_ALIGN_CBX_VERT "SC_HID_PROPERTY_PANEL_ALIGN_CBX_VERT"
// CellAppearancePropertyPanel -----------------------------------------
-#define HID_PROPERTYPANEL_SC_CELL_SECTION "SC_HID_PROPERTYPANEL_SC_CELL_SECTION"
-#define HID_PROPERTYPANEL_SC_TBX_BORDER "SC_HID_PROPERTYPANEL_SC_TBX_BORDER"
-#define HID_PROPERTYPANEL_SC_TBI_BORDER "SC_HID_PROPERTYPANEL_SC_TBI_BORDER"
-#define HID_PROPERTYPANEL_SC_TBX_STYLE "SC_HID_PROPERTYPANEL_SC_TBX_STYLE"
-#define HID_PROPERTYPANEL_SC_TBI_STYLE "SC_HID_PROPERTYPANEL_SC_TBI_STYLE"
-#define HID_PROPERTYPANEL_SC_TBX_LINECOLOR "SC_HID_PROPERTYPANEL_SC_TBX_LINECOLOR"
-#define HID_PROPERTYPANEL_SC_TBI_LINECOLOR "SC_HID_PROPERTYPANEL_SC_TBI_LINECOLOR"
-#define HID_PROPERTYPANEL_SC_CBOX_SHOWGRID "SC_HID_PROPERTYPANEL_SC_CBOX_SHOWGRID"
#define HID_PROPERTYPANEL_SC_STYLE_VS "SC_HID_PROPERTYPANEL_SC_STYLE_VS"
#define HID_PROPERTYPANEL_SC_STYLE_PB "SC_HID_PROPERTYPANEL_SC_STYLE_PB"
#define HID_PROPERTYPANEL_SC_BORDER1_TBX "SC_HID_PROPERTYPANEL_SC_BORDER1_TBX"
@@ -316,20 +251,6 @@
#define HID_PROPERTYPANEL_SC_BORDER_TBI_TOPBOT "SC_HID_PROPERTYPANEL_SC_BORDER_TBI_TOPBOT"
#define HID_PROPERTYPANEL_SC_BORDER_TBI_LEFTRIGHT "SC_HID_PROPERTYPANEL_SC_BORDER_TBI_LEFTRIGHT"
-// NumberFormatPropertyPanel -----------------------------------------
-#define HID_PROPERTYPANEL_SC_NUM_SECTION "SC_HID_PROPERTYPANEL_SC_NUM_SECTION"
-#define HID_PROPERTY_PANEL_NUMFMT_LB_CATEGORY "SC_HID_PROPERTY_PANEL_NUMFMT_LB_CATEGORY"
-#define HID_PROPERTY_PANEL_NUMFMT_TBX_CATEGORY "SC_HID_PROPERTY_PANEL_NUMFMT_TBX_CATEGORY"
-#define HID_PROPERTY_PANEL_NUMFMT_ID_NUMBER "SC_HID_PROPERTY_PANEL_NUMFMT_ID_NUMBER"
-#define HID_PROPERTY_PANEL_NUMFMT_ID_PERCENT "SC_HID_PROPERTY_PANEL_NUMFMT_ID_PERCENT"
-#define HID_PROPERTY_PANEL_NUMFMT_ID_CURRENCY "SC_HID_PROPERTY_PANEL_NUMFMT_ID_CURRENCY"
-#define HID_PROPERTY_PANEL_NUMFMT_ID_DATE "SC_HID_PROPERTY_PANEL_NUMFMT_ID_DATE"
-#define HID_PROPERTY_PANEL_NUMFMT_ID_TEXT "SC_HID_PROPERTY_PANEL_NUMFMT_ID_TEXT"
-#define HID_PROPERTY_PANEL_NUMFMT_ED_DECIMALS "SC_HID_PROPERTY_PANEL_NUMFMT_ED_DECIMALS"
-#define HID_PROPERTY_PANEL_NUMFMT_ED_LEADZEROES "SC_HID_PROPERTY_PANEL_NUMFMT_ED_LEADZEROES"
-#define HID_PROPERTY_PANEL_NUMFMT_BTN_NEGRED "SC_HID_PROPERTY_PANEL_NUMFMT_BTN_NEGRED"
-#define HID_PROPERTY_PANEL_NUMFMT_BTN_THOUSAND "SC_HID_PROPERTY_PANEL_NUMFMT_BTN_THOUSAND"
-
// Ende Hilfe IDs ------------------------------------------------------------
#define HID_FUNC_DBANZAHL "SC_HID_FUNC_DBANZAHL"
@@ -673,7 +594,6 @@
#define HID_FUNC_GAMMAINV_MS "SC_HID_FUNC_GAMMAINV_MS"
#define HID_FUNC_GAMMALN_MS "SC_HID_FUNC_GAMMALN_MS"
#define HID_FUNC_LOGNORMDIST_MS "SC_HID_FUNC_LOGNORMDIST_MS"
-#define HID_FUNC_LOGINV_MS "SC_HID_FUNC_LOGINV_MS"
#define HID_FUNC_NORMDIST_MS "SC_HID_FUNC_NORMDIST_MS"
#define HID_FUNC_NORMINV_MS "SC_HID_FUNC_NORMINV_MS"
#define HID_FUNC_STD_NORMDIST_MS "SC_HID_FUNC_STD_NORMDIST_MS"
diff --git a/sc/inc/rechead.hxx b/sc/inc/rechead.hxx
index dfd5cb4e9b70..b5e5cb78da25 100644
--- a/sc/inc/rechead.hxx
+++ b/sc/inc/rechead.hxx
@@ -26,81 +26,14 @@
#define SCID_SIZES 0x4200
-#define SCID_POOLS 0x4210
-#define SCID_DOCPOOL 0x4211
-#define SCID_STYLEPOOL 0x4212
-#define SCID_NEWPOOLS 0x4213 // ID for SC 3.0a
-#define SCID_EDITPOOL 0x4214
-
-#define SCID_DOCUMENT 0x4220
-#define SCID_DOCFLAGS 0x4221
-#define SCID_TABLE 0x4222
-#define SCID_DRAWING 0x4223
-#define SCID_RANGENAME 0x4224
-#define SCID_DBAREAS 0x4225
-#define SCID_PIVOT 0x4226
-#define SCID_CHARTS 0x4227
-#define SCID_NUMFORMAT 0x4228
-#define SCID_DOCOPTIONS 0x4229
-#define SCID_VIEWOPTIONS 0x422a
-#define SCID_PRINTSETUP 0x422b
-#define SCID_CHARSET 0x422c
-#define SCID_NEWDOCUMENT 0x422d // ID for SC 3.0a
-#define SCID_DDELINKS 0x422e
-#define SCID_AREALINKS 0x422f
-#define SCID_CONDFORMATS 0x4230
-#define SCID_VALIDATION 0x4231
-#define SCID_COLNAMERANGES 0x4232
-#define SCID_ROWNAMERANGES 0x4233
-#define SCID_DETOPLIST 0x4234
-#define SCID_CONSOLIDATA 0x4235
-#define SCID_CHANGETRACK 0x4236
-#define SCID_CHGVIEWSET 0x4237
-#define SCID_LINKUPMODE 0x4238
-#define SCID_DATAPILOT 0x4239
-
-#define SCID_COLUMNS 0x4240
-#define SCID_COLROWFLAGS 0x4241
-#define SCID_TABOPTIONS 0x4242
-#define SCID_TABLINK 0x4243
-
-#define SCID_COLDATA 0x4250
-#define SCID_COLNOTES 0x4251
-#define SCID_COLATTRIB 0x4252
-
-#define SCID_DRAWPOOL 0x4260
-#define SCID_DRAWMODEL 0x4261
-
-// file version
-// if the high-byte is incremented, the document won't be opened by older SCs
-#define SC_INITIAL_VERSION 0x0001
-#define SC_FORMULA_LCLVER 0x0002 // formula with local version no.
-
-#define SC_NEW_TOKEN_ARRAYS 0x0003 // new TokenArray format
-#define SC_FORMULA_VALUES 0x0004 // values in formula cells
-#define SC_FORMULA_VALUES2 0x0005 // values in formula cells
-#define SC_DATABYTES 0x0006 // data bytes, small tables
-#define SC_DATABYTES2 0x0007 // data bytes, small tables
-#define SC_NUMFMT 0x0008 // number format of formula cell
-#define SC_NEWIF 0x0009 // new coding of ocIf (komp.)
-
-#define SC_RELATIVE_REFS 0x0010 // relative references
-#define SC_SUBTOTAL_FLAG 0x0011 // bSubTotal of formula cell
-#define SC_COLROWNAME_RANGEPAIR 0x0012 // ColRowNameRanges as ScRangePair
#define SC_31_EXPORT_VER 0x0012 // version for 3.1-export
// since 4.0
-#define SC_32K_ROWS 0x0100 // 32000 rows - incompatibel
#define SC_FONTCHARSET 0x0101 // Font-CharSets have to be right
-#define SC_40_EXPORT_VER 0x0101 // version for 4.0-Export
// since 5.0
-#define SC_RECALC_MODE_BITS 0x0201 // TokenArray RecalcMode
#define SC_MATRIX_DOUBLEREF 0x0202 // DoubleRef implicit intersection
-#define SC_VERSION_EDITPOOL 0x0203 // EditCells with EditPool
-#define SC_SUBTOTAL_BUGFIX 0x0204 // bSubTotal of formula cell (true)
// since 5.2
-#define SC_CONVERT_RECALC_ON_LOAD 0x0205 // CONVERT function recalculated on each load
#define SC_CURRENT_VERSION 0x0205
// all above SC_31_EXPORT_VER has to be queried during saving,
diff --git a/sc/inc/sccommands.h b/sc/inc/sccommands.h
index 8cfbd9978909..93a770e1ec58 100644
--- a/sc/inc/sccommands.h
+++ b/sc/inc/sccommands.h
@@ -19,20 +19,12 @@
#ifndef INCLUDED_SC_INC_SCCOMMANDS_H
#define INCLUDED_SC_INC_SCCOMMANDS_H
-#define CMD_FID_CHG_ACCEPT ".uno:AcceptChanges"
-#define CMD_FID_ADD_NAME ".uno:AddName"
#define CMD_SID_ADD_PRINTAREA ".uno:AddPrintArea"
#define CMD_SID_DETECTIVE_DEL_ALL ".uno:ClearArrows"
#define CMD_FID_COL_WIDTH ".uno:ColumnWidth"
-#define CMD_FID_USE_NAME ".uno:CreateNames"
#define CMD_SID_CREATE_SW_DRAWVIEW ".uno:CreateSWDrawView"
-#define CMD_SID_OPENDLG_CONSOLIDATE ".uno:DataConsolidate"
#define CMD_SID_OPENDLG_PIVOTTABLE ".uno:DataDataPilotRun"
-#define CMD_SID_SPECIAL_FILTER ".uno:DataFilterSpecialFilter"
-#define CMD_SID_FILTER ".uno:DataFilterStandardFilter"
#define CMD_SID_DATA_SELECT ".uno:DataSelect"
-#define CMD_SID_DEFINE_DBNAME ".uno:DefineDBName"
-#define CMD_FID_DEFINE_NAME ".uno:DefineName"
#define CMD_SID_DEFINE_PRINTAREA ".uno:DefinePrintArea"
#define CMD_FID_DELETE_CELL ".uno:DeleteCell"
#define CMD_FID_DEL_MANUALBREAKS ".uno:DeleteAllBreaks"
@@ -45,10 +37,7 @@
#define CMD_SID_FILL_DEL_SUCC ".uno:FillModeRemoveSuccessor"
#define CMD_SID_FILL_ADD_PRED ".uno:FillModeTracePredescessor"
#define CMD_SID_FILL_ADD_SUCC ".uno:FillModeTraceSuccessor"
-#define CMD_FID_FILL_SERIES ".uno:FillSeries"
#define CMD_FID_CELL_FORMAT ".uno:FormatCellDialog"
-#define CMD_SID_OPENDLG_SOLVE ".uno:GoalSeekDialog"
-#define CMD_SID_OPENDLG_OPTSOLVER ".uno:SolverDialog"
#define CMD_FID_TABLE_HIDE ".uno:Hide"
#define CMD_FID_COL_HIDE ".uno:HideColumn"
#define CMD_FID_ROW_HIDE ".uno:HideRow"
@@ -56,8 +45,6 @@
#define CMD_FID_INS_CELL ".uno:InsertCell"
#define CMD_FID_INS_COLBRK ".uno:InsertColumnBreak"
#define CMD_FID_INS_COLUMN ".uno:InsertColumns"
-#define CMD_FID_INS_CELL_CONTENTS ".uno:InsertContents"
-#define CMD_FID_INSERT_NAME ".uno:InsertName"
#define CMD_FID_INS_ROWBRK ".uno:InsertRowBreak"
#define CMD_FID_INS_ROW ".uno:InsertRows"
#define CMD_FID_MERGE_ON ".uno:MergeCells"
@@ -65,7 +52,6 @@
#define CMD_SID_OBJECT_MIRROR ".uno:Mirror"
#define CMD_FID_TAB_MOVE ".uno:Move"
#define CMD_SID_PREVIEW_NEXT ".uno:NextPage"
-#define CMD_FID_NOTE_VISIBLE ".uno:NoteVisible"
#define CMD_FID_SHOW_NOTE ".uno:ShowNote"
#define CMD_FID_HIDE_NOTE ".uno:HideNote"
#define CMD_SID_DELETE_NOTE ".uno:DeleteNote"
@@ -82,7 +68,6 @@
#define CMD_SID_CELL_FORMAT_RESET ".uno:ResetAttributes"
#define CMD_FID_RESET_PRINTZOOM ".uno:ResetPrintZoom"
#define CMD_FID_ROW_HEIGHT ".uno:RowHeight"
-#define CMD_SID_SELECT_DB ".uno:SelectDB"
#define CMD_SID_ANCHOR_CELL ".uno:SetAnchorToCell"
#define CMD_SID_ANCHOR_PAGE ".uno:SetAnchorToPage"
#define CMD_FID_COL_OPT_WIDTH ".uno:SetOptimalColumnWidth"
@@ -91,7 +76,6 @@
#define CMD_FID_COL_SHOW ".uno:ShowColumn"
#define CMD_FID_ROW_SHOW ".uno:ShowRow"
#define CMD_SID_TEXT_STANDARD ".uno:StandardTextAttributes"
-#define CMD_SID_OPENDLG_TABOP ".uno:TableOperationDialog"
#define CMD_FID_TAB_MENU_RENAME ".uno:RenameTable"
#define CMD_FID_TAB_SELECTALL ".uno:TableSelectAll"
#define CMD_FID_TAB_DESELECTALL ".uno:TableDeselectAll"
@@ -100,12 +84,9 @@
#define CMD_SID_ULINE_VAL_DOUBLE ".uno:UnderlineDouble"
#define CMD_SID_DP_FILTER ".uno:DataPilotFilter"
#define CMD_FID_TAB_RTL ".uno:SheetRightToLeft"
-#define CMD_SID_SHARE_DOC ".uno:ShareDocument"
#define CMD_FID_TAB_EVENTS ".uno:TableEvents"
#define CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ".uno:SetTabBgColor"
#define CMD_FID_TAB_SET_TAB_BG_COLOR ".uno:TabBgColor"
-#define CMD_SID_MANAGE_XML_SOURCE ".uno:ManageXMLSource"
-#define CMD_SID_CONVERT_FORMULA_TO_VALUE ".uno:ConvertFormulaToValue"
#endif
diff --git a/sc/inc/unonames.hxx b/sc/inc/unonames.hxx
index aaead415849b..73ab29378b32 100644
--- a/sc/inc/unonames.hxx
+++ b/sc/inc/unonames.hxx
@@ -194,7 +194,6 @@
// #i66550 HLINK_FOR_SHAPES
#define SC_UNONAME_HYPERLINK "Hyperlink"
#define SC_UNONAME_MOVEPROTECT "MoveProtect"
-#define SC_UNONAME_SIZEPROTECT "SizeProtect"
// other cell properties
#define SC_UNONAME_CHCOLHDR "ChartColumnAsLabel"
@@ -282,7 +281,6 @@
#define SC_UNONAME_SRCOBJ "SourceObject"
#define SC_UNONAME_SRCTYPE "SourceType"
#define SC_UNONAME_STRIPDAT "StripData"
-#define SC_UNONAME_UNIQUE "UniqueOnly"
#define SC_UNONAME_USEREGEX "UseRegularExpressions"
#define SC_UNONAME_ULIST "UserListEnabled"
#define SC_UNONAME_UINDEX "UserListIndex"
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index edfcf9b9425d..5083c989a105 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -32,7 +32,6 @@
#define SC_UD_OBJDATA 1
#define SC_UD_IMAPDATA 2
#define SC_UD_MACRODATA 3
-#define SC_UD_ALTOBJDATA 4
class ScDrawObjFactory
{
diff --git a/sc/source/filter/inc/excdefs.hxx b/sc/source/filter/inc/excdefs.hxx
index 204139b36a3c..121b7a22287b 100644
--- a/sc/source/filter/inc/excdefs.hxx
+++ b/sc/source/filter/inc/excdefs.hxx
@@ -72,8 +72,6 @@ const sal_uInt8 EXC_AFOPER_GREATEREQUAL = 0x06;
#define EXC_CHTR_OP_MOVE 0x0004
#define EXC_CHTR_OP_INSTAB 0x0005
#define EXC_CHTR_OP_CELL 0x0008
-#define EXC_CHTR_OP_RENAME 0x0009
-#define EXC_CHTR_OP_NAME 0x000A
#define EXC_CHTR_OP_FORMAT 0x000B
#define EXC_CHTR_OP_UNKNOWN 0xFFFF
diff --git a/sc/source/filter/inc/scflt.hxx b/sc/source/filter/inc/scflt.hxx
index fc6af9a43fc7..d3c291c63495 100644
--- a/sc/source/filter/inc/scflt.hxx
+++ b/sc/source/filter/inc/scflt.hxx
@@ -71,13 +71,11 @@
#define atStrikeOut 8
// Horizontal alignment
-#define hjNone 0
#define hjLeft 1
#define hjCenter 2
#define hjRight 3
// Vertical alignment
-#define vjNone 0
#define vjTop 1
#define vjCenter 2
#define vjBottom 3
@@ -93,7 +91,6 @@
#define raGray25 2
#define raGray50 3
#define raGray75 4
-#define raGray100 5
// Cell protection
#define paProtect 1
@@ -118,7 +115,6 @@
#define vfExponentRed 13
#define vfFormula 14
#define vfString 15
-#define vfNone 16
// Date format flags
#define df_NDMY_Long 0
@@ -154,28 +150,17 @@
#define dfFormula 0x0001 // formula
#define dfZerro 0x0002 // zero values
#define dfGrid 0x0004 // grid
-#define dfPageBreak 0x0008 // PageBreak
-#define dfColRowBar 0x0010 // Row/Col heads (Dummy)
#define dfSyntax 0x0020 // Syntax Highlighting
-#define dfPrintPage 0x0040 // PrintView (Dummy)
#define dfObjectAll 0x0080 // show objects
#define dfObjectFrame 0x0100 // objects as place holder
#define dfObjectNone 0x0200 // do not show objects
#define dfNoteMark 0x0400 // NoteMark
-#define dfProtectMark 0x0800 // ProtectMark
// Object types
-#define otNone 0 // see below
#define otOle 1
#define otImage 2
#define otChart 3
-// Grafic types
-#define gtNone 0 // not possible
-#define gtOle 1 // Ole 1.0 Object
-#define gtImage 2 // Image (Bitmap or Metafile)
-#define gtChart 3 // Chart
-
// Date/Time
struct Sc10DateTime
{
diff --git a/sc/source/filter/inc/xlchart.hxx b/sc/source/filter/inc/xlchart.hxx
index 93e523f6e13e..1d7f72cc754d 100644
--- a/sc/source/filter/inc/xlchart.hxx
+++ b/sc/source/filter/inc/xlchart.hxx
@@ -69,7 +69,6 @@ class XclRoot;
#define EXC_CHPROP_CROSSOVERVALUE "CrossoverValue"
#define EXC_CHPROP_CURVESTYLE "CurveStyle"
#define EXC_CHPROP_CURVENAME "CurveName"
-#define EXC_CHPROP_D3DCAMERAGEOMETRY "D3DCameraGeometry"
#define EXC_CHPROP_D3DSCENEAMBIENTCOLOR "D3DSceneAmbientColor"
#define EXC_CHPROP_D3DSCENELIGHTON1 "D3DSceneLightOn1"
#define EXC_CHPROP_D3DSCENELIGHTCOLOR2 "D3DSceneLightColor2"
@@ -77,7 +76,6 @@ class XclRoot;
#define EXC_CHPROP_D3DSCENELIGHTON2 "D3DSceneLightOn2"
#define EXC_CHPROP_D3DSCENEPERSPECTIVE "D3DScenePerspective"
#define EXC_CHPROP_D3DSCENESHADEMODE "D3DSceneShadeMode"
-#define EXC_CHPROP_D3DTRANSFORMMATRIX "D3DTransformMatrix"
#define EXC_CHPROP_DISPLAYLABELS "DisplayLabels"
#define EXC_CHPROP_ERRORBARSTYLE "ErrorBarStyle"
#define EXC_CHPROP_ERRORBARX "ErrorBarX"
@@ -86,12 +84,9 @@ class XclRoot;
#define EXC_CHPROP_EXPTIMEINCREMENT "ExplicitTimeIncrement"
#define EXC_CHPROP_EXTRAPOLATE_FORWARD "ExtrapolateForward"
#define EXC_CHPROP_EXTRAPOLATE_BACKWARD "ExtrapolateBackward"
-#define EXC_CHPROP_FILLBITMAPMODE "FillBitmapMode"
-#define EXC_CHPROP_FILLSTYLE "FillStyle"
#define EXC_CHPROP_FORCE_INTERCEPT "ForceIntercept"
#define EXC_CHPROP_GAPWIDTHSEQ "GapwidthSequence"
#define EXC_CHPROP_GEOMETRY3D "Geometry3D"
-#define EXC_CHPROP_HASMAINTITLE "HasMainTitle"
#define EXC_CHPROP_INCLUDEHIDDENCELLS "IncludeHiddenCells"
#define EXC_CHPROP_INTERCEPT_VALUE "InterceptValue"
#define EXC_CHPROP_JAPANESE "Japanese"
diff --git a/sc/source/ui/dbgui/pvfundlg.hrc b/sc/source/ui/dbgui/pvfundlg.hrc
index 02dd648c91d4..135f569de5c0 100644
--- a/sc/source/ui/dbgui/pvfundlg.hrc
+++ b/sc/source/ui/dbgui/pvfundlg.hrc
@@ -23,7 +23,5 @@
#define BTN_CANCEL 2
#define BTN_HELP 3
-#define LB_DIMS 10
-#define FT_DIMS 11
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx
index 5bbab26c8457..bd86eff3efe8 100644
--- a/sc/source/ui/inc/fupoor.hxx
+++ b/sc/source/ui/inc/fupoor.hxx
@@ -36,7 +36,6 @@ class SdrObject;
// Return values for command
#define SC_CMD_NONE 0
#define SC_CMD_USED 1
-#define SC_CMD_IGNORE 2
/** Base class for all functions */
class FuPoor
diff --git a/sc/source/ui/inc/miscdlgs.hrc b/sc/source/ui/inc/miscdlgs.hrc
index 56f7aeeb2e91..ad90be7f248d 100644
--- a/sc/source/ui/inc/miscdlgs.hrc
+++ b/sc/source/ui/inc/miscdlgs.hrc
@@ -19,9 +19,6 @@
#include "sc.hrc"
-#define STR_BTN_CLOSE 200
-#define STR_GROUP 1
-#define STR_UNGROUP 2
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx
index 1b99dd51da22..2e8d51eb575e 100644
--- a/sc/source/ui/inc/printfun.hxx
+++ b/sc/source/ui/inc/printfun.hxx
@@ -46,7 +46,6 @@ class FmFormView;
#define PRINT_HEADER_WIDTH (1.0 * TWIPS_PER_CM)
#define PRINT_HEADER_HEIGHT (12.8 * TWIPS_PER_POINT)
-#define PRINT_HEADER_FONTHEIGHT 200
// Settings for headers/footers
struct ScPrintHFParam
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 515bc67a4f75..233c60a8001b 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -27,7 +27,6 @@
#include <boost/scoped_ptr.hpp>
-#define SC_SMALL3DSHADOW COL_BLACK
#define SC_SIZE_NONE 65535
const SCCOL SC_TABSTART_NONE = SCCOL_MAX;