Posted on 2010-01-11 13:39:24-08 by jmgdoc in response to 12154
Re: How to create a footnote or endnote in an ODT document?

As said here, offset specifies the numeric position of the note in the text of the target element.

The offset option is the index of the character which the note should be placed before.
If offset=0 (the default), the note is placed before the text.
If offset=-1, the note is placed before the last character.
If the insertion point depends on the content, the application may compute the offset using index() or a regex-based search.

The meaning of the offset parameter in setNote is consistent with setBookmark.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.