From d93f1af562e459899b1c2e41405069d0240644d4 Mon Sep 17 00:00:00 2001 From: "Joerg Skottke [jsk]" Date: Thu, 9 Sep 2010 13:11:38 +0200 Subject: automationdev300m87: #i112208# - Implemented fuction to work with a local copy of a file which resides anywhere else in the filesystem. The file is then copied to the users work directory and opened from there. This is experimental and the function needs to be called explicitly. The function is another workaround for the paramount problem that we cannot reliably switch a readonly document to edit-mode. Used the opportunity to introduce a new global variable (and fix the case of others, as they are not constants as they were initially planned to be) --- testautomation/global/system/includes/gvariabl.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) mode change 100755 => 100644 testautomation/global/system/includes/gvariabl.inc (limited to 'testautomation/global/system/includes') diff --git a/testautomation/global/system/includes/gvariabl.inc b/testautomation/global/system/includes/gvariabl.inc old mode 100755 new mode 100644 index ca3764a1a51b..d9290ebb2c3c --- a/testautomation/global/system/includes/gvariabl.inc +++ b/testautomation/global/system/includes/gvariabl.inc @@ -171,11 +171,14 @@ Global Const GC_MACRO_SECURITY_LEVEL_DEFAULT = 2 '///+ GC_MACRO_SECURITY_LEVEL '///* OOo Improvement Program Global gOOoImprovementIsEnabled as boolean -'///* Performance flags -Global GLOBAL_USE_NEW_SLEEP as boolean ' keep the old sleep() behavior +'///* Performance flags, set to true to eliminate wait/sleep statements, default is FALSE +Global global_use_new_sleep as boolean -'///* If set to TRUE in master.inc many functions become more talkative -Global GVERBOSE as boolean +'///* If set to TRUE many functions become more talkative, default is FALSE +Global gVerbose as boolean + +'///* When using hFileOpenLocally(...) we do not know the filename under which the file has been saved. +Global gLastWorkFile as string sub OnlyForDocuGVariables '///System for the installed Office -- cgit From 2b816892590a1980331803de8a21bbfe0dc08a25 Mon Sep 17 00:00:00 2001 From: Thorsten Bosbach Date: Tue, 19 Oct 2010 16:44:25 +0200 Subject: #i115122# hid.lst is again static --- testautomation/global/system/includes/master.inc | 98 ------------------------ 1 file changed, 98 deletions(-) (limited to 'testautomation/global/system/includes') diff --git a/testautomation/global/system/includes/master.inc b/testautomation/global/system/includes/master.inc index 880496e3dc42..3825dadff409 100644 --- a/testautomation/global/system/includes/master.inc +++ b/testautomation/global/system/includes/master.inc @@ -84,7 +84,6 @@ sub GetUseFiles Call GetIniInformation '///+
  • GetIniInformation: Get all information out of the testtool.ini/.testtoolrc and set it on global variables (iniinfo.inc)
  • Call GetOfficeInformation '///+
  • GetOfficeInformation: Set sAppExe for startup (iniinfo.inc)
  • - Call prepareHidLst Call LoadDeclaration '///+