API Reference

Class

PdfValidationResult

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Wrapper-friendly validation result for checking whether a PDF can be read or safely rewritten by OfficeIMO.Pdf.

Inheritance

  • Object
  • PdfValidationResult

Methods

public Boolean Can(PdfPreflightCapability capability) #
Returns: Boolean

Returns true when a specific read, extraction, or manipulation capability is available.

Parameters

capability OfficeIMO.Pdf.PdfPreflightCapability requiredposition: 0
public IReadOnlyList<String> GetCapabilityDiagnostics(PdfPreflightCapability capability) #
Returns: IReadOnlyList<String>

Returns diagnostics explaining why a specific capability is unavailable.

Parameters

capability OfficeIMO.Pdf.PdfPreflightCapability requiredposition: 0
public Boolean HasReadBlocker(PdfReadBlockerKind kind) #
Returns: Boolean

Returns true when a specific read blocker is present.

Parameters

kind OfficeIMO.Pdf.PdfReadBlockerKind requiredposition: 0
public Boolean HasRewriteBlocker(PdfRewriteBlockerKind kind) #
Returns: Boolean

Returns true when a specific rewrite blocker is present.

Parameters

kind OfficeIMO.Pdf.PdfRewriteBlockerKind requiredposition: 0

Properties

public PdfDocumentPreflight Preflight { get; } #

Underlying preflight report with detailed capability and blocker information.

public Boolean IsValid { get; } #

True when OfficeIMO.Pdf can parse enough of the document for read-oriented operations.

public Boolean CanRead { get; } #

True when OfficeIMO.Pdf can parse enough of the document for read-oriented operations.

public Boolean CanRewrite { get; } #

True when OfficeIMO.Pdf can attempt rewrite-style operations without known blockers.

public Boolean CanExtractText { get; } #

True when OfficeIMO.Pdf can extract text from the document.

public Boolean CanExtractImages { get; } #

True when OfficeIMO.Pdf can extract images from the document.

public Boolean CanReadLogicalObjects { get; } #

True when OfficeIMO.Pdf can load logical readback objects from the document.

public Boolean CanManipulatePages { get; } #

True when OfficeIMO.Pdf can attempt page manipulation helpers without known blockers.

public Boolean CanFillSimpleFormFields { get; } #

True when OfficeIMO.Pdf can fill supported simple AcroForm fields.

public Boolean CanFlattenSimpleFormFields { get; } #

True when OfficeIMO.Pdf can flatten supported simple AcroForm fields.

public Boolean CanFillAndFlattenSimpleFormFields { get; } #

True when OfficeIMO.Pdf can fill and flatten supported simple AcroForm fields.

public PdfAppendOnlyMutationReport AppendOnlyMutationReport { get; } #

Append-only mutation policy for metadata, form-value, and external-signature revisions.

public Boolean CanAppendMetadataRevision { get; } #

True when OfficeIMO.Pdf can append a metadata-only revision to this input.

public Boolean CanAppendFormFieldRevision { get; } #

True when OfficeIMO.Pdf can append simple AcroForm field-value revisions to this input.

public Boolean CanPrepareExternalSignatureRevision { get; } #

True when OfficeIMO.Pdf can append an external-signature placeholder revision to this input.

public PdfDocumentInfo DocumentInfo { get; } #

Parsed document information when validation reached inspection.

public PdfDocumentProbe Probe { get; } #

Lightweight PDF markers read before full parsing.

public String HeaderVersion { get; } #

PDF header version when one was discovered.

public Int32 PageCount { get; } #

Page count when the document could be inspected; otherwise 0.

public IReadOnlyList<String> Diagnostics { get; } #

Human-readable diagnostics explaining validation failures or rewrite blockers.

public IReadOnlyList<PdfReadBlocker> ReadBlockers { get; } #

Structured reasons why read-oriented validation failed.

public IReadOnlyList<PdfRewriteBlocker> RewriteBlockers { get; } #

Structured reasons why rewrite-style operations are blocked.