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 10cdf0e10cSrcweir * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <cuires.hrc> 25cdf0e10cSrcweir#include "splitcelldlg.hrc" 26cdf0e10cSrcweir 27cdf0e10cSrcweirModalDialog RID_SVX_SPLITCELLDLG 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir HelpID = "cui:ModalDialog:RID_SVX_SPLITCELLDLG"; 30cdf0e10cSrcweir OutputSize = TRUE ; 31cdf0e10cSrcweir SVLook = TRUE ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( 169 , 108 ) ; 33cdf0e10cSrcweir Text [ en-US ] = "Split Cells" ; 34cdf0e10cSrcweir Moveable = TRUE ; 35cdf0e10cSrcweir 36cdf0e10cSrcweir OKButton BT_OK 37cdf0e10cSrcweir { 38cdf0e10cSrcweir Pos = MAP_APPFONT ( 115 , 6 ) ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 40cdf0e10cSrcweir TabStop = TRUE ; 41cdf0e10cSrcweir DefButton = TRUE ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir CancelButton BT_CANCEL 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 115 , 23 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 47cdf0e10cSrcweir TabStop = TRUE ; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir HelpButton BT_HELP 50cdf0e10cSrcweir { 51cdf0e10cSrcweir Pos = MAP_APPFONT ( 115 , 43 ) ; 52cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 53cdf0e10cSrcweir TabStop = TRUE ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir FixedText FT_COUNT 56cdf0e10cSrcweir { 57cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 ) ; 58cdf0e10cSrcweir Size = MAP_APPFONT ( 67 , 8 ) ; 59cdf0e10cSrcweir Text [ en-US ] = "~Split cell into" ; 60cdf0e10cSrcweir Left = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir NumericField ED_COUNT 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVX_SPLITCELLDLG:ED_COUNT"; 65cdf0e10cSrcweir Border = TRUE ; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 82 , 14 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 21 , 12 ) ; 68cdf0e10cSrcweir TabStop = TRUE ; 69cdf0e10cSrcweir Left = TRUE ; 70cdf0e10cSrcweir Right = TRUE ; 71cdf0e10cSrcweir Repeat = TRUE ; 72cdf0e10cSrcweir Spin = TRUE ; 73cdf0e10cSrcweir Minimum = 2 ; 74cdf0e10cSrcweir Maximum = 20 ; 75cdf0e10cSrcweir First = 2 ; 76cdf0e10cSrcweir Last = 5 ; 77cdf0e10cSrcweir }; 78cdf0e10cSrcweir FixedLine FL_COUNT 79cdf0e10cSrcweir { 80cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 81cdf0e10cSrcweir Size = MAP_APPFONT ( 103 , 8 ) ; 82cdf0e10cSrcweir Text [ en-US ] = "Split" ; 83cdf0e10cSrcweir }; 84cdf0e10cSrcweir ImageRadioButton RB_HORZ 85cdf0e10cSrcweir { 86cdf0e10cSrcweir HelpID = "cui:ImageRadioButton:RID_SVX_SPLITCELLDLG:RB_HORZ"; 87cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 47 ) ; 88cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 18 ) ; 89cdf0e10cSrcweir Group = TRUE; 90cdf0e10cSrcweir Text [ en-US ] = "H~orizontally" ; 91cdf0e10cSrcweir RadioButtonImage = Image 92cdf0e10cSrcweir { 93cdf0e10cSrcweir ImageBitmap = Bitmap { File = "zetlhor2.bmp" ; }; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir TabStop = TRUE ; 96cdf0e10cSrcweir Check = TRUE ; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir CheckBox CB_PROP 99cdf0e10cSrcweir { 100cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVX_SPLITCELLDLG:CB_PROP"; 101cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 68 ) ; 102cdf0e10cSrcweir Size = MAP_APPFONT ( 91 , 12 ) ; 103cdf0e10cSrcweir Text [ en-US ] = "~Into equal proportions"; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir Image BMP_SPLIT_VERT 106cdf0e10cSrcweir { 107cdf0e10cSrcweir ImageBitmap = Bitmap { File = "zetlver2_h.bmp" ; }; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir Image BMP_SPLIT_HORZ 110cdf0e10cSrcweir { 111cdf0e10cSrcweir ImageBitmap = Bitmap { File = "zetlhor2_h.bmp" ; }; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir ImageRadioButton RB_VERT 114cdf0e10cSrcweir { 115cdf0e10cSrcweir HelpID = "cui:ImageRadioButton:RID_SVX_SPLITCELLDLG:RB_VERT"; 116cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 84 ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 18 ) ; 118cdf0e10cSrcweir Text [ en-US ] = "~Vertically" ; 119cdf0e10cSrcweir RadioButtonImage = Image 120cdf0e10cSrcweir { 121cdf0e10cSrcweir ImageBitmap = Bitmap { File = "zetlver2.bmp" ; }; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir TabStop = TRUE ; 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir FixedLine FL_DIR 126cdf0e10cSrcweir { 127cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 36 ) ; 128cdf0e10cSrcweir Size = MAP_APPFONT ( 103 , 8 ) ; 129cdf0e10cSrcweir Text [ en-US ] = "Direction" ; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir}; 132cdf0e10cSrcweir 133cdf0e10cSrcweir 134