diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-28 14:30:24 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-28 14:31:21 +0200 |
commit | 1eb60d6e68105fa7ab078cb276f00b6c58989923 (patch) | |
tree | 9bdc56cb9818951357c87fae69c5a8d7d89bfd62 /svx/inc | |
parent | f13dfaf99a6cb66b64379e305fafcdf50b77b403 (diff) |
Revert "Unused resources"
Why it doesn't fail in my local build?
This reverts commit cd98e0725ea9b8389297b80d6c8620f4b63f482d.
Change-Id: I1cf8c037cdaaf43f8fe2d42c9e2c8bd40d3608f6
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/globlmn_tmpl.hrc | 442 |
1 files changed, 442 insertions, 0 deletions
diff --git a/svx/inc/globlmn_tmpl.hrc b/svx/inc/globlmn_tmpl.hrc new file mode 100644 index 000000000000..300f4e943e08 --- /dev/null +++ b/svx/inc/globlmn_tmpl.hrc @@ -0,0 +1,442 @@ +/* -*- 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 . + */ + +#ifndef _GLOBLMN_HRC +#define _GLOBLMN_HRC + +/*------------------------------------------------------------------------ + Menu-IDs +------------------------------------------------------------------------*/ +#define ITEM_FORM_CONFIG \ + Identifier = SID_FM_CONFIG ; \ + Command = ".uno:Config" ; \ + DropDown = TRUE ; + +#define ITEM_FORM_CONTROL_PROPERTIES\ + Identifier = SID_FM_CTL_PROPERTIES ; \ + Command = ".uno:ControlProperties" ; \ + Text [ en-US ] = "Con~trol..." ; \ + +#define ITEM_FORM_PROPERTIES\ + Identifier = SID_FM_PROPERTIES ; \ + Command = ".uno:FormProperties" ; \ + Text [ en-US ] = "For~m..." ; \ + +#define ITEM_REPLACE_CONTROL\ + Identifier = SID_FM_CHANGECONTROLTYPE ;\ + Command = ".uno:ChangeControlType" ; \ + Text [ en-US ] = "~Replace with"; \ + +#define ITEM_FORMAT_CHAR_DLG \ + Identifier = SID_CHAR_DLG ; \ + Command = ".uno:FontDialog" ; \ + Text [ en-US ] = "C~haracter..." ;\ + +#define ITEM_FORMAT_FONTWORK \ + Identifier = SID_FONTWORK ; \ + Command = ".uno:FontWork" ; \ + Text [ en-US ] = "F~ontwork" ;\ + +#define ITEM_EDIT_CUT \ + Identifier = SID_CUT ; \ + Command = ".uno:Cut" ; \ + Text [ en-US ] = "Cu~t" ;\ + +#define ITEM_EDIT_COPY \ + Identifier = SID_COPY ; \ + Command = ".uno:Copy" ; \ + Text [ en-US ] = "~Copy" ;\ + +#define ITEM_EDIT_DELETE \ + Identifier = SID_DELETE ; \ + Command = ".uno:Delete" ; \ + Text [ en-US ] = "~Delete" ;\ + +#define ITEM_FORMAT_ATTR_CHAR_FONT \ + Identifier = SID_ATTR_CHAR_FONT ; \ + Command = ".uno:CharFontName" ; \ + Text [ en-US ] = "Font" ;\ + +#define ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT \ + Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \ + Command = ".uno:FontHeight" ; \ + Text [ en-US ] = "Size" ;\ + +#define ITEM_FORMAT_ATTR_CHAR_WEIGHT \ + Identifier = SID_ATTR_CHAR_WEIGHT ; \ + Command = ".uno:Bold" ; \ + Text [ en-US ] = "Bold" ; \ + +#define ITEM_FORMAT_ATTR_CHAR_POSTURE \ + Identifier = SID_ATTR_CHAR_POSTURE ; \ + Command = ".uno:Italic" ; \ + Text [ en-US ] = "Italic" ;\ + +#define ITEM_FORMAT_ATTR_CHAR_UNDERLINE \ + Identifier = SID_ATTR_CHAR_UNDERLINE ; \ + Command = ".uno:Underline" ; \ + Text [ en-US ] = "Underline" ;\ + +#define ITEM_FORMAT_ATTR_CHAR_OVERLINE \ + Identifier = SID_ATTR_CHAR_OVERLINE ; \ + Command = ".uno:Overline" ; \ + Text [ en-US ] = "Overline" ;\ + +#define ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT \ + Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \ + Command = ".uno:LeftPara" ; \ + Text [ en-US ] = "~Left" ;\ + +#define ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT \ + Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \ + Command = ".uno:RightPara" ; \ + Text [ en-US ] = "~Right" ;\ + +#define ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER \ + Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \ + Command = ".uno:CenterPara" ; \ + Text [ en-US ] = "~Centered" ;\ + +#define ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK \ + Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \ + Command = ".uno:JustifyPara" ; \ + Text [ en-US ] = "Justified" ;\ + +#define ITEM_FORMAT_PARA_LINESPACE_10 \ + Identifier = SID_ATTR_PARA_LINESPACE_10 ; \ + Command = ".uno:SpacePara1" ; \ + Text [ en-US ] = "Single" ;\ + +#define ITEM_FORMAT_PARA_LINESPACE_15 \ + Identifier = SID_ATTR_PARA_LINESPACE_15 ; \ + Command = ".uno:SpacePara15" ; \ + Text [ en-US ] = "1.5 lines" ;\ + +#define ITEM_FORMAT_PARA_LINESPACE_20 \ + Identifier = SID_ATTR_PARA_LINESPACE_20 ; \ + Command = ".uno:SpacePara2" ; \ + Text [ en-US ] = "~Double" ;\ + +#define ITEM_FORMAT_FRAME_TO_TOP \ + Identifier = SID_FRAME_TO_TOP ; \ + Command = ".uno:BringToFront" ; \ + Text [ en-US ] = "~Bring to Front" ;\ + +#define ITEM_FORMAT_FRAME_TO_BOTTOM \ + Identifier = SID_FRAME_TO_BOTTOM ; \ + Command = ".uno:SendToBack" ; \ + Text [ en-US ] = "~Send to Back" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN \ + Identifier = SID_OBJECT_ALIGN ; \ + Command = ".uno:ObjectAlign" ; \ + Text [ en-US ] = "A~lignment" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN_LEFT \ + Identifier = SID_OBJECT_ALIGN_LEFT ; \ + Command = ".uno:ObjectAlignLeft" ; \ + Text [ en-US ] = "~Left" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN_CENTER \ + Identifier = SID_OBJECT_ALIGN_CENTER ; \ + Command = ".uno:AlignCenter" ; \ + Text [ en-US ] = "~Centered" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN_RIGHT \ + Identifier = SID_OBJECT_ALIGN_RIGHT ; \ + Command = ".uno:ObjectAlignRight" ; \ + Text [ en-US ] = "~Right" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN_UP \ + Identifier = SID_OBJECT_ALIGN_UP ; \ + Command = ".uno:AlignUp" ; \ + Text [ en-US ] = "~Top" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN_MIDDLE \ + Identifier = SID_OBJECT_ALIGN_MIDDLE ; \ + Command = ".uno:AlignMiddle" ; \ + Text [ en-US ] = "C~enter" ;\ + +#define ITEM_FORMAT_OBJECT_ALIGN_DOWN \ + Identifier = SID_OBJECT_ALIGN_DOWN ; \ + Command = ".uno:AlignDown" ; \ + Text [ en-US ] = "~Bottom" ;\ + +#define ITEM_FORMAT_ATTRIBUTES_LINE \ + Identifier = SID_ATTRIBUTES_LINE ; \ + Command = ".uno:FormatLine" ; \ + Text [ en-US ] = "L~ine..." ;\ + +#define ITEM_FORMAT_ATTRIBUTES_AREA \ + Identifier = SID_ATTRIBUTES_AREA ; \ + Command = ".uno:FormatArea" ; \ + Text [ en-US ] = "A~rea..." ;\ + +#define ITEM_FORMAT_OBJECT_HEAVEN \ + Identifier = SID_OBJECT_HEAVEN ; \ + Command = ".uno:SetObjectToForeground" ; \ + Text [ en-US ] = "~To Foreground" ;\ + +#define ITEM_FORMAT_OBJECT_HELL \ + Identifier = SID_OBJECT_HELL ; \ + Command = ".uno:SetObjectToBackground" ; \ + Text [ en-US ] = "T~o Background" ;\ + +#define ITEM_FORMAT_BEZIER_EDIT \ + Identifier = SID_BEZIER_EDIT ; \ + Command = ".uno:ToggleObjectBezierMode" ; \ + Text [ en-US ] = "Edit ~Points" ;\ + +#define ITEM_EDIT_PASTE \ + Identifier = SID_PASTE ; \ + Command = ".uno:Paste" ; \ + Text [ en-US ] = "~Paste" ; \ + +#define ITEM_EXTERNAL_EDIT \ + Identifier = SID_EXTERNAL_EDIT ; \ + Command = ".uno:ExternalEdit" ; \ + Text [ en-US ] = "Edit with External Tool..." ; \ + +#define ITEM_COMPRESS_GRAPHIC \ + Identifier = SID_COMPRESS_GRAPHIC ; \ + Command = ".uno:CompressGraphic" ; \ + Text [ en-US ] = "Compress Image..." ; \ + +#define ITEM_SAVE_GRAPHIC \ + Identifier = SID_SAVE_GRAPHIC ; \ + Command = ".uno:SaveGraphic" ; \ + Text [ en-US ] = "Save Image..." ; \ + +#define ITEM_CHANGE_PICTURE \ + Identifier = SID_CHANGE_PICTURE ; \ + Command = ".uno:ChangePicture" ; \ + Text [ en-US ] = "Replace Image..." ; \ + +#define ITEM_FORMAT_NUMBERING \ + MenuItem\ + {\ + Identifier = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \ + Text [ en-US ] = "~Bullets and Numbering..." ; \ + }; + +#define MN_COMBINE \ + MenuItem\ + {\ + Identifier = SID_COMBINE ; \ + HelpId = CMD_SID_COMBINE ; \ + Text [ en-US ] = "Comb~ine" ; \ + }; +#define MN_DISMANTLE \ + MenuItem\ + {\ + Identifier = SID_DISMANTLE ; \ + HelpId = CMD_SID_DISMANTLE ; \ + Text [ en-US ] = "~Split" ; \ + }; +#define MN_CONNECT \ + MenuItem\ + {\ + Identifier = SID_CONNECT ; \ + HelpId = CMD_SID_CONNECT ; \ + Text [ en-US ] = "C~onnect" ; \ + }; +#define MN_BREAK \ + MenuItem\ + {\ + Identifier = SID_BREAK ; \ + HelpId = CMD_SID_BREAK ; \ + Text [ en-US ] = "~Break" ; \ + }; +#define ITEM_POLY_MERGE \ + MenuItem\ + {\ + Identifier = SID_POLY_MERGE ; \ + Command = ".uno:Merge" ; \ + Text [ en-US ] = "~Merge" ; \ + }; +#define ITEM_POLY_SUBSTRACT \ + MenuItem\ + {\ + Identifier = SID_POLY_SUBSTRACT ; \ + Command = ".uno:Substract" ; \ + Text [ en-US ] = "~Subtract" ; \ + }; +#define ITEM_POLY_INTERSECT \ + MenuItem\ + {\ + Identifier = SID_POLY_INTERSECT ; \ + Command = ".uno:Intersect" ; \ + Text [ en-US ] = "I~ntersect" ; \ + }; +#define ITEM_EQUALIZEWIDTH \ + MenuItem\ + {\ + Identifier = SID_EQUALIZEWIDTH ; \ + Command = ".uno:EqualizeWidth" ; \ + Text [ en-US ] = "Equalize ~Width" ; \ + }; +#define ITEM_EQUALIZEHEIGHT \ + MenuItem\ + {\ + Identifier = SID_EQUALIZEHEIGHT ; \ + Command = ".uno:EqualizeHeight" ; \ + Text [ en-US ] = "Equalize ~Height" ; \ + }; + +#define MNSUB_FORMEN \ + MenuItem \ + { \ + Identifier = SID_POLY_FORMEN ; \ + Command = ".uno:PolyFormen" ; \ + Text [ en-US ] = "~Shapes" ; \ + SubMenu = Menu \ + {\ + ItemList = \ + {\ + MN_COMBINE \ + MN_DISMANTLE \ + MN_CONNECT \ + MN_BREAK \ + MenuItem \ + { \ + Separator = TRUE; \ + }; \ + ITEM_POLY_MERGE \ + ITEM_POLY_SUBSTRACT \ + ITEM_POLY_INTERSECT \ + MenuItem \ + { \ + Separator = TRUE; \ + }; \ + ITEM_EQUALIZEWIDTH \ + ITEM_EQUALIZEHEIGHT \ + };\ + };\ + }; + +/*------------------------------------------------------------------------ + Toolbar-IDs +------------------------------------------------------------------------*/ + +#define ITEM_TOOLBAR_ATTR_CHAR_COLOR \ + Identifier = SID_ATTR_CHAR_COLOR ; \ + Command = ".uno:Color" ; \ + DropDown = TRUE ; + +#define ITEM_TOOLBAR_ATTR_LINEEND_STYLE \ + Identifier = SID_ATTR_LINEEND_STYLE ; \ + Command = ".uno:LineEndStyle" ; \ + DropDown = TRUE ; + +#define ITEM_TOOLBAR_ATTR_LINE_STYLE \ + Identifier = SID_ATTR_LINE_STYLE ; \ + Command = ".uno:XLineStyle" ; \ + +#define ITEM_TOOLBAR_ATTR_LINE_WIDTH \ + Identifier = SID_ATTR_LINE_WIDTH ; \ + Command = ".uno:LineWidth" ; \ + +#define ITEM_TOOLBAR_ATTR_LINE_COLOR \ + Identifier = SID_ATTR_LINE_COLOR ; \ + Command = ".uno:XLineColor" ; \ + +#define ITEM_TOOLBAR_ATTR_FILL_STYLE \ + Identifier = SID_ATTR_FILL_STYLE ; \ + Command = ".uno:FillStyle" ; \ + +#define ITEM_TOOLBAR_OBJECT_ROTATE \ + Identifier = SID_OBJECT_ROTATE ; \ + Command = ".uno:ToggleObjectRotateMode" ; \ + +#define ITEM_TRANSLITERATE_MENU\ + MenuItem\ + {\ + Identifier = SID_MN_SUB_TRANSLITERATE ; \ + Command = ".uno:TransliterateMenu" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_SENTENCE_CASE; \ + Command = ".uno:ChangeCaseToSentenceCase" ; \ + Text [ en-US ] = "~Sentence case";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_LOWER; \ + Command = ".uno:ChangeCaseToLower" ; \ + Text [ en-US ] = "~lowercase";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_UPPER ; \ + Command = ".uno:ChangeCaseToUpper" ; \ + Text [ en-US ] = "~UPPERCASE";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_TITLE_CASE; \ + Command = ".uno:ChangeCaseToTitleCase" ; \ + Text [ en-US ] = "~Capitalize Every Word";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_TOGGLE_CASE; \ + Command = ".uno:ChangeCaseToToggleCase" ; \ + Text [ en-US ] = "~tOGGLE cASE";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_HALFWIDTH; \ + Command = ".uno:ChangeCaseToHalfWidth" ; \ + Text [ en-US ] = "H~alf-width";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_FULLWIDTH; \ + Command = ".uno:ChangeCaseToFullWidth" ; \ + Text [ en-US ] = "Full-width";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_HIRAGANA; \ + Command = ".uno:ChangeCaseToHiragana" ; \ + Text [ en-US ] = "~Hiragana";\ + };\ + MenuItem\ + {\ + Identifier = SID_TRANSLITERATE_KATAGANA; \ + Command = ".uno:ChangeCaseToKatakana" ; \ + Text [ en-US ] = "~Katakana";\ + };\ + };\ + };\ + Text [ en-US ] = "~Change Case";\ + }; + +#define ITEM_OPEN_HYPERLINK \ + Identifier = SID_OPEN_HYPERLINK ; \ + Command = CMD_SID_OPEN_HYPERLINK; \ + Text [ en-US ] = "~Open Hyperlink" ; \ + +#endif // #ifndef _GLOBLMN_HRC + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |