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