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 25cdf0e10cSrcweir#include <cuires.hrc> 26cdf0e10cSrcweir#include "insrc.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweirModalDialog DLG_INS_ROW_COL 29cdf0e10cSrcweir{ 30cdf0e10cSrcweir HelpID = "cui:ModalDialog:DLG_INS_ROW_COL"; 31cdf0e10cSrcweir OutputSize = TRUE ; 32cdf0e10cSrcweir SVLook = TRUE ; 33cdf0e10cSrcweir Size = MAP_APPFONT ( 136 , 84 ) ; 34cdf0e10cSrcweir Text [ en-US ] = "Insert" ; 35cdf0e10cSrcweir Moveable = TRUE ; 36cdf0e10cSrcweir OKButton BT_OK 37cdf0e10cSrcweir { 38cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 6 ) ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 40cdf0e10cSrcweir TabStop = TRUE ; 41cdf0e10cSrcweir DefButton = TRUE ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir CancelButton BT_CANCEL 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 23 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 47cdf0e10cSrcweir TabStop = TRUE ; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir HelpButton BT_HELP 50cdf0e10cSrcweir { 51cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 43 ) ; 52cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 53cdf0e10cSrcweir TabStop = TRUE ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir RadioButton CB_POS_BEFORE 56cdf0e10cSrcweir { 57cdf0e10cSrcweir HelpID = "cui:RadioButton:DLG_INS_ROW_COL:CB_POS_BEFORE"; 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 49 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 56 , 10 ) ; 60cdf0e10cSrcweir Text [ en-US ] = "~Before" ; 61cdf0e10cSrcweir TabStop = TRUE ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir RadioButton CB_POS_AFTER 64cdf0e10cSrcweir { 65cdf0e10cSrcweir HelpID = "cui:RadioButton:DLG_INS_ROW_COL:CB_POS_AFTER"; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 62 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 56 , 10 ) ; 68cdf0e10cSrcweir Text [ en-US ] = "A~fter" ; 69cdf0e10cSrcweir TabStop = TRUE ; 70cdf0e10cSrcweir Check = TRUE ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir NumericField ED_COUNT 73cdf0e10cSrcweir { 74cdf0e10cSrcweir HelpID = "cui:NumericField:DLG_INS_ROW_COL:ED_COUNT"; 75cdf0e10cSrcweir Border = TRUE ; 76cdf0e10cSrcweir Pos = MAP_APPFONT ( 44 , 14 ) ; 77cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 12 ) ; 78cdf0e10cSrcweir TabStop = TRUE ; 79cdf0e10cSrcweir Left = TRUE ; 80cdf0e10cSrcweir Repeat = TRUE ; 81cdf0e10cSrcweir Spin = TRUE ; 82cdf0e10cSrcweir Minimum = 1 ; 83cdf0e10cSrcweir Maximum = 99 ; 84cdf0e10cSrcweir Value = 1 ; 85cdf0e10cSrcweir First = 1 ; 86cdf0e10cSrcweir Last = 5 ; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir FixedLine FL_INS 89cdf0e10cSrcweir { 90cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 91cdf0e10cSrcweir Size = MAP_APPFONT ( 68 , 8 ) ; 92cdf0e10cSrcweir Text [ en-US ] = "Insert" ; 93cdf0e10cSrcweir }; 94cdf0e10cSrcweir FixedLine FL_POS 95cdf0e10cSrcweir { 96cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 38 ) ; 97cdf0e10cSrcweir Size = MAP_APPFONT ( 68 , 8 ) ; 98cdf0e10cSrcweir Text [ en-US ] = "Position"; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir FixedText FT_COUNT 101cdf0e10cSrcweir { 102cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 ) ; 103cdf0e10cSrcweir Size = MAP_APPFONT ( 30 , 8 ) ; 104cdf0e10cSrcweir Text [ en-US ] = "~Number" ; 105cdf0e10cSrcweir Left = TRUE ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir String STR_ROW 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Text [ en-US ] = " Rows" ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir String STR_COL 112cdf0e10cSrcweir { 113cdf0e10cSrcweir Text [ en-US ] = " Columns" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir}; 116