Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfDocumentPreflight

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • PdfDocumentPreflight

Usage

Explore 7 API references to this type

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

Methods

public bool Can(PdfPreflightCapability capability) #

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

Parameters

capability OfficeIMO.Pdf.PdfPreflightCapability required

Returns

bool
public IReadOnlyList<string> GetCapabilityDiagnostics(PdfPreflightCapability capability) #

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 required

Returns

IReadOnlyList<string>
public bool HasReadBlocker(PdfReadBlockerKind kind) #

Returns true when a specific read blocker is present.

Parameters

kind OfficeIMO.Pdf.PdfReadBlockerKind required

Returns

bool
public bool HasRewriteBlocker(PdfRewriteBlockerKind kind) #

Returns true when a specific rewrite blocker is present.

Parameters

kind OfficeIMO.Pdf.PdfRewriteBlockerKind required

Returns

bool

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 bool CanRead { get; } #

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

public bool CanRewrite { get; } #

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

public bool CanExtractText { get; } #

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

public bool CanPrint { get; } #

True when the authenticated document permissions allow printing.

public bool CanExtractImages { get; } #

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

public bool CanExtractAttachments { get; } #

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

public bool CanReadLogicalObjects { get; } #

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

public PdfPermissionPolicy PermissionPolicy { get; } #

Permission policy used while evaluating extraction and mutation capabilities.

public bool PermissionRestrictionsIgnored { get; } #

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

public bool CanManipulatePages { get; } #

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

public bool CanFillSimpleFormFields { get; } #

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

public bool CanFlattenSimpleFormFields { get; } #

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

public bool 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 bool HasSecurityDiagnostics { get; } #

True when security-specific diagnostics were produced.

public bool RequiresAppendOnlyMutation { get; } #

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

public bool 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 bool CanAppendMetadataRevision { get; } #

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

public bool CanAppendFormFieldRevision { get; } #

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

public bool 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.