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