Existing citations deleted when inserting a new one
Hi,
When I insert a new citation on an existing OpenOffice.org Writer document and refresh the bibliography the existing citations disappear and are replaced with {citation} Any idea how to fix this? I use OpenOffice 2.3.0, OOo-Plugin-1.0b1, Firefox plug in Zotero 1.0.0rc5 in Firefox 2.0.0.9
I already used the fix described in http://forums.zotero.org/discussion/1433/?Focus=6000#Comment_6000 so it doesn't give me that error
When I insert a new citation on an existing OpenOffice.org Writer document and refresh the bibliography the existing citations disappear and are replaced with {citation} Any idea how to fix this? I use OpenOffice 2.3.0, OOo-Plugin-1.0b1, Firefox plug in Zotero 1.0.0rc5 in Firefox 2.0.0.9
I already used the fix described in http://forums.zotero.org/discussion/1433/?Focus=6000#Comment_6000 so it doesn't give me that error
I have an error message that pops-up and says:
"Object variable not set"
at line
nLT1 = oR1.Text.ReferenceId
within
Function fnRangeComp(m1, m2) as boolean
'Needed for the sort routine in OOo to get marks in correct order.
Dim oR1, oR2, nLT1 as Integer, nLT2 as Integer
oR1 = fnMarkRange(m1)
oR2 = fnMarkRange(m2)
nLT1 = fnLocationType(oR1)
nLT2 = fnLocationType(oR2)
if nLT1 > nLT2 then
fnRangeComp = true
elseif nLT1 < nLT2 then
fnRangeComp = false
elseif nLT1 = ZOTERO_MAIN then
fnRangeComp = thisComponent.Text.compareRegionStarts(oR1, oR2) > 0
else
nLT1 = oR1.Text.ReferenceId
nLT2 = oR2.Text.ReferenceId
fnRangeComp = nLT1 < nLT2
end If
End Function