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 23 24#include "chrdlg.hrc" 25#include "break.hrc" 26#include "cmdid.h" 27#include "helpid.h" 28// #define DLG_BREAK 256 29ModalDialog DLG_BREAK 30{ 31 HelpID = CMD_FN_INSERT_BREAK_DLG ; 32 OutputSize = TRUE ; 33 SVLook = TRUE ; 34 Size = MAP_APPFONT ( 161, 114 ) ; 35 Text [ en-US ] = "Insert Break" ; 36 Moveable = TRUE ; 37 OKButton BT_OK 38 { 39 Pos = MAP_APPFONT ( 105, 6 ) ; 40 Size = MAP_APPFONT ( 50, 14 ) ; 41 TabStop = TRUE ; 42 Group = TRUE ; 43 DefButton = TRUE ; 44 }; 45 CancelButton BT_CANCEL 46 { 47 Pos = MAP_APPFONT ( 105, 23 ) ; 48 Size = MAP_APPFONT ( 50, 14 ) ; 49 TabStop = TRUE ; 50 Group = TRUE ; 51 }; 52 HelpButton BT_HELP 53 { 54 Pos = MAP_APPFONT ( 105, 43 ) ; 55 Size = MAP_APPFONT ( 50, 14 ) ; 56 TabStop = TRUE ; 57 Group = TRUE ; 58 }; 59 RadioButton RB_LINE 60 { 61 HelpID = "sw:RadioButton:DLG_BREAK:RB_LINE" ; 62 Pos = MAP_APPFONT ( 12, 15 ) ; 63 Size = MAP_APPFONT ( 63, 10 ) ; 64 Text [ en-US ] = "~Line break" ; 65 TabStop = TRUE ; 66 Group = TRUE ; 67 }; 68 RadioButton RB_PAGE 69 { 70 HelpID = "sw:RadioButton:DLG_BREAK:RB_PAGE" ; 71 Pos = MAP_APPFONT ( 12, 39 ) ; 72 Size = MAP_APPFONT ( 63, 10 ) ; 73 Text [ en-US ] = "~Page break" ; 74 TabStop = TRUE ; 75 Check = TRUE ; 76 }; 77 RadioButton RB_COL 78 { 79 HelpID = "sw:RadioButton:DLG_BREAK:RB_COL" ; 80 Pos = MAP_APPFONT ( 12, 27 ) ; 81 Size = MAP_APPFONT ( 69, 10 ) ; 82 Text [ en-US ] = "~Column break" ; 83 TabStop = TRUE ; 84 }; 85 FixedLine FL_BREAK 86 { 87 Pos = MAP_APPFONT ( 6, 3 ) ; 88 Size = MAP_APPFONT ( 93, 8 ) ; 89 Text [ en-US ] = "Type" ; 90 }; 91 FixedText FT_COLL 92 { 93 Pos = MAP_APPFONT ( 12, 51 ) ; 94 Size = MAP_APPFONT ( 69, 8 ) ; 95 Text [ en-US ] = "~Style" ; 96 Group = TRUE ; 97 Left = TRUE ; 98 }; 99 ListBox LB_COLL 100 { 101 HelpID = "sw:ListBox:DLG_BREAK:LB_COLL" ; 102 Pos = MAP_APPFONT ( 12, 62 ) ; 103 Size = MAP_APPFONT ( 75, 50 ) ; 104 TabStop = TRUE ; 105 DropDown = TRUE ; 106 CurPos = 0 ; 107 StringList [ en-US ] = 108 { 109 < "[None]" ; > ; 110 }; 111 }; 112 CheckBox CB_PAGENUM 113 { 114 HelpID = "sw:CheckBox:DLG_BREAK:CB_PAGENUM" ; 115 Pos = MAP_APPFONT ( 12, 79 ) ; 116 Size = MAP_APPFONT ( 84, 10 ) ; 117 Text [ en-US ] = "Change page ~number" ; 118 TabStop = TRUE ; 119 }; 120 NumericField ED_PAGENUM 121 { 122 HelpID = "sw:NumericField:DLG_BREAK:ED_PAGENUM" ; 123 Border = TRUE ; 124 Pos = MAP_APPFONT ( 12, 94 ) ; 125 Size = MAP_APPFONT ( 31, 12 ) ; 126 TabStop = TRUE ; 127 Left = TRUE ; 128 Repeat = TRUE ; 129 Spin = TRUE ; 130 Minimum = 1 ; 131 Maximum = 9999 ; 132 Value = 1 ; 133 First = 1 ; 134 Last = 9999 ; 135 }; 136}; 137 138// ********************************************************************** EOF 139