1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 // include ------------------------------------------------------------------ 29 30#include "fontsubs.hrc" 31#include "helpid.hrc" 32 33 // pragma ------------------------------------------------------------------- 34 35 36 37 38/**************************************************************************/ 39/* */ 40/* */ 41/* */ 42/**************************************************************************/ 43 44TabPage RID_SVX_FONT_SUBSTITUTION 45{ 46 HelpID = HID_OFA_FONT_SUBSTITUTION ; 47 SVLook = TRUE ; 48 Hide = TRUE ; 49 Size = MAP_APPFONT ( 260 , 185 ) ; 50 CheckBox CB_USETABLE 51 { 52 HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_USETABLE"; 53 Pos = MAP_APPFONT ( 6 , 6 ) ; 54 Size = MAP_APPFONT ( 248 , 10 ) ; 55 TabStop = TRUE ; 56 Text [ en-US ] = "~Apply replacement table"; 57 }; 58 FixedText FT_FONT1 59 { 60 Pos = MAP_APPFONT ( 6 , 20 ) ; 61 Size = MAP_APPFONT ( 100 , 8 ) ; 62 Left = TRUE ; 63 Text [ en-US ] = "~Font"; 64 }; 65 ComboBox CB_FONT1 66 { 67 HelpID = "cui:ComboBox:RID_SVX_FONT_SUBSTITUTION:CB_FONT1"; 68 Border = TRUE ; 69 Pos = MAP_APPFONT ( 6 , 33 ) ; 70 Size = MAP_APPFONT ( 100 , 100 ) ; 71 TabStop = TRUE ; 72 AutoSize = TRUE ; 73 AutoHScroll = TRUE ; 74 DDExtraWidth = TRUE ; 75 DropDown = TRUE; 76 Sort = TRUE; 77 }; 78 FixedText FT_FONT2 79 { 80 Pos = MAP_APPFONT ( 110 , 20 ) ; 81 Size = MAP_APPFONT ( 100 , 8 ) ; 82 Left = TRUE ; 83 Text [ en-US ] = "Re~place with"; 84 }; 85 ComboBox CB_FONT2 86 { 87 HelpID = "cui:ComboBox:RID_SVX_FONT_SUBSTITUTION:CB_FONT2"; 88 Border = TRUE ; 89 Pos = MAP_APPFONT ( 110 , 33 ) ; 90 Size = MAP_APPFONT ( 100 , 100 ) ; 91 TabStop = TRUE ; 92 AutoSize = TRUE ; 93 AutoHScroll = TRUE ; 94 DDExtraWidth = TRUE ; 95 DropDown = TRUE; 96 Sort = TRUE; 97 }; 98 ImageList IL_ICON 99 { 100 Prefix = "nu"; 101 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 102 IdList = 103 { 104 BT_SUBSTAPPLY ; 105 BT_SUBSTDELETE ; 106 }; 107 IdCount = { 2 ; }; 108 }; 109 ToolBox TBX_SUBSTNEWDEL 110 { 111 Pos = MAP_APPFONT ( 214 , 33 ) ; 112 SVLook = TRUE ; 113 Border = FALSE ; 114 ItemList = 115 { 116 ToolBoxItem 117 { 118 Identifier = BT_SUBSTAPPLY ; 119 HelpID = HID_OFA_SUBST_APPLY ; 120 Text [ en-US ] = "Apply" ; 121 }; 122 ToolBoxItem 123 { 124 Identifier = BT_SUBSTDELETE ; 125 HelpID = HID_OFA_SUBST_DELETE ; 126 Text [ en-US ] = "Delete" ; 127 }; 128 }; 129 }; 130 Control CLB_SUBSTITUTES 131 { 132 Pos = MAP_APPFONT ( 6 , 48 ) ; 133 Size = MAP_APPFONT ( 248 , 75 ) ; 134 Border = TRUE ; 135 TabStop = TRUE ; 136 }; 137 FixedLine FL_SOURCEVIEW 138 { 139 Pos = MAP_APPFONT ( 6 , 129 ) ; 140 Size = MAP_APPFONT ( 248 , 8 ) ; 141 Text [ en-US ] = "Font settings for HTML, Basic and SQL sources" ; 142 }; 143 FixedText FT_FONTNAME 144 { 145 Pos = MAP_APPFONT ( 6 , 142 ) ; 146 Size = MAP_APPFONT ( 57 , 8 ) ; 147 Text [ en-US ] = "Fonts" ; 148 }; 149 ListBox LB_FONTNAME 150 { 151 HelpID = "cui:ListBox:RID_SVX_FONT_SUBSTITUTION:LB_FONTNAME"; 152 Pos = MAP_APPFONT ( 65 , 140 ) ; 153 Size = MAP_APPFONT ( 100 , 68 ) ; 154 Border = TRUE ; 155 TabStop = TRUE ; 156 DropDown = TRUE; 157 }; 158 CheckBox CB_NONPROP 159 { 160 HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_NONPROP"; 161 Pos = MAP_APPFONT ( 65 , 155 ) ; 162 Size = MAP_APPFONT ( 180 , 10 ) ; 163 TabStop = TRUE ; 164 Text [ en-US ] = "Non-proportional fonts only" ; 165 }; 166 FixedText FT_FONTHEIGHT 167 { 168 Pos = MAP_APPFONT ( 6 , 171 ) ; 169 Size = MAP_APPFONT ( 57 , 8 ) ; 170 Text [ en-US ] ="~Size"; 171 }; 172 ListBox LB_FONTHEIGHT 173 { 174 HelpID = "cui:ListBox:RID_SVX_FONT_SUBSTITUTION:LB_FONTHEIGHT"; 175 Pos = MAP_APPFONT ( 65 , 169 ) ; 176 Size = MAP_APPFONT ( 30 , 68 ) ; 177 Border = TRUE ; 178 TabStop = TRUE ; 179 DropDown = TRUE; 180 }; 181 String STR_HEADER1 182 { 183 Text [ en-US ] = "Always"; 184 }; 185 String STR_HEADER2 186 { 187 Text [ en-US ] = "Screen only"; 188 }; 189 String STR_HEADER3 190 { 191 Text [ en-US ] = "Font"; 192 }; 193 String STR_HEADER4 194 { 195 Text [ en-US ] = "Replace with"; 196 }; 197 String STR_AUTOMATIC 198 { 199 Text [ en-US ] = "Automatic"; 200 }; 201}; 202 203