PdfAltTextProposal

data class PdfAltTextProposal(val id: String, val pageIndex: Int, val markedContentIds: List<Int>, val rect: PdfRect, val kind: PdfAltTextKind, val text: String, val source: PdfAiSource?, val context: String)

Constructors

Link copied to clipboard
constructor(id: String, pageIndex: Int, markedContentIds: List<Int>, rect: PdfRect, kind: PdfAltTextKind, text: String, source: PdfAiSource?, context: String)

Properties

Link copied to clipboard

The page text given to the model as context.

Link copied to clipboard
val id: String

"<pageIndex>:<marked-content ids joined by ,>".

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rect: PdfRect
Link copied to clipboard
Link copied to clipboard

Empty when no route proposed a description; a person writes one.