xref: /aoo4110/main/sfx2/source/dialog/versdlg.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
24#include "versdlg.hrc"
25ModalDialog DLG_VERSIONS
26{
27    HelpID = "sfx2:ModalDialog:DLG_VERSIONS";
28	OutputSize = TRUE ;
29	Size = MAP_APPFONT ( 340 , 184 ) ;
30	SvLook = TRUE ;
31	Moveable = TRUE ;
32//!	Closeable = TRUE ;
33    FixedLine GB_NEWVERSIONS
34	{
35		Pos = MAP_APPFONT ( 6 , 3 ) ;
36        Size = MAP_APPFONT ( 272 , 8 ) ;
37		Text [ en-US ] = "New versions" ;
38	};
39	PushButton PB_SAVE
40	{
41	    HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_SAVE";
42		Pos = MAP_APPFONT ( 12 , 14 ) ;
43		Size = MAP_APPFONT ( 90 , 14 ) ;
44		TabStop = TRUE ;
45		Text [ en-US ] = "Save ~New Version" ;
46	};
47	CheckBox CB_SAVEONCLOSE
48	{
49	    HelpID = "sfx2:CheckBox:DLG_VERSIONS:CB_SAVEONCLOSE";
50		Pos = MAP_APPFONT ( 108 , 16 ) ;
51		Size = MAP_APPFONT ( 164 , 10 ) ;
52		TabStop = TRUE ;
53		Text [ en-US ] = "~Always save a version on closing" ;
54	};
55    FixedLine GB_OLDVERSIONS
56	{
57        Pos = MAP_APPFONT ( 6 , 34 ) ;
58        Size = MAP_APPFONT ( 272 , 8 ) ;
59		Text [ en-US ] = "Existing versions" ;
60	};
61	FixedText FT_DATETIME
62	{
63        Pos = MAP_APPFONT ( 15 , 45 ) ;
64		Size = MAP_APPFONT ( 60 , 10 ) ;
65		Text [ en-US ] = "Date and time" ;
66	};
67	FixedText FT_SAVEDBY
68	{
69        Pos = MAP_APPFONT ( 76 , 45 ) ;
70		Size = MAP_APPFONT ( 60 , 10 ) ;
71		Text [ en-US ] = "Saved by" ;
72	};
73	FixedText FT_COMMENTS
74	{
75        Pos = MAP_APPFONT ( 138 , 45 ) ;
76		Size = MAP_APPFONT ( 60 , 10 ) ;
77		Text [ en-US ] = "Comments" ;
78	};
79	Control TLB_VERSIONS
80	{
81		Border = TRUE ;
82        Pos = MAP_APPFONT ( 12 , 58 ) ;
83        Size = MAP_APPFONT ( 260 , 114 ) ;
84		TabStop = TRUE ;
85	};
86	CancelButton PB_CLOSE
87	{
88		Pos = MAP_APPFONT ( 284 , 6 ) ;
89		Size = MAP_APPFONT ( 50 , 14 ) ;
90		TabStop = TRUE ;
91		Text [ en-US ] = "Close" ;
92	};
93	PushButton PB_OPEN
94	{
95	    HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_OPEN";
96		Pos = MAP_APPFONT ( 284 , 26 ) ;
97		Size = MAP_APPFONT ( 50 , 14 ) ;
98		TabStop = TRUE ;
99		Text [ en-US ] = "Open" ;
100	};
101	PushButton PB_VIEW
102	{
103	    HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_VIEW";
104		Pos = MAP_APPFONT ( 284 , 43 ) ;
105		Size = MAP_APPFONT ( 50 , 14 ) ;
106		TabStop = TRUE ;
107		DefButton = TRUE ;
108		Text [ en-US ] = "~Show..." ;
109	};
110	PushButton PB_DELETE
111	{
112	    HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_DELETE";
113		Pos = MAP_APPFONT ( 284 , 60 ) ;
114		Size = MAP_APPFONT ( 50 , 14 ) ;
115		TabStop = TRUE ;
116		Text [ en-US ] = "~Delete" ;
117	};
118	PushButton PB_COMPARE
119	{
120	    HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_COMPARE";
121		Pos = MAP_APPFONT ( 284 , 77 ) ;
122		Size = MAP_APPFONT ( 50 , 14 ) ;
123		TabStop = TRUE ;
124		Text [ en-US ] = "Compare" ;
125	};
126	HelpButton PB_HELP
127	{
128		Pos = MAP_APPFONT ( 284 , 97 ) ;
129		Size = MAP_APPFONT ( 50 , 14 ) ;
130		TabStop = TRUE ;
131	};
132	Text [ en-US ] = "Versions of" ;
133};
134ModalDialog DLG_COMMENTS
135{
136    HelpID = "sfx2:ModalDialog:DLG_COMMENTS";
137	OutputSize = TRUE ;
138	Size = MAP_APPFONT ( 180 , 118 ) ;
139	SvLook = TRUE ;
140	Moveable = TRUE ;
141	FixedText FT_DATETIME
142	{
143		Pos = MAP_APPFONT ( 6 , 6 ) ;
144		Size = MAP_APPFONT ( 168 , 10 ) ;
145		Text [ en-US ] = "Date and time : " ;
146	};
147	FixedText FT_SAVEDBY
148	{
149		Pos = MAP_APPFONT ( 6 , 19 ) ;
150		Size = MAP_APPFONT ( 168 , 10 ) ;
151		Text [ en-US ] = "Saved by " ;
152	};
153	MultiLineEdit ME_VERSIONS
154	{
155	    HelpID = "sfx2:MultiLineEdit:DLG_COMMENTS:ME_VERSIONS";
156		Border = TRUE ;
157		Pos = MAP_APPFONT ( 6 , 32 ) ;
158		Size = MAP_APPFONT ( 168 , 60 ) ;
159		TabStop = TRUE ;
160	};
161	OKButton PB_OK
162	{
163		Pos = MAP_APPFONT ( 15 , 98 ) ;
164		Size = MAP_APPFONT ( 50 , 14 ) ;
165		TabStop = TRUE ;
166		DefButton = TRUE ;
167	};
168	CancelButton PB_CANCEL
169	{
170		Pos = MAP_APPFONT ( 68 , 98 ) ;
171		Size = MAP_APPFONT ( 50 , 14 ) ;
172		TabStop = TRUE ;
173	};
174	PushButton PB_CLOSE
175	{
176	    HelpID = "sfx2:PushButton:DLG_COMMENTS:PB_CLOSE";
177		Pos = MAP_APPFONT ( 68 , 98 ) ;
178		Size = MAP_APPFONT ( 50 , 14 ) ;
179		TabStop = TRUE ;
180		Text [ en-US ] = "~Close" ;
181	};
182	HelpButton PB_HELP
183	{
184		Pos = MAP_APPFONT ( 124 , 98 ) ;
185		Size = MAP_APPFONT ( 50 , 14 ) ;
186		TabStop = TRUE ;
187	};
188	Text [ en-US ] = "Insert Version Comment" ;
189};
190String DLG_COMMENTS
191{
192	Text [ en-US ] = "Version comment" ;
193};
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219