/************************************************************************* * * 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 "table.hrc" #include "colwd.hrc" #include "cmdid.h" #include "helpid.h" // #define DLG_COL_WIDTH 256 ModalDialog DLG_COL_WIDTH { HelpID = CMD_FN_TABLE_SET_COL_WIDTH ; OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 159 , 60 ) ; Text [ en-US ] = "Column Width" ; Moveable = TRUE ; OKButton BT_OK { Pos = MAP_APPFONT ( 104 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BT_CANCEL { Pos = MAP_APPFONT ( 104 , 23 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; HelpButton BT_HELP { Pos = MAP_APPFONT ( 104 , 43 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; FixedText FT_WIDTH { Pos = MAP_APPFONT ( 12 , 31 ) ; Size = MAP_APPFONT ( 35 , 8 ) ; Text [ en-US ] = "~Width" ; Left = TRUE ; }; MetricField ED_WIDTH { HelpID = "sw:MetricField:DLG_COL_WIDTH:ED_WIDTH"; Border = TRUE ; Pos = MAP_APPFONT ( 51 , 30 ) ; Size = MAP_APPFONT ( 38 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 50 ; Maximum = 9999 ; DecimalDigits = 2 ; SpinSize = 10 ; Value = 10 ; Unit = FUNIT_CM ; First = 100 ; Last = 9999 ; }; FixedLine FL_WIDTH { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 91 , 8 ) ; Text [ en-US ] = "Width" ; }; FixedText FT_COL { Pos = MAP_APPFONT ( 12 , 16 ) ; Size = MAP_APPFONT ( 35 , 8 ) ; Text [ en-US ] = "~Column" ; Left = TRUE ; }; NumericField ED_COL { HelpID = "sw:NumericField:DLG_COL_WIDTH:ED_COL"; Border = TRUE ; Pos = MAP_APPFONT ( 51 , 14 ) ; Size = MAP_APPFONT ( 38 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 99 ; Repeat = TRUE ; }; };