automationdev300m87: #i112208# - Eliminate sMakeReadonlyDocumentEditable() calls in module chart2
This commit is contained in:
parent
b7b4868aa5
commit
a09c75aca6
2 changed files with 3 additions and 9 deletions
|
@ -782,9 +782,7 @@ endcase
|
|||
'
|
||||
function fOpenWriterTestDocumentAndInsertChart(sInputFile as STRING) as BOOLEAN
|
||||
fOpenWriterTestDocumentAndInsertChart = FALSE
|
||||
call hFileOpen(sInputFile)
|
||||
sleep(2)
|
||||
Call sMakeReadOnlyDocumentEditable()
|
||||
hFileOpenLocally(sInputFile)
|
||||
'///Menu Insert Object Chart to open chart wizard
|
||||
printlog "Menu Insert Object Chart to open chart wizard"
|
||||
InsertObjectChart
|
||||
|
|
|
@ -162,9 +162,7 @@ end function
|
|||
'
|
||||
function fOpenTestDocumentAndSelectDataRange(sInputFile as string) as BOOLEAN
|
||||
fOpenTestDocumentAndSelectDataRange = FALSE
|
||||
call hFileOpen(sInputFile)
|
||||
sleep(2)
|
||||
Call sMakeReadOnlyDocumentEditable()
|
||||
hFileOpenLocally(sInputFile)
|
||||
'/// Select chart using navigator
|
||||
printlog "Select chart using navigator"
|
||||
call fSelectFirstOLE
|
||||
|
@ -191,9 +189,7 @@ end function
|
|||
'
|
||||
function fOpenTestDocumentAndInsertChart(sInputFile as string) as BOOLEAN
|
||||
fOpenTestDocumentAndInsertChart = FALSE
|
||||
call hFileOpen(sInputFile)
|
||||
sleep(2)
|
||||
Call sMakeReadOnlyDocumentEditable()
|
||||
hFileOpenLocally(sInputFile)
|
||||
Kontext "DocumentCalc"
|
||||
printlog "Type <STRG+HOME>"
|
||||
DocumentCalc.TypeKeys "<MOD1 HOME>"
|
||||
|
|
Loading…
Reference in a new issue