Some clarification:
> It seems that reference strings have somewhat different spaces:
> “_Ref498096146 “ and “ _Ref498096146” are the same reference (space after,
> space before) I assume?
The spacing seems to be inserted by calling getPresentation(). Using the
SourceName and CurrentPresentation properties works ok.
> 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?
I think a TextField’s GetReference service
<https://www.openoffice.org/api/docs/common/ref/com/sun/star/text/textfield/GetReference.html>,
if available, contains the appropriate reference field sources
<https://www.openoffice.org/api/docs/common/ref/com/sun/star/text/ReferenceFieldSource.html>.
Although I don’t quite understand the difference between “bookmark” and
“reference mark”.
Still trying to find information on the other questions though…
Jens_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice