diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-01 10:23:47 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-01 10:23:47 +0100 |
commit | f1d43cb2637dd0cdc0077f8a30d63d98b7ca49c1 (patch) | |
tree | e903a164c31e7ed1e765345f1981993f8f8b1bef /testautomation/global/tools/includes/required/t_files.inc | |
parent | 81ebe1acc86163cccf9de3c32be965590108dba3 (diff) |
vitomation01: #i109696 - removed hFileExport(), it is unused
Diffstat (limited to 'testautomation/global/tools/includes/required/t_files.inc')
-rwxr-xr-x | testautomation/global/tools/includes/required/t_files.inc | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/testautomation/global/tools/includes/required/t_files.inc b/testautomation/global/tools/includes/required/t_files.inc index 67a51b287caf..7327609b8820 100755 --- a/testautomation/global/tools/includes/required/t_files.inc +++ b/testautomation/global/tools/includes/required/t_files.inc @@ -217,6 +217,8 @@ end function '------------------------------------------------------------------------------- ' function hGetUsedFilter () as string + + ' used in math and graphics modules '/// Get used filter for loaded file. try FileSaveAs @@ -230,28 +232,6 @@ end function ' '------------------------------------------------------------------------------- ' -function hFileExport (sName as string, sFilter as string) as boolean - '/// Wrapper function to simplify the use of the export functions, just give a filename and export format. - '///+ INPUT:<ul><li>sName: filename</li><li>sFilter: "PDF": call export for PDF</li></ul> - '///+ RETURN: execution success? - select case sFilter - case "PDF" : '/// use the function 'hExportAsPDF' with RECOMMENDED values /// ' - hFileExport = hExportAsPDFmulti (3, TRUE, sName, FALSE, TRUE, 1, 1) - end select - kontext - if active.exists(5) then - try - printlog active.getText - active.ok - warnLog "i26820 - errormessage about saving" - catch - printlog "pdf unexpected error in hFileExport()" - endcatch - endif -end function -' -'------------------------------------------------------------------------------- -' function hExportAsPDFmulti (iTypeOfCall as integer, bExecute as boolean, sFileName as string, bAutoExtension as boolean, bOverwriteFile as boolean, iRange as integer, iConpression as integer, optional sRange as string) as boolean '/// Export a document to PDF with various options. '///+ INPUT |