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