A field as described by [1] consist of field instructions and the field result. While processing a .doc file a bookmark may refer to text of the field result.
Patch description:
* processing of the hyperlink field has been rewritten
* added support for bookmarks in the field result of hyperlinks
* added support for hyperlinks having a field result referring to a floating or inline picture
* removals in processing of the pageref field were consulted with Jean-Nicolas Artaud
TODO:
* the field result has to be placed into the <text:span> element with the correct style applied
* there seems to be no support for the <draw:a> element
* processing of all other fields has to be checked for bookmarks support
[1] [MS-DOC] Word Binary File Format (.doc) Structure Specification
|