/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "table.hrc" #include "instable.hrc" #include "cmdid.h" #include "helpid.h" // #define DLG_INSERT_TABLE 256 ModalDialog DLG_INSERT_TABLE { HelpID = CMD_FN_INSERT_TABLE ; OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 280 , 166 ) ; Text [ en-US ] = "Insert Table" ; Moveable = TRUE ; Edit ED_NAME { HelpID = "sw:Edit:DLG_INSERT_TABLE:ED_NAME"; Border = TRUE ; Pos = MAP_APPFONT ( 53 , 6 ) ; Size = MAP_APPFONT ( 158, 12 ) ; TabStop = TRUE ; }; FixedText FT_NAME { Pos = MAP_APPFONT ( 6 , 8 ) ; Size = MAP_APPFONT ( 45, 8 ) ; Text [ en-US ] = "Name"; }; FixedText FT_COL { Pos = MAP_APPFONT ( 12 , 34 ) ; Size = MAP_APPFONT ( 39 , 8 ) ; Text [ en-US ] = "~Columns" ; Left = TRUE ; }; NumericField ED_COL { HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_COL"; Border = TRUE ; Pos = MAP_APPFONT ( 53 , 32 ) ; Size = MAP_APPFONT ( 28 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 99 ; Value = 2 ; First = 1 ; Last = 99 ; }; FixedText FT_ROW { Pos = MAP_APPFONT ( 12 , 50 ) ; Size = MAP_APPFONT ( 39 , 8 ) ; Text [ en-US ] = "~Rows" ; Left = TRUE ; }; NumericField ED_ROW { HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_ROW"; Border = TRUE ; Pos = MAP_APPFONT ( 53 , 48 ) ; Size = MAP_APPFONT ( 28 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 99 ; Value = 2 ; First = 1 ; Last = 99 ; }; FixedLine FL_TABLE { Pos = MAP_APPFONT ( 6 , 21 ) ; Size = MAP_APPFONT ( 212 , 8 ) ; Text [ en-US ] = "Size"; }; CheckBox CB_HEADER { HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_HEADER"; Pos = MAP_APPFONT ( 12 , 74 ) ; Size = MAP_APPFONT (113 , 10 ) ; TabStop = TRUE ; Text [ en-US ] = "Heading"; }; CheckBox CB_REPEAT_HEADER { HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_REPEAT_HEADER"; Pos = MAP_APPFONT ( 21 , 88 ) ; Size = MAP_APPFONT ( 104 , 10 ) ; TabStop = TRUE ; Text [ en-US ] = "Repeat heading"; }; FixedText FT_REPEAT_HEADER { Pos = MAP_APPFONT ( 30 , 105 ) ; Size = MAP_APPFONT ( 95 , 10 ) ; Text [ en-US ] = "The first %POSITION_OF_CONTROL rows" ; }; NumericField NF_REPEAT_HEADER { HelpID = "sw:NumericField:DLG_INSERT_TABLE:NF_REPEAT_HEADER"; Border = TRUE ; Pos = MAP_APPFONT ( 130 , 104 ) ; Size = MAP_APPFONT ( 28 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 1000 ; First = 1 ; }; Window WIN_REPEAT_HEADER { Pos = MAP_APPFONT ( 30 , 102 ) ; Size = MAP_APPFONT ( 2 , 1 ) ; }; CheckBox CB_DONT_SPLIT { HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_DONT_SPLIT"; Pos = MAP_APPFONT ( 12 , 118 ) ; Size = MAP_APPFONT ( 113 , 10 ) ; Text [ en-US ] = "Don't split table"; TabStop = TRUE ; }; CheckBox CB_BORDER { HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_BORDER"; Pos = MAP_APPFONT ( 12 , 132 ) ; Size = MAP_APPFONT ( 113 , 10 ) ; TabStop = TRUE ; Text [ en-US ] = "Border"; }; PushButton BT_AUTOFORMAT { HelpID = "sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT"; Pos = MAP_APPFONT ( 12 , 146 ) ; Size = MAP_APPFONT ( 86 , 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Auto~Format..." ; }; FixedLine FL_OPTIONS { Pos = MAP_APPFONT ( 6 , 63 ) ; Size = MAP_APPFONT ( 212 , 8 ) ; Text [ en-US ] = "Options"; }; OKButton BT_OK { Pos = MAP_APPFONT ( 224 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BT_CANCEL { Pos = MAP_APPFONT ( 224 , 23 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; HelpButton BT_HELP { Pos = MAP_APPFONT ( 224 , 43 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; };