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 "globals.hrc" 28*cdf0e10cSrcweir#include "pggrid.hrc" 29*cdf0e10cSrcweir#include "helpid.h" 30*cdf0e10cSrcweirTabPage TP_TEXTGRID_PAGE 31*cdf0e10cSrcweir{ 32*cdf0e10cSrcweir HelpID = HID_TEXTGRID_PAGE; 33*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 34*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 35*cdf0e10cSrcweir Hide = TRUE; 36*cdf0e10cSrcweir FixedLine FL_GRID_TYPE 37*cdf0e10cSrcweir { 38*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 39*cdf0e10cSrcweir Size = MAP_APPFONT ( 164 , 8 ) ; 40*cdf0e10cSrcweir Text [ en-US ] = "Grid" ; 41*cdf0e10cSrcweir }; 42*cdf0e10cSrcweir RadioButton RB_NOGRID 43*cdf0e10cSrcweir { 44*cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_NOGRID"; 45*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 46*cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 10 ) ; 47*cdf0e10cSrcweir Text [ en-US ] = "No grid" ; 48*cdf0e10cSrcweir }; 49*cdf0e10cSrcweir RadioButton RB_LINESGRID 50*cdf0e10cSrcweir { 51*cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_LINESGRID"; 52*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 27 ) ; 53*cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 10 ) ; 54*cdf0e10cSrcweir Text [ en-US ] = "Grid (lines only)" ; 55*cdf0e10cSrcweir }; 56*cdf0e10cSrcweir RadioButton RB_CHARSGRID 57*cdf0e10cSrcweir { 58*cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_CHARSGRID"; 59*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 40 ) ; 60*cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 10 ) ; 61*cdf0e10cSrcweir Text [ en-US ] = "Grid (lines and characters)" ; 62*cdf0e10cSrcweir }; 63*cdf0e10cSrcweir CheckBox CB_SNAPTOCHARS 64*cdf0e10cSrcweir { 65*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_SNAPTOCHARS"; 66*cdf0e10cSrcweir Pos = MAP_APPFONT ( 14 , 53 ) ; 67*cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 10 ) ; 68*cdf0e10cSrcweir Text [ en-US ] = "~Snap to characters" ; 69*cdf0e10cSrcweir Text [ zh-CN ] = "文字对齐字符网格" ; 70*cdf0e10cSrcweir }; 71*cdf0e10cSrcweir Window WN_EXAMPLE 72*cdf0e10cSrcweir { 73*cdf0e10cSrcweir Pos = MAP_APPFONT ( 176 , 6 ) ; 74*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 46 ) ; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir FixedLine FL_LAYOUT 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 69 ) ; 79*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 80*cdf0e10cSrcweir Text [ en-US ] = "Grid layout" ; 81*cdf0e10cSrcweir }; 82*cdf0e10cSrcweir FixedText FT_LINESPERPAGE 83*cdf0e10cSrcweir { 84*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 82 ) ; 85*cdf0e10cSrcweir Size = MAP_APPFONT ( 59 , 8 ) ; 86*cdf0e10cSrcweir Text [ en-US ] = "Lines per page" ; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir NumericField NF_LINESPERPAGE 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_LINESPERPAGE"; 91*cdf0e10cSrcweir Pos = MAP_APPFONT ( 74 , 80 ) ; 92*cdf0e10cSrcweir Size = MAP_APPFONT ( 25 , 12 ) ; 93*cdf0e10cSrcweir Border = TRUE ; 94*cdf0e10cSrcweir TabStop = TRUE ; 95*cdf0e10cSrcweir Left = TRUE ; 96*cdf0e10cSrcweir Repeat = TRUE ; 97*cdf0e10cSrcweir Spin = TRUE ; 98*cdf0e10cSrcweir Minimum = 1 ; 99*cdf0e10cSrcweir Maximum = 154 ; 100*cdf0e10cSrcweir Value = 1 ; 101*cdf0e10cSrcweir First = 1 ; 102*cdf0e10cSrcweir Last = 154 ; 103*cdf0e10cSrcweir SpinSize = 1 ; 104*cdf0e10cSrcweir }; 105*cdf0e10cSrcweir FixedText FT_TEXTSIZE 106*cdf0e10cSrcweir { 107*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 82 ) ; 108*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 109*cdf0e10cSrcweir Text [ en-US ] = "Max. base text size" ; 110*cdf0e10cSrcweir }; 111*cdf0e10cSrcweir MetricField MF_TEXTSIZE 112*cdf0e10cSrcweir { 113*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_TEXTSIZE"; 114*cdf0e10cSrcweir Pos = MAP_APPFONT ( 216 , 80 ) ; 115*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 116*cdf0e10cSrcweir Border = TRUE ; 117*cdf0e10cSrcweir TabStop = TRUE ; 118*cdf0e10cSrcweir Left = TRUE ; 119*cdf0e10cSrcweir Repeat = TRUE ; 120*cdf0e10cSrcweir Spin = TRUE ; 121*cdf0e10cSrcweir Minimum = 100 ; 122*cdf0e10cSrcweir Maximum = 5600 ; 123*cdf0e10cSrcweir DecimalDigits = 2 ; 124*cdf0e10cSrcweir Unit = FUNIT_POINT ; 125*cdf0e10cSrcweir First = 10 ; 126*cdf0e10cSrcweir Last = 5600 ; 127*cdf0e10cSrcweir SpinSize = 5 ; 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir FixedText FT_CHARSPERLINE 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 98 ) ; 132*cdf0e10cSrcweir Size = MAP_APPFONT ( 59 , 8 ) ; 133*cdf0e10cSrcweir Text [ en-US ] = "Characters per line" ; 134*cdf0e10cSrcweir }; 135*cdf0e10cSrcweir NumericField NF_CHARSPERLINE 136*cdf0e10cSrcweir { 137*cdf0e10cSrcweir HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_CHARSPERLINE"; 138*cdf0e10cSrcweir Pos = MAP_APPFONT ( 74 , 96 ) ; 139*cdf0e10cSrcweir Size = MAP_APPFONT ( 25 , 12 ) ; 140*cdf0e10cSrcweir Border = TRUE ; 141*cdf0e10cSrcweir TabStop = TRUE ; 142*cdf0e10cSrcweir Left = TRUE ; 143*cdf0e10cSrcweir Repeat = TRUE ; 144*cdf0e10cSrcweir Spin = TRUE ; 145*cdf0e10cSrcweir Minimum = 1 ; 146*cdf0e10cSrcweir Maximum = 233 ; 147*cdf0e10cSrcweir Value = 1 ; 148*cdf0e10cSrcweir First = 1 ; 149*cdf0e10cSrcweir Last = 233 ; 150*cdf0e10cSrcweir SpinSize = 1 ; 151*cdf0e10cSrcweir }; 152*cdf0e10cSrcweir FixedText FT_CHARWIDTH 153*cdf0e10cSrcweir { 154*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 98 ) ; 155*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 156*cdf0e10cSrcweir Text [ en-US ] = "Character ~width" ; 157*cdf0e10cSrcweir Text [ zh-CN ] = "字符跨度" ; 158*cdf0e10cSrcweir }; 159*cdf0e10cSrcweir MetricField MF_CHARWIDTH 160*cdf0e10cSrcweir { 161*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_CHARWIDTH"; 162*cdf0e10cSrcweir Pos = MAP_APPFONT ( 216 , 96 ) ; 163*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 164*cdf0e10cSrcweir Border = TRUE ; 165*cdf0e10cSrcweir TabStop = TRUE ; 166*cdf0e10cSrcweir Left = TRUE ; 167*cdf0e10cSrcweir Repeat = TRUE ; 168*cdf0e10cSrcweir Spin = TRUE ; 169*cdf0e10cSrcweir Minimum = 100 ; 170*cdf0e10cSrcweir Maximum = 5600 ; 171*cdf0e10cSrcweir DecimalDigits = 2 ; 172*cdf0e10cSrcweir Unit = FUNIT_POINT; 173*cdf0e10cSrcweir First = 0 ; 174*cdf0e10cSrcweir Last = 5600 ; 175*cdf0e10cSrcweir SpinSize = 5 ; 176*cdf0e10cSrcweir }; 177*cdf0e10cSrcweir FixedText FT_RUBYSIZE 178*cdf0e10cSrcweir { 179*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 98 ) ; 180*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 181*cdf0e10cSrcweir Text [ en-US ] = "Max. Ruby text size" ; 182*cdf0e10cSrcweir }; 183*cdf0e10cSrcweir MetricField MF_RUBYSIZE 184*cdf0e10cSrcweir { 185*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_RUBYSIZE"; 186*cdf0e10cSrcweir Pos = MAP_APPFONT ( 216 , 96 ) ; 187*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 188*cdf0e10cSrcweir Border = TRUE ; 189*cdf0e10cSrcweir TabStop = TRUE ; 190*cdf0e10cSrcweir Left = TRUE ; 191*cdf0e10cSrcweir Repeat = TRUE ; 192*cdf0e10cSrcweir Spin = TRUE ; 193*cdf0e10cSrcweir Minimum = 100 ; 194*cdf0e10cSrcweir Maximum = 5600 ; 195*cdf0e10cSrcweir DecimalDigits = 2 ; 196*cdf0e10cSrcweir Unit = FUNIT_POINT; 197*cdf0e10cSrcweir First = 0 ; 198*cdf0e10cSrcweir Last = 5600 ; 199*cdf0e10cSrcweir SpinSize = 5 ; 200*cdf0e10cSrcweir }; 201*cdf0e10cSrcweir CheckBox CB_RUBYBELOW 202*cdf0e10cSrcweir { 203*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_RUBYBELOW"; 204*cdf0e10cSrcweir Pos = MAP_APPFONT ( 14 , 112 ) ; 205*cdf0e10cSrcweir Size = MAP_APPFONT ( 237 , 10 ) ; 206*cdf0e10cSrcweir Text [ en-US ] = "Ruby text below/left from base text" ; 207*cdf0e10cSrcweir }; 208*cdf0e10cSrcweir FixedLine FL_DISPLAY 209*cdf0e10cSrcweir { 210*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 128 ) ; 211*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 212*cdf0e10cSrcweir Text [ en-US ] = "Grid display" ; 213*cdf0e10cSrcweir }; 214*cdf0e10cSrcweir CheckBox CB_DISPLAY 215*cdf0e10cSrcweir { 216*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_DISPLAY"; 217*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 139 ) ; 218*cdf0e10cSrcweir Size = MAP_APPFONT ( 118 , 10 ) ; 219*cdf0e10cSrcweir Text [ en-US ] = "Display grid" ; 220*cdf0e10cSrcweir }; 221*cdf0e10cSrcweir CheckBox CB_PRINT 222*cdf0e10cSrcweir { 223*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_PRINT"; 224*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 154 ) ; 225*cdf0e10cSrcweir Size = MAP_APPFONT ( 112 , 10 ) ; 226*cdf0e10cSrcweir Text [ en-US ] = "Print grid" ; 227*cdf0e10cSrcweir }; 228*cdf0e10cSrcweir FixedText FT_COLOR 229*cdf0e10cSrcweir { 230*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 139 ) ; 231*cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 8 ) ; 232*cdf0e10cSrcweir Text [ en-US ] = "Grid color" ; 233*cdf0e10cSrcweir }; 234*cdf0e10cSrcweir ListBox LB_COLOR 235*cdf0e10cSrcweir { 236*cdf0e10cSrcweir HelpID = "sw:ListBox:TP_TEXTGRID_PAGE:LB_COLOR"; 237*cdf0e10cSrcweir Pos = MAP_APPFONT ( 191 , 137 ) ; 238*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 50 ) ; 239*cdf0e10cSrcweir TabStop = TRUE; 240*cdf0e10cSrcweir Border = TRUE; 241*cdf0e10cSrcweir DropDown = TRUE; 242*cdf0e10cSrcweir }; 243*cdf0e10cSrcweir}; 244*cdf0e10cSrcweir 245