Clean unused defines after src->xml conversion

... in 1c035f1b0e

Change-Id: I71271824b68ed21ac5db95b01fee61337fde189b
Reviewed-on: https://gerrit.libreoffice.org/20736
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
This commit is contained in:
Maxim Monastirsky
2015-12-16 14:09:48 +02:00
parent 0e87fb8292
commit 635b8cc919
10 changed files with 0 additions and 1245 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 \

View File

@@ -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"

View File

@@ -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)

View File

@@ -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"

View File

@@ -1,195 +0,0 @@
/* -*- 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: */

View File

@@ -1,509 +0,0 @@
/* -*- 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_RESET\
MenuItem\
{\
Identifier = SID_TEXT_STANDARD ; \
HelpID = CMD_SID_TEXT_STANDARD ; \
Text [ en-US ] = "~Default" ; \
};
#define MN_DRWTXT \
MenuItem\
{\
ITEM_FORMAT_CHAR_DLG\
};\
MenuItem\
{\
ITEM_FORMAT_PARA_DLG\
};
#define MN_EDITLNK \
MenuItem\
{\
Identifier = SID_DRAW_HLINK_EDIT ; \
Text [ en-US ] = "~Hyperlink..." ; \
};
#define MN_DELLNK \
MenuItem\
{\
Identifier = SID_DRAW_HLINK_DELETE ; \
Text [ en-US ] = "~Remove Hyperlink" ; \
};
#define MN_DRWTXTATTR \
MenuItem\
{\
Identifier = SID_DRAWTEXT_ATTR_DLG ; \
HelpID = CMD_SID_DRAWTEXT_ATTR_DLG ; \
Text [ en-US ] = "Te~xt..." ; \
};
#define MN_ASSIGNMACRO \
MenuItem\
{\
Identifier = SID_ASSIGNMACRO ; \
HelpID = CMD_SID_ASSIGNMACRO ; \
Text [ en-US ] = "Assig~n Macro..." ; \
};
#define MN_ORIGINALSIZE \
MenuItem\
{\
Identifier = SID_ORIGINALSIZE ; \
HelpId = CMD_SID_ORIGINALSIZE ; \
Text [ en-US ] = "~Original Size" ; \
};
#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_MIRRORSUB \
MenuItem\
{\
Identifier = SUBMENU_OBJMIRROR ; \
HelpID = HID_SCMENU_OBJMIRROR ; \
Text [ en-US ] = "~Flip" ; \
SubMenu = Menu\
{\
ItemList = \
{\
MenuItem\
{\
Identifier = SID_MIRROR_VERTICAL ; \
HelpId = CMD_SID_MIRROR_VERTICAL ; \
Text [ en-US ] = "~Vertically" ; \
};\
MenuItem\
{\
Identifier = SID_MIRROR_HORIZONTAL ; \
HelpId = CMD_SID_MIRROR_HORIZONTAL ; \
Text [ en-US ] = "~Horizontal" ; \
};\
};\
};\
};
#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_DRAW
{
Text [ en-US ] = "Pop-up menu for drawing objects" ;
};
// Pop-up menu for drawing objects
Menu RID_POPUP_DRAW
{
ItemList =
{
MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
MN_DRWTXTATTR // Text...
MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_TITLE_DESCRIPTION_OBJECT
MN_RENAME_OBJECT
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_MIRRORSUB
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MN_ASSIGNMACRO
MenuItem { Separator = TRUE ; };
MenuItem
{
ITEM_FORMAT_BEZIER_EDIT
RadioCheck = FALSE ;
AutoCheck = TRUE ;
};
MenuItem
{
ITEM_FORMAT_FONTWORK
};
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
MenuItem { Separator = TRUE ; };
MN_EDITLNK
MN_DELLNK
MenuItem { ITEM_OPEN_HYPERLINK };
};
};
// Popup-Menue fuer (Uno-) Controls
Menu RID_POPUP_CONTROL
{
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 { Separator = TRUE ; };
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
};
};
// Grafik
Menu RID_POPUP_GRAPHIC
{
ItemList =
{
MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE }; // #i25616#
MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA }; // #i25616#
MN_DRWTXTATTR
MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
MN_ORIGINALSIZE
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_TITLE_DESCRIPTION_OBJECT
MN_RENAME_OBJECT
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_MIRRORSUB
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MN_ASSIGNMACRO
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
MenuItem { Separator = TRUE ; };
MN_EDITLNK
MN_DELLNK
MenuItem { ITEM_OPEN_HYPERLINK };
MenuItem { Separator = TRUE ; };
MenuItem {
Identifier = RID_IMAGE_SUBMENU ;
Text [ en-US ] = "Image" ;
SubMenu = Menu
{
ItemList =
{
MenuItem { ITEM_CHANGE_PICTURE };
MenuItem { ITEM_SAVE_GRAPHIC };
MenuItem { ITEM_COMPRESS_GRAPHIC };
MenuItem { ITEM_EXTERNAL_EDIT };
MenuItem { Separator = TRUE ; };
MenuItem { ITEM_OBJECT_CROP };
};
};
};
};
};
// Media
Menu RID_POPUP_MEDIA
{
ItemList =
{
MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_TITLE_DESCRIPTION_OBJECT
MN_RENAME_OBJECT
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_MIRRORSUB
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
};
};
// Ole-Objekt
Menu RID_POPUP_OLE
{
ItemList =
{
//-#i118485# Added support for Line,Area and Text
MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
MN_DRWTXTATTR
//-#i118485#----------------------
MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
MN_ORIGINALSIZE
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_TITLE_DESCRIPTION_OBJECT
MN_RENAME_OBJECT
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
};
};
// Charts
Menu RID_POPUP_CHART
{
ItemList =
{
//-#i118485# Added support for Line,Area and Text
MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
MN_DRWTXTATTR
//-#i118485#----------------------
MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
MN_ORIGINALSIZE
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_TITLE_DESCRIPTION_OBJECT
MN_RENAME_OBJECT
//-#i68101#----------------------
MenuItem { Separator = TRUE ; };
MN_ARRANGESUB
MN_ALIGNSUB
MN_ANCHORSUB
MenuItem { Separator = TRUE ; };
ITEM_GROUP_MENU
MenuItem
{
Identifier = SID_EXPORT_AS_GRAPHIC ;
Command = ".uno:ExportAsGraphic" ;
Text [ en-US ] = "Export as Image..." ;
};
};
};
// PopUpDraw Text
String RID_POPUP_DRAWTEXT
{
Text [ en-US ] = "Pop-up menu for text objects" ;
};
Menu RID_POPUP_DRAWTEXT
{
ItemList =
{
MN_RESET
MenuItem { Separator = TRUE ; };
MN_DRWTXTATTR
MenuItem { Separator = TRUE ; };
// Zeichen, Absatz
MN_DRWTXT
MenuItem { Separator = TRUE ; };
MenuItem
{
ITEM_OPEN_HYPERLINK
};
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -1,24 +0,0 @@
/* -*- 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: */

View File

@@ -22,168 +22,6 @@
// Popup-Menues ----------------------------------------------------------------
String RID_POPUP_CELLS
{
Text [ en-US ] = "Cell pop-up menu" ;
};
Menu RID_POPUP_CELLS
{
ItemList =
{
MenuItem
{
Identifier = SID_CUT ;
HelpId = CMD_SID_CUT ;
Text [ en-US ] = "Cu~t" ;
};
MenuItem
{
Identifier = SID_COPY ;
HelpId = CMD_SID_COPY ;
Text [ en-US ] = "~Copy" ;
};
MenuItem
{
Identifier = SID_PASTE ;
HelpID = CMD_SID_PASTE ;
Text [ en-US ] = "~Paste" ;
};
MenuItem
{
Identifier = SID_PASTE_SPECIAL ;
HelpId = CMD_SID_PASTE_SPECIAL ;
Text [ en-US ] = "P~aste Special..." ;
};
MenuItem
{
Identifier = SID_PASTE_ONLY ;
HelpId = CMD_SID_PASTE_ONLY ;
Text [ en-US ] = "Paste O~nly" ;
SubMenu = Menu
{
ItemList =
{
MenuItem
{
Identifier = SID_PASTE_ONLY_TEXT ;
HelpId = CMD_SID_PASTE_ONLY_TEXT ;
Text [ en-US ] = "~Text" ;
};
MenuItem
{
Identifier = SID_PASTE_ONLY_VALUE ;
HelpId = CMD_SID_PASTE_ONLY_VALUE ;
Text [ en-US ] = "~Number" ;
};
MenuItem
{
Identifier = SID_PASTE_ONLY_FORMULA ;
HelpId = CMD_SID_PASTE_ONLY_FORMULA ;
Text [ en-US ] = "~Formula" ;
};
};
};
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = SID_CELL_FORMAT_RESET ;
HelpId = CMD_SID_CELL_FORMAT_RESET ;
Text [ en-US ] = "Clear ~Direct Formatting" ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_CELL_FORMAT ;
HelpId = CMD_FID_CELL_FORMAT ;
Text [ en-US ] = "~Format Cells..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_INS_CELL ;
HelpId = CMD_FID_INS_CELL ;
Text [ en-US ] = "~Insert..." ;
};
MenuItem
{
Identifier = FID_DELETE_CELL ;
HelpId = CMD_FID_DELETE_CELL ;
Text [ en-US ] = "De~lete..." ;
};
MenuItem
{
Identifier = SID_DELETE ;
HelpId = CMD_SID_DELETE ;
Text [ en-US ] = "Cl~ear Contents..." ;
};
MenuItem
{
Identifier = FID_MERGE_ON ;
HelpId = CMD_FID_MERGE_ON ;
Text [ en-US ] = "~Merge Cells..." ;
};
MenuItem
{
Identifier = FID_MERGE_OFF ;
HelpId = CMD_FID_MERGE_OFF ;
Text [ en-US ] = "Split Cells..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = SID_INSERT_POSTIT ;
HelpId = CMD_SID_INSERT_POSTIT ;
Text [ en-US ] = "Insert Co~mment" ;
};
MenuItem
{
Identifier = SID_EDIT_POSTIT ;
HelpId = CMD_SID_EDIT_POSTIT ;
Text [ en-US ] = "Edit Co~mment" ;
};
MenuItem
{
Identifier = SID_DELETE_NOTE ;
HelpId = CMD_SID_DELETE_NOTE ;
Text [ en-US ] = "D~elete Comment" ;
};
MenuItem
{
Identifier = FID_SHOW_NOTE ;
HelpId = CMD_FID_SHOW_NOTE ;
Text [ en-US ] = "Sho~w Comment" ;
};
MenuItem
{
Identifier = FID_HIDE_NOTE ;
HelpId = CMD_FID_HIDE_NOTE ;
Text [ en-US ] = "~Hide Comment" ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = SID_DATA_SELECT ;
HelpId = CMD_SID_DATA_SELECT ;
Text [ en-US ] = "~Selection List..." ;
};
};
};
String RID_POPUP_TAB
{
Text [ en-US ] = "Sheet bar pop-up menu" ;
@@ -282,288 +120,4 @@ Menu RID_POPUP_TAB
};
};
String RID_POPUP_PIVOT
{
Text [ en-US ] = "Pivot table pop-up menu" ;
};
Menu RID_POPUP_PIVOT
{
ItemList =
{
MenuItem
{
Identifier = SID_OPENDLG_PIVOTTABLE ;
HelpId = CMD_SID_OPENDLG_PIVOTTABLE ;
Text [ en-US ] = "~Edit Layout..." ;
};
MenuItem
{
Identifier = SID_PIVOT_RECALC ;
HelpId = CMD_SID_PIVOT_RECALC ;
Text [ en-US ] = "~Refresh" ;
};
MenuItem
{
Identifier = SID_DP_FILTER ;
HelpId = CMD_SID_DP_FILTER ;
Text [ en-US ] = "~Filter..." ;
};
MenuItem
{
Identifier = SID_PIVOT_KILL ;
HelpId = CMD_SID_PIVOT_KILL ;
Text [ en-US ] = "~Delete" ;
};
};
};
String RID_POPUP_PREVIEW
{
Text [ en-US ] = "Print Preview pop-up menu" ;
};
Menu RID_POPUP_PREVIEW
{
ItemList =
{
MenuItem
{
Identifier = SID_PREVIEW_PREVIOUS ;
HelpId = CMD_SID_PREVIEW_PREVIOUS ;
Text [ en-US ] = "~Previous Page" ;
};
MenuItem
{
Identifier = SID_PREVIEW_NEXT ;
HelpId = CMD_SID_PREVIEW_NEXT ;
Text [ en-US ] = "~Next Page" ;
};
MenuItem
{
Identifier = SID_FORMATPAGE ;
HelpId = CMD_SID_FORMATPAGE ;
Text [ en-US ] = "Pa~ge Layout..." ;
};
MenuItem
{
Identifier = SID_CLOSEWIN ;
HelpId = CMD_SID_CLOSEWIN ;
Text [ en-US ] = "~Close" ;
};
MenuItem { Separator = TRUE; };
MenuItem
{
Identifier = SID_PREVIEW_CLOSE ;
HelpId = CMD_SID_PRINTPREVIEW ;
Text [ en-US ] = "Close Pre~view" ;
};
};
};
String RID_POPUP_EDIT
{
Text [ en-US ] = "Text Input pop-up menu" ;
};
Menu RID_POPUP_EDIT
{
ItemList =
{
MenuItem
{
Identifier = SID_CELL_FORMAT_RESET ;
HelpId = CMD_SID_CELL_FORMAT_RESET ;
Text [ en-US ] = "~Default" ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Text [ en-US ] = "Insert Fields" ;
Identifier = RID_MN_INSERT_FIELDS ;
SubMenu = Menu
{
ItemList =
{
MenuItem
{
Identifier = SID_INSERT_FIELD_DATE_VAR ;
Text [ en-US ] = "Date" ;
};
MenuItem
{
Identifier = SID_INSERT_FIELD_SHEET ;
Text [ en-US ] = "Sheet Name" ;
};
MenuItem
{
Identifier = SID_INSERT_FIELD_TITLE ;
Text [ en-US ] = "Title" ;
};
};
};
};
MenuItem
{
ITEM_FORMAT_CHAR_DLG
};
MenuItem { Separator = TRUE ; };
MenuItem
{
ITEM_OPEN_HYPERLINK
};
};
};
String RID_POPUP_AUDIT
{
Text [ en-US ] = "Detective Fill Mode pop-up menu" ;
};
Menu RID_POPUP_AUDIT
{
ItemList =
{
MenuItem
{
Identifier = SID_FILL_ADD_PRED ;
HelpId = CMD_SID_FILL_ADD_PRED ;
Text [ en-US ] = "Trace ~Precedent" ;
};
MenuItem
{
Identifier = SID_FILL_DEL_PRED ;
HelpId = CMD_SID_FILL_DEL_PRED ;
Text [ en-US ] = "~Remove Precedent" ;
};
MenuItem
{
Identifier = SID_FILL_ADD_SUCC ;
HelpId = CMD_SID_FILL_ADD_SUCC ;
Text [ en-US ] = "~Trace Dependent" ;
};
MenuItem
{
Identifier = SID_FILL_DEL_SUCC ;
HelpId = CMD_SID_FILL_DEL_SUCC ;
Text [ en-US ] = "Remove Dependent" ;
};
MenuItem
{
Identifier = SID_DETECTIVE_DEL_ALL ;
HelpId = CMD_SID_DETECTIVE_DEL_ALL ;
Text [ en-US ] = "Remove ~All Traces" ;
};
MenuItem
{
Identifier = SID_FILL_NONE ;
HelpId = CMD_SID_FILL_NONE ;
Text [ en-US ] = "Exit Fill Mode" ;
};
};
};
String RID_POPUP_PAGEBREAK
{
Text [ en-US ] = "Page Break Preview pop-up menu" ;
};
Menu RID_POPUP_PAGEBREAK
{
ItemList =
{
MenuItem
{
Identifier = SID_CELL_FORMAT_RESET ;
HelpId = CMD_SID_CELL_FORMAT_RESET ;
Text [ en-US ] = "~Default" ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_CELL_FORMAT ;
HelpId = CMD_FID_CELL_FORMAT ;
Text [ en-US ] = "~Format Cells..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_INS_ROWBRK ;
HelpId = CMD_FID_INS_ROWBRK ;
Text [ en-US ] = "Insert ~Row Break" ;
};
MenuItem
{
Identifier = FID_INS_COLBRK ;
HelpId = CMD_FID_INS_COLBRK ;
Text [ en-US ] = "Insert ~Column Break" ;
};
MenuItem
{
Identifier = FID_DEL_MANUALBREAKS ;
HelpId = CMD_FID_DEL_MANUALBREAKS ;
Text [ en-US ] = "Delete All Manual Breaks" ;
};
MenuItem
{
Identifier = FID_RESET_PRINTZOOM ;
HelpId = CMD_FID_RESET_PRINTZOOM ;
Text [ en-US ] = "Reset Scale" ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = SID_DEFINE_PRINTAREA ;
HelpId = CMD_SID_DEFINE_PRINTAREA ;
Text [ en-US ] = "Define Print Range" ;
};
MenuItem
{
Identifier = SID_ADD_PRINTAREA ;
HelpId = CMD_SID_ADD_PRINTAREA ;
Text [ en-US ] = "Add Print Range" ;
};
MenuItem
{
Identifier = SID_DELETE_PRINTAREA ;
HelpId = CMD_SID_DELETE_PRINTAREA ;
Text [ en-US ] = "Undo Print Range" ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = SID_FORMATPAGE ;
HelpId = CMD_SID_FORMATPAGE ;
Text [ en-US ] = "Page Format..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_SHOW_NOTE ;
HelpId = CMD_FID_SHOW_NOTE ;
Text [ en-US ] = "Sho~w Comment" ;
};
MenuItem
{
Identifier = FID_HIDE_NOTE ;
HelpId = CMD_FID_HIDE_NOTE ;
Text [ en-US ] = "~Hide Comment" ;
};
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */