xref: /trunk/main/sfx2/source/dialog/newstyle.src (revision 78190a370f7d7129fed9a7e70ca122eaae71ce1d)
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 <sfx2/sfx.hrc>
25#include "dialog.hrc"
26#include "newstyle.hrc"
27#include "sfx2/sfxcommands.h"
28
29ModalDialog DLG_NEW_STYLE_BY_EXAMPLE
30{
31    HelpId = CMD_SID_STYLE_NEW_BY_EXAMPLE ;
32    OutputSize = TRUE ;
33    SVLook = TRUE ;
34    Size = MAP_APPFONT ( 177, 112 ) ;
35    Text [ en-US ] = "Create Style" ;
36    Moveable = TRUE ;
37    FixedLine FL_COL
38    {
39        Pos = MAP_APPFONT ( 6, 3 ) ;
40        Size = MAP_APPFONT ( 109, 8 ) ;
41        Text [ en-US ] = "Style name" ;
42    };
43    ComboBox LB_COL
44    {
45        HelpID = "sfx2:ComboBox:DLG_NEW_STYLE_BY_EXAMPLE:LB_COL" ;
46        Pos = MAP_APPFONT ( 12, 14 ) ;
47        Size = MAP_APPFONT ( 94, 92 ) ;
48        TabStop = TRUE ;
49    };
50    OKButton BT_OK
51    {
52        Disable = TRUE ;
53        Pos = MAP_APPFONT ( 121, 6 ) ;
54        Size = MAP_APPFONT ( 50, 14 ) ;
55        TabStop = TRUE ;
56        DefButton = TRUE ;
57    };
58    CancelButton BT_CANCEL
59    {
60        Pos = MAP_APPFONT ( 121, 23 ) ;
61        Size = MAP_APPFONT ( 50, 14 ) ;
62        TabStop = TRUE ;
63    };
64    QueryBox MSG_OVERWRITE
65    {
66        Buttons = WB_YES_NO ;
67        DefButton = WB_DEF_NO ;
68        Message [ en-US ] = "Style already exists. Overwrite?" ;
69    };
70};
71
72// ********************************************************************** EOF
73