1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "newtabledlg.hrc" 25cdf0e10cSrcweir#include "cuires.hrc" 26cdf0e10cSrcweir 27cdf0e10cSrcweirModalDialog RID_SVX_NEWTABLE_DLG 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir HelpID = "cui:ModalDialog:RID_SVX_NEWTABLE_DLG"; 30cdf0e10cSrcweir OutputSize = TRUE; 31cdf0e10cSrcweir SVLook = TRUE ; 32cdf0e10cSrcweir Moveable = TRUE ; 33cdf0e10cSrcweir Size = MAP_APPFONT ( 181 , 6+15+15+15+14+6 ) ; 34cdf0e10cSrcweir Text [ en-US ] = "Insert Table" ; 35cdf0e10cSrcweir 36cdf0e10cSrcweir FixedText FT_COLUMNS 37cdf0e10cSrcweir { 38cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 40cdf0e10cSrcweir Text [ en-US ] = "Number of columns:" ; 41cdf0e10cSrcweir }; 42cdf0e10cSrcweir NumericField NF_COLUMNS 43cdf0e10cSrcweir { 44cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVX_NEWTABLE_DLG:NF_COLUMNS"; 45cdf0e10cSrcweir Border = TRUE ; 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 6 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 48cdf0e10cSrcweir TabStop = TRUE ; 49cdf0e10cSrcweir Repeat = TRUE ; 50cdf0e10cSrcweir Spin = TRUE ; 51cdf0e10cSrcweir Minimum = 1 ; 52cdf0e10cSrcweir Maximum = 75 ; 53cdf0e10cSrcweir SpinSize = 1 ; 54cdf0e10cSrcweir StrictFormat = TRUE ; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir FixedText FT_ROWS 57cdf0e10cSrcweir { 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8+15 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 60cdf0e10cSrcweir Text [ en-US ] = "Number of rows:" ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir NumericField NF_ROWS 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVX_NEWTABLE_DLG:NF_ROWS"; 65cdf0e10cSrcweir Border = TRUE ; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 6+15 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 68cdf0e10cSrcweir TabStop = TRUE ; 69cdf0e10cSrcweir Repeat = TRUE ; 70cdf0e10cSrcweir Spin = TRUE ; 71cdf0e10cSrcweir Minimum = 1 ; 72cdf0e10cSrcweir Maximum = 75 ; 73cdf0e10cSrcweir SpinSize = 1 ; 74cdf0e10cSrcweir StrictFormat = TRUE ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir FixedLine FL_SEP 77cdf0e10cSrcweir { 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 6+15+15 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 181 , 12 ) ; 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir HelpButton BTN_HELP 82cdf0e10cSrcweir { 83cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 6+15+15+15 ) ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 85cdf0e10cSrcweir TabStop = TRUE ; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir OKButton BTN_OK 88cdf0e10cSrcweir { 89cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 6+15+15+15 ) ; 90cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 91cdf0e10cSrcweir TabStop = TRUE ; 92cdf0e10cSrcweir DefButton = TRUE ; 93cdf0e10cSrcweir }; 94cdf0e10cSrcweir CancelButton BTN_CANCEL 95cdf0e10cSrcweir { 96cdf0e10cSrcweir Pos = MAP_APPFONT ( 125 , 6+15+15+15 ) ; 97cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 98cdf0e10cSrcweir TabStop = TRUE ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir}; 101cdf0e10cSrcweir 102cdf0e10cSrcweir 103cdf0e10cSrcweir 104cdf0e10cSrcweir 105cdf0e10cSrcweir 106cdf0e10cSrcweir 107cdf0e10cSrcweir 108cdf0e10cSrcweir 109cdf0e10cSrcweir 110cdf0e10cSrcweir 111cdf0e10cSrcweir 112cdf0e10cSrcweir 113cdf0e10cSrcweir 114cdf0e10cSrcweir 115cdf0e10cSrcweir 116cdf0e10cSrcweir 117cdf0e10cSrcweir 118cdf0e10cSrcweir 119cdf0e10cSrcweir 120cdf0e10cSrcweir 121cdf0e10cSrcweir 122cdf0e10cSrcweir 123cdf0e10cSrcweir 124cdf0e10cSrcweir 125cdf0e10cSrcweir 126cdf0e10cSrcweir 127cdf0e10cSrcweir 128cdf0e10cSrcweir 129cdf0e10cSrcweir 130cdf0e10cSrcweir 131cdf0e10cSrcweir 132cdf0e10cSrcweir 133cdf0e10cSrcweir 134cdf0e10cSrcweir 135