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