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