Kaydet (Commit) 635b8cc9 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

Clean unused defines after src->xml conversion

... in 1c035f1b

Change-Id: I71271824b68ed21ac5db95b01fee61337fde189b
Reviewed-on: https://gerrit.libreoffice.org/20736Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMaxim Monastirsky <momonasmon@gmail.com>
Tested-by: 's avatarMaxim Monastirsky <momonasmon@gmail.com>
üst 0e87fb82
......@@ -21,7 +21,6 @@
#define CMD_SID_BROWSE_BACKWARD ".uno:BrowseBackward"
#define CMD_SID_BROWSE_FORWARD ".uno:BrowseForward"
#define CMD_SID_CLOSEWIN ".uno:CloseWin"
#define CMD_SID_COPY ".uno:Copy"
#define CMD_SID_CUT ".uno:Cut"
#define CMD_SID_DELETE ".uno:Delete"
......@@ -39,10 +38,6 @@
#define CMD_SID_PASTE ".uno:Paste"
#define CMD_SID_PASTE_SPECIAL ".uno:PasteSpecial"
#define CMD_SID_PASTE_UNFORMATTED ".uno:PasteUnformatted"
#define CMD_SID_PASTE_ONLY ".uno:PasteOnly"
#define CMD_SID_PASTE_ONLY_VALUE ".uno:PasteOnlyValue"
#define CMD_SID_PASTE_ONLY_TEXT ".uno:PasteOnlyText"
#define CMD_SID_PASTE_ONLY_FORMULA ".uno:PasteOnlyFormula"
#define CMD_SID_PRINTPREVIEW ".uno:PrintPreview"
#define CMD_SID_RELOAD ".uno:Reload"
#define CMD_SID_BASICIDE_RENAMECURRENT ".uno:RenameCurrent"
......
......@@ -82,8 +82,6 @@
#define CMD_SID_GRID_USE ".uno:GridUse"
#define CMD_SID_GRID_VISIBLE ".uno:GridVisible"
#define CMD_SID_INSERT_GRAPHIC ".uno:InsertGraphic"
#define CMD_SID_INSERT_POSTIT ".uno:InsertAnnotation"
#define CMD_SID_EDIT_POSTIT ".uno:InsertAnnotation"
#define CMD_SID_REPLYTO_POSTIT ".uno:ReplyToAnnotation"
#define CMD_SID_RULER ".uno:ShowRuler"
#define CMD_SID_DELETE_POSTIT ".uno:DeleteAnnotation"
......@@ -97,8 +95,6 @@
#define CMD_SID_FM_LISTBOX ".uno:ListBox"
#define CMD_SID_FM_NUMERICFIELD ".uno:NumericField"
#define CMD_SID_OBJECT_ALIGN ".uno:ObjectAlign"
#define CMD_SID_FRAME_DOWN ".uno:ObjectBackOne"
#define CMD_SID_FRAME_UP ".uno:ObjectForwardOne"
#define CMD_SID_FM_OPEN_READONLY ".uno:OpenReadOnly"
#define CMD_SID_ATTR_CHAR_CONTOUR ".uno:OutlineFont"
#define CMD_SID_PARA_DLG ".uno:ParagraphDialog"
......
......@@ -47,8 +47,6 @@ $(eval $(call gb_SrsTarget_add_files,sc/res,\
sc/source/ui/navipi/navipi.src \
sc/source/ui/styleui/scstyles.src \
sc/source/ui/dbgui/pvfundlg.src \
sc/source/ui/drawfunc/drformsh.src \
sc/source/ui/drawfunc/objdraw.src \
sc/source/ui/miscdlgs/retypepassdlg.src \
sc/source/ui/miscdlgs/conflictsdlg.src \
sc/source/ui/miscdlgs/acredlin.src \
......
......@@ -87,11 +87,6 @@
#define HID_SC_REN_AFMT_DLG "SC_HID_SC_REN_AFMT_DLG"
// Hilfe IDs fuer Submenus (max.50) ------------------------------------------
#define HID_SCMENU_OBJMIRROR "SC_HID_SCMENU_OBJMIRROR"
#define HID_SCMENU_OBJARRANGE "SC_HID_SCMENU_OBJARRANGE"
#define HID_SCMENU_ANCHOR "SC_HID_SCMENU_ANCHOR"
#define HID_SC_SORT_ACTION "SC_HID_SC_SORT_ACTION"
#define HID_SC_SORT_AUTHOR "SC_HID_SC_SORT_AUTHOR"
#define HID_SC_SORT_DATE "SC_HID_SC_SORT_DATE"
......
......@@ -693,42 +693,26 @@
#define RID_OBJECTBAR_APP (SC_RESOURCE_START)
#define RID_OBJECTBAR_FORMAT (SC_RESOURCE_START+1)
#define RID_POPUP_CELLS (SC_RESOURCE_START+3)
#define RID_POPUP_DRAW (SC_RESOURCE_START+4)
#define RID_TEXT_TOOLBOX (SC_RESOURCE_START+5)
#define RID_OBJECTBAR_PREVIEW (SC_RESOURCE_START+6)
#define RID_POPUP_PREVIEW (SC_RESOURCE_START+7)
#define RID_POPUP_OLE (SC_RESOURCE_START+8)
#define RID_POPUP_CHART (SC_RESOURCE_START+9)
#define RID_OUTLINEBITMAPS (SC_RESOURCE_START+12)
#define RID_DRAW_WIN (SC_RESOURCE_START+13)
#define RID_CNTRLR_WIN (SC_RESOURCE_START+14)
#define RID_GLOBSTR (SC_RESOURCE_START+15)
#define RID_ALIGNMENT_WIN (SC_RESOURCE_START+19)
#define RID_POPUP_PIVOT (SC_RESOURCE_START+21)
#define RID_ERRHDLSC (SC_RESOURCE_START+23)
#define RID_POPUP_GRAPHIC (SC_RESOURCE_START+24)
#define RID_POPUP_DRAWTEXT (SC_RESOURCE_START+29)
#define RID_MN_FORMAT_ALGN (SC_RESOURCE_START+30)
#define RID_MN_FORMAT_STYLE (SC_RESOURCE_START+31)
#define RID_MN_FORMAT_LINESPACE (SC_RESOURCE_START+32)
#define RID_POPUP_EDIT (SC_RESOURCE_START+33)
#define RID_POPUP_AUDIT (SC_RESOURCE_START+34)
#define RID_OBJECTBAR_TOOLS (SC_RESOURCE_START+35)
#define RID_SC_FUNCTION_DESCRIPTIONS1 (SC_RESOURCE_START+43)
#define RID_SC_FUNCTION_DESCRIPTIONS2 (SC_RESOURCE_START+44)
#define RID_POPUP_CONTROL (SC_RESOURCE_START+45)
#define RID_POPUP_PAGEBREAK (SC_RESOURCE_START+46)
#define RID_POPUP_DRAWFORM (SC_RESOURCE_START+48)
#define RID_IMAGELIST_NAVCONT (SC_RESOURCE_START+52)
#define RID_DRAW_OBJECTBAR (SC_RESOURCE_START+53)
#define RID_GRAPHIC_OBJECTBAR (SC_RESOURCE_START+54)
#define RID_MEDIA_OBJECTBAR (SC_RESOURCE_START+60)
#define RID_POPUP_MEDIA (SC_RESOURCE_START+61)
#define RID_FUNCTION_CATEGORIES (SC_RESOURCE_START+62)
#define RID_MN_INSERT_FIELDS (SC_RESOURCE_START+63)
#define RID_STATISTICS_DLGS (SC_RESOURCE_START+64)
#define RID_IMAGE_SUBMENU (SC_RESOURCE_START+65)
#define STR_START (SC_RESOURCE_START+100)
#define STR_ROWHEIGHT (STR_START)
......
......@@ -19,74 +19,35 @@
#ifndef INCLUDED_SC_INC_SCCOMMANDS_H
#define INCLUDED_SC_INC_SCCOMMANDS_H
#define CMD_SID_ADD_PRINTAREA ".uno:AddPrintArea"
#define CMD_SID_DETECTIVE_DEL_ALL ".uno:ClearArrows"
#define CMD_FID_COL_WIDTH ".uno:ColumnWidth"
#define CMD_SID_CREATE_SW_DRAWVIEW ".uno:CreateSWDrawView"
#define CMD_SID_OPENDLG_PIVOTTABLE ".uno:DataDataPilotRun"
#define CMD_SID_DATA_SELECT ".uno:DataSelect"
#define CMD_SID_DEFINE_PRINTAREA ".uno:DefinePrintArea"
#define CMD_FID_DELETE_CELL ".uno:DeleteCell"
#define CMD_FID_DEL_MANUALBREAKS ".uno:DeleteAllBreaks"
#define CMD_SID_DEL_COLS ".uno:DeleteColumns"
#define CMD_SID_PIVOT_KILL ".uno:DeletePivotTable"
#define CMD_SID_DELETE_PRINTAREA ".uno:DeletePrintArea"
#define CMD_SID_DEL_ROWS ".uno:DeleteRows"
#define CMD_SID_FILL_NONE ".uno:FillModeEnd"
#define CMD_SID_FILL_DEL_PRED ".uno:FillModeRemovePredescessor"
#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_CELL_FORMAT ".uno:FormatCellDialog"
#define CMD_FID_TABLE_HIDE ".uno:Hide"
#define CMD_FID_COL_HIDE ".uno:HideColumn"
#define CMD_FID_ROW_HIDE ".uno:HideRow"
#define CMD_FID_INS_TABLE ".uno:Insert"
#define CMD_FID_INS_CELL ".uno:InsertCell"
#define CMD_FID_INS_COLBRK ".uno:InsertColumnBreak"
#define CMD_FID_INS_COLUMNS_AFTER ".uno:InsertColumnsAfter"
#define CMD_FID_INS_COLUMN ".uno:InsertColumns"
#define CMD_FID_INS_COLUMNS_BEFORE ".uno:InsertColumnsBefore"
#define CMD_FID_INS_ROWBRK ".uno:InsertRowBreak"
#define CMD_FID_INS_ROWS_AFTER ".uno:InsertRowsAfter"
#define CMD_FID_INS_ROW ".uno:InsertRows"
#define CMD_FID_INS_ROWS_BEFORE ".uno:InsertRowsBefore"
#define CMD_FID_MERGE_ON ".uno:MergeCells"
#define CMD_FID_MERGE_OFF ".uno:SplitCell"
#define CMD_SID_OBJECT_MIRROR ".uno:Mirror"
#define CMD_FID_TAB_MOVE ".uno:Move"
#define CMD_SID_PREVIEW_NEXT ".uno:NextPage"
#define CMD_FID_SHOW_NOTE ".uno:ShowNote"
#define CMD_FID_HIDE_NOTE ".uno:HideNote"
#define CMD_SID_DELETE_NOTE ".uno:DeleteNote"
#define CMD_SID_MIRROR_HORIZONTAL ".uno:ObjectMirrorHorizontal"
#define CMD_SID_MIRROR_VERTICAL ".uno:ObjectMirrorVertical"
#define CMD_SID_ORIGINALSIZE ".uno:OriginalSize"
#define CMD_SID_FORMATPAGE ".uno:PageFormatDialog"
#define CMD_SID_PREVIEW_PREVIOUS ".uno:PreviousPage"
#define CMD_FID_PROTECT_TABLE ".uno:Protect"
#define CMD_SID_PIVOT_RECALC ".uno:RecalcPivotTable"
#define CMD_FID_DELETE_TABLE ".uno:Remove"
#define CMD_SID_TITLE_DESCRIPTION_OBJECT ".uno:ObjectTitleDescription"
#define CMD_SID_RENAME_OBJECT ".uno:RenameObject"
#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_ANCHOR_CELL ".uno:SetAnchorToCell"
#define CMD_SID_ANCHOR_PAGE ".uno:SetAnchorToPage"
#define CMD_FID_COL_OPT_WIDTH ".uno:SetOptimalColumnWidth"
#define CMD_FID_ROW_OPT_HEIGHT ".uno:SetOptimalRowHeight"
#define CMD_FID_TABLE_SHOW ".uno:Show"
#define CMD_FID_COL_SHOW ".uno:ShowColumn"
#define CMD_FID_ROW_SHOW ".uno:ShowRow"
#define CMD_SID_TEXT_STANDARD ".uno:StandardTextAttributes"
#define CMD_FID_TAB_MENU_RENAME ".uno:RenameTable"
#define CMD_FID_TAB_SELECTALL ".uno:TableSelectAll"
#define CMD_FID_TAB_DESELECTALL ".uno:TableDeselectAll"
#define CMD_SID_DRAWTEXT_ATTR_DLG ".uno:TextAttributes"
#define CMD_SID_ASSIGNMACRO ".uno:AssignMacro"
#define CMD_SID_ULINE_VAL_DOUBLE ".uno:UnderlineDouble"
#define CMD_SID_DP_FILTER ".uno:DataPilotFilter"
#define CMD_FID_TAB_RTL ".uno:SheetRightToLeft"
#define CMD_FID_TAB_EVENTS ".uno:TableEvents"
#define CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ".uno:SetTabBgColor"
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "sc.hrc"
#include "submenu.hrc"
#include <svx/globlmn.hrc>
// Defines -------------------------------------------------------------------------------
#define MN_RENAME_OBJECT \
MenuItem\
{\
Identifier = SID_RENAME_OBJECT ; \
HelpId = CMD_SID_RENAME_OBJECT ; \
Text [ en-US ] = "Name...";\
};
// #i68101#
#define MN_TITLE_DESCRIPTION_OBJECT \
MenuItem\
{\
Identifier = SID_TITLE_DESCRIPTION_OBJECT; \
HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT; \
Text [ en-US ] = "Description...";\
};
#define MN_ARRANGESUB \
MenuItem\
{\
Identifier = SUBMENU_OBJARRANGE ; \
HelpID = HID_SCMENU_OBJARRANGE ; \
Text [ en-US ] = "~Arrange" ; \
SubMenu = Menu\
{\
ItemList = \
{\
MenuItem\
{\
ITEM_FORMAT_FRAME_TO_TOP\
};\
MenuItem\
{\
Identifier = SID_FRAME_UP ; \
HelpId = CMD_SID_FRAME_UP ; \
Text [ en-US ] = "Bring ~Forward" ; \
};\
MenuItem\
{\
Identifier = SID_FRAME_DOWN ; \
HelpId = CMD_SID_FRAME_DOWN ; \
Text [ en-US ] = "Send Back~ward" ; \
};\
MenuItem\
{\
ITEM_FORMAT_FRAME_TO_BOTTOM\
};\
MenuItem { Separator = TRUE ; }; \
MenuItem\
{\
ITEM_FORMAT_OBJECT_HEAVEN\
};\
MenuItem\
{\
ITEM_FORMAT_OBJECT_HELL\
};\
};\
};\
};
#define MN_ANCHORSUB \
MenuItem\
{\
Identifier = SUBMENU_ANCHOR ; \
HelpID = HID_SCMENU_ANCHOR ; \
Text [ en-US ] = "An~chor" ; \
SubMenu = Menu\
{\
ItemList = \
{\
MenuItem\
{\
RadioCheck = TRUE ; \
Identifier = SID_ANCHOR_PAGE ; \
HelpId = CMD_SID_ANCHOR_PAGE ; \
Text [ en-US ] = "To P~age" ; \
};\
MenuItem\
{\
RadioCheck = TRUE ; \
Identifier = SID_ANCHOR_CELL ; \
HelpId = CMD_SID_ANCHOR_CELL ; \
Text [ en-US ] = "To ~Cell" ; \
};\
};\
};\
};
#define MN_ALIGNSUB \
MenuItem\
{\
Identifier = SID_OBJECT_ALIGN ; \
HelpId = CMD_SID_OBJECT_ALIGN ; \
Text [ en-US ] = "A~lignment" ; \
SubMenu = Menu\
{\
ItemList = \
{\
MenuItem\
{\
ITEM_FORMAT_OBJECT_ALIGN_LEFT\
};\
MenuItem\
{\
ITEM_FORMAT_OBJECT_ALIGN_CENTER\
};\
MenuItem\
{\
ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
};\
MenuItem\
{\
Separator = TRUE ; \
};\
MenuItem\
{\
ITEM_FORMAT_OBJECT_ALIGN_UP\
};\
MenuItem\
{\
ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
};\
MenuItem\
{\
ITEM_FORMAT_OBJECT_ALIGN_DOWN\
};\
};\
};\
};
// Popup-Menues ---------------------------------------------------------------------
String RID_POPUP_DRAWFORM
{
Text [ en-US ] = "Popup menu for form objects";
};
// Popup-Menue fuer (Uno-) Controls
Menu RID_POPUP_DRAWFORM
{
ItemList =
{
MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_TITLE_DESCRIPTION_OBJECT
MN_RENAME_OBJECT
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
MenuItem { ITEM_FORM_PROPERTIES };
MenuItem { ITEM_REPLACE_CONTROL };
MenuItem { Separator = TRUE ; };
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This diff is collapsed.
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define SUBMENU_OBJARRANGE 23
#define SUBMENU_ANCHOR 24
#define SUBMENU_OBJMIRROR 33
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment