xref: /aoo41x/main/sfx2/source/doc/doctdlg.src (revision acbf353a)
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 "doc.hrc"
26#include "doctdlg.hrc"
27#include <sfx2/sfxcommands.h>
28
29ModalDialog DLG_DOC_TEMPLATE
30{
31	HelpId = CMD_SID_DOCTEMPLATE ;
32	OutputSize = TRUE ;
33	SVLook = TRUE ;
34	Size = MAP_APPFONT ( 280 , 128 ) ;
35	Text [ en-US ] = "Templates" ;
36	Moveable = TRUE ;
37	FixedLine FL_EDIT
38	{
39		Pos = MAP_APPFONT ( 6 , 3 ) ;
40		Size = MAP_APPFONT ( 212 , 8 ) ;
41		Text [ en-US ] = "New template" ;
42	};
43	Edit ED_NAME
44	{
45	    HelpID = "sfx2:Edit:DLG_DOC_TEMPLATE:ED_NAME";
46		Border = TRUE ;
47		Pos = MAP_APPFONT ( 12 , 14 ) ;
48		Size = MAP_APPFONT ( 200 , 12 ) ;
49	};
50	FixedLine FL_STYLESHEETS
51	{
52		Pos = MAP_APPFONT ( 6 , 32 ) ;
53		Size = MAP_APPFONT ( 212 , 8 ) ;
54		Text [ en-US ] = "Templates" ;
55	};
56	FixedText FT_SECTION
57	{
58		Pos = MAP_APPFONT ( 12 , 43 ) ;
59		Size = MAP_APPFONT ( 97 , 10 ) ;
60		Text [ en-US ] = "~Categories" ;
61	};
62	ListBox LB_SECTION
63	{
64	    HelpID = "sfx2:ListBox:DLG_DOC_TEMPLATE:LB_SECTION";
65		Border = TRUE ;
66		Pos = MAP_APPFONT ( 12 , 56 ) ;
67		Size = MAP_APPFONT ( 97 , 66 ) ;
68	};
69	FixedText FT_STYLESHEETS
70	{
71		Pos = MAP_APPFONT ( 115 , 43 ) ;
72		Size = MAP_APPFONT ( 97 , 10 ) ;
73		Text [ en-US ] = "~Templates" ;
74	};
75	ListBox LB_STYLESHEETS
76	{
77	    HelpID = "sfx2:ListBox:DLG_DOC_TEMPLATE:LB_STYLESHEETS";
78		Border = TRUE ;
79		Pos = MAP_APPFONT ( 115 , 56 ) ;
80		Size = MAP_APPFONT ( 97 , 66 ) ;
81	};
82	OKButton BT_OK
83	{
84		Pos = MAP_APPFONT ( 224 , 6 ) ;
85		Size = MAP_APPFONT ( 50 , 14 ) ;
86		DefButton = TRUE ;
87		Disable = TRUE ;
88	};
89	CancelButton BT_CANCEL
90	{
91		Pos = MAP_APPFONT ( 224 , 23 ) ;
92		Size = MAP_APPFONT ( 50 , 14 ) ;
93	};
94	HelpButton BT_HELP
95	{
96		Pos = MAP_APPFONT ( 224 , 43 ) ;
97		Size = MAP_APPFONT ( 50 , 14 ) ;
98	};
99	PushButton BT_EDIT
100	{
101	    HelpID = "sfx2:PushButton:DLG_DOC_TEMPLATE:BT_EDIT";
102		Pos = MAP_APPFONT ( 224 , 62 ) ;
103		Size = MAP_APPFONT ( 50 , 14 ) ;
104		Text [ en-US ] = "~Edit" ;
105	};
106	PushButton BT_ORGANIZE
107	{
108	    HelpID = "sfx2:PushButton:DLG_DOC_TEMPLATE:BT_ORGANIZE";
109		Pos = MAP_APPFONT ( 224 , 79 ) ;
110		Size = MAP_APPFONT ( 50 , 14 ) ;
111		Text [ en-US ] = "~Organizer..." ;
112	};
113};
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149