pub struct PdfACatalogSignals {
pub mark_info_marked: bool,
pub mark_info_user_properties: bool,
pub mark_info_suspects: bool,
pub has_struct_tree_root: bool,
pub catalog_lang: Option<String>,
pub output_intent_count: usize,
pub has_xmp_metadata: bool,
}Expand description
Structural PDF/A signals from the catalog, independent of the
XMP packet. Surfaced by pdfa_signals.
Use PdfAConformance::from_signals_and_xmp to combine these
with the XMP packet’s pdfaid:part / pdfaid:conformance
declaration into a single conformance picture.
Fields§
§mark_info_marked: bool/MarkInfo /Marked — true when the catalog declares the
document is logically structured (“tagged PDF” per
§14.7.2). Required by PDF/A A-level conformance.
mark_info_user_properties: bool/MarkInfo /UserProperties — true when user-properties are
declared (PDF 1.6+). Not required by any PDF/A level, but
surfaced for completeness.
mark_info_suspects: bool/MarkInfo /Suspects — true when the document has suspect
markings (PDF 1.6+). Recommended FALSE for PDF/A-2a / -3a.
has_struct_tree_root: bool/StructTreeRoot reference present on the catalog. The
dict’s contents (the actual tag tree) is NOT walked here.
catalog_lang: Option<String>/Lang on the catalog — language identifier per BCP 47.
Recommended for PDF/A A conformance.
output_intent_count: usize/OutputIntents on the catalog — required by PDF/A for
embedded ICC output intent (§6.2.2). Surfaced as the count
of intent dicts found.
has_xmp_metadata: bool/Metadata reference on the catalog. PDF/A requires an
embedded XMP packet (§6.7); this is true when present.
Trait Implementations§
Source§impl Clone for PdfACatalogSignals
impl Clone for PdfACatalogSignals
Source§fn clone(&self) -> PdfACatalogSignals
fn clone(&self) -> PdfACatalogSignals
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 PdfACatalogSignals
impl Debug for PdfACatalogSignals
Source§impl Default for PdfACatalogSignals
impl Default for PdfACatalogSignals
Source§fn default() -> PdfACatalogSignals
fn default() -> PdfACatalogSignals
impl Eq for PdfACatalogSignals
Source§impl PartialEq for PdfACatalogSignals
impl PartialEq for PdfACatalogSignals
Source§fn eq(&self, other: &PdfACatalogSignals) -> bool
fn eq(&self, other: &PdfACatalogSignals) -> bool
self and other values to be equal, and is used by ==.