xref: /aoo42x/main/sfx2/source/doc/docvor.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 // include ---------------------------------------------------------------
24cdf0e10cSrcweir#include <sfx2/sfx.hrc>
25cdf0e10cSrcweir#include "doc.hrc"
26cdf0e10cSrcweir#include "docvor.hrc"
27cdf0e10cSrcweir#include "helpid.hrc"
28cdf0e10cSrcweir// pragma ----------------------------------------------------------------
29cdf0e10cSrcweir
30cdf0e10cSrcweir// DLG_ORGANIZE ----------------------------------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweir#define MASKCOLOR	MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }
33cdf0e10cSrcweir
34cdf0e10cSrcweirModalDialog DLG_ORGANIZE
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	HelpId = CMD_SID_ORGANIZER ;
37cdf0e10cSrcweir	OutputSize = TRUE ;
38cdf0e10cSrcweir	SVLook = TRUE ;
39cdf0e10cSrcweir	Size = MAP_APPFONT ( 271 , 162 ) ;
40cdf0e10cSrcweir	Text [ en-US ] = "Template Management" ;
41cdf0e10cSrcweir	Moveable = TRUE ;
42cdf0e10cSrcweir	HelpButton BTN_HELP
43cdf0e10cSrcweir	{
44cdf0e10cSrcweir		Pos = MAP_APPFONT ( 205 , 43 ) ;
45cdf0e10cSrcweir		Size = MAP_APPFONT ( 60 , 14 ) ;
46cdf0e10cSrcweir		TabStop = TRUE ;
47cdf0e10cSrcweir	};
48cdf0e10cSrcweir	OKButton BTN_OK
49cdf0e10cSrcweir	{
50cdf0e10cSrcweir		Pos = MAP_APPFONT ( 205 , 6 ) ;
51cdf0e10cSrcweir		Size = MAP_APPFONT ( 60 , 14 ) ;
52cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */
53cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */
54cdf0e10cSrcweir		Text [ en-US ] = "Close" ;
55cdf0e10cSrcweir		TabStop = TRUE ;
56cdf0e10cSrcweir		DefButton = TRUE ;
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir	PushButton BTN_FILES
59cdf0e10cSrcweir	{
60cdf0e10cSrcweir	    HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_FILES";
61cdf0e10cSrcweir		Pos = MAP_APPFONT ( 205 , 143 ) ;
62cdf0e10cSrcweir		Size = MAP_APPFONT ( 60 , 14 ) ;
63cdf0e10cSrcweir		Text [ en-US ] = "~File..." ;
64cdf0e10cSrcweir		TabStop = TRUE ;
65cdf0e10cSrcweir	};
66cdf0e10cSrcweir	PushButton BTN_ADDRESSTEMPLATE
67cdf0e10cSrcweir	{
68cdf0e10cSrcweir	    HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_ADDRESSTEMPLATE";
69cdf0e10cSrcweir		Pos = MAP_APPFONT ( 205 , 124 ) ;
70cdf0e10cSrcweir		Size = MAP_APPFONT ( 60 , 14 ) ;
71cdf0e10cSrcweir		Text [ en-US ] = "~Address Book..." ;
72cdf0e10cSrcweir	};
73cdf0e10cSrcweir	ListBox LB_LEFT_TYP
74cdf0e10cSrcweir	{
75cdf0e10cSrcweir	    HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_LEFT_TYP";
76cdf0e10cSrcweir		Border = TRUE ;
77cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 144 ) ;
78cdf0e10cSrcweir		Size = MAP_APPFONT ( 94 , 55 ) ;
79cdf0e10cSrcweir		TabStop = TRUE ;
80cdf0e10cSrcweir		DropDown = TRUE ;
81cdf0e10cSrcweir		CurPos = 0 ;
82cdf0e10cSrcweir		StringList [ en-US ] =
83cdf0e10cSrcweir		{
84cdf0e10cSrcweir			< "Templates" ; Default ; > ;
85cdf0e10cSrcweir			< "Documents" ; Default ; > ;
86cdf0e10cSrcweir		};
87cdf0e10cSrcweir	};
88cdf0e10cSrcweir	ListBox LB_RIGHT_TYP
89cdf0e10cSrcweir	{
90cdf0e10cSrcweir	    HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_RIGHT_TYP";
91cdf0e10cSrcweir		Border = TRUE ;
92cdf0e10cSrcweir		Pos = MAP_APPFONT ( 103 , 144 ) ;
93cdf0e10cSrcweir		Size = MAP_APPFONT ( 94 , 55 ) ;
94cdf0e10cSrcweir		TabStop = TRUE ;
95cdf0e10cSrcweir		DropDown = TRUE ;
96cdf0e10cSrcweir		CurPos = 1 ;
97cdf0e10cSrcweir		StringList [ en-US ] =
98cdf0e10cSrcweir		{
99cdf0e10cSrcweir			< "Templates" ; Default ; > ;
100cdf0e10cSrcweir			< "Documents" ; Default ; > ;
101cdf0e10cSrcweir		};
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	Control LB_LEFT
104cdf0e10cSrcweir	{
105cdf0e10cSrcweir		HelpId = HID_CTL_ORGANIZER_LEFT ;
106cdf0e10cSrcweir		Border = TRUE ;
107cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 6 ) ;
108cdf0e10cSrcweir		Size = MAP_APPFONT ( 94 , 132 ) ;
109cdf0e10cSrcweir		TabStop = TRUE ;
110cdf0e10cSrcweir		ClipChildren = TRUE ;
111cdf0e10cSrcweir	};
112cdf0e10cSrcweir	Control LB_RIGHT
113cdf0e10cSrcweir	{
114cdf0e10cSrcweir		HelpId = HID_CTL_ORGANIZER_RIGHT ;
115cdf0e10cSrcweir		Border = TRUE ;
116cdf0e10cSrcweir		Pos = MAP_APPFONT ( 103 , 6 ) ;
117cdf0e10cSrcweir		Size = MAP_APPFONT ( 94 , 132 ) ;
118cdf0e10cSrcweir		TabStop = TRUE ;
119cdf0e10cSrcweir		ClipChildren = TRUE ;
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir	Accelerator ACC_EDIT
122cdf0e10cSrcweir	{
123cdf0e10cSrcweir		ItemList =
124cdf0e10cSrcweir		{
125cdf0e10cSrcweir			AcceleratorItem
126cdf0e10cSrcweir			{
127cdf0e10cSrcweir				Identifier = ID_NEW ;
128cdf0e10cSrcweir				Key = KeyCode
129cdf0e10cSrcweir				{
130cdf0e10cSrcweir					Code = KEY_INSERT ;
131cdf0e10cSrcweir				};
132cdf0e10cSrcweir			};
133cdf0e10cSrcweir			AcceleratorItem
134cdf0e10cSrcweir			{
135cdf0e10cSrcweir				Identifier = ID_DELETE ;
136cdf0e10cSrcweir				Key = KeyCode
137cdf0e10cSrcweir				{
138cdf0e10cSrcweir					Code = KEY_DELETE ;
139cdf0e10cSrcweir				};
140cdf0e10cSrcweir			};
141cdf0e10cSrcweir		};
142cdf0e10cSrcweir	};
143cdf0e10cSrcweir	MenuButton BTN_EDIT
144cdf0e10cSrcweir	{
145cdf0e10cSrcweir	    HelpID = "sfx2:MenuButton:DLG_ORGANIZE:BTN_EDIT";
146cdf0e10cSrcweir		Pos = MAP_APPFONT ( 205 , 23 ) ;
147cdf0e10cSrcweir		Size = MAP_APPFONT ( 60 , 14 ) ;
148cdf0e10cSrcweir		Text [ en-US ] = "Commands" ;
149cdf0e10cSrcweir		TabStop = TRUE ;
150cdf0e10cSrcweir		ButtonMenu = Menu
151cdf0e10cSrcweir		{
152cdf0e10cSrcweir			ItemList =
153cdf0e10cSrcweir			{
154cdf0e10cSrcweir				MenuItem
155cdf0e10cSrcweir				{
156cdf0e10cSrcweir					Identifier = ID_NEW ;
157cdf0e10cSrcweir					HelpId = HID_ORGANIZE_NEW ;
158cdf0e10cSrcweir					Text [ en-US ] = "~New" ;
159cdf0e10cSrcweir					AccelKey = KeyCode
160cdf0e10cSrcweir					{
161cdf0e10cSrcweir						Code = KEY_INSERT ;
162cdf0e10cSrcweir					};
163cdf0e10cSrcweir				};
164cdf0e10cSrcweir				MenuItem
165cdf0e10cSrcweir				{
166cdf0e10cSrcweir					Identifier = ID_DELETE ;
167cdf0e10cSrcweir					HelpId = HID_ORGANIZE_DELETE ;
168cdf0e10cSrcweir					/* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */
169cdf0e10cSrcweir					/* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */
170cdf0e10cSrcweir					Text [ en-US ] = "~Delete" ;
171cdf0e10cSrcweir					AccelKey = KeyCode
172cdf0e10cSrcweir					{
173cdf0e10cSrcweir						Code = KEY_DELETE ;
174cdf0e10cSrcweir					};
175cdf0e10cSrcweir				};
176cdf0e10cSrcweir				MenuItem
177cdf0e10cSrcweir				{
178cdf0e10cSrcweir					Identifier = ID_EDIT ;
179cdf0e10cSrcweir					HelpId = HID_ORGANIZE_EDIT ;
180cdf0e10cSrcweir					Text [ en-US ] = "~Edit" ;
181cdf0e10cSrcweir				};
182cdf0e10cSrcweir				MenuItem
183cdf0e10cSrcweir				{
184cdf0e10cSrcweir					Separator = TRUE ;
185cdf0e10cSrcweir				};
186cdf0e10cSrcweir				MenuItem
187cdf0e10cSrcweir				{
188cdf0e10cSrcweir					Identifier = ID_COPY_FROM ;
189cdf0e10cSrcweir					HelpId = HID_ORGANIZE_COPY_FROM ;
190cdf0e10cSrcweir					Text [ en-US ] = "Import Template..." ;
191cdf0e10cSrcweir				};
192cdf0e10cSrcweir				MenuItem
193cdf0e10cSrcweir				{
194cdf0e10cSrcweir					Identifier = ID_COPY_TO ;
195cdf0e10cSrcweir					HelpId = HID_ORGANIZE_COPY_TO ;
196cdf0e10cSrcweir					Text [ en-US ] = "Export Template..." ;
197cdf0e10cSrcweir				};
198cdf0e10cSrcweir				MenuItem
199cdf0e10cSrcweir				{
200cdf0e10cSrcweir					Separator = TRUE ;
201cdf0e10cSrcweir				};
202cdf0e10cSrcweir				MenuItem
203cdf0e10cSrcweir				{
204cdf0e10cSrcweir					Identifier = ID_PRINT ;
205cdf0e10cSrcweir					HelpId = HID_ORGANIZE_PRINT ;
206cdf0e10cSrcweir					Text [ en-US ] = "~Print" ;
207cdf0e10cSrcweir				};
208cdf0e10cSrcweir				MenuItem
209cdf0e10cSrcweir				{
210cdf0e10cSrcweir					Identifier = ID_PRINTER_SETUP ;
211cdf0e10cSrcweir					HelpId = HID_ORGANIZE_PRINTER_SETUP ;
212cdf0e10cSrcweir					Text [ en-US ] = "Printer Settings..." ;
213cdf0e10cSrcweir				};
214cdf0e10cSrcweir				MenuItem
215cdf0e10cSrcweir				{
216cdf0e10cSrcweir					Separator = TRUE ;
217cdf0e10cSrcweir				};
218cdf0e10cSrcweir				MenuItem
219cdf0e10cSrcweir				{
220cdf0e10cSrcweir					Identifier = ID_RESCAN ;
221cdf0e10cSrcweir					HelpId = HID_ORGANIZE_RESCAN ;
222cdf0e10cSrcweir					Text [ en-US ] = "Update" ;
223cdf0e10cSrcweir				};
224cdf0e10cSrcweir				MenuItem
225cdf0e10cSrcweir				{
226cdf0e10cSrcweir					Separator = TRUE ;
227cdf0e10cSrcweir				};
228cdf0e10cSrcweir				MenuItem
229cdf0e10cSrcweir				{
230cdf0e10cSrcweir					Identifier = ID_DEFAULT_TEMPLATE ;
231cdf0e10cSrcweir					HelpId = HID_ORGANIZE_STDTEMPLATE_ADD ;
232cdf0e10cSrcweir					Text [ en-US ] = "Set As Default Template" ;
233cdf0e10cSrcweir				};
234cdf0e10cSrcweir				MenuItem
235cdf0e10cSrcweir				{
236cdf0e10cSrcweir					Identifier = ID_RESET_DEFAULT_TEMPLATE ;
237cdf0e10cSrcweir					HelpId = HID_ORGANIZE_STDTEMPLATE_DEL ;
238cdf0e10cSrcweir					Text [ en-US ] = "Reset Default Template" ;
239cdf0e10cSrcweir				};
240cdf0e10cSrcweir			};
241cdf0e10cSrcweir		};
242cdf0e10cSrcweir	};
243cdf0e10cSrcweir	Image IMG_OPENED_FOLDER
244cdf0e10cSrcweir	{
245cdf0e10cSrcweir		MASKCOLOR ;
246cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "folderop.bmp" ; } ;
247cdf0e10cSrcweir	};
248cdf0e10cSrcweir	Image IMG_CLOSED_FOLDER
249cdf0e10cSrcweir	{
250cdf0e10cSrcweir		MASKCOLOR ;
251cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "foldercl.bmp" ; } ;
252cdf0e10cSrcweir	};
253cdf0e10cSrcweir	Image IMG_OPENED_DOC
254cdf0e10cSrcweir	{
255cdf0e10cSrcweir		MASKCOLOR ;
256cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "doccl.bmp" ; } ;
257cdf0e10cSrcweir	};
258cdf0e10cSrcweir	Image IMG_CLOSED_DOC
259cdf0e10cSrcweir	{
260cdf0e10cSrcweir		MASKCOLOR ;
261cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "doccl.bmp" ; } ;
262cdf0e10cSrcweir	};
263cdf0e10cSrcweir	Image IMG_OPENED_FOLDER_HC
264cdf0e10cSrcweir	{
265cdf0e10cSrcweir		MASKCOLOR ;
266cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "folderop_h.bmp" ; } ;
267cdf0e10cSrcweir	};
268cdf0e10cSrcweir	Image IMG_CLOSED_FOLDER_HC
269cdf0e10cSrcweir	{
270cdf0e10cSrcweir		MASKCOLOR ;
271cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "foldercl_h.bmp" ; } ;
272cdf0e10cSrcweir	};
273cdf0e10cSrcweir	Image IMG_OPENED_DOC_HC
274cdf0e10cSrcweir	{
275cdf0e10cSrcweir		MASKCOLOR ;
276cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "doccl_h.bmp" ; } ;
277cdf0e10cSrcweir	};
278cdf0e10cSrcweir	Image IMG_CLOSED_DOC_HC
279cdf0e10cSrcweir	{
280cdf0e10cSrcweir		MASKCOLOR ;
281cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "doccl_h.bmp" ; } ;
282cdf0e10cSrcweir	};
283cdf0e10cSrcweir	/*    FixedText FT_DEFAULT_TEMPLATE_LABEL
284cdf0e10cSrcweir	{
285cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 161 ) ;
286cdf0e10cSrcweir		Size = MAP_APPFONT ( 61 , 10 ) ;
287cdf0e10cSrcweir		Text [ en-US ] = "Default template:" ;
288cdf0e10cSrcweir	};
289cdf0e10cSrcweir	FixedText FT_DEFAULT_TEMPLATE
290cdf0e10cSrcweir	{
291cdf0e10cSrcweir		Pos = MAP_APPFONT ( 66 , 161 ) ;
292cdf0e10cSrcweir		Size = MAP_APPFONT ( 131 , 10 ) ;
293cdf0e10cSrcweir	};*/
294cdf0e10cSrcweir};
295cdf0e10cSrcweir // ********************************************************************** EOF
296cdf0e10cSrcweir
297cdf0e10cSrcweir
298cdf0e10cSrcweir
299cdf0e10cSrcweir
300cdf0e10cSrcweir
301cdf0e10cSrcweir
302cdf0e10cSrcweir
303cdf0e10cSrcweir
304cdf0e10cSrcweir
305cdf0e10cSrcweir
306cdf0e10cSrcweir
307cdf0e10cSrcweir
308cdf0e10cSrcweir
309cdf0e10cSrcweir
310cdf0e10cSrcweir
311cdf0e10cSrcweir
312cdf0e10cSrcweir
313cdf0e10cSrcweir
314cdf0e10cSrcweir
315cdf0e10cSrcweir
316cdf0e10cSrcweir
317