xref: /aoo41x/main/svx/source/dialog/rubydialog.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
28#include <rubydialog.hrc>
29#include "helpid.hrc"
30#include <svx/dialogs.hrc>
31
32ModelessDialog RID_SVXDLG_RUBY
33{
34	OutputSize = TRUE ;
35	Hide = TRUE ;
36	SVLook = TRUE ;
37	HelpId = HID_RUBY_DIALOG;
38	Pos = MAP_APPFONT ( 0 , 0 ) ;
39    Size = MAP_APPFONT ( 227 , 195 ) ;
40    Text [ en-US ] = "Asian Phonetic Guide" ;
41	Moveable = TRUE ;
42	Closeable = TRUE ;
43	CheckBox CB_AUTO_DETECT
44	{
45	    HelpID = "svx:CheckBox:RID_SVXDLG_RUBY:CB_AUTO_DETECT";
46		Pos = MAP_APPFONT ( 6, 6 ) ;
47		Size = MAP_APPFONT ( 186 , 12 ) ;
48		Text [ en-US ] = "Automatic detection";
49	};
50    FixedText FT_LEFT
51	{
52        Pos = MAP_APPFONT ( 6 , 17 ) ;
53        Size = MAP_APPFONT ( 80 , 8 ) ;
54		Text [ en-US ] = "Base text";
55	};
56    FixedText FT_RIGHT
57	{
58        Pos = MAP_APPFONT ( 109 , 17 ) ;
59        Size = MAP_APPFONT ( 80 , 8 ) ;
60		Text [ en-US ] = "Ruby text";
61	};
62    Edit ED_LEFT_1
63	{
64        HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_1";
65		Pos = MAP_APPFONT ( 6 , 30 ) ;
66        Size = MAP_APPFONT ( 102 , 12 ) ;
67		Hide = False;
68		Border = TRUE;
69	};
70	Edit ED_RIGHT_1
71	{
72	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_1";
73        Pos = MAP_APPFONT ( 109 , 30 ) ;
74        Size = MAP_APPFONT ( 102 , 12 ) ;
75		Border = TRUE;
76	};
77	Edit ED_LEFT_2
78	{
79	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_2";
80		Pos = MAP_APPFONT ( 6 ,  42) ;
81        Size = MAP_APPFONT ( 102 , 12 ) ;
82		Border = TRUE;
83	};
84	Edit ED_RIGHT_2
85	{
86	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_2";
87        Pos = MAP_APPFONT ( 109 , 42 ) ;
88        Size = MAP_APPFONT ( 102 , 12 ) ;
89		Border = TRUE;
90	};
91	Edit ED_LEFT_3
92	{
93	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_3";
94		Pos = MAP_APPFONT ( 6 , 54 ) ;
95        Size = MAP_APPFONT ( 102 , 12 ) ;
96		Border = TRUE;
97	};
98	Edit ED_RIGHT_3
99	{
100	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_3";
101        Pos = MAP_APPFONT ( 109 , 54 ) ;
102        Size = MAP_APPFONT ( 102 , 12 ) ;
103		Border = TRUE;
104	};
105	Edit ED_LEFT_4
106	{
107	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_4";
108		Pos = MAP_APPFONT ( 6 , 66 ) ;
109        Size = MAP_APPFONT ( 102 , 12 ) ;
110		Border = TRUE;
111	};
112	Edit ED_RIGHT_4
113	{
114	    HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_4";
115        Pos = MAP_APPFONT ( 109 , 66 ) ;
116        Size = MAP_APPFONT ( 102 , 12 ) ;
117		Border = TRUE;
118	};
119	ScrollBar SB_SCROLL
120	{
121        Pos = MAP_APPFONT ( 213 , 30 ) ;
122		Size = MAP_APPFONT ( 8 , 48 ) ;
123		VScroll = TRUE ;
124		Drag = TRUE ;
125	};
126	FixedText FT_ADJUST
127	{
128		Pos = MAP_APPFONT ( 6 , 82 ) ;
129        Size = MAP_APPFONT ( 35 , 8 ) ;
130		Text [ en-US ] = "Alignment";
131	};
132	ListBox LB_ADJUST
133	{
134	    HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_ADJUST";
135		Pos = MAP_APPFONT ( 6 , 93) ;
136        Size = MAP_APPFONT ( 35 , 60 ) ;
137		DropDown = TRUE;
138		Border = TRUE;
139	StringList [ en-US ] =
140	{
141			"Left" ;
142			"Center" ;
143			"Right" ;
144			"0 1 0" ;
145			"1 2 1" ;
146	};
147	};
148    FixedText FT_POSITION
149	{
150        Pos = MAP_APPFONT ( 43 , 82 ) ;
151        Size = MAP_APPFONT ( 35 , 8 ) ;
152    	Text [ en-US ] = "Position";
153	};
154    ListBox LB_POSITION
155	{
156        HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_POSITION";
157        Pos = MAP_APPFONT ( 43 , 93) ;
158        Size = MAP_APPFONT ( 35 , 60 ) ;
159		DropDown = TRUE;
160		Border = TRUE;
161	StringList [ en-US ] =
162	{
163		"Top" ;
164		"Bottom" ;
165	};
166	};
167    FixedText FT_CHAR_STYLE
168	{
169        Pos = MAP_APPFONT ( 80 , 82 ) ;
170        Size = MAP_APPFONT ( 141 , 8 ) ;
171		Text [ en-US ] = "Character Style for ruby text";
172	};
173	ListBox LB_CHAR_STYLE
174	{
175	    HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_CHAR_STYLE";
176        Pos = MAP_APPFONT ( 80 , 93) ;
177        Size = MAP_APPFONT ( 89 , 60 ) ;
178		DropDown = TRUE;
179		Border = TRUE;
180        Sort = TRUE;
181    };
182	PushButton PB_STYLIST
183	{
184	    HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_STYLIST";
185        Pos = MAP_APPFONT ( 171 , 92 ) ;
186		Size = MAP_APPFONT ( 50 , 14 ) ;
187		Text [ en-US ] = "Styles";
188	};
189	FixedText FT_PREVIEW
190	{
191		Pos = MAP_APPFONT ( 6, 110 ) ;
192		Size = MAP_APPFONT ( 195 , 8 ) ;
193		Text [ en-US ] = "Preview:";
194	};
195	Window WIN_PREVIEW
196	{
197		Pos = MAP_APPFONT ( 6 , 121 ) ;
198		Size = MAP_APPFONT ( 215 , 50 ) ;
199		Border = TRUE ;
200	};
201	OKButton PB_APPLY
202	{
203        DefButton = TRUE;
204        Pos = MAP_APPFONT ( 65 , 175 ) ;
205		Size = MAP_APPFONT ( 50 , 14 ) ;
206		Text [ en-US ] = "~Apply";
207	};
208	PushButton PB_CLOSE
209	{
210	    HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_CLOSE";
211        Pos = MAP_APPFONT (  118, 175 ) ;
212		Size = MAP_APPFONT ( 50 , 14 ) ;
213		Text [ en-US ] = "~Close";
214	};
215	HelpButton PB_HELP
216	{
217        Pos = MAP_APPFONT ( 171 , 175 ) ;
218		Size = MAP_APPFONT ( 50 , 14 ) ;
219	};
220};
221
222