xref: /trunk/main/svtools/source/plugapp/testtool.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#include "testtool.hrc"
28#include <svl/solar.hrc>
29
30
31#define Control_Control	5
32#define Control_Border	7
33#define Button_Button	Control_Control
34#define ButtonWidth		40
35
36
37ToolBox DisplayHidToolBox {
38	SVLook = TRUE ;
39	ItemList = {
40	ToolBoxItem  {
41			Type = TOOLBOXITEM_BUTTON;
42			_ToolBoxItemFlags = TIB_AUTOCHECK ;
43
44/*
45class FlagToolBoxState
46{
47	TIB_CHECKABLE, TIB_AUTOCHECK, TIB_RADIOCHECK, TIB_LEFT,
48	TIB_AUTOSIZE, TIB_DROPDOWN,
49};*/
50			Identifier = TT_SHOW;
51			ItemBitmap = Bitmap  {
52				File = "ttshow.bmp";
53			};
54			Text[ en-US ] = "Display IDs";
55		};
56	ToolBoxItem  {
57			Type = TOOLBOXITEM_SEPARATOR;
58		};
59	ToolBoxItem  {
60			_ToolBoxItemFlags = TIB_AUTOSIZE;
61			Identifier = TT_OUTPUT;
62			Text[ en-US ] = "This is the input window";
63		};
64	ToolBoxItem  {
65			Type = TOOLBOXITEM_SEPARATOR;
66		};
67	ToolBoxItem  {
68			Identifier = TT_SEND_DATA;
69			ItemBitmap = Bitmap  {
70				File = "ttremote.bmp";
71			};
72			Text[ en-US ] = "Transfer to TestTool";
73		};
74	ToolBoxItem  {
75			Type = TOOLBOXITEM_SEPARATOR;
76		};
77	ToolBoxItem  {
78			Identifier = TT_ALLWIN;
79			ItemBitmap = Bitmap  {
80				File = "ttall.bmp";
81			};
82			Text[ en-US ] = "Show all windows";
83		};
84	ToolBoxItem  {
85			Identifier = TT_KURZNAME;
86			ItemBitmap = Bitmap  {
87				File = "ttdef.bmp";
88			};
89			Text[ en-US ] = "Show short names (if available)";
90		};
91	ToolBoxItem  {
92			Identifier = TT_LANGNAME;
93			ItemBitmap = Bitmap  {
94				File = "tthid.bmp";
95			};
96			Text[ en-US ] = "Always show long-name";
97		};
98	};
99	Text[ en-US ] = "DisplayHID";
100};
101
102Bitmap TT_SHOW2 {
103	File = "ttshow2.bmp";
104};
105
106WorkWindow TT_INLINE_TRANSLATION {
107    HelpID = "svtools:WorkWindow:TT_INLINE_TRANSLATION";
108	SVLook = TRUE;
109	Size = MAP_APPFONT( 2*Control_Border + 4*ButtonWidth + 3*Button_Button, 120 );
110	Moveable = TRUE;
111	Sizeable = TRUE;
112	Closeable = TRUE;
113	Border = TRUE;
114	GroupBox TT_GB_TRANSLATION {
115			Pos = MAP_APPFONT( 2, 3 );
116			Size = MAP_APPFONT( 173, 44 );
117		Text[ en-US ] = "Translation";
118	};
119	Edit TT_E_NEW {
120	    HelpID = "svtools:Edit:TT_INLINE_TRANSLATION:TT_E_NEW";
121			Disable = TRUE;
122			Border = TRUE;
123			Pos = MAP_APPFONT( 7, 16 );
124			Size = MAP_APPFONT( 162, 12 );
125			TabStop = TRUE;
126		Text[ en-US ] = "~Edit";
127	};
128	FixedText TT_FT_OLD {
129			Pos = MAP_APPFONT( 7, 33 );
130			Size = MAP_APPFONT( 162, 10 );
131		Text[ en-US ] = "Original Text";
132	};
133	GroupBox TT_GB_COMMENT {
134			Pos = MAP_APPFONT( 2, 52 );
135			Size = MAP_APPFONT( 173, 32 );
136		Text[ en-US ] = "Comment";
137	};
138	Edit TT_E_COMMENT {
139	    HelpID = "svtools:Edit:TT_INLINE_TRANSLATION:TT_E_COMMENT";
140			Disable = TRUE;
141			Border = TRUE;
142			Pos = MAP_APPFONT( 7, 64 );
143			Size = MAP_APPFONT( 162, 12 );
144			TabStop = TRUE;
145		Text[ en-US ] = "~Comment";
146	};
147	PushButton TT_PB_SELECT {
148	    HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_SELECT";
149			Pos = MAP_APPFONT( Control_Border, 89 );
150			Size = MAP_APPFONT( ButtonWidth, 12 );
151			TabStop = TRUE;
152		Text[ en-US ] = "~Select";
153	};
154	PushButton TT_PB_RESTORE {
155	    HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_RESTORE";
156			Disable = TRUE;
157			Pos = MAP_APPFONT( Control_Border + ButtonWidth + Button_Button, 89 );
158			Size = MAP_APPFONT( ButtonWidth, 12 );
159			TabStop = TRUE;
160		Text[ en-US ] = "~Restore";
161	};
162	PushButton TT_PB_ACCEPT {
163	    HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_ACCEPT";
164			Disable = TRUE;
165			Pos = MAP_APPFONT( Control_Border + 2*(ButtonWidth + Button_Button), 89 );
166			Size = MAP_APPFONT( ButtonWidth, 12 );
167			TabStop = TRUE;
168		Text[ en-US ] = "~Accept";
169	};
170	PushButton TT_PB_NEXT {
171	    HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_NEXT";
172			Pos = MAP_APPFONT( Control_Border + 3*(ButtonWidth + Button_Button), 89 );
173			Size = MAP_APPFONT( ButtonWidth, 12 );
174			TabStop = TRUE;
175		Text[ en-US ] = "~Next";
176	};
177	Text[ en-US ] = "Inplace Translation";
178};
179
180MessBox TT_DISCARD_CHANGED_DATA {
181	Buttons = WB_YES_NO;
182	DefButton = WB_DEF_YES;
183	Message[ en-US ] = "The Translation will be lost. Proceed anyway?";
184};
185
186ErrorBox TT_NO_CONTROL {
187	Buttons = WB_OK;
188	DefButton = WB_DEF_OK;
189	Message[ en-US ] = "The Control is no longer valid. The Translation cannot be saved.";
190};
191
192String TT_GPF
193{
194	Text[ en-US ] = "GPF occurred";
195};
196
197String TT_ALTERNATE_CAPTION
198{
199	Text[ en-US ] = "HelpID does not match UniqueID: ";
200};
201
202