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