xref: /trunk/main/sfx2/source/dialog/newstyle.src (revision acbf353a)
1*acbf353aSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*acbf353aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*acbf353aSAndrew Rist * distributed with this work for additional information
6*acbf353aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*acbf353aSAndrew Rist * "License"); you may not use this file except in compliance
9*acbf353aSAndrew Rist * with the License.  You may obtain a copy of the License at
10*acbf353aSAndrew Rist *
11*acbf353aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*acbf353aSAndrew Rist *
13*acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*acbf353aSAndrew Rist * software distributed under the License is distributed on an
15*acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*acbf353aSAndrew Rist * KIND, either express or implied.  See the License for the
17*acbf353aSAndrew Rist * specific language governing permissions and limitations
18*acbf353aSAndrew Rist * under the License.
19*acbf353aSAndrew Rist *
20*acbf353aSAndrew Rist *************************************************************/
21*acbf353aSAndrew Rist
22*acbf353aSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include <sfx2/sfx.hrc>
25cdf0e10cSrcweir#include "dialog.hrc"
26cdf0e10cSrcweir#include "newstyle.hrc"
27cdf0e10cSrcweir#include "sfx2/sfxcommands.h"
28cdf0e10cSrcweir
29cdf0e10cSrcweirModalDialog DLG_NEW_STYLE_BY_EXAMPLE
30cdf0e10cSrcweir{
31cdf0e10cSrcweir	HelpId = CMD_SID_STYLE_NEW_BY_EXAMPLE ;
32cdf0e10cSrcweir	OutputSize = TRUE ;
33cdf0e10cSrcweir	SVLook = TRUE ;
34cdf0e10cSrcweir	Size = MAP_APPFONT ( 177 , 112 ) ;
35cdf0e10cSrcweir	Text [ en-US ] = "Create Style" ;
36cdf0e10cSrcweir	Moveable = TRUE ;
37cdf0e10cSrcweir	FixedLine FL_COL
38cdf0e10cSrcweir	{
39cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
40cdf0e10cSrcweir		Size = MAP_APPFONT ( 109 , 8 ) ;
41cdf0e10cSrcweir		Text [ en-US ] = "Style name" ;
42cdf0e10cSrcweir	};
43cdf0e10cSrcweir	ComboBox LB_COL
44cdf0e10cSrcweir	{
45cdf0e10cSrcweir	    HelpID = "sfx2:ComboBox:DLG_NEW_STYLE_BY_EXAMPLE:LB_COL";
46cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 14 ) ;
47cdf0e10cSrcweir		Size = MAP_APPFONT ( 94 , 92 ) ;
48cdf0e10cSrcweir		TabStop = TRUE ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	OKButton BT_OK
51cdf0e10cSrcweir	{
52cdf0e10cSrcweir		Disable = TRUE ;
53cdf0e10cSrcweir		Pos = MAP_APPFONT ( 121 , 6 ) ;
54cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
55cdf0e10cSrcweir		TabStop = TRUE ;
56cdf0e10cSrcweir		DefButton = TRUE ;
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir	CancelButton BT_CANCEL
59cdf0e10cSrcweir	{
60cdf0e10cSrcweir		Pos = MAP_APPFONT ( 121 , 23 ) ;
61cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
62cdf0e10cSrcweir		TabStop = TRUE ;
63cdf0e10cSrcweir	};
64cdf0e10cSrcweir	QueryBox MSG_OVERWRITE
65cdf0e10cSrcweir	{
66cdf0e10cSrcweir		Buttons = WB_YES_NO ;
67cdf0e10cSrcweir		DefButton = WB_DEF_NO ;
68cdf0e10cSrcweir		Message [ en-US ] = "Style already exists. Overwrite?" ;
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir};
71cdf0e10cSrcweir
72cdf0e10cSrcweir
73cdf0e10cSrcweir
74cdf0e10cSrcweir
75cdf0e10cSrcweir
76cdf0e10cSrcweir
77cdf0e10cSrcweir
78cdf0e10cSrcweir
79cdf0e10cSrcweir
80cdf0e10cSrcweir
81cdf0e10cSrcweir
82cdf0e10cSrcweir
83cdf0e10cSrcweir
84cdf0e10cSrcweir
85cdf0e10cSrcweir
86cdf0e10cSrcweir
87cdf0e10cSrcweir
88cdf0e10cSrcweir
89cdf0e10cSrcweir
90cdf0e10cSrcweir
91cdf0e10cSrcweir
92cdf0e10cSrcweir
93cdf0e10cSrcweir
94cdf0e10cSrcweir
95cdf0e10cSrcweir
96cdf0e10cSrcweir
97cdf0e10cSrcweir
98cdf0e10cSrcweir
99cdf0e10cSrcweir
100cdf0e10cSrcweir
101cdf0e10cSrcweir
102