109a1d057SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 409a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 509a1d057SAndrew Rist * distributed with this work for additional information 609a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 809a1d057SAndrew Rist * "License"); you may not use this file except in compliance 909a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 1109a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 1409a1d057SAndrew Rist * software distributed under the License is distributed on an 1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1609a1d057SAndrew Rist * KIND, either express or implied. See the License for the 1709a1d057SAndrew Rist * specific language governing permissions and limitations 1809a1d057SAndrew Rist * under the License. 19cdf0e10cSrcweir * 2009a1d057SAndrew Rist *************************************************************/ 2109a1d057SAndrew Rist 2209a1d057SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "helpid.hrc" 25cdf0e10cSrcweir#include <svx/dialogs.hrc> 26cdf0e10cSrcweir#include "fontworkgallery.hrc" 27cdf0e10cSrcweir#include "svtools/controldims.hrc" 28cdf0e10cSrcweir 29cdf0e10cSrcweir#define WIDTH 256 30cdf0e10cSrcweir#define HEIGHT 256 31cdf0e10cSrcweir 32cdf0e10cSrcweirModalDialog RID_SVX_MDLG_FONTWORK_GALLERY 33cdf0e10cSrcweir{ 34cdf0e10cSrcweir HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY" ; 35cdf0e10cSrcweir OutputSize = TRUE ; 36cdf0e10cSrcweir SVLook = TRUE ; 37cdf0e10cSrcweir Moveable = TRUE ; 38cdf0e10cSrcweir Closeable = TRUE ; 39cdf0e10cSrcweir 40cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH, HEIGHT ) ; 41cdf0e10cSrcweir 42cdf0e10cSrcweir Text [ en-US ] = "Fontwork Gallery" ; 43cdf0e10cSrcweir 44cdf0e10cSrcweir FixedLine FL_FAVORITES 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 3, 3 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH - 6, 8 ) ; 48cdf0e10cSrcweir Text [ en-US ] = "Select a Fontwork style:" ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir Control CTL_FAVORITES 51cdf0e10cSrcweir { 52cdf0e10cSrcweir HelpId = HID_CTL_FONTWORK_FAVORITES ; 53cdf0e10cSrcweir Border = FALSE ; 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 3, 14 ) ; 55*d7986c05Smseidel Size = MAP_APPFONT ( WIDTH - 6, HEIGHT - RSC_CD_PUSHBUTTON_HEIGHT - 6 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 56cdf0e10cSrcweir TabStop = TRUE ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir OkButton BTN_OK 59cdf0e10cSrcweir { 60*d7986c05Smseidel Pos = MAP_APPFONT ( WIDTH - 3 * RSC_CD_PUSHBUTTON_WIDTH - 9, HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 61*d7986c05Smseidel Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 62cdf0e10cSrcweir TabStop = TRUE ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir CancelButton BTN_CANCEL 65cdf0e10cSrcweir { 66*d7986c05Smseidel Pos = MAP_APPFONT ( WIDTH - 2 * RSC_CD_PUSHBUTTON_WIDTH - 6, HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 67*d7986c05Smseidel Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 68cdf0e10cSrcweir TabStop = TRUE ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir HelpButton BTN_HELP 71cdf0e10cSrcweir { 72*d7986c05Smseidel Pos = MAP_APPFONT ( WIDTH - 1 * RSC_CD_PUSHBUTTON_WIDTH - 3, HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ; 73*d7986c05Smseidel Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 74cdf0e10cSrcweir TabStop = TRUE ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir String STR_CLICK_TO_ADD_TEXT 77cdf0e10cSrcweir { 78cdf0e10cSrcweir Text [ en-US ] = "Click to edit text" ; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir}; 81cdf0e10cSrcweir 82cdf0e10cSrcweirDockingWindow RID_SVXFLOAT_FONTWORK_ALIGNMENT 83cdf0e10cSrcweir{ 84cdf0e10cSrcweir HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_ALIGNMENT" ; 85cdf0e10cSrcweir Border = FALSE ; 86cdf0e10cSrcweir Hide = TRUE ; 87cdf0e10cSrcweir SVLook = TRUE ; 88cdf0e10cSrcweir Sizeable = FALSE ; 89cdf0e10cSrcweir Moveable = TRUE ; 90cdf0e10cSrcweir Closeable = TRUE ; 91cdf0e10cSrcweir Zoomable = TRUE ; 92cdf0e10cSrcweir 93cdf0e10cSrcweir Text [ en-US ] = "Fontwork Alignment" ; 94cdf0e10cSrcweir 95cdf0e10cSrcweir String STR_ALIGN_LEFT 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Text [ en-US ] = "~Left Align" ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir String STR_ALIGN_CENTER 100cdf0e10cSrcweir { 101cdf0e10cSrcweir Text [ en-US ] = "~Center" ; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir String STR_ALIGN_RIGHT 104cdf0e10cSrcweir { 105cdf0e10cSrcweir Text [ en-US ] = "~Right Align" ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir String STR_ALIGN_WORD 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Text [ en-US ] = "~Word Justify" ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir String STR_ALIGN_STRETCH 112cdf0e10cSrcweir { 113cdf0e10cSrcweir Text [ en-US ] = "S~tretch Justify" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir 116cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_LEFT_16 117cdf0e10cSrcweir { 118cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignleft_16.png" ;} ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_LEFT_16_H 121cdf0e10cSrcweir { 122cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignleft_16_h.png" ;} ; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_LEFT_26 125cdf0e10cSrcweir { 126cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignleft_26.png" ;} ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_LEFT_26_H 129cdf0e10cSrcweir { 130cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignleft_26_h.png" ;} ; 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_CENTER_16 133cdf0e10cSrcweir { 134cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkaligncentered_16.png" ;} ; 135cdf0e10cSrcweir }; 136cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_CENTER_16_H 137cdf0e10cSrcweir { 138cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkaligncentered_16_h.png" ;} ; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_CENTER_26 141cdf0e10cSrcweir { 142cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkaligncentered_26.png" ;} ; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_CENTER_26_H 145cdf0e10cSrcweir { 146cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkaligncentered_26_h.png" ;} ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_RIGHT_16 149cdf0e10cSrcweir { 150cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignright_16.png" ;} ; 151cdf0e10cSrcweir }; 152cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_RIGHT_16_H 153cdf0e10cSrcweir { 154cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignright_16_h.png" ;} ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_RIGHT_26 157cdf0e10cSrcweir { 158cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignright_26.png" ;} ; 159cdf0e10cSrcweir }; 160cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_RIGHT_26_H 161cdf0e10cSrcweir { 162cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignright_26_h.png" ;} ; 163cdf0e10cSrcweir }; 164cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_WORD_16 165cdf0e10cSrcweir { 166cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignjustified_16.png" ;} ; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_WORD_16_H 169cdf0e10cSrcweir { 170cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignjustified_16_h.png" ;} ; 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_WORD_26 173cdf0e10cSrcweir { 174cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignjustified_26.png" ;} ; 175cdf0e10cSrcweir }; 176cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_WORD_26_H 177cdf0e10cSrcweir { 178cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignjustified_26_h.png" ;} ; 179cdf0e10cSrcweir }; 180cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_STRETCH_16 181cdf0e10cSrcweir { 182cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignstretch_16.png" ;} ; 183cdf0e10cSrcweir }; 184cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_STRETCH_16_H 185cdf0e10cSrcweir { 186cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignstretch_16_h.png" ;} ; 187cdf0e10cSrcweir }; 188cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_STRETCH_26 189cdf0e10cSrcweir { 190cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignstretch_26.png" ;} ; 191cdf0e10cSrcweir }; 192cdf0e10cSrcweir Image IMG_FONTWORK_ALIGN_STRETCH_26_H 193cdf0e10cSrcweir { 194cdf0e10cSrcweir ImageBitmap = Bitmap {File = "fontworkalignstretch_26_h.png" ;} ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir}; 197cdf0e10cSrcweir 198cdf0e10cSrcweirDockingWindow RID_SVXFLOAT_FONTWORK_CHARSPACING 199cdf0e10cSrcweir{ 200cdf0e10cSrcweir HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_CHARSPACING" ; 201cdf0e10cSrcweir Border = FALSE ; 202cdf0e10cSrcweir Hide = TRUE ; 203cdf0e10cSrcweir SVLook = TRUE ; 204cdf0e10cSrcweir Sizeable = FALSE ; 205cdf0e10cSrcweir Moveable = TRUE ; 206cdf0e10cSrcweir Closeable = TRUE ; 207cdf0e10cSrcweir Zoomable = TRUE ; 208cdf0e10cSrcweir 209cdf0e10cSrcweir Text [ en-US ] = "Fontwork Character Spacing" ; 210cdf0e10cSrcweir 211cdf0e10cSrcweir String STR_CHARS_SPACING_VERY_TIGHT 212cdf0e10cSrcweir { 213cdf0e10cSrcweir Text [ en-US ] = "~Very Tight" ; 214cdf0e10cSrcweir }; 215cdf0e10cSrcweir String STR_CHARS_SPACING_TIGHT 216cdf0e10cSrcweir { 217cdf0e10cSrcweir Text [ en-US ] = "~Tight" ; 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir String STR_CHARS_SPACING_NORMAL 220cdf0e10cSrcweir { 221cdf0e10cSrcweir Text [ en-US ] = "~Normal" ; 222cdf0e10cSrcweir }; 223cdf0e10cSrcweir String STR_CHARS_SPACING_LOOSE 224cdf0e10cSrcweir { 225cdf0e10cSrcweir Text [ en-US ] = "~Loose" ; 226cdf0e10cSrcweir }; 227cdf0e10cSrcweir String STR_CHARS_SPACING_VERY_LOOSE 228cdf0e10cSrcweir { 229cdf0e10cSrcweir Text [ en-US ] = "Very ~Loose" ; 230cdf0e10cSrcweir }; 231cdf0e10cSrcweir String STR_CHARS_SPACING_CUSTOM 232cdf0e10cSrcweir { 233cdf0e10cSrcweir Text [ en-US ] = "~Custom..." ; 234cdf0e10cSrcweir }; 235cdf0e10cSrcweir String STR_CHARS_SPACING_KERN_PAIRS 236cdf0e10cSrcweir { 237cdf0e10cSrcweir Text [ en-US ] = "~Kern Character Pairs" ; 238cdf0e10cSrcweir }; 239cdf0e10cSrcweir}; 240cdf0e10cSrcweir 241cdf0e10cSrcweirModalDialog RID_SVX_MDLG_FONTWORK_CHARSPACING 242cdf0e10cSrcweir{ 243cdf0e10cSrcweir HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_CHARSPACING" ; 244cdf0e10cSrcweir OutputSize = TRUE ; 245cdf0e10cSrcweir SVLook = TRUE ; 246cdf0e10cSrcweir Size = MAP_APPFONT ( 139, 64 ) ; 247cdf0e10cSrcweir Moveable = TRUE ; 248cdf0e10cSrcweir Closeable = TRUE ; 249cdf0e10cSrcweir 250cdf0e10cSrcweir Text [ en-US ] = "Fontwork Character Spacing" ; 251cdf0e10cSrcweir 252cdf0e10cSrcweir OKButton BTN_OK 253cdf0e10cSrcweir { 254cdf0e10cSrcweir Pos = MAP_APPFONT ( 83, 6 ) ; 255cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 256cdf0e10cSrcweir TabStop = TRUE ; 257cdf0e10cSrcweir DefButton = TRUE ; 258cdf0e10cSrcweir }; 259cdf0e10cSrcweir CancelButton BTN_CANCEL 260cdf0e10cSrcweir { 261cdf0e10cSrcweir Pos = MAP_APPFONT ( 83, 23 ) ; 262cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 263cdf0e10cSrcweir TabStop = TRUE ; 264cdf0e10cSrcweir }; 265cdf0e10cSrcweir HelpButton BTN_HELP 266cdf0e10cSrcweir { 267cdf0e10cSrcweir Pos = MAP_APPFONT ( 83, 43 ) ; 268cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 269cdf0e10cSrcweir TabStop = TRUE ; 270cdf0e10cSrcweir }; 271cdf0e10cSrcweir FixedText FT_VALUE 272cdf0e10cSrcweir { 273cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 6 ) ; 274cdf0e10cSrcweir Size = MAP_APPFONT ( 76, 8 ) ; 275cdf0e10cSrcweir Text [ en-US ] = "~Value" ; 276cdf0e10cSrcweir }; 277cdf0e10cSrcweir MetricField MF_VALUE 278cdf0e10cSrcweir { 279cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVX_MDLG_FONTWORK_CHARSPACING:MF_VALUE" ; 280cdf0e10cSrcweir Border = FALSE ; 281cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 17 ) ; 282cdf0e10cSrcweir Size = MAP_APPFONT ( 32, 12 ) ; 283cdf0e10cSrcweir TabStop = TRUE ; 284cdf0e10cSrcweir Repeat = TRUE ; 285cdf0e10cSrcweir Spin = TRUE ; 286cdf0e10cSrcweir Maximum = 500 ; 287cdf0e10cSrcweir StrictFormat = TRUE ; 2887ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 289cdf0e10cSrcweir Last = 100 ; 290cdf0e10cSrcweir SpinSize = 5 ; 291cdf0e10cSrcweir }; 292cdf0e10cSrcweir}; 293cdf0e10cSrcweir 294*d7986c05Smseidel// ********************************************************************** EOF 295