<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Export as Images extension 0.9.3 Has BASIC syntax error"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112148">112148</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Export as Images extension 0.9.3 Has BASIC syntax error
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.1.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Impress
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>divirtual@coevolving.com
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>