<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">Some clarification:</div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><ul class="MailOutline"><li class="">It seems that reference strings have somewhat different spaces: “_Ref498096146 “ and “ _Ref498096146” are the same reference (space after, space before) I assume?</li></ul></div></div></div></blockquote><div><br class=""></div><div>The spacing seems to be inserted by calling getPresentation(). Using the SourceName and CurrentPresentation properties works ok.</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><ul class="MailOutline"><li class="">In MS Word, a field’s “code” can be something like { PAGEREF _Ref498098146\h} (or NOTEREF, or REF). How are these reference kinds represented in the OO object model?</li></ul></div></div></div></blockquote><br class=""></div><div>I think a TextField’s <a href="https://www.openoffice.org/api/docs/common/ref/com/sun/star/text/textfield/GetReference.html" class="">GetReference service</a>, if available, contains the appropriate <a href="https://www.openoffice.org/api/docs/common/ref/com/sun/star/text/ReferenceFieldSource.html" class="">reference field sources</a>. Although I don’t quite understand the difference between “bookmark” and “reference mark”.</div><div><br class=""></div><div>Still trying to find information on the other questions though…</div><div>Jens</div></body></html>