1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "table.hrc" 25#include "rowht.hrc" 26#include "cmdid.h" 27#include "helpid.h" 28ModalDialog DLG_ROW_HEIGHT 29{ 30 HelpID = CMD_FN_TABLE_SET_ROW_HEIGHT ; 31 OutputSize = TRUE ; 32 SVLook = TRUE ; 33 Size = MAP_APPFONT ( 157, 60 ) ; 34 Text [ en-US ] = "Row Height" ; 35 Moveable = TRUE ; 36 OKButton BT_OK 37 { 38 Pos = MAP_APPFONT ( 101, 6 ) ; 39 Size = MAP_APPFONT ( 50, 14 ) ; 40 TabStop = TRUE ; 41 DefButton = TRUE ; 42 }; 43 CancelButton BT_CANCEL 44 { 45 Pos = MAP_APPFONT ( 101, 23 ) ; 46 Size = MAP_APPFONT ( 50, 14 ) ; 47 TabStop = TRUE ; 48 }; 49 HelpButton BT_HELP 50 { 51 Pos = MAP_APPFONT ( 101, 43 ) ; 52 Size = MAP_APPFONT ( 50, 14 ) ; 53 TabStop = TRUE ; 54 }; 55 MetricField ED_HEIGHT 56 { 57 HelpID = "sw:MetricField:DLG_ROW_HEIGHT:ED_HEIGHT" ; 58 Border = TRUE ; 59 Pos = MAP_APPFONT ( 12, 16 ) ; 60 Size = MAP_APPFONT ( 38, 12 ) ; 61 TabStop = TRUE ; 62 Left = TRUE ; 63 Repeat = TRUE ; 64 Spin = TRUE ; 65 Minimum = 5 ; 66 Maximum = 990 ; 67 DecimalDigits = 1 ; 68 Value = 10 ; 69 Unit = FUNIT_CM ; 70 First = 100 ; 71 Last = 9999 ; 72 }; 73 CheckBox CB_AUTOHEIGHT 74 { 75 HelpID = "sw:CheckBox:DLG_ROW_HEIGHT:CB_AUTOHEIGHT" ; 76 Pos = MAP_APPFONT ( 12, 34 ) ; 77 Size = MAP_APPFONT ( 80, 10 ) ; 78 TabStop = TRUE ; 79 Text [ en-US ] = "~Fit to size" ; 80 }; 81 FixedLine FL_HEIGHT 82 { 83 Pos = MAP_APPFONT ( 6, 3 ) ; 84 Size = MAP_APPFONT ( 89, 8 ) ; 85 Text [ en-US ] = "Height" ; 86 }; 87}; 88 89// ********************************************************************** EOF 90