18660f102SAndrew Rist/************************************************************** 2*de272532Smseidel * 38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 48660f102SAndrew Rist * or more contributor license agreements. See the NOTICE file 58660f102SAndrew Rist * distributed with this work for additional information 68660f102SAndrew Rist * regarding copyright ownership. The ASF licenses this file 78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the 88660f102SAndrew Rist * "License"); you may not use this file except in compliance 98660f102SAndrew Rist * with the License. You may obtain a copy of the License at 10*de272532Smseidel * 118660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*de272532Smseidel * 138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing, 148660f102SAndrew Rist * software distributed under the License is distributed on an 158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 168660f102SAndrew Rist * KIND, either express or implied. See the License for the 178660f102SAndrew Rist * specific language governing permissions and limitations 188660f102SAndrew Rist * under the License. 19*de272532Smseidel * 208660f102SAndrew Rist *************************************************************/ 218660f102SAndrew Rist 228660f102SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "chrdlg.hrc" 25cdf0e10cSrcweir#include "break.hrc" 26cdf0e10cSrcweir#include "cmdid.h" 27cdf0e10cSrcweir#include "helpid.h" 28*de272532Smseidel// #define DLG_BREAK 256 29cdf0e10cSrcweirModalDialog DLG_BREAK 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = CMD_FN_INSERT_BREAK_DLG ; 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir SVLook = TRUE ; 34*de272532Smseidel Size = MAP_APPFONT ( 161, 114 ) ; 35cdf0e10cSrcweir Text [ en-US ] = "Insert Break" ; 36cdf0e10cSrcweir Moveable = TRUE ; 37cdf0e10cSrcweir OKButton BT_OK 38cdf0e10cSrcweir { 39*de272532Smseidel Pos = MAP_APPFONT ( 105, 6 ) ; 40*de272532Smseidel Size = MAP_APPFONT ( 50, 14 ) ; 41cdf0e10cSrcweir TabStop = TRUE ; 42cdf0e10cSrcweir Group = TRUE ; 43cdf0e10cSrcweir DefButton = TRUE ; 44cdf0e10cSrcweir }; 45cdf0e10cSrcweir CancelButton BT_CANCEL 46cdf0e10cSrcweir { 47*de272532Smseidel Pos = MAP_APPFONT ( 105, 23 ) ; 48*de272532Smseidel Size = MAP_APPFONT ( 50, 14 ) ; 49cdf0e10cSrcweir TabStop = TRUE ; 50cdf0e10cSrcweir Group = TRUE ; 51cdf0e10cSrcweir }; 52cdf0e10cSrcweir HelpButton BT_HELP 53cdf0e10cSrcweir { 54*de272532Smseidel Pos = MAP_APPFONT ( 105, 43 ) ; 55*de272532Smseidel Size = MAP_APPFONT ( 50, 14 ) ; 56cdf0e10cSrcweir TabStop = TRUE ; 57cdf0e10cSrcweir Group = TRUE ; 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir RadioButton RB_LINE 60cdf0e10cSrcweir { 61*de272532Smseidel HelpID = "sw:RadioButton:DLG_BREAK:RB_LINE" ; 62*de272532Smseidel Pos = MAP_APPFONT ( 12, 15 ) ; 63*de272532Smseidel Size = MAP_APPFONT ( 63, 10 ) ; 64cdf0e10cSrcweir Text [ en-US ] = "~Line break" ; 65cdf0e10cSrcweir TabStop = TRUE ; 66cdf0e10cSrcweir Group = TRUE ; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir RadioButton RB_PAGE 69cdf0e10cSrcweir { 70*de272532Smseidel HelpID = "sw:RadioButton:DLG_BREAK:RB_PAGE" ; 71*de272532Smseidel Pos = MAP_APPFONT ( 12, 39 ) ; 72*de272532Smseidel Size = MAP_APPFONT ( 63, 10 ) ; 73cdf0e10cSrcweir Text [ en-US ] = "~Page break" ; 74cdf0e10cSrcweir TabStop = TRUE ; 75cdf0e10cSrcweir Check = TRUE ; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir RadioButton RB_COL 78cdf0e10cSrcweir { 79*de272532Smseidel HelpID = "sw:RadioButton:DLG_BREAK:RB_COL" ; 80*de272532Smseidel Pos = MAP_APPFONT ( 12, 27 ) ; 81*de272532Smseidel Size = MAP_APPFONT ( 69, 10 ) ; 82cdf0e10cSrcweir Text [ en-US ] = "~Column break" ; 83cdf0e10cSrcweir TabStop = TRUE ; 84cdf0e10cSrcweir }; 85*de272532Smseidel FixedLine FL_BREAK 86cdf0e10cSrcweir { 87*de272532Smseidel Pos = MAP_APPFONT ( 6, 3 ) ; 88*de272532Smseidel Size = MAP_APPFONT ( 93, 8 ) ; 89cdf0e10cSrcweir Text [ en-US ] = "Type" ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir FixedText FT_COLL 92cdf0e10cSrcweir { 93*de272532Smseidel Pos = MAP_APPFONT ( 12, 51 ) ; 94*de272532Smseidel Size = MAP_APPFONT ( 69, 8 ) ; 95cdf0e10cSrcweir Text [ en-US ] = "~Style" ; 96cdf0e10cSrcweir Group = TRUE ; 97cdf0e10cSrcweir Left = TRUE ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir ListBox LB_COLL 100cdf0e10cSrcweir { 101*de272532Smseidel HelpID = "sw:ListBox:DLG_BREAK:LB_COLL" ; 102*de272532Smseidel Pos = MAP_APPFONT ( 12, 62 ) ; 103*de272532Smseidel Size = MAP_APPFONT ( 75, 50 ) ; 104cdf0e10cSrcweir TabStop = TRUE ; 105cdf0e10cSrcweir DropDown = TRUE ; 106cdf0e10cSrcweir CurPos = 0 ; 107cdf0e10cSrcweir StringList [ en-US ] = 108cdf0e10cSrcweir { 109cdf0e10cSrcweir < "[None]" ; > ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir CheckBox CB_PAGENUM 113cdf0e10cSrcweir { 114*de272532Smseidel HelpID = "sw:CheckBox:DLG_BREAK:CB_PAGENUM" ; 115*de272532Smseidel Pos = MAP_APPFONT ( 12, 79 ) ; 116*de272532Smseidel Size = MAP_APPFONT ( 84, 10 ) ; 117cdf0e10cSrcweir Text [ en-US ] = "Change page ~number" ; 118cdf0e10cSrcweir TabStop = TRUE ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir NumericField ED_PAGENUM 121cdf0e10cSrcweir { 122*de272532Smseidel HelpID = "sw:NumericField:DLG_BREAK:ED_PAGENUM" ; 123cdf0e10cSrcweir Border = TRUE ; 124*de272532Smseidel Pos = MAP_APPFONT ( 12, 94 ) ; 125*de272532Smseidel Size = MAP_APPFONT ( 31, 12 ) ; 126cdf0e10cSrcweir TabStop = TRUE ; 127cdf0e10cSrcweir Left = TRUE ; 128cdf0e10cSrcweir Repeat = TRUE ; 129cdf0e10cSrcweir Spin = TRUE ; 130cdf0e10cSrcweir Minimum = 1 ; 131cdf0e10cSrcweir Maximum = 9999 ; 132cdf0e10cSrcweir Value = 1 ; 133cdf0e10cSrcweir First = 1 ; 134cdf0e10cSrcweir Last = 9999 ; 135cdf0e10cSrcweir }; 136cdf0e10cSrcweir}; 137cdf0e10cSrcweir 138*de272532Smseidel// ********************************************************************** EOF 139