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