[Libreoffice-bugs] [Bug 112148] New: Export as Images extension 0.9.3 Has BASIC syntax error
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 31 17:44:42 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112148
Bug ID: 112148
Summary: Export as Images extension 0.9.3 Has BASIC syntax
error
Product: LibreOffice
Version: 5.3.1.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: divirtual at coevolving.com
In LibreOffice 5.3.1.2, I have installed the Export as Images extension 0.9.3.
With an open presentation, I choose File ... Export as Images ... to result on
the following error message:
Basic syntax error.
Expected: ).
Pressing OK four times clears the error window.
The window with the Object Catalog appears. I see:
My Macros and Dialogs ... Export images ... _ Export Images, with the following
code:
'Setting UrlName
Dim sFileUrl As String
if imgType = "jpg" then
sFileUrl = ConvertToURL( exportPath + exportName + " - " + slideNum +
".jpg"
endif
if imgType = "png" then
sFileUrl = ConvertToURL( exportPath + exportName + " - " + slideNum +
".png"
endif
if imgType = "gif" then
sFileUrl = ConvertToURL( exportPath + exportName + " - " + slideNum +
".gif"
endif
if imgType = "bmp" then
sFileUrl = ConvertToURL( exportPath + exportName + " - " + slideNum +
".bmp"
endif
if imgType = "tif" then
sFileUrl = ConvertToURL( exportPath + exportName + " - " + slideNum +
".tif"
endif
if imgType = "svg" then
sFileUrl = ConvertToURL( exportPath + exportName + " - " + slideNum +
".svg"
endif
Just reading this, it looks to me like the closing bracket is missing on the
ConvertToURL function, so I add closing brackets to 6 lines.
I save and close. Again running File ... Export to Images ... my
transformation to a series of PNG files works as expected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170831/43ba5ac2/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list