/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #include "labfmt.hrc" #include "helpid.h" // TP_LAB_FMT --------------------------------------------------------------- TabPage TP_LAB_FMT { HelpID = HID_LAB_FMT ; Size = MAP_APPFONT ( 260 , 185 ) ; Hide = TRUE ; FixedText FI_MAKE { Pos = MAP_APPFONT ( 108 , 6 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; }; FixedText FI_TYPE { Pos = MAP_APPFONT ( 162 , 6 ) ; Size = MAP_APPFONT ( 92 , 8 ) ; }; Window WIN_PREVIEW { Border = TRUE ; Pos = MAP_APPFONT ( 108 , 17 ) ; Size = MAP_APPFONT ( 146 , 161 ) ; }; FixedText TXT_HDIST { Pos = MAP_APPFONT ( 6 , 6 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "Hori~zontal pitch" ; Group = TRUE ; Left = TRUE ; }; MetricField FLD_HDIST { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HDIST"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 4 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; SpinSize = 10 ; }; FixedText TXT_VDIST { Pos = MAP_APPFONT ( 6 , 22 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "~Vertical pitch" ; Left = TRUE ; }; MetricField FLD_VDIST { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_VDIST"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 20 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; SpinSize = 10 ; }; FixedText TXT_WIDTH { Pos = MAP_APPFONT ( 6 , 38 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "~Width" ; Left = TRUE ; }; MetricField FLD_WIDTH { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_WIDTH"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 36 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; SpinSize = 10 ; }; FixedText TXT_HEIGHT { Pos = MAP_APPFONT ( 6 , 54 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "~Height" ; Left = TRUE ; }; MetricField FLD_HEIGHT { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HEIGHT"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 52 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; SpinSize = 10 ; }; FixedText TXT_LEFT { Pos = MAP_APPFONT ( 6 , 70 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "~Left margin" ; Left = TRUE ; }; MetricField FLD_LEFT { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_LEFT"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 68 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; Minimum = 0 ; First = 0 ; SpinSize = 10 ; }; FixedText TXT_UPPER { Pos = MAP_APPFONT ( 6 , 86 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "~Top margin" ; Left = TRUE ; }; MetricField FLD_UPPER { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_UPPER"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 84 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; Minimum = 0 ; First = 0 ; SpinSize = 10 ; }; FixedText TXT_COLUMNS { Pos = MAP_APPFONT ( 6 , 102 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "~Columns" ; Left = TRUE ; }; NumericField FLD_COLUMNS { HelpID = "sw:NumericField:TP_LAB_FMT:FLD_COLUMNS"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 100 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; First = 1 ; }; FixedText TXT_ROWS { Pos = MAP_APPFONT ( 6 , 118 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "R~ows" ; Left = TRUE ; }; NumericField FLD_ROWS { HelpID = "sw:NumericField:TP_LAB_FMT:FLD_ROWS"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 116 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; First = 1 ; }; FixedText TXT_PWIDTH { Pos = MAP_APPFONT ( 6 , 134 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "P~age Width" ; Left = TRUE ; }; MetricField FLD_PWIDTH { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_PWIDTH"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 132 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; SpinSize = 10 ; }; FixedText TXT_PHEIGHT { Pos = MAP_APPFONT ( 6 , 150 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Text [ en-US ] = "Pa~ge Height" ; Left = TRUE ; }; MetricField FLD_PHEIGHT { HelpID = "sw:MetricField:TP_LAB_FMT:FLD_PHEIGHT"; Border = TRUE ; Pos = MAP_APPFONT ( 60 , 148 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Repeat = TRUE ; SpinSize = 10 ; }; PushButton PB_SAVE { HelpID = "sw:PushButton:TP_LAB_FMT:PB_SAVE"; Pos = MAP_APPFONT ( 50 , 167 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Save..."; }; }; // String ******************************************************************* String STR_HDIST { Text [ en-US ] = "H. Pitch" ; }; String STR_VDIST { Text [ en-US ] = "V. Pitch" ; }; String STR_WIDTH { Text [ en-US ] = "Width" ; }; String STR_HEIGHT { Text [ en-US ] = "Height" ; }; String STR_LEFT { Text [ en-US ] = "Left margin" ; }; String STR_UPPER { Text [ en-US ] = "Top margin" ; }; String STR_COLS { Text [ en-US ] = "Columns" ; }; String STR_ROWS { Text [ en-US ] = "Rows" ; }; String STR_PWIDTH { Text [ en-US ] = "Page Width" ; }; String STR_PHEIGHT { Text [ en-US ] = "Page Height" ; }; ModalDialog DLG_SAVE_LABEL { HelpID = HID_SAVE_LABEL_DLG ; OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 230 , 60 ) ; Moveable = TRUE ; FixedText FT_MAKE { Pos = MAP_APPFONT ( 12 , 16 ) ; Size = MAP_APPFONT ( 50 , 10 ) ; Text [ en-US ] = "Brand" ; Left = TRUE ; }; ComboBox CB_MAKE { HelpID = "sw:ComboBox:DLG_SAVE_LABEL:CB_MAKE"; Pos = MAP_APPFONT ( 65 , 15 ) ; Size = MAP_APPFONT ( 100 , 50 ) ; Border = TRUE; DropDown = TRUE; }; FixedText FT_TYPE { Pos = MAP_APPFONT ( 12 , 31 ) ; Size = MAP_APPFONT ( 50 , 10 ) ; Text [ en-US ] = "T~ype" ; Left = TRUE ; }; Edit ED_TYPE { HelpID = "sw:Edit:DLG_SAVE_LABEL:ED_TYPE"; Pos = MAP_APPFONT ( 65 , 30 ) ; Size = MAP_APPFONT ( 100 , 12 ) ; Border = TRUE; }; FixedLine FL_OPTIONS { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 165 , 8 ) ; Text [ en-US ] = "Options"; }; OKButton PB_OK { Pos = MAP_APPFONT ( 174 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; Group = TRUE ; DefButton = TRUE ; }; CancelButton PB_CANCEL { Pos = MAP_APPFONT ( 174 , 23 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; Group = TRUE ; }; HelpButton PB_HELP { Pos = MAP_APPFONT ( 174 , 43 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; Group = TRUE ; }; QueryBox MB_QUERY { Buttons = WB_YES_NO ; DefButton = WB_DEF_CANCEL ; Message [ en-US ] = "The label \"%1 / %2\" already exists.\nDo you want to overwrite it?"; }; Text [ en-US ] = "Save Label Format"; };