2021-08-03 15:58:26 +02:00
|
|
|
// Options according to https://www.ecma-international.org/publications/standards/Ecma-376.htm (at Part 1, Page 1234)
|
|
|
|
|
2021-09-08 00:41:40 +01:00
|
|
|
export interface IPageReferenceOptions {
|
2021-08-03 15:58:26 +02:00
|
|
|
/**
|
|
|
|
* \h option - Creates a hyperlink to the bookmarked paragraph.
|
|
|
|
*/
|
|
|
|
readonly hyperlink?: boolean;
|
|
|
|
/**
|
|
|
|
* \p option - Causes the field to display its position relative to the source
|
|
|
|
* bookmark. If the PAGEREF field is on the same page as the
|
|
|
|
* bookmark, it omits "on page #" and returns "above" or "below"
|
|
|
|
* only. If the PAGEREF field is not on the same page as the
|
|
|
|
* bookmark, the string "on page #" is used.
|
|
|
|
*/
|
|
|
|
readonly useRelativePosition?: boolean;
|
|
|
|
}
|