Apache OpenOffice (AOO) Bugzilla – Issue 19000
rtf export of cross-reference field and bookmark
Last modified: 2013-08-07 14:41:36 UTC
Hello! First the background of my question and bug report: I'm contributing to development of the LaTeX2rtf converter and we got requests from OO users to make its rtf output OO compatible. Generally OO imports our rtf quite well but it doesn't recognize the field functions. LaTeX2rtf (up to now) only generates - bookmarks - REF fields for references to the bookmarks - EQ fields for equations. While we already included an option for not generating EQ fields - AFAIK OO doesn't have an equivalence to these -, we'd like to at least convert the crossreferences. QUESTION: How must bookmarks and crossreferences be coded in rtf to be successfully recognized by OO? To solve the question, I created document with a bookmark and a crossreference in OO and saved as rtf, BUT THAT DIDN'T WORK. HERE ARE THE BUGS: 1.) The bookmark is exported but it does not contain the text it originally contained. E.g. if in the document I bookmark the string "abc" then the exported rtf code is abc{\*\bkmkstart BookMarkName}{\*\bkmkend BookMarkName} or {\*\bkmkstart BookMarkName}{\*\bkmkend BookMarkName}abc while it should be {\*\bkmkstart BookMarkName}abc{\*\bkmkend BookMarkName} 2.) The cross reference field isn't exported at all, the rtf code just contains the field results. OO itself doesn't recognize these fields which it exported to rtf.
jw: reassigned to mru
OO 2.0 will be able to im-/export Bookmarks and References to these correclty.
Verified this with internal build src680m5s1.
Checked with OO 2.0 build 680m35. Closed.