summaryrefslogtreecommitdiff
path: root/testautomation/global/tools/includes/required/t_files.inc
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-01 10:23:47 +0100
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-01 10:23:47 +0100
commitf1d43cb2637dd0cdc0077f8a30d63d98b7ca49c1 (patch)
treee903a164c31e7ed1e765345f1981993f8f8b1bef /testautomation/global/tools/includes/required/t_files.inc
parent81ebe1acc86163cccf9de3c32be965590108dba3 (diff)
vitomation01: #i109696 - removed hFileExport(), it is unused
Diffstat (limited to 'testautomation/global/tools/includes/required/t_files.inc')
-rwxr-xr-xtestautomation/global/tools/includes/required/t_files.inc24
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: &quot;PDF&quot;: 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