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 "helpid.hrc" 29#include <svx/dialogs.hrc> 30#include "fontworkgallery.hrc" 31#include "svtools/controldims.hrc" 32 33#define WIDTH 256 34#define HEIGHT 256 35 36#define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }; 37 38ModalDialog RID_SVX_MDLG_FONTWORK_GALLERY 39{ 40 HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY"; 41 OutputSize = TRUE; 42 SVLook = TRUE ; 43 Moveable = TRUE; 44 Closeable = TRUE; 45 46 Size = MAP_APPFONT( WIDTH, HEIGHT ); 47 48 Text [ en-US ] = "Fontwork Gallery" ; 49 50 FixedLine FL_FAVORITES 51 { 52 Pos = MAP_APPFONT ( 3 , 3 ) ; 53 Size = MAP_APPFONT ( WIDTH - 6 , 8 ) ; 54 Text [ en-US ] = "Select a Fontwork style:" ; 55 }; 56 Control CTL_FAVORITES 57 { 58 HelpId = HID_CTL_FONTWORK_FAVORITES ; 59 Border = FALSE ; 60 Pos = MAP_APPFONT ( 3 , 14 ) ; 61 Size = MAP_APPFONT ( WIDTH - 6, 62 HEIGHT - RSC_CD_PUSHBUTTON_HEIGHT - 63 6 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 64 TabStop = TRUE ; 65 }; 66 OkButton BTN_OK 67 { 68 Pos = MAP_APPFONT ( WIDTH - 3 * RSC_CD_PUSHBUTTON_WIDTH - 9 , 69 HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 70 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 71 RSC_CD_PUSHBUTTON_HEIGHT ) ; 72 TabStop = TRUE ; 73 }; 74 CancelButton BTN_CANCEL 75 { 76 Pos = MAP_APPFONT ( WIDTH - 2 * RSC_CD_PUSHBUTTON_WIDTH - 6 , 77 HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 78 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 79 RSC_CD_PUSHBUTTON_HEIGHT ) ; 80 TabStop = TRUE ; 81 }; 82 HelpButton BTN_HELP 83 { 84 Pos = MAP_APPFONT ( WIDTH - 1 * RSC_CD_PUSHBUTTON_WIDTH - 3 , 85 HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 86 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 87 RSC_CD_PUSHBUTTON_HEIGHT ) ; 88 TabStop = TRUE ; 89 }; 90 String STR_CLICK_TO_ADD_TEXT 91 { 92 Text [ en-US ] = "Click to edit text" ; 93 }; 94}; 95 96DockingWindow RID_SVXFLOAT_FONTWORK_ALIGNMENT 97{ 98 HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_ALIGNMENT"; 99 Border = FALSE ; 100 Hide = TRUE ; 101 SVLook = TRUE ; 102 Sizeable = FALSE ; 103 Moveable = TRUE ; 104 Closeable = TRUE ; 105 Zoomable = TRUE ; 106 107 Text [ en-US ] = "Fontwork Alignment" ; 108 109 String STR_ALIGN_LEFT 110 { 111 Text [ en-US ] = "~Left Align"; 112 }; 113 String STR_ALIGN_CENTER 114 { 115 Text [ en-US ] = "~Center"; 116 }; 117 String STR_ALIGN_RIGHT 118 { 119 Text [ en-US ] = "~Right Align"; 120 }; 121 String STR_ALIGN_WORD 122 { 123 Text [ en-US ] = "~Word Justify"; 124 }; 125 String STR_ALIGN_STRETCH 126 { 127 Text [ en-US ] = "S~tretch Justify"; 128 }; 129 130 Image IMG_FONTWORK_ALIGN_LEFT_16 131 { 132 ImageBitmap = Bitmap { File = "fontworkalignleft_16.png"; }; 133 MASKCOLOR 134 }; 135 Image IMG_FONTWORK_ALIGN_LEFT_16_H 136 { 137 ImageBitmap = Bitmap { File = "fontworkalignleft_16_h.png"; }; 138 MASKCOLOR 139 }; 140 Image IMG_FONTWORK_ALIGN_LEFT_26 141 { 142 ImageBitmap = Bitmap { File = "fontworkalignleft_26.png"; }; 143 MASKCOLOR 144 }; 145 Image IMG_FONTWORK_ALIGN_LEFT_26_H 146 { 147 ImageBitmap = Bitmap { File = "fontworkalignleft_26_h.png"; }; 148 MASKCOLOR 149 }; 150 Image IMG_FONTWORK_ALIGN_CENTER_16 151 { 152 ImageBitmap = Bitmap { File = "fontworkaligncentered_16.png"; }; 153 MASKCOLOR 154 }; 155 Image IMG_FONTWORK_ALIGN_CENTER_16_H 156 { 157 ImageBitmap = Bitmap { File = "fontworkaligncentered_16_h.png"; }; 158 MASKCOLOR 159 }; 160 Image IMG_FONTWORK_ALIGN_CENTER_26 161 { 162 ImageBitmap = Bitmap { File = "fontworkaligncentered_26.png"; }; 163 MASKCOLOR 164 }; 165 Image IMG_FONTWORK_ALIGN_CENTER_26_H 166 { 167 ImageBitmap = Bitmap { File = "fontworkaligncentered_26_h.png"; }; 168 MASKCOLOR 169 }; 170 Image IMG_FONTWORK_ALIGN_RIGHT_16 171 { 172 ImageBitmap = Bitmap { File = "fontworkalignright_16.png"; }; 173 MASKCOLOR 174 }; 175 Image IMG_FONTWORK_ALIGN_RIGHT_16_H 176 { 177 ImageBitmap = Bitmap { File = "fontworkalignright_16_h.png"; }; 178 MASKCOLOR 179 }; 180 Image IMG_FONTWORK_ALIGN_RIGHT_26 181 { 182 ImageBitmap = Bitmap { File = "fontworkalignright_26.png"; }; 183 MASKCOLOR 184 }; 185 Image IMG_FONTWORK_ALIGN_RIGHT_26_H 186 { 187 ImageBitmap = Bitmap { File = "fontworkalignright_26_h.png"; }; 188 MASKCOLOR 189 }; 190 Image IMG_FONTWORK_ALIGN_WORD_16 191 { 192 ImageBitmap = Bitmap { File = "fontworkalignjustified_16.png"; }; 193 MASKCOLOR 194 }; 195 Image IMG_FONTWORK_ALIGN_WORD_16_H 196 { 197 ImageBitmap = Bitmap { File = "fontworkalignjustified_16_h.png"; }; 198 MASKCOLOR 199 }; 200 Image IMG_FONTWORK_ALIGN_WORD_26 201 { 202 ImageBitmap = Bitmap { File = "fontworkalignjustified_26.png"; }; 203 MASKCOLOR 204 }; 205 Image IMG_FONTWORK_ALIGN_WORD_26_H 206 { 207 ImageBitmap = Bitmap { File = "fontworkalignjustified_26_h.png"; }; 208 MASKCOLOR 209 }; 210 Image IMG_FONTWORK_ALIGN_STRETCH_16 211 { 212 ImageBitmap = Bitmap { File = "fontworkalignstretch_16.png"; }; 213 MASKCOLOR 214 }; 215 Image IMG_FONTWORK_ALIGN_STRETCH_16_H 216 { 217 ImageBitmap = Bitmap { File = "fontworkalignstretch_16_h.png"; }; 218 MASKCOLOR 219 }; 220 Image IMG_FONTWORK_ALIGN_STRETCH_26 221 { 222 ImageBitmap = Bitmap { File = "fontworkalignstretch_26.png"; }; 223 MASKCOLOR 224 }; 225 Image IMG_FONTWORK_ALIGN_STRETCH_26_H 226 { 227 ImageBitmap = Bitmap { File = "fontworkalignstretch_26_h.png"; }; 228 MASKCOLOR 229 }; 230}; 231 232DockingWindow RID_SVXFLOAT_FONTWORK_CHARSPACING 233{ 234 HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_CHARSPACING"; 235 Border = FALSE ; 236 Hide = TRUE ; 237 SVLook = TRUE ; 238 Sizeable = FALSE ; 239 Moveable = TRUE ; 240 Closeable = TRUE ; 241 Zoomable = TRUE ; 242 243 Text [ en-US ] = "Fontwork Character Spacing" ; 244 245 String STR_CHARS_SPACING_VERY_TIGHT 246 { 247 Text [ en-US ] = "~Very Tight"; 248 }; 249 String STR_CHARS_SPACING_TIGHT 250 { 251 Text [ en-US ] = "~Tight"; 252 }; 253 String STR_CHARS_SPACING_NORMAL 254 { 255 Text [ en-US ] = "~Normal"; 256 }; 257 String STR_CHARS_SPACING_LOOSE 258 { 259 Text [ en-US ] = "~Loose"; 260 }; 261 String STR_CHARS_SPACING_VERY_LOOSE 262 { 263 Text [ en-US ] = "Very ~Loose"; 264 }; 265 String STR_CHARS_SPACING_CUSTOM 266 { 267 Text [ en-US ] = "~Custom..."; 268 }; 269 String STR_CHARS_SPACING_KERN_PAIRS 270 { 271 Text [ en-US ] = "~Kern Character Pairs"; 272 }; 273}; 274 275ModalDialog RID_SVX_MDLG_FONTWORK_CHARSPACING 276{ 277 HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_CHARSPACING"; 278 OutputSize = TRUE ; 279 SVLook = TRUE ; 280 Size = MAP_APPFONT ( 139 , 64 ) ; 281 Moveable = TRUE ; 282 Closeable = TRUE ; 283 284 Text [ en-US ] = "Fontwork Character Spacing" ; 285 286 OKButton BTN_OK 287 { 288 Pos = MAP_APPFONT ( 83 , 6 ) ; 289 Size = MAP_APPFONT ( 50 , 14 ) ; 290 TabStop = TRUE ; 291 DefButton = TRUE ; 292 }; 293 CancelButton BTN_CANCEL 294 { 295 Pos = MAP_APPFONT ( 83 , 23 ) ; 296 Size = MAP_APPFONT ( 50 , 14 ) ; 297 TabStop = TRUE ; 298 }; 299 HelpButton BTN_HELP 300 { 301 Pos = MAP_APPFONT ( 83 , 43 ) ; 302 Size = MAP_APPFONT ( 50 , 14 ) ; 303 TabStop = TRUE ; 304 }; 305 FixedText FT_VALUE 306 { 307 Pos = MAP_APPFONT ( 6 , 6 ) ; 308 Size = MAP_APPFONT ( 76 , 8 ) ; 309 Text[ en-US ] = "~Value"; 310 }; 311 MetricField MF_VALUE 312 { 313 HelpID = "svx:MetricField:RID_SVX_MDLG_FONTWORK_CHARSPACING:MF_VALUE"; 314 Border = FALSE ; 315 Pos = MAP_APPFONT ( 6 , 17 ) ; 316 Size = MAP_APPFONT ( 32 , 12 ) ; 317 TabStop = TRUE ; 318 Repeat = TRUE ; 319 Spin = TRUE ; 320 Maximum = 500 ; 321 StrictFormat = TRUE ; 322 Unit = FUNIT_CUSTOM ; 323 CustomUnitText = "%" ; 324 Last = 100 ; 325 SpinSize = 5 ; 326 }; 327}; 328 329