xref: /trunk/main/cui/source/options/fontsubs.src (revision af7f2cbf3d6a5481a2f45e7fae5e85a32449c47d)
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// include ------------------------------------------------------------------
23#include "fontsubs.hrc"
24#include "helpid.hrc"
25// pragma -------------------------------------------------------------------
26
27TabPage RID_SVX_FONT_SUBSTITUTION
28{
29    HelpID = HID_OFA_FONT_SUBSTITUTION ;
30    SVLook = TRUE ;
31    Hide = TRUE ;
32    Size = MAP_APPFONT ( 260, 185 ) ;
33    CheckBox CB_USETABLE
34    {
35        HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_USETABLE" ;
36        Pos = MAP_APPFONT ( 6, 6 ) ;
37        Size = MAP_APPFONT ( 248, 10 ) ;
38        TabStop = TRUE ;
39        Text [ en-US ] = "~Apply replacement table" ;
40    };
41    FixedText FT_FONT1
42    {
43        Pos = MAP_APPFONT ( 6, 20 ) ;
44        Size = MAP_APPFONT ( 100, 8 ) ;
45        Left = TRUE ;
46        Text [ en-US ] = "~Font" ;
47    };
48    ComboBox CB_FONT1
49    {
50        HelpID = "cui:ComboBox:RID_SVX_FONT_SUBSTITUTION:CB_FONT1" ;
51        Border = TRUE ;
52        Pos = MAP_APPFONT ( 6, 33 ) ;
53        Size = MAP_APPFONT ( 100, 100 ) ;
54        TabStop = TRUE ;
55        AutoSize = TRUE ;
56        AutoHScroll = TRUE ;
57        DDExtraWidth = TRUE ;
58        DropDown = TRUE ;
59        Sort = TRUE ;
60    };
61    FixedText FT_FONT2
62    {
63        Pos = MAP_APPFONT ( 110, 20 ) ;
64        Size = MAP_APPFONT ( 100, 8 ) ;
65        Left = TRUE ;
66        Text [ en-US ] = "Re~place with" ;
67    };
68    ComboBox CB_FONT2
69    {
70        HelpID = "cui:ComboBox:RID_SVX_FONT_SUBSTITUTION:CB_FONT2" ;
71        Border = TRUE ;
72        Pos = MAP_APPFONT ( 110, 33 ) ;
73        Size = MAP_APPFONT ( 100, 100 ) ;
74        TabStop = TRUE ;
75        AutoSize = TRUE ;
76        AutoHScroll = TRUE ;
77        DDExtraWidth = TRUE ;
78        DropDown = TRUE ;
79        Sort = TRUE ;
80    };
81    ImageList IL_ICON
82    {
83        Prefix = "nu" ;
84        MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
85        IdList =
86        {
87            BT_SUBSTAPPLY ;
88            BT_SUBSTDELETE ;
89        };
90        IdCount = { 2 ; };
91    };
92    ToolBox TBX_SUBSTNEWDEL
93    {
94        Pos = MAP_APPFONT ( 214, 33 ) ;
95        SVLook = TRUE ;
96        Border = FALSE ;
97        ItemList =
98        {
99            ToolBoxItem
100            {
101                Identifier = BT_SUBSTAPPLY ;
102                HelpID = HID_OFA_SUBST_APPLY ;
103                Text [ en-US ] = "Apply" ;
104            };
105            ToolBoxItem
106            {
107                Identifier = BT_SUBSTDELETE ;
108                HelpID = HID_OFA_SUBST_DELETE ;
109                Text [ en-US ] = "Delete" ;
110            };
111        };
112    };
113    Control CLB_SUBSTITUTES
114    {
115        Pos = MAP_APPFONT ( 6, 48 ) ;
116        Size = MAP_APPFONT ( 248, 75 ) ;
117        Border = TRUE ;
118        TabStop = TRUE ;
119    };
120    FixedLine FL_SOURCEVIEW
121    {
122        Pos = MAP_APPFONT ( 6, 129 ) ;
123        Size = MAP_APPFONT ( 248, 8 ) ;
124        Text [ en-US ] = "Font settings for HTML, Basic and SQL sources" ;
125    };
126    FixedText FT_FONTNAME
127    {
128        Pos = MAP_APPFONT ( 6, 142 ) ;
129        Size = MAP_APPFONT ( 57, 8 ) ;
130        Text [ en-US ] = "Fonts" ;
131    };
132    ListBox LB_FONTNAME
133    {
134        HelpID = "cui:ListBox:RID_SVX_FONT_SUBSTITUTION:LB_FONTNAME" ;
135        Pos = MAP_APPFONT ( 65, 140 ) ;
136        Size = MAP_APPFONT ( 100, 68 ) ;
137        Border = TRUE ;
138        TabStop = TRUE ;
139        DropDown = TRUE ;
140    };
141    CheckBox CB_NONPROP
142    {
143        HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_NONPROP" ;
144        Pos = MAP_APPFONT ( 65, 155 ) ;
145        Size = MAP_APPFONT ( 180, 10 ) ;
146        TabStop = TRUE ;
147        Text [ en-US ] = "Non-proportional fonts only" ;
148    };
149    FixedText FT_FONTHEIGHT
150    {
151        Pos = MAP_APPFONT ( 6, 171 ) ;
152        Size = MAP_APPFONT ( 57, 8 ) ;
153        Text [ en-US ] ="~Size" ;
154    };
155    ListBox LB_FONTHEIGHT
156    {
157        HelpID = "cui:ListBox:RID_SVX_FONT_SUBSTITUTION:LB_FONTHEIGHT" ;
158        Pos = MAP_APPFONT ( 65, 169 ) ;
159        Size = MAP_APPFONT ( 30, 68 ) ;
160        Border = TRUE ;
161        TabStop = TRUE ;
162        DropDown = TRUE ;
163    };
164    String STR_HEADER1
165    {
166        Text [ en-US ] = "Always" ;
167    };
168    String STR_HEADER2
169    {
170        Text [ en-US ] = "Screen only" ;
171    };
172    String STR_HEADER3
173    {
174        Text [ en-US ] = "Font" ;
175    };
176    String STR_HEADER4
177    {
178        Text [ en-US ] = "Replace with" ;
179    };
180    String STR_AUTOMATIC
181    {
182        Text [ en-US ] = "Automatic" ;
183    };
184};
185
186// ******************************************************************* EOF
187