PdfChoiceSelection

class PdfChoiceSelection(indices: List<Int>, val freeText: String? = null, unresolvedValues: List<String> = emptyList())(source)

A choice field's complete value (ISO 32000-1, 12.7.4.4). indices identifies options, so equal labels or exports remain distinct. An editable combo can instead hold freeText. unresolvedValues preserves values from a damaged source file that match no option; new edits cannot introduce them. Empty indices with no text means no selection, which differs from selecting an option whose export string is empty. Lists are immutable snapshots.

Constructors

Link copied to clipboard
constructor(indices: List<Int>, freeText: String? = null, unresolvedValues: List<String> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String