xref: /trunk/main/cui/source/options/fontsubs.src (revision 0e2af6af)
1*0e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*0e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*0e2af6afSAndrew Rist * distributed with this work for additional information
6*0e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
9*0e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10*0e2af6afSAndrew Rist *
11*0e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*0e2af6afSAndrew Rist *
13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an
15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*0e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
17*0e2af6afSAndrew Rist * specific language governing permissions and limitations
18*0e2af6afSAndrew Rist * under the License.
19*0e2af6afSAndrew Rist *
20*0e2af6afSAndrew Rist *************************************************************/
21*0e2af6afSAndrew Rist
22*0e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir // include ------------------------------------------------------------------
25cdf0e10cSrcweir
26cdf0e10cSrcweir#include "fontsubs.hrc"
27cdf0e10cSrcweir#include "helpid.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir // pragma -------------------------------------------------------------------
30cdf0e10cSrcweir
31cdf0e10cSrcweir
32cdf0e10cSrcweir
33cdf0e10cSrcweir
34cdf0e10cSrcweir/**************************************************************************/
35cdf0e10cSrcweir/*                                                                        */
36cdf0e10cSrcweir/*                                                                        */
37cdf0e10cSrcweir/*                                                                        */
38cdf0e10cSrcweir/**************************************************************************/
39cdf0e10cSrcweir
40cdf0e10cSrcweirTabPage RID_SVX_FONT_SUBSTITUTION
41cdf0e10cSrcweir{
42cdf0e10cSrcweir	HelpID = HID_OFA_FONT_SUBSTITUTION ;
43cdf0e10cSrcweir	SVLook = TRUE ;
44cdf0e10cSrcweir	Hide = TRUE ;
45cdf0e10cSrcweir	Size = MAP_APPFONT ( 260 , 185 ) ;
46cdf0e10cSrcweir	CheckBox CB_USETABLE
47cdf0e10cSrcweir	{
48cdf0e10cSrcweir	    HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_USETABLE";
49cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 6 ) ;
50cdf0e10cSrcweir		Size = MAP_APPFONT ( 248 , 10 ) ;
51cdf0e10cSrcweir		TabStop = TRUE ;
52cdf0e10cSrcweir		Text [ en-US ] = "~Apply replacement table";
53cdf0e10cSrcweir	};
54cdf0e10cSrcweir    FixedText FT_FONT1
55cdf0e10cSrcweir	{
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 20 ) ;
57cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 8 ) ;
58cdf0e10cSrcweir		Left = TRUE ;
59cdf0e10cSrcweir		Text [ en-US ] = "~Font";
60cdf0e10cSrcweir	};
61cdf0e10cSrcweir	ComboBox CB_FONT1
62cdf0e10cSrcweir	{
63cdf0e10cSrcweir	    HelpID = "cui:ComboBox:RID_SVX_FONT_SUBSTITUTION:CB_FONT1";
64cdf0e10cSrcweir		Border = TRUE ;
65cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 33 ) ;
66cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 100 ) ;
67cdf0e10cSrcweir		TabStop = TRUE ;
68cdf0e10cSrcweir		AutoSize = TRUE ;
69cdf0e10cSrcweir		AutoHScroll = TRUE ;
70cdf0e10cSrcweir		DDExtraWidth = TRUE ;
71cdf0e10cSrcweir		DropDown = TRUE;
72cdf0e10cSrcweir        Sort = TRUE;
73cdf0e10cSrcweir	};
74cdf0e10cSrcweir	FixedText FT_FONT2
75cdf0e10cSrcweir	{
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 110 , 20 ) ;
77cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 8 ) ;
78cdf0e10cSrcweir		Left = TRUE ;
79cdf0e10cSrcweir		Text [ en-US ] = "Re~place with";
80cdf0e10cSrcweir	};
81cdf0e10cSrcweir	ComboBox CB_FONT2
82cdf0e10cSrcweir	{
83cdf0e10cSrcweir	    HelpID = "cui:ComboBox:RID_SVX_FONT_SUBSTITUTION:CB_FONT2";
84cdf0e10cSrcweir		Border = TRUE ;
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 110 , 33 ) ;
86cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 100 ) ;
87cdf0e10cSrcweir		TabStop = TRUE ;
88cdf0e10cSrcweir		AutoSize = TRUE ;
89cdf0e10cSrcweir		AutoHScroll = TRUE ;
90cdf0e10cSrcweir		DDExtraWidth = TRUE ;
91cdf0e10cSrcweir		DropDown = TRUE;
92cdf0e10cSrcweir        Sort = TRUE;
93cdf0e10cSrcweir	};
94cdf0e10cSrcweir	ImageList IL_ICON
95cdf0e10cSrcweir	{
96cdf0e10cSrcweir        Prefix = "nu";
97cdf0e10cSrcweir		MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
98cdf0e10cSrcweir		IdList =
99cdf0e10cSrcweir		{
100cdf0e10cSrcweir			BT_SUBSTAPPLY ;
101cdf0e10cSrcweir			BT_SUBSTDELETE ;
102cdf0e10cSrcweir		};
103cdf0e10cSrcweir		IdCount = { 2 ; };
104cdf0e10cSrcweir	};
105cdf0e10cSrcweir	ToolBox TBX_SUBSTNEWDEL
106cdf0e10cSrcweir	{
107cdf0e10cSrcweir        Pos = MAP_APPFONT ( 214 , 33 ) ;
108cdf0e10cSrcweir		SVLook = TRUE ;
109cdf0e10cSrcweir		Border = FALSE ;
110cdf0e10cSrcweir		ItemList =
111cdf0e10cSrcweir		{
112cdf0e10cSrcweir			ToolBoxItem
113cdf0e10cSrcweir			{
114cdf0e10cSrcweir				Identifier = BT_SUBSTAPPLY ;
115cdf0e10cSrcweir				HelpID = HID_OFA_SUBST_APPLY ;
116cdf0e10cSrcweir				Text [ en-US ] = "Apply" ;
117cdf0e10cSrcweir			};
118cdf0e10cSrcweir			ToolBoxItem
119cdf0e10cSrcweir			{
120cdf0e10cSrcweir				Identifier = BT_SUBSTDELETE ;
121cdf0e10cSrcweir				HelpID = HID_OFA_SUBST_DELETE ;
122cdf0e10cSrcweir				Text [ en-US ] = "Delete" ;
123cdf0e10cSrcweir			};
124cdf0e10cSrcweir		};
125cdf0e10cSrcweir	};
126cdf0e10cSrcweir    Control CLB_SUBSTITUTES
127cdf0e10cSrcweir	{
128cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 48 ) ;
129cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 75 ) ;
130cdf0e10cSrcweir		Border = TRUE ;
131cdf0e10cSrcweir		TabStop = TRUE ;
132cdf0e10cSrcweir	};
133cdf0e10cSrcweir    FixedLine FL_SOURCEVIEW
134cdf0e10cSrcweir    {
135cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 129 ) ;
136cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
137cdf0e10cSrcweir        Text [ en-US ] = "Font settings for HTML, Basic and SQL sources" ;
138cdf0e10cSrcweir	};
139cdf0e10cSrcweir    FixedText FT_FONTNAME
140cdf0e10cSrcweir    {
141cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 142 ) ;
142cdf0e10cSrcweir        Size = MAP_APPFONT ( 57 , 8 ) ;
143cdf0e10cSrcweir        Text [ en-US ] = "Fonts" ;
144cdf0e10cSrcweir	};
145cdf0e10cSrcweir    ListBox LB_FONTNAME
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SVX_FONT_SUBSTITUTION:LB_FONTNAME";
148cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 140 ) ;
149cdf0e10cSrcweir        Size = MAP_APPFONT ( 100 , 68 ) ;
150cdf0e10cSrcweir		Border = TRUE ;
151cdf0e10cSrcweir		TabStop = TRUE ;
152cdf0e10cSrcweir        DropDown = TRUE;
153cdf0e10cSrcweir	};
154cdf0e10cSrcweir    CheckBox  CB_NONPROP
155cdf0e10cSrcweir    {
156cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_NONPROP";
157cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 155 ) ;
158cdf0e10cSrcweir        Size = MAP_APPFONT ( 180 , 10 ) ;
159cdf0e10cSrcweir		TabStop = TRUE ;
160cdf0e10cSrcweir        Text [ en-US ] = "Non-proportional fonts only" ;
161cdf0e10cSrcweir	};
162cdf0e10cSrcweir    FixedText FT_FONTHEIGHT
163cdf0e10cSrcweir    {
164cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 171 ) ;
165cdf0e10cSrcweir        Size = MAP_APPFONT ( 57 , 8 ) ;
166cdf0e10cSrcweir        Text [ en-US ] ="~Size";
167cdf0e10cSrcweir	};
168cdf0e10cSrcweir    ListBox LB_FONTHEIGHT
169cdf0e10cSrcweir    {
170cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SVX_FONT_SUBSTITUTION:LB_FONTHEIGHT";
171cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 169 ) ;
172cdf0e10cSrcweir        Size = MAP_APPFONT ( 30 , 68 ) ;
173cdf0e10cSrcweir		Border = TRUE ;
174cdf0e10cSrcweir		TabStop = TRUE ;
175cdf0e10cSrcweir        DropDown = TRUE;
176cdf0e10cSrcweir    };
177cdf0e10cSrcweir    String STR_HEADER1
178cdf0e10cSrcweir	{
179cdf0e10cSrcweir		Text [ en-US ] = "Always";
180cdf0e10cSrcweir	};
181cdf0e10cSrcweir	String STR_HEADER2
182cdf0e10cSrcweir	{
183cdf0e10cSrcweir		Text [ en-US ] = "Screen only";
184cdf0e10cSrcweir	};
185cdf0e10cSrcweir	String STR_HEADER3
186cdf0e10cSrcweir	{
187cdf0e10cSrcweir		Text [ en-US ] = "Font";
188cdf0e10cSrcweir	};
189cdf0e10cSrcweir	String STR_HEADER4
190cdf0e10cSrcweir	{
191cdf0e10cSrcweir		Text [ en-US ] = "Replace with";
192cdf0e10cSrcweir	};
193cdf0e10cSrcweir    String STR_AUTOMATIC
194cdf0e10cSrcweir    {
195cdf0e10cSrcweir        Text [ en-US ] = "Automatic";
196cdf0e10cSrcweir	};
197cdf0e10cSrcweir};
198cdf0e10cSrcweir
199