1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir // include --------------------------------------------------------------- 28*cdf0e10cSrcweir#include <cuires.hrc> 29*cdf0e10cSrcweir#include "helpid.hrc" 30*cdf0e10cSrcweir#include "align.hrc" 31*cdf0e10cSrcweir#include <svx/dialogs.hrc> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir#define MASKCOLOR \ 34*cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir // define --------------------------------------------------------------- 37*cdf0e10cSrcweir#define IL_LOCK_MCOL Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; } 38*cdf0e10cSrcweir // RID_SVXPAGE_ALIGNMENT ------------------------------------------------- 39*cdf0e10cSrcweirTabPage RID_SVXPAGE_ALIGNMENT 40*cdf0e10cSrcweir{ 41*cdf0e10cSrcweir HelpId = HID_ALIGNMENT ; 42*cdf0e10cSrcweir Hide = TRUE ; 43*cdf0e10cSrcweir Text [ en-US ] = "Alignment" ; 44*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 45*cdf0e10cSrcweir SVLook = TRUE ; 46*cdf0e10cSrcweir FixedLine FL_ALIGNMENT 47*cdf0e10cSrcweir { 48*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 49*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 50*cdf0e10cSrcweir Text [ en-US ] = "Text alignment"; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir FixedText FT_HORALIGN 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 ,14 ) ; 55*cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 8 ) ; 56*cdf0e10cSrcweir Text [ en-US ] = "Hori~zontal"; 57*cdf0e10cSrcweir }; 58*cdf0e10cSrcweir ListBox LB_HORALIGN 59*cdf0e10cSrcweir { 60*cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_HORALIGN"; 61*cdf0e10cSrcweir Border = TRUE; 62*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 25 ); 63*cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 60 ); 64*cdf0e10cSrcweir TabStop = TRUE; 65*cdf0e10cSrcweir DropDown = TRUE; 66*cdf0e10cSrcweir StringList [ en-US ] = 67*cdf0e10cSrcweir { 68*cdf0e10cSrcweir < "Default" ; ALIGNDLG_HORALIGN_STD ; > ; 69*cdf0e10cSrcweir < "Left" ; ALIGNDLG_HORALIGN_LEFT ; > ; 70*cdf0e10cSrcweir < "Center" ; ALIGNDLG_HORALIGN_CENTER ; > ; 71*cdf0e10cSrcweir < "Right" ; ALIGNDLG_HORALIGN_RIGHT ; > ; 72*cdf0e10cSrcweir < "Justified" ; ALIGNDLG_HORALIGN_BLOCK ; > ; 73*cdf0e10cSrcweir < "Filled" ; ALIGNDLG_HORALIGN_FILL ; > ; 74*cdf0e10cSrcweir }; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir FixedText FT_INDENT 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Pos = MAP_APPFONT ( 118 , 14 ) ; 79*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 80*cdf0e10cSrcweir Text [ en-US ] = "I~ndent" ; 81*cdf0e10cSrcweir }; 82*cdf0e10cSrcweir MetricField ED_INDENT 83*cdf0e10cSrcweir { 84*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ALIGNMENT:ED_INDENT"; 85*cdf0e10cSrcweir Border = TRUE ; 86*cdf0e10cSrcweir Pos = MAP_APPFONT ( 118 , 25 ) ; 87*cdf0e10cSrcweir Size = MAP_APPFONT ( 36 , 12 ) ; 88*cdf0e10cSrcweir Repeat = TRUE ; 89*cdf0e10cSrcweir Spin = TRUE ; 90*cdf0e10cSrcweir Minimum = 0 ; 91*cdf0e10cSrcweir Maximum = 990 ; 92*cdf0e10cSrcweir SpinSize = 10 ; 93*cdf0e10cSrcweir Unit = FUNIT_POINT ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir FixedText FT_VERALIGN 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( 160 , 14 ) ; 98*cdf0e10cSrcweir Size = MAP_APPFONT ( 88 , 8 ) ; 99*cdf0e10cSrcweir Text [ en-US ] = "~Vertical"; 100*cdf0e10cSrcweir }; 101*cdf0e10cSrcweir ListBox LB_VERALIGN 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_VERALIGN"; 104*cdf0e10cSrcweir Border = TRUE; 105*cdf0e10cSrcweir Pos = MAP_APPFONT ( 160 , 25 ); 106*cdf0e10cSrcweir Size = MAP_APPFONT ( 88 , 60 ); 107*cdf0e10cSrcweir TabStop = TRUE; 108*cdf0e10cSrcweir DropDown = TRUE; 109*cdf0e10cSrcweir StringList [ en-US ] = 110*cdf0e10cSrcweir { 111*cdf0e10cSrcweir < "Default" ; ALIGNDLG_VERALIGN_STD ; > ; 112*cdf0e10cSrcweir < "Top" ; ALIGNDLG_VERALIGN_TOP ; > ; 113*cdf0e10cSrcweir < "Middle" ; ALIGNDLG_VERALIGN_MID ; > ; 114*cdf0e10cSrcweir < "Bottom" ; ALIGNDLG_VERALIGN_BOTTOM ; > ; 115*cdf0e10cSrcweir }; 116*cdf0e10cSrcweir }; 117*cdf0e10cSrcweir FixedLine FL_ORIENTATION 118*cdf0e10cSrcweir { 119*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 43 ) ; 120*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 121*cdf0e10cSrcweir Text [ en-US ] = "Text orientation" ; 122*cdf0e10cSrcweir }; 123*cdf0e10cSrcweir TriStateBox BTN_TXTSTACKED 124*cdf0e10cSrcweir { 125*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_TXTSTACKED"; 126*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 54 ) ; 127*cdf0e10cSrcweir Size = MAP_APPFONT ( 115 , 10 ) ; 128*cdf0e10cSrcweir TabStop = TRUE ; 129*cdf0e10cSrcweir Text[ en-US ] = "Ve~rtically stacked"; 130*cdf0e10cSrcweir }; 131*cdf0e10cSrcweir Control CTR_DIAL 132*cdf0e10cSrcweir { 133*cdf0e10cSrcweir HelpId = HID_ALIGNMENT_CTR_DIAL ; 134*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 60 ) ; 135*cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , 43 ) ; 136*cdf0e10cSrcweir Text = "ABCD" ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir FixedText FT_DEGREES 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir Pos = MAP_APPFONT ( 72 , 54 ) ; 141*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 142*cdf0e10cSrcweir Text [ en-US ] = "De~grees"; 143*cdf0e10cSrcweir }; 144*cdf0e10cSrcweir NumericField NF_DEGREES 145*cdf0e10cSrcweir { 146*cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVXPAGE_ALIGNMENT:NF_DEGREES"; 147*cdf0e10cSrcweir Border = TRUE ; 148*cdf0e10cSrcweir Pos = MAP_APPFONT ( 72 , 65 ) ; 149*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 150*cdf0e10cSrcweir TabStop = TRUE ; 151*cdf0e10cSrcweir Repeat = TRUE ; 152*cdf0e10cSrcweir Spin = TRUE ; 153*cdf0e10cSrcweir Minimum = 0 ; 154*cdf0e10cSrcweir Maximum = 359 ; 155*cdf0e10cSrcweir SpinSize = 5 ; 156*cdf0e10cSrcweir StrictFormat = TRUE ; 157*cdf0e10cSrcweir }; 158*cdf0e10cSrcweir FixedText FT_BORDER_LOCK 159*cdf0e10cSrcweir { 160*cdf0e10cSrcweir Pos = MAP_APPFONT ( 72 , 83 ) ; 161*cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 8 ) ; 162*cdf0e10cSrcweir Text [ en-US ] = "Re~ference edge" ; 163*cdf0e10cSrcweir }; 164*cdf0e10cSrcweir Control CTR_BORDER_LOCK 165*cdf0e10cSrcweir { 166*cdf0e10cSrcweir HelpId = HID_ALIGNMENT_CTR_BORDER_LOCK ; 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( 72 , 94 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 15 ) ; 169*cdf0e10cSrcweir TabStop = TRUE ; 170*cdf0e10cSrcweir }; 171*cdf0e10cSrcweir TriStateBox BTN_ASIAN_VERTICAL 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_ASIAN_VERTICAL"; 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( 143 , 68 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 10 ) ; 176*cdf0e10cSrcweir TabStop = TRUE ; 177*cdf0e10cSrcweir Text [ en-US ] = "Asian layout ~mode" ; 178*cdf0e10cSrcweir }; 179*cdf0e10cSrcweir FixedLine FL_WRAP 180*cdf0e10cSrcweir { 181*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 115 ) ; 182*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 183*cdf0e10cSrcweir Text [ en-US ] = "Properties" ; 184*cdf0e10cSrcweir }; 185*cdf0e10cSrcweir TriStateBox BTN_WRAP 186*cdf0e10cSrcweir { 187*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_WRAP"; 188*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 126 ) ; 189*cdf0e10cSrcweir Size = MAP_APPFONT ( 236 , 10 ) ; 190*cdf0e10cSrcweir Text [ en-US ] = "~Wrap text automatically" ; 191*cdf0e10cSrcweir }; 192*cdf0e10cSrcweir TriStateBox BTN_HYPH 193*cdf0e10cSrcweir { 194*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_HYPH"; 195*cdf0e10cSrcweir Pos = MAP_APPFONT ( 22 , 139 ) ; 196*cdf0e10cSrcweir Size = MAP_APPFONT ( 226 , 10 ) ; 197*cdf0e10cSrcweir Text [ en-US ] = "Hyphenation ~active"; 198*cdf0e10cSrcweir }; 199*cdf0e10cSrcweir TriStateBox BTN_SHRINK 200*cdf0e10cSrcweir { 201*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_SHRINK"; 202*cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 152 ); 203*cdf0e10cSrcweir Size = MAP_APPFONT( 236, 10 ); 204*cdf0e10cSrcweir Text [ en-US ] = "~Shrink to fit cell size"; 205*cdf0e10cSrcweir }; 206*cdf0e10cSrcweir FixedText FT_TEXTFLOW 207*cdf0e10cSrcweir { 208*cdf0e10cSrcweir Pos = MAP_APPFONT( 12 , 170 ); 209*cdf0e10cSrcweir Size = MAP_APPFONT( 64 , 8 ); 210*cdf0e10cSrcweir Text [ en-US ] = "Te~xt direction"; 211*cdf0e10cSrcweir }; 212*cdf0e10cSrcweir ListBox LB_FRAMEDIR 213*cdf0e10cSrcweir { 214*cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_FRAMEDIR"; 215*cdf0e10cSrcweir Pos = MAP_APPFONT( 78 , 168 ); 216*cdf0e10cSrcweir Size = MAP_APPFONT( 170 , 50 ); 217*cdf0e10cSrcweir Border = TRUE; 218*cdf0e10cSrcweir DropDown = TRUE; 219*cdf0e10cSrcweir }; 220*cdf0e10cSrcweir ImageList IL_LOCK_BMPS 221*cdf0e10cSrcweir { 222*cdf0e10cSrcweir Prefix = "lo"; 223*cdf0e10cSrcweir MaskColor = IL_LOCK_MCOL ; 224*cdf0e10cSrcweir IdList = 225*cdf0e10cSrcweir { 226*cdf0e10cSrcweir IID_BOTTOMLOCK ; 227*cdf0e10cSrcweir IID_TOPLOCK ; 228*cdf0e10cSrcweir IID_CELLLOCK ; 229*cdf0e10cSrcweir }; 230*cdf0e10cSrcweir IdCount = { 3 ; }; 231*cdf0e10cSrcweir }; 232*cdf0e10cSrcweir ImageList IL_LOCK_BMPS_HC 233*cdf0e10cSrcweir { 234*cdf0e10cSrcweir Prefix = "loh"; 235*cdf0e10cSrcweir MaskColor = IL_LOCK_MCOL ; 236*cdf0e10cSrcweir IdList = 237*cdf0e10cSrcweir { 238*cdf0e10cSrcweir IID_BOTTOMLOCK ; 239*cdf0e10cSrcweir IID_TOPLOCK ; 240*cdf0e10cSrcweir IID_CELLLOCK ; 241*cdf0e10cSrcweir }; 242*cdf0e10cSrcweir IdCount = { 3 ; }; 243*cdf0e10cSrcweir }; 244*cdf0e10cSrcweir String STR_BOTTOMLOCK 245*cdf0e10cSrcweir { 246*cdf0e10cSrcweir Text [ en-US ] = "Text Extension From Lower Cell Border" ; 247*cdf0e10cSrcweir }; 248*cdf0e10cSrcweir String STR_TOPLOCK 249*cdf0e10cSrcweir { 250*cdf0e10cSrcweir Text [ en-US ] = "Text Extension From Upper Cell Border" ; 251*cdf0e10cSrcweir }; 252*cdf0e10cSrcweir String STR_CELLLOCK 253*cdf0e10cSrcweir { 254*cdf0e10cSrcweir Text [ en-US ] = "Text Extension Inside Cell" ; 255*cdf0e10cSrcweir }; 256*cdf0e10cSrcweir}; 257*cdf0e10cSrcweir // ********************************************************************** EOF 258*cdf0e10cSrcweir 259