/************************************************************** * * 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 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ // TEXTOBJ // Impress: #include "popup2.src" // Draw (Graphic): #undef SD_POPUP #define SD_POPUP RID_GRAPHIC_TEXTOBJ_POPUP #include "popup2.src" #ifndef _GLOBLMN_HRC #include #endif #include "helpids.h" #define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET Menu RID_DRAW_TEXTOBJ_INSIDE_POPUP { ItemList = { MN_SET_DEFAULT SEPARATOR MN_TEXTATTR SEPARATOR MN_TEXT_ATTR MN_TEXT_ALIGN MN_LINESPACING_ATTR SEPARATOR MN_CHAR_PARAGRAPH SEPARATOR MenuItem { ITEM_OPEN_HYPERLINK }; SEPARATOR MN_BULLET ITEM_FORMAT_NUMBERING ITEM_TRANSLITERATE_MENU SEPARATOR MN_STYLEDT }; }; Menu RID_DRAW_TABLEOBJ_INSIDE_POPUP { ItemList = { MN_SET_DEFAULT SEPARATOR MN_TEXTATTR SEPARATOR MN_TEXT_ATTR MN_TEXT_ALIGN MN_LINESPACING_ATTR SEPARATOR MN_CHAR_PARAGRAPH SEPARATOR MenuItem { Identifier = SID_FORMAT_TABLE_DLG; HelpId = CMD_SID_FORMAT_TABLE_DLG; Text [ en-US ] = "~Table..."; }; MenuItem { Identifier = DUMMY + 10 ; Command = ".uno:CellMenu" ; Text [ en-US ] = "~Cell" ; SubMenu = Menu { ItemList = { MenuItem { Identifier = SID_TABLE_MERGE_CELLS; HelpId = CMD_SID_TABLE_MERGE_CELLS; Text [ en-US ] = "~Merge"; }; MenuItem { Identifier = SID_TABLE_SPLIT_CELLS; HelpId = CMD_SID_TABLE_SPLIT_CELLS; Text [ en-US ] = "~Split..."; }; SEPARATOR MenuItem { Identifier = SID_TABLE_VERT_NONE; HelpId = CMD_SID_TABLE_VERT_NONE; Text [ en-US ] = "~Top"; }; MenuItem { Identifier = SID_TABLE_VERT_CENTER; HelpId = CMD_SID_TABLE_VERT_CENTER; Text [ en-US ] = "C~enter"; }; MenuItem { Identifier = SID_TABLE_VERT_BOTTOM; HelpId = CMD_SID_TABLE_VERT_BOTTOM; Text [ en-US ] = "~Bottom"; }; }; }; }; MenuItem { Identifier = DUMMY + 11 ; Command = ".uno:RowMenu" ; Text [ en-US ] = "~Row" ; SubMenu = Menu { ItemList = { MenuItem { Identifier = SID_TABLE_DISTRIBUTE_ROWS; HelpId = CMD_SID_TABLE_DISTRIBUTE_ROWS; Text [ en-US ] = "Space ~Equally"; }; SEPARATOR MenuItem { Identifier = SID_TABLE_SELECT_ROW; HelpId = CMD_SID_TABLE_SELECT_ROW; Text [ en-US ] = "~Select"; }; MenuItem { Identifier = SID_TABLE_INSERT_ROW_DLG; HelpId = CMD_SID_TABLE_INSERT_ROW_DLG; Text [ en-US ] = "~Insert..."; }; MenuItem { Identifier = SID_TABLE_DELETE_ROW; HelpId = CMD_SID_TABLE_DELETE_ROW; Text [ en-US ] = "~Delete"; }; }; }; }; MenuItem { Identifier = DUMMY + 12 ; Command = ".uno:ColumnMenu" ; Text [ en-US ] = "Colu~mn" ; SubMenu = Menu { ItemList = { MenuItem { Identifier = SID_TABLE_DISTRIBUTE_COLUMNS; HelpId = CMD_SID_TABLE_DISTRIBUTE_COLUMNS; Text [ en-US ] = "Space ~Equally"; }; SEPARATOR MenuItem { Identifier = SID_TABLE_SELECT_COL; HelpId = CMD_SID_TABLE_SELECT_COL; Text [ en-US ] = "~Select"; }; MenuItem { Identifier = SID_TABLE_INSERT_COL_DLG; HelpId = CMD_SID_TABLE_INSERT_COL_DLG; Text [ en-US ] = "~Insert..."; }; MenuItem { Identifier = SID_TABLE_DELETE_COL; HelpId = CMD_SID_TABLE_DELETE_COL; Text [ en-US ] = "~Delete"; }; }; }; }; SEPARATOR MenuItem { ITEM_OPEN_HYPERLINK }; SEPARATOR MN_BULLET ITEM_FORMAT_NUMBERING ITEM_TRANSLITERATE_MENU SEPARATOR MN_STYLEDT }; }; Menu RID_DRAW_CONTROL_POPUP { ItemList = { MN_TRANSFORM MN_CONTROL_SHOW_BROWSER SEPARATOR MN_POSITION MN_OBJECT_ALIGN SEPARATOR MN_LEAVE_GROUP MN_DISMANTLE }; }; Menu RID_FORM_CONTROL_POPUP { ItemList = { MN_TRANSFORM MenuItem { ITEM_FORM_CONTROL_PROPERTIES }; MenuItem { ITEM_FORM_PROPERTIES }; MenuItem { ITEM_REPLACE_CONTROL }; SEPARATOR MN_POSITION MN_OBJECT_ALIGN SEPARATOR MN_LEAVE_GROUP MN_DISMANTLE //-#i68101#---------------------- SEPARATOR MN_OBJECT_TITLE_DESCRIPTION MN_NAME_GROUP //-#i68101#---------------------- }; }; Menu RID_DRAW_SNAPOBJECT_POPUP { ItemList = { MN_SET_SNAPITEM SEPARATOR MN_DELETE_SNAPITEM }; }; Menu RID_DRAW_GLUEPOINT_POPUP { ItemList = { MN_GLUE_INSERT_POINT SEPARATOR MN_GLUE_ESC_DIR_LEFT MN_GLUE_ESC_DIR_TOP MN_GLUE_ESC_DIR_RIGHT MN_GLUE_ESC_DIR_BOTTOM SEPARATOR MN_GLUE_PERCENT SEPARATOR MN_GLUE_HORZALIGN_LEFT MN_GLUE_HORZALIGN_CENTER MN_GLUE_HORZALIGN_RIGHT SEPARATOR MN_GLUE_VERTALIGN_TOP MN_GLUE_VERTALIGN_CENTER MN_GLUE_VERTALIGN_BOTTOM }; }; Menu RID_SLIDE_SORTER_IMPRESS_SEL_POPUP { ItemList = { MN_INSERT_SLIDE MN_DELETE_SLIDE MN_RENAME_SLIDE SEPARATOR MN_PRESENTATION_LAYOUT MN_MODIFY_PAGE SEPARATOR MN_DIA MN_SHOW_SLIDE MN_HIDE_SLIDE }; }; Menu RID_SLIDE_SORTER_IMPRESS_NOSEL_POPUP { ItemList = { MN_INSERT_SLIDE }; }; Menu RID_SLIDE_SORTER_DRAW_SEL_POPUP { ItemList = { MN_INSERT_PAGE MN_DELETE_PAGE MN_RENAME_PAGE }; }; Menu RID_SLIDE_SORTER_DRAW_NOSEL_POPUP { ItemList = { MN_INSERT_PAGE }; }; Menu RID_SLIDE_SORTER_MASTER_SEL_POPUP { ItemList = { MN_INSERT_MASTER MN_DELETE_MASTER MN_RENAME_MASTER SEPARATOR MN_PRESENTATION_LAYOUT }; }; Menu RID_SLIDE_SORTER_MASTER_NOSEL_POPUP { ItemList = { MN_INSERT_MASTER }; }; Menu RID_MASTERPAGE_POPUP { ItemList = { MN_SET_DEFAULT SEPARATOR MN_LINE MN_AREA MN_TRANSFORM SEPARATOR MN_CHAR_PARAGRAPH // MN_PRESENTATIONOBJECT SEPARATOR MN_POSITION }; }; Menu RID_OUTLINE_POPUP { ItemList = { MN_SET_DEFAULT SEPARATOR MN_TEXT_ATTR SEPARATOR MN_CHAR ITEM_FORMAT_NUMBERING ITEM_TRANSLITERATE_MENU MN_PRESENTATIONOBJECT SEPARATOR MN_DRAWINGMODE MN_DIAMODE MN_PRESENTATION }; }; /* RID_MASTERPAGE_POPUP */ Menu RID_BEZIER_POPUP { ItemList = { MN_BEZIER }; }; Menu RID_DRAW_BMP_CONVERT_POPUP { ItemList = { MN_CONVERT_TO_1BIT_THRESHOLD MN_CONVERT_TO_1BIT_MATRIX MN_CONVERT_TO_4BIT_GRAYS MN_CONVERT_TO_4BIT_COLORS MN_CONVERT_TO_8BIT_GRAYS MN_CONVERT_TO_8BIT_COLORS MN_CONVERT_TO_24BIT }; }; Menu RID_LAYERTAB_POPUP { ItemList = { MenuItem { Identifier = SID_INSERTLAYER ; HelpId = CMD_SID_INSERTLAYER ; /* ### ACHTUNG: Neuer Text in Resource? ~Ebene einfügen... : ~Ebene einf³gen... */ Text [ en-US ] = "~Insert Layer..." ; }; MenuItem { Identifier = SID_MODIFYLAYER ; HelpId = CMD_SID_MODIFYLAYER ; /* ### ACHTUNG: Neuer Text in Resource? E~bene ändern... : E~bene õndern... */ Text [ en-US ] = "Modify La~yer..." ; }; MenuItem { Identifier = SID_DELETE_LAYER ; HelpId = CMD_SID_DELETE_LAYER ; /* ### ACHTUNG: Neuer Text in Resource? Ebe~ne löschen... : Ebe~ne l÷schen... */ Text [ en-US ] = "Delete ~Layer..." ; }; MN_RENAME_LAYER }; }; Menu RID_TASKPANE_MASTERPAGESSELECTOR_POPUP { ItemList = { MenuItem { Identifier = SID_TP_APPLY_TO_ALL_SLIDES; HelpId = CMD_SID_TP_APPLY_TO_ALL_SLIDES; Text [ en-US ] = "~Apply to All Slides"; }; MenuItem { Identifier = SID_TP_APPLY_TO_SELECTED_SLIDES; HelpId = CMD_SID_TP_APPLY_TO_SELECTED_SLIDES; Text [ en-US ] = "Apply to ~Selected Slides"; }; SEPARATOR MenuItem { Identifier = SID_TP_SHOW_LARGE_PREVIEW; HelpId = CMD_SID_TP_SHOW_LARGE_PREVIEW; Text[ en-US ] = "Show ~Large Preview"; }; MenuItem { Identifier = SID_TP_SHOW_SMALL_PREVIEW; HelpId = CMD_SID_TP_SHOW_SMALL_PREVIEW; Text[ en-US ] = "Show S~mall Preview"; }; }; }; Menu RID_TASKPANE_CURRENT_MASTERPAGESSELECTOR_POPUP { ItemList = { MenuItem { Identifier = SID_TP_APPLY_TO_ALL_SLIDES; HelpId = CMD_SID_TP_APPLY_TO_ALL_SLIDES; Text [ en-US ] = "~Apply to All Slides"; }; MenuItem { Identifier = SID_TP_APPLY_TO_SELECTED_SLIDES; HelpId = CMD_SID_TP_APPLY_TO_SELECTED_SLIDES; Text [ en-US ] = "Apply to ~Selected Slides"; }; SEPARATOR MenuItem { Identifier = SID_TP_EDIT_MASTER; HelpId = CMD_SID_TP_EDIT_MASTER; Text[ en-US ] = "~Edit Master..."; }; MN_DELETE_MASTER SEPARATOR MenuItem { Identifier = SID_TP_SHOW_LARGE_PREVIEW; HelpId = CMD_SID_TP_SHOW_LARGE_PREVIEW; Text[ en-US ] = "Show ~Large Preview"; }; MenuItem { Identifier = SID_TP_SHOW_SMALL_PREVIEW; HelpId = CMD_SID_TP_SHOW_SMALL_PREVIEW; Text[ en-US ] = "Show S~mall Preview"; }; }; }; Menu RID_TASKPANE_LAYOUTMENU_POPUP { ItemList = { MenuItem { Identifier = SID_TP_APPLY_TO_SELECTED_SLIDES; HelpId = CMD_SID_TP_APPLY_TO_SELECTED_SLIDES; Text [ en-US ] = "Apply to ~Selected Slides"; }; SEPARATOR MenuItem { Identifier = SID_INSERTPAGE_LAYOUT_MENU; HelpId = CMD_SID_INSERTPAGE_LAYOUT_MENU; Text [ en-US ] = "~Insert Slide"; }; }; };