CommentSummaryOptions
Defined in: packages/sdk/src/summary.ts:16
What Document.commentSummary shows and how. Only font is needed; the rest have
defaults.
0.6.0
Properties
Section titled “Properties”comments?
Section titled “comments?”readonly comments?: readonly string[];Defined in: packages/sdk/src/summary.ts:31
The IDs of the comments to list, such as those a comments panel shows; every comment when left out.
emptyPages?
Section titled “emptyPages?”readonly emptyPages?: boolean;Defined in: packages/sdk/src/summary.ts:37
Whether pages without comments are listed too, each saying it has none (no by default).
fallbacks?
Section titled “fallbacks?”readonly fallbacks?: readonly Font[];Defined in: packages/sdk/src/summary.ts:23
Fonts for the characters font lacks, tried in order.
readonly font: Font;Defined in: packages/sdk/src/summary.ts:21
The font its text is set in, embedded and subset. A standard 14 font is refused
(font-not-embedded), since PDF/UA-1 needs embedded fonts.
language?
Section titled “language?”readonly language?: string;Defined in: packages/sdk/src/summary.ts:49
The summary’s language, a BCP 47 tag ("en" by default): give the language most comments
are in, so screen readers read them in it. Give the summary’s own words in it too (words).
layout?
Section titled “layout?”readonly layout?: "list" | "besidePage";Defined in: packages/sdk/src/summary.ts:29
"besidePage" (the default): each page drawn small at the left, with its comments’ numbers
marked on it and the comments beside it. "list": each page’s comments under its heading,
without the page.
paper?
Section titled “paper?”readonly paper?: readonly [number, number] | "document";Defined in: packages/sdk/src/summary.ts:39
"document", the size of the first page (the default), or [width, height] in points.
replies?
Section titled “replies?”readonly replies?: boolean;Defined in: packages/sdk/src/summary.ts:33
Whether each comment’s replies are listed under it (yes by default).
status?
Section titled “status?”readonly status?: boolean;Defined in: packages/sdk/src/summary.ts:35
Whether each comment’s latest status and check mark are listed (yes by default).
title?
Section titled “title?”readonly title?: string;Defined in: packages/sdk/src/summary.ts:44
Its title: “Comments on” and the document’s title by default, or “Comment summary” when the document has no title.
words?
Section titled “words?”readonly words?: CommentSummaryWords;Defined in: packages/sdk/src/summary.ts:56
The words the summary writes itself, such as “Page”, in the summary’s language. Any you
leave out stay in English.
0.6.0