Document.RepairOptions

Inheritance: java.lang.Object, com.aspose.pdf.Document.RepairOptions

public static class Document.RepairOptions extends Object

Represents options for repairing a PDF document. This class provides a way to customize the repair process of a PDF document.

Constructors

ConstructorDescription
RepairOptions

Methods

MethodDescription
isRestoreIndirectObjectGenerationsGets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process.
setRestoreIndirectObjectGenerationsGets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process.

RepairOptions

public RepairOptions()

isRestoreIndirectObjectGenerations

public boolean isRestoreIndirectObjectGenerations()

Gets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process.

Returns: boolean value

setRestoreIndirectObjectGenerations

public void setRestoreIndirectObjectGenerations(boolean restoreIndirectObjectGenerations)

Gets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process.

Parameters:

ParameterTypeDescription
restoreIndirectObjectGenerationsboolean value