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