diff options
Diffstat (limited to 'svtools/source/plugapp/testtool.src')
-rw-r--r-- | svtools/source/plugapp/testtool.src | 194 |
1 files changed, 194 insertions, 0 deletions
diff --git a/svtools/source/plugapp/testtool.src b/svtools/source/plugapp/testtool.src new file mode 100644 index 000000000000..9cc52c58f013 --- /dev/null +++ b/svtools/source/plugapp/testtool.src @@ -0,0 +1,194 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#include "testtool.hrc" +#include <svl/solar.hrc> + + +#define Control_Control 5 +#define Control_Border 7 +#define Button_Button Control_Control +#define ButtonWidth 40 + + +ToolBox DisplayHidToolBox { + SVLook = TRUE ; + ItemList = { + ToolBoxItem { + Type = TOOLBOXITEM_BUTTON; + _ToolBoxItemFlags = TIB_AUTOCHECK ; + +/* +class FlagToolBoxState +{ + TIB_CHECKABLE, TIB_AUTOCHECK, TIB_RADIOCHECK, TIB_LEFT, + TIB_AUTOSIZE, TIB_DROPDOWN, +};*/ + Identifier = TT_SHOW; + ItemBitmap = Bitmap { + File = "ttshow.bmp"; + }; + Text[ en-US ] = "Display IDs"; + }; + ToolBoxItem { + Type = TOOLBOXITEM_SEPARATOR; + }; + ToolBoxItem { + _ToolBoxItemFlags = TIB_AUTOSIZE; + Identifier = TT_OUTPUT; + Text[ en-US ] = "This is the input window"; + }; + ToolBoxItem { + Type = TOOLBOXITEM_SEPARATOR; + }; + ToolBoxItem { + Identifier = TT_SEND_DATA; + ItemBitmap = Bitmap { + File = "ttremote.bmp"; + }; + Text[ en-US ] = "Transfer to TestTool"; + }; + ToolBoxItem { + Type = TOOLBOXITEM_SEPARATOR; + }; + ToolBoxItem { + Identifier = TT_ALLWIN; + ItemBitmap = Bitmap { + File = "ttall.bmp"; + }; + Text[ en-US ] = "Show all windows"; + }; + ToolBoxItem { + Identifier = TT_KURZNAME; + ItemBitmap = Bitmap { + File = "ttdef.bmp"; + }; + Text[ en-US ] = "Show short names (if available)"; + }; + ToolBoxItem { + Identifier = TT_LANGNAME; + ItemBitmap = Bitmap { + File = "tthid.bmp"; + }; + Text[ en-US ] = "Always show long-name"; + }; + }; + Text[ en-US ] = "DisplayHID"; +}; + +Bitmap TT_SHOW2 { + File = "ttshow2.bmp"; +}; + +WorkWindow TT_INLINE_TRANSLATION { + SVLook = TRUE; + Size = MAP_APPFONT( 2*Control_Border + 4*ButtonWidth + 3*Button_Button, 120 ); + Moveable = TRUE; + Sizeable = TRUE; + Closeable = TRUE; + Border = TRUE; + GroupBox TT_GB_TRANSLATION { + Pos = MAP_APPFONT( 2, 3 ); + Size = MAP_APPFONT( 173, 44 ); + Text[ en-US ] = "Translation"; + }; + Edit TT_E_NEW { + Disable = TRUE; + Border = TRUE; + Pos = MAP_APPFONT( 7, 16 ); + Size = MAP_APPFONT( 162, 12 ); + TabStop = TRUE; + Text[ en-US ] = "~Edit"; + }; + FixedText TT_FT_OLD { + Pos = MAP_APPFONT( 7, 33 ); + Size = MAP_APPFONT( 162, 10 ); + Text[ en-US ] = "Original Text"; + }; + GroupBox TT_GB_COMMENT { + Pos = MAP_APPFONT( 2, 52 ); + Size = MAP_APPFONT( 173, 32 ); + Text[ en-US ] = "Comment"; + }; + Edit TT_E_COMMENT { + Disable = TRUE; + Border = TRUE; + Pos = MAP_APPFONT( 7, 64 ); + Size = MAP_APPFONT( 162, 12 ); + TabStop = TRUE; + Text[ en-US ] = "~Comment"; + }; + PushButton TT_PB_SELECT { + Pos = MAP_APPFONT( Control_Border, 89 ); + Size = MAP_APPFONT( ButtonWidth, 12 ); + TabStop = TRUE; + Text[ en-US ] = "~Select"; + }; + PushButton TT_PB_RESTORE { + Disable = TRUE; + Pos = MAP_APPFONT( Control_Border + ButtonWidth + Button_Button, 89 ); + Size = MAP_APPFONT( ButtonWidth, 12 ); + TabStop = TRUE; + Text[ en-US ] = "~Restore"; + }; + PushButton TT_PB_ACCEPT { + Disable = TRUE; + Pos = MAP_APPFONT( Control_Border + 2*(ButtonWidth + Button_Button), 89 ); + Size = MAP_APPFONT( ButtonWidth, 12 ); + TabStop = TRUE; + Text[ en-US ] = "~Accept"; + }; + PushButton TT_PB_NEXT { + Pos = MAP_APPFONT( Control_Border + 3*(ButtonWidth + Button_Button), 89 ); + Size = MAP_APPFONT( ButtonWidth, 12 ); + TabStop = TRUE; + Text[ en-US ] = "~Next"; + }; + Text[ en-US ] = "Inplace Translation"; +}; + +MessBox TT_DISCARD_CHANGED_DATA { + Buttons = WB_YES_NO; + DefButton = WB_DEF_YES; + Message[ en-US ] = "The Translation will be lost. Proceed anyway?"; +}; + +ErrorBox TT_NO_CONTROL { + Buttons = WB_OK; + DefButton = WB_DEF_OK; + Message[ en-US ] = "The Control is no longer valid. The Translation cannot be saved."; +}; + +String TT_GPF +{ + Text[ en-US ] = "GPF occurred"; +}; + +String TT_ALTERNATE_CAPTION +{ + Text[ en-US ] = "HelpID does not match UniqueID: "; +}; + |