#[non_exhaustive]pub enum Capability {
Show 41 variants
PdfParse,
PdfWrite,
PageOps,
TextExtract,
TextExtractWithLayout,
ImageExtract,
TableExtract,
RenderRaster,
RenderThumbnail,
AcroFormRead,
AcroFormFill,
AcroFormFlatten,
XfaParse,
XfaFill,
XfaFlatten,
EncryptionRead,
EncryptionWrite,
DigitalSignatureSign,
DigitalSignatureVerify,
PadesLongTerm,
PadesLongTermArchive,
PdfaValidate,
PdfaConvertA1b,
PdfaConvertA2b,
PdfaConvertA3b,
PdfuaValidate,
PdfuaConvert,
EInvoiceZugferd,
EInvoiceFacturX,
EInvoiceXRechnung,
Redaction,
OcrTesseract,
OcrPaddle,
Html2Pdf,
DocxExport,
XlsxExport,
PptxExport,
PdfDiff,
WasmRuntime,
AirGapped,
OemRedistribution,
}Expand description
A capability represents a discrete SDK feature subject to licensing.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PdfParse
Parse PDF documents.
PdfWrite
Serialise PDF documents.
PageOps
Page-level operations (rotate, split, merge).
TextExtract
Extract plain text.
TextExtractWithLayout
Extract text with layout (bounding boxes).
ImageExtract
Extract embedded images.
TableExtract
Extract tables.
RenderRaster
Rasterise pages to PNG/JPEG/WebP.
RenderThumbnail
Generate page thumbnails.
AcroFormRead
Read AcroForm fields.
AcroFormFill
Fill AcroForm fields.
AcroFormFlatten
Flatten AcroForms to static content.
XfaParse
Parse XFA forms.
XfaFill
Fill XFA form data.
XfaFlatten
Flatten XFA forms to AcroForm or static content.
EncryptionRead
Open encrypted PDFs.
EncryptionWrite
Encrypt PDFs (AES-256).
DigitalSignatureSign
Sign documents with digital signatures.
DigitalSignatureVerify
Verify digital signatures.
PadesLongTerm
PAdES B-LT (long-term validation) signing.
PadesLongTermArchive
PAdES B-LTA (long-term with archive timestamp) signing.
PdfaValidate
Validate PDF/A conformance.
PdfaConvertA1b
Convert to PDF/A-1b.
PdfaConvertA2b
Convert to PDF/A-2b.
PdfaConvertA3b
Convert to PDF/A-3b.
PdfuaValidate
Validate PDF/UA accessibility.
PdfuaConvert
Convert to PDF/UA.
EInvoiceZugferd
ZUGFeRD e-invoicing support.
EInvoiceFacturX
Factur-X e-invoicing support.
EInvoiceXRechnung
XRechnung e-invoicing support.
Redaction
Redaction of text and content.
OcrTesseract
OCR using Tesseract.
OcrPaddle
OCR using PaddleOCR.
Html2Pdf
HTML-to-PDF conversion via headless Chromium.
DocxExport
Export to DOCX.
XlsxExport
Export to XLSX.
PptxExport
Export to PPTX.
PdfDiff
Document diff/compare.
WasmRuntime
Run in WebAssembly environments.
AirGapped
Run in air-gapped/offline deployments.
OemRedistribution
OEM/SaaS redistribution rights.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Capability
impl Debug for Capability
Source§impl Hash for Capability
impl Hash for Capability
Source§impl PartialEq for Capability
impl PartialEq for Capability
Source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
self and other values to be equal, and is used by ==.impl Copy for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.