API Reference

Class

PdfDocumentPreflight

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Wrapper-friendly PDF capability report for OfficeIMO.Pdf read and rewrite operations.

Inheritance

  • Object
  • PdfDocumentPreflight

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public Boolean Can(PdfPreflightCapability capability) #
Returns: Boolean

Returns true when the requested wrapper-facing capability can be attempted for this PDF.

Parameters

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

Returns operation-specific diagnostics explaining why a wrapper-facing capability is blocked, or an empty list when it can be attempted.

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 PdfDocumentProbe Probe { get; } #

Lightweight PDF markers read before full parsing.

public PdfDocumentInfo DocumentInfo { get; } #

Parsed document information when content extraction is authorized; otherwise null.

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 manipulation without known security blockers.

public Boolean CanExtractText { get; } #

True when OfficeIMO.Pdf can attempt text and structured text readback operations for this PDF.

public Boolean CanExtractImages { get; } #

True when OfficeIMO.Pdf can attempt image XObject extraction for this PDF.

public Boolean CanExtractAttachments { get; } #

True when OfficeIMO.Pdf can attempt embedded-file and associated-file attachment extraction for this PDF.

public Boolean CanReadLogicalObjects { get; } #

True when OfficeIMO.Pdf can attempt logical object readback through PdfLogicalDocument for this PDF.

public PdfPermissionPolicy PermissionPolicy { get; } #

Permission policy used while evaluating extraction and mutation capabilities.

public Boolean PermissionRestrictionsIgnored { get; } #

True when authenticated user-password restrictions are being explicitly ignored.

public Boolean CanManipulatePages { get; } #

True when OfficeIMO.Pdf can attempt at least one page-level rewrite operation.

public Boolean CanFillSimpleFormFields { get; } #

True when OfficeIMO.Pdf can attempt simple AcroForm value updates for named text, choice, or button fields.

public Boolean CanFlattenSimpleFormFields { get; } #

True when OfficeIMO.Pdf can attempt simple AcroForm flattening for text, choice, or button widgets with page-backed rectangles.

public Boolean CanFillAndFlattenSimpleFormFields { get; } #

True when OfficeIMO.Pdf can attempt simple AcroForm value updates followed by simple widget flattening.

public IReadOnlyList<String> Diagnostics { get; } #

Human-readable diagnostics explaining blocked or risky operations.

public IReadOnlyList<PdfReadBlocker> ReadBlockers { get; } #

Structured reasons why read-oriented operations are blocked.

public IReadOnlyList<PdfRewriteBlocker> RewriteBlockers { get; } #

Structured reasons why rewrite-style manipulation is blocked.

public IReadOnlyList<String> SecurityDiagnostics { get; } #

Human-readable security, signature, and revision diagnostics derived from the lightweight probe.

public Boolean HasSecurityDiagnostics { get; } #

True when security-specific diagnostics were produced.

public Boolean RequiresAppendOnlyMutation { get; } #

True when signatures, append-only flags, rights, or existing revisions require mutation by adding a new PDF revision.

public Boolean CanAppendOnlyMutate { get; } #

True when the current OfficeIMO.Pdf writer can safely attempt append-only mutation for this input.

public PdfAppendOnlyMutationReport AppendOnlyMutationReport { get; } #

Append-only mutation policy derived from the same security markers used by the incremental updater.

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 IReadOnlyList<String> AppendOnlyMutationDiagnostics { get; } #

Human-readable diagnostics explaining why append-only mutation cannot be attempted yet.