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