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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.