xref: /aoo42x/main/sfx2/source/dialog/templdlg.src (revision b9c80df1)
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 ---------------------------------------------------------------
25#include <sfx2/sfx.hrc>
26#include "dialog.hrc"
27#include "templdlg.hrc"
28#include "helpid.hrc"
29
30ImageList DLG_STYLE_DESIGNER
31{
32	Prefix = "sc" ;
33	MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } ;
34	IdList =
35	{
36		SID_STYLE_WATERCAN ;
37		SID_STYLE_NEW_BY_EXAMPLE ;
38		SID_STYLE_UPDATE_BY_EXAMPLE ;
39	};
40	IdCount = { 3 ; } ;
41};
42ImageList IMG_LST_STYLE_DESIGNER_HC
43{
44	Prefix = "sch" ;
45	MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } ;
46	IdList =
47	{
48		SID_STYLE_WATERCAN ;
49		SID_STYLE_NEW_BY_EXAMPLE ;
50		SID_STYLE_UPDATE_BY_EXAMPLE ;
51	};
52	IdCount = { 3 ; } ;
53};
54// RID_STYLECATALOG ------------------------------------------------------
55ModalDialog RID_STYLECATALOG
56{
57	HelpId = CMD_SID_STYLE_CATALOG ;
58	OutputSize = TRUE ;
59	SVLook = TRUE ;
60	Size = MAP_APPFONT ( 181, 134 ) ;
61	Text [ en-US ] = "Style Catalog" ;
62	Moveable = TRUE ;
63	OKButton BT_OK
64	{
65		DefButton = TRUE ;
66		Pos = MAP_APPFONT ( 123, 6 ) ;
67		Size = MAP_APPFONT ( 50, 14 ) ;
68		TabStop = TRUE ;
69	};
70	CancelButton BT_CANCEL
71	{
72		Pos = MAP_APPFONT ( 123, 23 ) ;
73		Size = MAP_APPFONT ( 50, 14 ) ;
74		TabStop = TRUE ;
75	};
76	PushButton BT_ORG
77	{
78		HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG" ;
79		Pos = MAP_APPFONT ( 123, 97 ) ;
80		Size = MAP_APPFONT ( 50, 14 ) ;
81		Text [ en-US ] = "~Organizer..." ;
82		TabStop = TRUE ;
83	};
84	PushButton BT_DEL
85	{
86		HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL" ;
87		Pos = MAP_APPFONT ( 123, 78 ) ;
88		Size = MAP_APPFONT ( 50, 14 ) ;
89		Text [ en-US ] = "~Delete..." ;
90		TabStop = TRUE ;
91	};
92	PushButton BT_EDIT
93	{
94		HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT" ;
95		Pos = MAP_APPFONT ( 123, 60 ) ;
96		Size = MAP_APPFONT ( 50, 14 ) ;
97		Text [ en-US ] = "~Modify..." ;
98		TabStop = TRUE ;
99	};
100	PushButton BT_NEW
101	{
102		HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW" ;
103		Pos = MAP_APPFONT ( 123, 43 ) ;
104		Size = MAP_APPFONT ( 50, 14 ) ;
105		Text [ en-US ] = "~New..." ;
106		TabStop = TRUE ;
107	};
108	HelpButton BT_HELP
109	{
110		Pos = MAP_APPFONT ( 123, 114 ) ;
111		Size = MAP_APPFONT ( 50, 14 ) ;
112		TabStop = TRUE ;
113	};
114	ListBox BT_TOOL
115	{
116		HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL" ;
117		Border = TRUE ;
118		Pos = MAP_APPFONT ( 6, 6 ) ;
119		Size = MAP_APPFONT ( 110, 55 ) ;
120		TabStop = TRUE ;
121		DropDown = TRUE ;
122	};
123	Control BT_VLIST
124	{
125		HelpId = HID_TEMPLATE_FMT ;
126		Border = TRUE ;
127		Pos = MAP_APPFONT ( 6, 23 ) ;
128		Size = MAP_APPFONT ( 110, 89 ) ;
129		TabStop = TRUE ;
130	};
131	ListBox BT_FLIST
132	{
133		HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST" ;
134		Border = TRUE ;
135		Pos = MAP_APPFONT ( 6, 114 ) ;
136		Size = MAP_APPFONT ( 110, 77 ) ;
137		TabStop = TRUE ;
138		Hide = TRUE ;
139		DropDown = TRUE ;
140	};
141};
142// Strings ---------------------------------------------------------------
143String STR_STYLE_ELEMTLIST
144{
145	Text [ en-US ] = "Style List" ;
146};
147String STR_STYLE_FILTER_HIERARCHICAL
148{
149	Text [ en-US ] = "Hierarchical" ;
150};
151// DLG_STYLE_DESIGNER ----------------------------------------------------
152DockingWindow DLG_STYLE_DESIGNER
153{
154	Text [ en-US ] = "Styles and Formatting" ;
155
156	HelpId = CMD_SID_STYLE_DESIGNER ;
157	OutputSize = TRUE ;
158	Hide = TRUE ;
159	SVLook = TRUE ;
160	Size = MAP_APPFONT ( 116, 215 ) ;
161	Pos = MAP_APPFONT ( 0, 0 ) ;
162	Closeable = TRUE ;
163	Zoomable = TRUE ;
164	Sizeable = TRUE ;
165	Dockable = TRUE ;
166	EnableResizing = TRUE ;
167	//	HideWhenDeactivate = TRUE ;
168	Border = TRUE ;
169	Moveable = TRUE ;
170	ToolBox TB_ACTION
171	{
172		Pos = MAP_APPFONT ( 3, 3 ) ;
173		Size = MAP_APPFONT ( 57, 42 ) ;
174		LineCount = 1 ;
175		ItemImageList = DLG_STYLE_DESIGNER ;
176		HelpId = HID_TEMPLDLG_TOOLBOX_RIGHT ;
177		ItemList =
178		{
179			ToolBoxItem
180			{
181				HelpId = HID_TEMPLDLG_WATERCAN ;
182				Identifier = SID_STYLE_WATERCAN ;
183				Text [ en-US ] = "Fill Format Mode" ;
184			};
185			ToolBoxItem
186			{
187				HelpId = HID_TEMPLDLG_NEWBYEXAMPLE ;
188				Identifier = SID_STYLE_NEW_BY_EXAMPLE ;
189				Text [ en-US ] = "New Style from Selection" ;
190			};
191			ToolBoxItem
192			{
193				HelpId = HID_TEMPLDLG_UPDATEBYEXAMPLE ;
194				Identifier = SID_STYLE_UPDATE_BY_EXAMPLE ;
195				Text [ en-US ] = "Update Style" ;
196			};
197		};
198	};
199};
200
201// ********************************************************************** EOF
202