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 /* ### ACHTUNG: Neuer Text in Resource? Umbruch einf�gen : Umbruch einf�gen */ 36 Text [ en-US ] = "Insert Break" ; 37 Moveable = TRUE ; 38 OKButton BT_OK 39 { 40 Pos = MAP_APPFONT ( 105 , 6 ) ; 41 Size = MAP_APPFONT ( 50 , 14 ) ; 42 TabStop = TRUE ; 43 Group = TRUE ; 44 DefButton = TRUE ; 45 }; 46 CancelButton BT_CANCEL 47 { 48 Pos = MAP_APPFONT ( 105 , 23 ) ; 49 Size = MAP_APPFONT ( 50 , 14 ) ; 50 TabStop = TRUE ; 51 Group = TRUE ; 52 }; 53 HelpButton BT_HELP 54 { 55 Pos = MAP_APPFONT ( 105 , 43 ) ; 56 Size = MAP_APPFONT ( 50 , 14 ) ; 57 TabStop = TRUE ; 58 Group = TRUE ; 59 }; 60 RadioButton RB_LINE 61 { 62 HelpID = "sw:RadioButton:DLG_BREAK:RB_LINE"; 63 Pos = MAP_APPFONT ( 12 , 15 ) ; 64 Size = MAP_APPFONT ( 63 , 10 ) ; 65 Text [ en-US ] = "~Line break" ; 66 TabStop = TRUE ; 67 Group = TRUE ; 68 }; 69 RadioButton RB_PAGE 70 { 71 HelpID = "sw:RadioButton:DLG_BREAK:RB_PAGE"; 72 Pos = MAP_APPFONT ( 12 , 39 ) ; 73 Size = MAP_APPFONT ( 63 , 10 ) ; 74 Text [ en-US ] = "~Page break" ; 75 TabStop = TRUE ; 76 Check = TRUE ; 77 }; 78 RadioButton RB_COL 79 { 80 HelpID = "sw:RadioButton:DLG_BREAK:RB_COL"; 81 Pos = MAP_APPFONT ( 12 , 27 ) ; 82 Size = MAP_APPFONT ( 69 , 10 ) ; 83 Text [ en-US ] = "~Column break" ; 84 TabStop = TRUE ; 85 }; 86 FixedLine FL_BREAK 87 { 88 Pos = MAP_APPFONT ( 6 , 3 ) ; 89 Size = MAP_APPFONT ( 93 , 8 ) ; 90 Text [ en-US ] = "Type" ; 91 }; 92 FixedText FT_COLL 93 { 94 Pos = MAP_APPFONT ( 12 , 51 ) ; 95 Size = MAP_APPFONT ( 69 , 8 ) ; 96 Text [ en-US ] = "~Style" ; 97 Group = TRUE ; 98 Left = TRUE ; 99 }; 100 ListBox LB_COLL 101 { 102 HelpID = "sw:ListBox:DLG_BREAK:LB_COLL"; 103 Pos = MAP_APPFONT ( 12 , 62 ) ; 104 Size = MAP_APPFONT ( 75 , 50 ) ; 105 TabStop = TRUE ; 106 DropDown = TRUE ; 107 CurPos = 0 ; 108 StringList [ en-US ] = 109 { 110 < "[None]" ; > ; 111 }; 112 }; 113 CheckBox CB_PAGENUM 114 { 115 HelpID = "sw:CheckBox:DLG_BREAK:CB_PAGENUM"; 116 Pos = MAP_APPFONT ( 12 , 79 ) ; 117 Size = MAP_APPFONT ( 84 , 10 ) ; 118 /* ### ACHTUNG: Neuer Text in Resource? Seitennummer ~�ndern : Seitennummer ~�ndern */ 119 Text [ en-US ] = "Change page ~number" ; 120 TabStop = TRUE ; 121 }; 122 NumericField ED_PAGENUM 123 { 124 HelpID = "sw:NumericField:DLG_BREAK:ED_PAGENUM"; 125 Border = TRUE ; 126 Pos = MAP_APPFONT ( 12 , 94 ) ; 127 Size = MAP_APPFONT ( 31 , 12 ) ; 128 TabStop = TRUE ; 129 Left = TRUE ; 130 Repeat = TRUE ; 131 Spin = TRUE ; 132 Minimum = 1 ; 133 Maximum = 9999 ; 134 Value = 1 ; 135 First = 1 ; 136 Last = 9999 ; 137 }; 138}; 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175