OpenOffice 3.0 macro error
I recently downloaded OpenOffice 3.o (beta) and installed the Zotero extension. My problem is that whenever I try to insert a citation I get the following error:
basic runtime error. An exception has occurred type:
com.sun.star.beans.UnknownPropertyExceptionMessage: .
The macro editor then pops up and highlights the following line in the
code:
sPropertyValue = thisComponent.DocumentInfo.getPropertyValue(sPropertyName).
I have tried googling this one to death and have not found anything
helpful thus far. If anyone has any experience with this I would
greatly appreciate the help.
Todd
basic runtime error. An exception has occurred type:
com.sun.star.beans.UnknownPropertyExceptionMessage: .
The macro editor then pops up and highlights the following line in the
code:
sPropertyValue = thisComponent.DocumentInfo.getPropertyValue(sPropertyName).
I have tried googling this one to death and have not found anything
helpful thus far. If anyone has any experience with this I would
greatly appreciate the help.
Todd
This discussion has been closed.
Todd
Todd
Todd
Todd
While people may be able to suggest fixes to the current VBA version of the plugin to make it work in OOo 3.0, we won't be releasing an update to the OOo VBA version, as there are serious limitations (such as the overflow issue with large documents) that will be fixed by the Python version.
We hope to release the Python version sometime this summer.
-ft
As I have a really urgent document, is there any chance to see / test / contribute to the forthcoming OOo python version? I am really in a bad situation after having moved to Zotero as these limitations on the maximum references numbers for OOo interaction were not at all obvious initially. Of course, we are very glad and thankful for Zotero and the ongoing efforts of the Zotero team.
Many thanks, kind regards - Ralf
Looking forward to trying the new plugin.
BASIC syntax error.
Unexpected symbol: CRLF.
It highlights the "not" in the "if not" statement.
Not sure what that means.
I'm a bit disappointed that I'm going to have to stick with OO 2.4 until the new release of the plugin for OO 3.0. Dan said it would be this summer above. Does that mean summer 2009?
There are extraneous line endings in the code that you used.
if not thisComponent.DocumentInfo.PropertySetInfo.HasPropertyByName(sPropertyName) then
should be on a single line
basic runtime error. An exception has occurred type:
com.sun.star.beans.UnknownPropertyExceptionMessage: .
So I tried cutting and pasting the patch submitted above into the Macro editor.
However, the Macro editor would not let me do this!
I got an error to the effect that I exceeded insertion length.
I got this error even if I tried to cut and paste in one word.
After a couple attempts, I stumbled on the necessary
syntax for VB, which I do not program in. This took a
while. However, now I have the patched file, and it works
fine. I would like to give it to someone who can wrap it in
the appropriate extraction format for an extension
and made available to others for download so they
would not have to go through my frustration. I have
read else where that the person who developed this
script is no longer supporting it, so I am unaware of
an 'official' solution. If someone would like to volunteer
to wrap the patched file, I will send it to them, or
if someone could point me towards instructions on
how to do it, I will give it a shot.
Thank you.
Jerrold Thompson
I offered earlier today to send such a file by email to anyone who asked. So far, no takers.
I am not making it more publicly available because I don't want to get the blame for when something doesn't work and because the Zotero devs have a better extension in the works anyway.
Closing this thread.