OpenOffice BASIC?
Kevin B. Hendricks
yellowdog-general@lists.terrasoftsolutions.com
Sat Oct 19 09:20:01 2002
Hi Carl,
I saw your bug report. The error message indicates that the bug is in a
basic "interpreted"script.
The bug involves the definiton of NoArgs() in the line you highlighted. I
am not sure why this bug does not impact x86 Linux. It should.
Luckily you can apply the following patch to the Basic source code stored
in your OpenOffice.org installation site and all should then work:
--- HtmlAutoPilotBasic.xba.old Mon Nov 19 11:30:31 2001
+++ HtmlAutoPilotBasic.xba Sat Oct 19 11:11:56 2002
@@ -34,7 +34,8 @@
Public oBaseDocument as Object
Public oViewCursor as Object
Public oViewSettings as Object
-Public NoArgs as New com.sun.star.beans.PropertyValue
+
+REM Public NoArgs as new com.sun.star.beans.PropertyValue
Public oCursor as Object
Public oBookmarks as Object
@@ -47,6 +48,7 @@
Sub Main
Dim RetValue
+Dim NoArgs()
'On Local Error Goto GlobalErrorHandler
Dim SOBitmapPath,sBitmapPath as String
BasicLibraries.LoadLibrary("Tools")
Apply this to
OpenOffice.org1.0.1/share/basic/WebWizard/HtmlAutoPilotBasic.xba and you
should be good to go with File->AutoPilot->WebPage
Hope this helps,
Kevin