1*81d089aeSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*81d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*81d089aeSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*81d089aeSAndrew Rist * distributed with this work for additional information
6*81d089aeSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*81d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*81d089aeSAndrew Rist * "License"); you may not use this file except in compliance
9*81d089aeSAndrew Rist * with the License.  You may obtain a copy of the License at
10*81d089aeSAndrew Rist *
11*81d089aeSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*81d089aeSAndrew Rist *
13*81d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*81d089aeSAndrew Rist * software distributed under the License is distributed on an
15*81d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*81d089aeSAndrew Rist * KIND, either express or implied.  See the License for the
17*81d089aeSAndrew Rist * specific language governing permissions and limitations
18*81d089aeSAndrew Rist * under the License.
19*81d089aeSAndrew Rist *
20*81d089aeSAndrew Rist *************************************************************/
21*81d089aeSAndrew Rist
22*81d089aeSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "dbmm_global.hrc"
25cdf0e10cSrcweir#include "macromigration.hrc"
26cdf0e10cSrcweir
27cdf0e10cSrcweir// -----------------------------------------------------------------------------
28cdf0e10cSrcweirModalDialog DLG_MACRO_MIGRATION
29cdf0e10cSrcweir{
30cdf0e10cSrcweir    HelpID = "dbaccess:ModalDialog:DLG_MACRO_MIGRATION";
31cdf0e10cSrcweir	OutputSize = TRUE ;
32cdf0e10cSrcweir	Moveable = TRUE;
33cdf0e10cSrcweir	Closeable = TRUE ;
34cdf0e10cSrcweir	Hide = TRUE;
35cdf0e10cSrcweir
36cdf0e10cSrcweir    Text[ en-US ]  = "Database Document Macro Migration" ;
37cdf0e10cSrcweir
38cdf0e10cSrcweir    String STR_STATE_CLOSE_SUB_DOCS
39cdf0e10cSrcweir    {
40cdf0e10cSrcweir        Text [ en-US ] = "Prepare";
41cdf0e10cSrcweir    };
42cdf0e10cSrcweir
43cdf0e10cSrcweir    String STR_STATE_BACKUP_DBDOC
44cdf0e10cSrcweir    {
45cdf0e10cSrcweir        Text [ en-US ] = "Backup Document";
46cdf0e10cSrcweir    };
47cdf0e10cSrcweir
48cdf0e10cSrcweir    String STR_STATE_MIGRATE
49cdf0e10cSrcweir    {
50cdf0e10cSrcweir        Text [ en-US ] = "Migrate";
51cdf0e10cSrcweir    };
52cdf0e10cSrcweir
53cdf0e10cSrcweir    String STR_STATE_SUMMARY
54cdf0e10cSrcweir    {
55cdf0e10cSrcweir        Text [ en-US ] = "Summary";
56cdf0e10cSrcweir    };
57cdf0e10cSrcweir};
58cdf0e10cSrcweir
59cdf0e10cSrcweir//========================================================================
60cdf0e10cSrcweir//= PreparationPage
61cdf0e10cSrcweir//========================================================================
62cdf0e10cSrcweir
63cdf0e10cSrcweirTabPage TP_PREPARE
64cdf0e10cSrcweir{
65cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:TP_PREPARE";
66cdf0e10cSrcweir    Pos = MAP_APPFONT( 40, 130 );
67cdf0e10cSrcweir    Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
68cdf0e10cSrcweir
69cdf0e10cSrcweir    Hide = TRUE;
70cdf0e10cSrcweir
71cdf0e10cSrcweir    FixedText FT_HEADER
72cdf0e10cSrcweir    {
73cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
74cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
75cdf0e10cSrcweir
76cdf0e10cSrcweir        Text [ en-US ] = "Welcome to the Database Macro Migration Wizard";
77cdf0e10cSrcweir    };
78cdf0e10cSrcweir
79cdf0e10cSrcweir    FixedText FT_INTRODUCTION
80cdf0e10cSrcweir    {
81cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
82cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
83cdf0e10cSrcweir                            TAB_PAGE_HEIGHT - CONTENT_POS_X - TAB_PAGE_CONTENT_MARGIN - ( 2 * FIXED_TEXT_HEIGHT - SPACING_UNRELATED ) );
84cdf0e10cSrcweir        WordBreak = TRUE;
85cdf0e10cSrcweir
86cdf0e10cSrcweir        Text [ en-US ] = "This wizard will guide you through the task of migrating your macros.\n\n"
87cdf0e10cSrcweir
88cdf0e10cSrcweir            "After you finished it, all macros which were formerly embedded into the forms and reports of "
89cdf0e10cSrcweir            "the current database document will have been moved to the document itself. In this course, "
90cdf0e10cSrcweir            "libraries will be renamed as needed.\n\n"
91cdf0e10cSrcweir
92cdf0e10cSrcweir            "If your forms and reports contain references to those macros, they will be adjusted, where "
93cdf0e10cSrcweir            "possible.\n\n"
94cdf0e10cSrcweir
95cdf0e10cSrcweir            "Before the migration can start, all forms, reports, queries and tables belonging to the document must be closed. "
96cdf0e10cSrcweir            "Press 'Next' to do so.";
97cdf0e10cSrcweir    };
98cdf0e10cSrcweir
99cdf0e10cSrcweir    FixedText FT_CLOSE_DOC_ERROR
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        Pos = MAP_APPFONT ( TAB_PAGE_CONTENT_MARGIN,
102cdf0e10cSrcweir                            TAB_PAGE_HEIGHT - TAB_PAGE_CONTENT_MARGIN - ( 2 * FIXED_TEXT_HEIGHT - SPACING_UNRELATED ) );
103cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
104cdf0e10cSrcweir                            2 * FIXED_TEXT_HEIGHT - SPACING_UNRELATED );
105cdf0e10cSrcweir        Text [ en-US ] = "Not all objects could be closed. Please close them manually, and re-start the wizard.";
106cdf0e10cSrcweir        hide = TRUE;
107cdf0e10cSrcweir    };
108cdf0e10cSrcweir};
109cdf0e10cSrcweir
110cdf0e10cSrcweir//========================================================================
111cdf0e10cSrcweir//= SaveDBDocPage
112cdf0e10cSrcweir//========================================================================
113cdf0e10cSrcweir
114cdf0e10cSrcweirTabPage TP_SAVE_DBDOC_AS
115cdf0e10cSrcweir{
116cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:TP_SAVE_DBDOC_AS";
117cdf0e10cSrcweir    Pos = MAP_APPFONT( 40, 130 );
118cdf0e10cSrcweir    Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
119cdf0e10cSrcweir
120cdf0e10cSrcweir    Hide = TRUE;
121cdf0e10cSrcweir
122cdf0e10cSrcweir    FixedText FT_HEADER
123cdf0e10cSrcweir    {
124cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
125cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
126cdf0e10cSrcweir
127cdf0e10cSrcweir        Text [ en-US ] = "Backup your Document";
128cdf0e10cSrcweir    };
129cdf0e10cSrcweir
130cdf0e10cSrcweir    FixedText FT_EXPLANATION
131cdf0e10cSrcweir    {
132cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
133cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, 5 * FIXED_TEXT_HEIGHT );
134cdf0e10cSrcweir
135cdf0e10cSrcweir        WordBreak = TRUE;
136cdf0e10cSrcweir
137cdf0e10cSrcweir        Text [ en-US ] = "To allow you to go back to the state before the migration, the database "
138cdf0e10cSrcweir            "document will be backed up to a location of your choice. Every change done by the wizard will "
139cdf0e10cSrcweir            "be made to the original document, the backup will stay untouched.";
140cdf0e10cSrcweir    };
141cdf0e10cSrcweir
142cdf0e10cSrcweir    FixedText FT_SAVE_AS_LABEL
143cdf0e10cSrcweir    {
144cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X + 5 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
145cdf0e10cSrcweir        Size = MAP_APPFONT( 60, INPUT_HEIGHT );
146cdf0e10cSrcweir
147cdf0e10cSrcweir        VCenter = TRUE;
148cdf0e10cSrcweir
149cdf0e10cSrcweir        Text [ en-US ] = "Save To:";
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir
152cdf0e10cSrcweir    ComboBox ED_SAVE_AS_LOCATION
153cdf0e10cSrcweir    {
154cdf0e10cSrcweir        HelpID = "dbaccess:ComboBox:TP_SAVE_DBDOC_AS:ED_SAVE_AS_LOCATION";
155cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN + 60 + SPACING_RELATED,
156cdf0e10cSrcweir                            CONTENT_POS_X + 5 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
157cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 + SPACING_RELATED ) - TAB_PAGE_CONTENT_MARGIN,
158cdf0e10cSrcweir                            INPUT_HEIGHT );
159cdf0e10cSrcweir
160cdf0e10cSrcweir        Border = TRUE;
161cdf0e10cSrcweir		DropDown = TRUE ;
162cdf0e10cSrcweir    };
163cdf0e10cSrcweir
164cdf0e10cSrcweir    PushButton PB_BROWSE_SAVE_AS_LOCATION
165cdf0e10cSrcweir    {
166cdf0e10cSrcweir        HelpID = "dbaccess:PushButton:TP_SAVE_DBDOC_AS:PB_BROWSE_SAVE_AS_LOCATION";
167cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_WIDTH - BUTTON_WIDTH - TAB_PAGE_CONTENT_MARGIN,
168cdf0e10cSrcweir                            CONTENT_POS_X + 5 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + INPUT_HEIGHT + SPACING_RELATED );
169cdf0e10cSrcweir        Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT );
170cdf0e10cSrcweir
171cdf0e10cSrcweir        Text [ en-US ] = "Browse ...";
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir
174cdf0e10cSrcweir    FixedText FT_START_MIGRATION
175cdf0e10cSrcweir    {
176cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN,
177cdf0e10cSrcweir                            TAB_PAGE_HEIGHT - TAB_PAGE_CONTENT_MARGIN - 3 * FIXED_TEXT_HEIGHT );
178cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
179cdf0e10cSrcweir                            3 * FIXED_TEXT_HEIGHT );
180cdf0e10cSrcweir
181cdf0e10cSrcweir        WordBreak = TRUE;
182cdf0e10cSrcweir
183cdf0e10cSrcweir        Text [ en-US ] = "Press 'Next' to save a copy of your document, and to begin the migration.";
184cdf0e10cSrcweir    };
185cdf0e10cSrcweir};
186cdf0e10cSrcweir
187cdf0e10cSrcweir//========================================================================
188cdf0e10cSrcweir//= ProgressPage
189cdf0e10cSrcweir//========================================================================
190cdf0e10cSrcweir
191cdf0e10cSrcweirTabPage TP_MIGRATE
192cdf0e10cSrcweir{
193cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:TP_MIGRATE";
194cdf0e10cSrcweir    Pos = MAP_APPFONT( 40, 130 );
195cdf0e10cSrcweir    Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
196cdf0e10cSrcweir
197cdf0e10cSrcweir    Hide = TRUE;
198cdf0e10cSrcweir
199cdf0e10cSrcweir    FixedText FT_HEADER
200cdf0e10cSrcweir    {
201cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
202cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
203cdf0e10cSrcweir
204cdf0e10cSrcweir        Text [ en-US ] = "Migration Progress";
205cdf0e10cSrcweir    };
206cdf0e10cSrcweir
207cdf0e10cSrcweir    FixedText FT_OBJECT_COUNT
208cdf0e10cSrcweir    {
209cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
210cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, 2 * FIXED_TEXT_HEIGHT );
211cdf0e10cSrcweir
212cdf0e10cSrcweir        Text [ en-US ] = "The database document contains $forms$ form(s) and $reports$ report(s), which are currently being processed:";
213cdf0e10cSrcweir
214cdf0e10cSrcweir        WordBreak = TRUE;
215cdf0e10cSrcweir    };
216cdf0e10cSrcweir
217cdf0e10cSrcweir    FixedText FT_CURRENT_OBJECT_LABEL
218cdf0e10cSrcweir    {
219cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN,
220cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
221cdf0e10cSrcweir        Size = MAP_APPFONT( 60, FIXED_TEXT_HEIGHT );
222cdf0e10cSrcweir
223cdf0e10cSrcweir        Text [ en-US ] = "Current object:";
224cdf0e10cSrcweir    };
225cdf0e10cSrcweir
226cdf0e10cSrcweir    FixedText FT_CURRENT_OBJECT
227cdf0e10cSrcweir    {
228cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN + 60,
229cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
230cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ), FIXED_TEXT_HEIGHT );
231cdf0e10cSrcweir    };
232cdf0e10cSrcweir
233cdf0e10cSrcweir    FixedText FT_CURRENT_PROGRESS_LABEL
234cdf0e10cSrcweir    {
235cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN,
236cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
237cdf0e10cSrcweir        Size = MAP_APPFONT( 60, FIXED_TEXT_HEIGHT );
238cdf0e10cSrcweir
239cdf0e10cSrcweir        Text [ en-US ] = "Current progress:";
240cdf0e10cSrcweir    };
241cdf0e10cSrcweir
242cdf0e10cSrcweir    FixedText FT_CURRENT_PROGRESS
243cdf0e10cSrcweir    {
244cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN + 60,
245cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
246cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ), FIXED_TEXT_HEIGHT );
247cdf0e10cSrcweir    };
248cdf0e10cSrcweir
249cdf0e10cSrcweir    Window WND_CURRENT_PROGRESS
250cdf0e10cSrcweir    {
251cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN + 60,
252cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED );
253cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ) - TAB_PAGE_CONTENT_MARGIN, PROGRESS_HEIGHT );
254cdf0e10cSrcweir
255cdf0e10cSrcweir        Border = TRUE;
256cdf0e10cSrcweir        BorderStyle = WINDOW_BORDER_MONO;
257cdf0e10cSrcweir    };
258cdf0e10cSrcweir
259cdf0e10cSrcweir    FixedText FT_ALL_PROGRESS_LABEL
260cdf0e10cSrcweir    {
261cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN,
262cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED + PROGRESS_HEIGHT + SPACING_UNRELATED );
263cdf0e10cSrcweir        Size = MAP_APPFONT( 60, FIXED_TEXT_HEIGHT );
264cdf0e10cSrcweir
265cdf0e10cSrcweir        VCenter = TRUE;
266cdf0e10cSrcweir
267cdf0e10cSrcweir        Text [ en-US ] = "Overall progress:";
268cdf0e10cSrcweir    };
269cdf0e10cSrcweir
270cdf0e10cSrcweir    FixedText FT_OBJECT_COUNT_PROGRESS
271cdf0e10cSrcweir    {
272cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN + 60,
273cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED + PROGRESS_HEIGHT + SPACING_UNRELATED );
274cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ) - TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
275cdf0e10cSrcweir
276cdf0e10cSrcweir        Text [ en-US ] = "document $current$ of $overall$";
277cdf0e10cSrcweir    };
278cdf0e10cSrcweir
279cdf0e10cSrcweir    Window WND_ALL_PROGRESS
280cdf0e10cSrcweir    {
281cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN + 60,
282cdf0e10cSrcweir                            CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED + PROGRESS_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED );
283cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ) - TAB_PAGE_CONTENT_MARGIN, PROGRESS_HEIGHT );
284cdf0e10cSrcweir
285cdf0e10cSrcweir        Border = TRUE;
286cdf0e10cSrcweir        BorderStyle = WINDOW_BORDER_MONO;
287cdf0e10cSrcweir    };
288cdf0e10cSrcweir
289cdf0e10cSrcweir    FixedText FT_MIGRATION_DONE
290cdf0e10cSrcweir    {
291cdf0e10cSrcweir        Pos = MAP_APPFONT(  TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_HEIGHT - TAB_PAGE_CONTENT_MARGIN - 2 * FIXED_TEXT_HEIGHT );
292cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, 2 * FIXED_TEXT_HEIGHT );
293cdf0e10cSrcweir
294cdf0e10cSrcweir        WordBreak = TRUE;
295cdf0e10cSrcweir        Hide = TRUE;
296cdf0e10cSrcweir
297cdf0e10cSrcweir        Text [ en-US ] = "All forms and reports have been successfully processed. Press 'Next' to show a detailed summary.";
298cdf0e10cSrcweir    };
299cdf0e10cSrcweir};
300cdf0e10cSrcweir
301cdf0e10cSrcweir//========================================================================
302cdf0e10cSrcweir//= ResultPage
303cdf0e10cSrcweir//========================================================================
304cdf0e10cSrcweir
305cdf0e10cSrcweirTabPage TP_SUMMARY
306cdf0e10cSrcweir{
307cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:TP_SUMMARY";
308cdf0e10cSrcweir    Pos = MAP_APPFONT( 40, 130 );
309cdf0e10cSrcweir    Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
310cdf0e10cSrcweir
311cdf0e10cSrcweir    Hide = TRUE;
312cdf0e10cSrcweir
313cdf0e10cSrcweir    FixedText FT_HEADER
314cdf0e10cSrcweir    {
315cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
316cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
317cdf0e10cSrcweir
318cdf0e10cSrcweir        Text [ en-US ] = "Summary";
319cdf0e10cSrcweir    };
320cdf0e10cSrcweir
321cdf0e10cSrcweir    FixedText FT_CHANGES_LABEL
322cdf0e10cSrcweir    {
323cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
324cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
325cdf0e10cSrcweir
326cdf0e10cSrcweir        WordBreak = TRUE;
327cdf0e10cSrcweir    };
328cdf0e10cSrcweir
329cdf0e10cSrcweir    MultiLineEdit ED_CHANGES
330cdf0e10cSrcweir    {
331cdf0e10cSrcweir        HelpID = "dbaccess:MultiLineEdit:TP_SUMMARY:ED_CHANGES";
332cdf0e10cSrcweir        Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X + FIXED_TEXT_HEIGHT + SPACING_RELATED );
333cdf0e10cSrcweir        Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
334cdf0e10cSrcweir                            TAB_PAGE_HEIGHT - ( CONTENT_POS_X + FIXED_TEXT_HEIGHT + SPACING_RELATED ) - TAB_PAGE_CONTENT_MARGIN );
335cdf0e10cSrcweir
336cdf0e10cSrcweir        ReadOnly = TRUE;
337cdf0e10cSrcweir        AutoVScroll = TRUE;
338cdf0e10cSrcweir        Border = TRUE;
339cdf0e10cSrcweir        BorderStyle = WINDOW_BORDER_MONO;
340cdf0e10cSrcweir    };
341cdf0e10cSrcweir
342cdf0e10cSrcweir    String STR_SUCCESSFUL
343cdf0e10cSrcweir    {
344cdf0e10cSrcweir        Text [ en-US ] = "The migration was successful. Below is a log of the actions which have been taken to your document.";
345cdf0e10cSrcweir    };
346cdf0e10cSrcweir    String STR_UNSUCCESSFUL
347cdf0e10cSrcweir    {
348cdf0e10cSrcweir        Text [ en-US ] = "The migration was not successful. Examine the migration log below for details.";
349cdf0e10cSrcweir    };
350cdf0e10cSrcweir};
351cdf0e10cSrcweir
352cdf0e10cSrcweirString STR_FORM
353cdf0e10cSrcweir{
354cdf0e10cSrcweir    Text [ en-US ] = "Form '$name$'";
355cdf0e10cSrcweir    Text [ x-comment ] = "This refers to a form document inside a database document.";
356cdf0e10cSrcweir};
357cdf0e10cSrcweir
358cdf0e10cSrcweirString STR_REPORT
359cdf0e10cSrcweir{
360cdf0e10cSrcweir    Text [ en-US ] = "Report '$name$'";
361cdf0e10cSrcweir    Text [ x-comment ] = "This refers to a report document inside a database document.";
362cdf0e10cSrcweir};
363cdf0e10cSrcweir
364cdf0e10cSrcweirString STR_OVERALL_PROGRESS
365cdf0e10cSrcweir{
366cdf0e10cSrcweir    Text [ en-US ] = "document $current$ of $overall$";
367cdf0e10cSrcweir};
368cdf0e10cSrcweir
369cdf0e10cSrcweirString STR_DATABASE_DOCUMENT
370cdf0e10cSrcweir{
371cdf0e10cSrcweir    Text[ en-US ] = "Database Document";
372cdf0e10cSrcweir};
373cdf0e10cSrcweir
374cdf0e10cSrcweirString STR_SAVED_COPY_TO
375cdf0e10cSrcweir{
376cdf0e10cSrcweir    Text[ en-US ] = "saved copy to $location$";
377cdf0e10cSrcweir};
378cdf0e10cSrcweir
379cdf0e10cSrcweirString STR_MOVED_LIBRARY
380cdf0e10cSrcweir{
381cdf0e10cSrcweir    Text[ en-US ] = "migrated $type$ library '$old$' to '$new$'";
382cdf0e10cSrcweir};
383cdf0e10cSrcweir
384cdf0e10cSrcweirString STR_LIBRARY_TYPE_AND_NAME
385cdf0e10cSrcweir{
386cdf0e10cSrcweir    Text [ en-US ] = "$type$ library '$library$'";
387cdf0e10cSrcweir};
388cdf0e10cSrcweir
389cdf0e10cSrcweirString STR_MIGRATING_LIBS
390cdf0e10cSrcweir{
391cdf0e10cSrcweir	Text [ en-US ] = "migrating libraries ...";
392cdf0e10cSrcweir};
393cdf0e10cSrcweir
394cdf0e10cSrcweirString STR_OOO_BASIC
395cdf0e10cSrcweir{
396cdf0e10cSrcweir    Text[ en-US ] = "%PRODUCTNAME Basic";
397cdf0e10cSrcweir};
398cdf0e10cSrcweir
399cdf0e10cSrcweirString STR_JAVA_SCRIPT
400cdf0e10cSrcweir{
401cdf0e10cSrcweir    Text[ en-US ] = "JavaScript";
402cdf0e10cSrcweir};
403cdf0e10cSrcweir
404cdf0e10cSrcweirString STR_BEAN_SHELL
405cdf0e10cSrcweir{
406cdf0e10cSrcweir    Text[ en-US ] = "BeanShell";
407cdf0e10cSrcweir};
408cdf0e10cSrcweir
409cdf0e10cSrcweirString STR_JAVA
410cdf0e10cSrcweir{
411cdf0e10cSrcweir    Text[ en-US ] = "Java";
412cdf0e10cSrcweir};
413cdf0e10cSrcweir
414cdf0e10cSrcweirString STR_PYTHON
415cdf0e10cSrcweir{
416cdf0e10cSrcweir    Text[ en-US ] = "Python";
417cdf0e10cSrcweir};
418cdf0e10cSrcweir
419cdf0e10cSrcweirString STR_DIALOG
420cdf0e10cSrcweir{
421cdf0e10cSrcweir    Text[ en-US ] = "dialog";
422cdf0e10cSrcweir};
423cdf0e10cSrcweir
424cdf0e10cSrcweirString STR_ERRORS
425cdf0e10cSrcweir{
426cdf0e10cSrcweir    Text [ en-US ] = "Error(s)";
427cdf0e10cSrcweir};
428cdf0e10cSrcweir
429cdf0e10cSrcweirString STR_WARNINGS
430cdf0e10cSrcweir{
431cdf0e10cSrcweir    Text [ en-US ] = "Warnings";
432cdf0e10cSrcweir};
433cdf0e10cSrcweir
434cdf0e10cSrcweirString STR_EXCEPTION
435cdf0e10cSrcweir{
436cdf0e10cSrcweir    Text [ en-US ] = "caught exception: ";
437cdf0e10cSrcweir};
438cdf0e10cSrcweir
439cdf0e10cSrcweir
440cdf0e10cSrcweirErrorBox ERR_INVALID_BACKUP_LOCATION
441cdf0e10cSrcweir{
442cdf0e10cSrcweir    Buttons = WB_OK;
443cdf0e10cSrcweir    Message [ en-US ] = "You need to choose a backup location other than the document location itself.";
444cdf0e10cSrcweir};
445cdf0e10cSrcweir
446cdf0e10cSrcweirString STR_INVALID_NUMBER_ARGS
447cdf0e10cSrcweir{
448cdf0e10cSrcweir    Text [ en-US ] = "Invalid number of initialization arguments. Expected 1.";
449cdf0e10cSrcweir};
450cdf0e10cSrcweirString STR_NO_DATABASE
451cdf0e10cSrcweir{
452cdf0e10cSrcweir    Text [ en-US ] = "No database document found in the initialization arguments.";
453cdf0e10cSrcweir};
454cdf0e10cSrcweirString STR_NOT_READONLY
455cdf0e10cSrcweir{
456cdf0e10cSrcweir    Text [ en-US ] = "Not applicable to read-only documents.";
457cdf0e10cSrcweir};
458