xref: /aoo42x/main/svx/source/dialog/rubydialog.src (revision 5d43f9c4)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include <rubydialog.hrc>
25#include "helpid.hrc"
26#include <svx/dialogs.hrc>
27
28ModelessDialog RID_SVXDLG_RUBY
29{
30	OutputSize = TRUE ;
31	Hide = TRUE ;
32	SVLook = TRUE ;
33	HelpId = HID_RUBY_DIALOG;
34	Pos = MAP_APPFONT ( 0, 0 ) ;
35	Size = MAP_APPFONT ( 227, 195 ) ;
36	Text [ en-US ] = "Asian Phonetic Guide" ;
37	Moveable = TRUE ;
38	Closeable = TRUE ;
39	CheckBox CB_AUTO_DETECT
40	{
41		HelpID = "svx:CheckBox:RID_SVXDLG_RUBY:CB_AUTO_DETECT" ;
42		Pos = MAP_APPFONT ( 6, 6 ) ;
43		Size = MAP_APPFONT ( 186, 12 ) ;
44		Text [ en-US ] = "Automatic detection" ;
45	};
46	FixedText FT_LEFT
47	{
48		Pos = MAP_APPFONT ( 6, 17 ) ;
49		Size = MAP_APPFONT ( 80, 8 ) ;
50		Text [ en-US ] = "Base text" ;
51	};
52	FixedText FT_RIGHT
53	{
54		Pos = MAP_APPFONT ( 109, 17 ) ;
55		Size = MAP_APPFONT ( 80, 8 ) ;
56		Text [ en-US ] = "Ruby text" ;
57	};
58	Edit ED_LEFT_1
59	{
60		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_1" ;
61		Pos = MAP_APPFONT ( 6, 30 ) ;
62		Size = MAP_APPFONT ( 102, 12 ) ;
63		Hide = False;
64		Border = TRUE;
65	};
66	Edit ED_RIGHT_1
67	{
68		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_1" ;
69		Pos = MAP_APPFONT ( 109, 30 ) ;
70		Size = MAP_APPFONT ( 102, 12 ) ;
71		Border = TRUE;
72	};
73	Edit ED_LEFT_2
74	{
75		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_2" ;
76		Pos = MAP_APPFONT ( 6,  42) ;
77		Size = MAP_APPFONT ( 102, 12 ) ;
78		Border = TRUE;
79	};
80	Edit ED_RIGHT_2
81	{
82		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_2" ;
83		Pos = MAP_APPFONT ( 109, 42 ) ;
84		Size = MAP_APPFONT ( 102, 12 ) ;
85		Border = TRUE;
86	};
87	Edit ED_LEFT_3
88	{
89		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_3" ;
90		Pos = MAP_APPFONT ( 6, 54 ) ;
91		Size = MAP_APPFONT ( 102, 12 ) ;
92		Border = TRUE;
93	};
94	Edit ED_RIGHT_3
95	{
96		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_3" ;
97		Pos = MAP_APPFONT ( 109, 54 ) ;
98		Size = MAP_APPFONT ( 102, 12 ) ;
99		Border = TRUE;
100	};
101	Edit ED_LEFT_4
102	{
103		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_4" ;
104		Pos = MAP_APPFONT ( 6, 66 ) ;
105		Size = MAP_APPFONT ( 102, 12 ) ;
106		Border = TRUE;
107	};
108	Edit ED_RIGHT_4
109	{
110		HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_4" ;
111		Pos = MAP_APPFONT ( 109, 66 ) ;
112		Size = MAP_APPFONT ( 102, 12 ) ;
113		Border = TRUE;
114	};
115	ScrollBar SB_SCROLL
116	{
117		Pos = MAP_APPFONT ( 213, 30 ) ;
118		Size = MAP_APPFONT ( 8, 48 ) ;
119		VScroll = TRUE ;
120		Drag = TRUE ;
121	};
122	FixedText FT_ADJUST
123	{
124		Pos = MAP_APPFONT ( 6, 82 ) ;
125		Size = MAP_APPFONT ( 35, 8 ) ;
126		Text [ en-US ] = "Alignment" ;
127	};
128	ListBox LB_ADJUST
129	{
130		HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_ADJUST" ;
131		Pos = MAP_APPFONT ( 6, 93) ;
132		Size = MAP_APPFONT ( 35, 60 ) ;
133		DropDown = TRUE;
134		Border = TRUE;
135	StringList [ en-US ] =
136	{
137			"Left" ;
138			"Center" ;
139			"Right" ;
140			"0 1 0" ;
141			"1 2 1" ;
142	};
143	};
144	FixedText FT_POSITION
145	{
146		Pos = MAP_APPFONT ( 43, 82 ) ;
147		Size = MAP_APPFONT ( 35, 8 ) ;
148		Text [ en-US ] = "Position" ;
149	};
150	ListBox LB_POSITION
151	{
152		HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_POSITION" ;
153		Pos = MAP_APPFONT ( 43, 93) ;
154		Size = MAP_APPFONT ( 35, 60 ) ;
155		DropDown = TRUE;
156		Border = TRUE;
157	StringList [ en-US ] =
158	{
159		"Top" ;
160		"Bottom" ;
161	};
162	};
163	FixedText FT_CHAR_STYLE
164	{
165		Pos = MAP_APPFONT ( 80, 82 ) ;
166		Size = MAP_APPFONT ( 141, 8 ) ;
167		Text [ en-US ] = "Character Style for ruby text" ;
168	};
169	ListBox LB_CHAR_STYLE
170	{
171		HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_CHAR_STYLE" ;
172		Pos = MAP_APPFONT ( 80, 93) ;
173		Size = MAP_APPFONT ( 89, 60 ) ;
174		DropDown = TRUE;
175		Border = TRUE;
176		Sort = TRUE;
177	};
178	PushButton PB_STYLIST
179	{
180		HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_STYLIST" ;
181		Pos = MAP_APPFONT ( 171, 92 ) ;
182		Size = MAP_APPFONT ( 50, 14 ) ;
183		Text [ en-US ] = "Styles" ;
184	};
185	FixedText FT_PREVIEW
186	{
187		Pos = MAP_APPFONT ( 6, 110 ) ;
188		Size = MAP_APPFONT ( 195, 8 ) ;
189		Text [ en-US ] = "Preview:" ;
190	};
191	Window WIN_PREVIEW
192	{
193		Pos = MAP_APPFONT ( 6, 121 ) ;
194		Size = MAP_APPFONT ( 215, 50 ) ;
195		Border = TRUE ;
196	};
197	OKButton PB_APPLY
198	{
199		DefButton = TRUE;
200		Pos = MAP_APPFONT ( 65, 175 ) ;
201		Size = MAP_APPFONT ( 50, 14 ) ;
202		Text [ en-US ] = "~Apply" ;
203	};
204	PushButton PB_CLOSE
205	{
206		HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_CLOSE" ;
207		Pos = MAP_APPFONT (  118, 175 ) ;
208		Size = MAP_APPFONT ( 50, 14 ) ;
209		Text [ en-US ] = "~Close" ;
210	};
211	HelpButton PB_HELP
212	{
213		Pos = MAP_APPFONT ( 171, 175 ) ;
214		Size = MAP_APPFONT ( 50, 14 ) ;
215	};
216};
217
218// ********************************************************************** EOF
219