Module

x/docx/src/file/paragraph/links/pageref-properties.ts>IPageReferenceOptions

Easily generate and modify .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
Go to Latest
interface IPageReferenceOptions
import { type IPageReferenceOptions } from "https://dotland.deno.dev/x/docx@8.2.1/src/file/paragraph/links/pageref-properties.ts";

Properties

readonly
optional
useRelativePosition: 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.