Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Easily generate .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://deno.land/x/docx@7.5.0/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.