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#include "table.hrc" 23#include "rowht.hrc" 24#include "cmdid.h" 25#include "helpid.h" 26ModalDialog DLG_ROW_HEIGHT 27{ 28 HelpID = CMD_FN_TABLE_SET_ROW_HEIGHT ; 29 OutputSize = TRUE ; 30 SVLook = TRUE ; 31 Size = MAP_APPFONT ( 157, 60 ) ; 32 Text [ en-US ] = "Row Height" ; 33 Moveable = TRUE ; 34 OKButton BT_OK 35 { 36 Pos = MAP_APPFONT ( 101, 6 ) ; 37 Size = MAP_APPFONT ( 50, 14 ) ; 38 TabStop = TRUE ; 39 DefButton = TRUE ; 40 }; 41 CancelButton BT_CANCEL 42 { 43 Pos = MAP_APPFONT ( 101, 23 ) ; 44 Size = MAP_APPFONT ( 50, 14 ) ; 45 TabStop = TRUE ; 46 }; 47 HelpButton BT_HELP 48 { 49 Pos = MAP_APPFONT ( 101, 43 ) ; 50 Size = MAP_APPFONT ( 50, 14 ) ; 51 TabStop = TRUE ; 52 }; 53 MetricField ED_HEIGHT 54 { 55 HelpID = "sw:MetricField:DLG_ROW_HEIGHT:ED_HEIGHT" ; 56 Border = TRUE ; 57 Pos = MAP_APPFONT ( 12, 16 ) ; 58 Size = MAP_APPFONT ( 38, 12 ) ; 59 TabStop = TRUE ; 60 Left = TRUE ; 61 Repeat = TRUE ; 62 Spin = TRUE ; 63 Minimum = 5 ; 64 Maximum = 990 ; 65 DecimalDigits = 1 ; 66 Value = 10 ; 67 Unit = FUNIT_CM ; 68 First = 100 ; 69 Last = 9999 ; 70 }; 71 CheckBox CB_AUTOHEIGHT 72 { 73 HelpID = "sw:CheckBox:DLG_ROW_HEIGHT:CB_AUTOHEIGHT" ; 74 Pos = MAP_APPFONT ( 12, 34 ) ; 75 Size = MAP_APPFONT ( 80, 10 ) ; 76 TabStop = TRUE ; 77 Text [ en-US ] = "~Fit to size" ; 78 }; 79 FixedLine FL_HEIGHT 80 { 81 Pos = MAP_APPFONT ( 6, 3 ) ; 82 Size = MAP_APPFONT ( 89, 8 ) ; 83 Text [ en-US ] = "Height" ; 84 }; 85}; 86 87// ********************************************************************** EOF 88