pub struct ExtractReport {
pub skipped: Vec<SkippedText>,
pub hidden: u64,
}Expand description
What extraction could not read. Extraction is lenient the way rendering is — content that will not fetch, decode, or parse yields no text rather than an error — and this report is what keeps that leniency accountable: an empty result with an empty report really is an empty page.
Fields§
§skipped: Vec<SkippedText>Every piece of content that yielded no text, in encounter order.
Content the document’s optional-content configuration turns off
(ISO 32000-1 §8.11): one count per BDC /OC span whose own
membership evaluated hidden and per form XObject with a hidden
/OC entry — a counter rather than entries, so a layer-heavy page
cannot balloon skipped. Configured behavior, not a loss:
ExtractReport::is_complete ignores it.
Implementations§
Source§impl ExtractReport
impl ExtractReport
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
True when every operator stream was fetched, parsed, and executed —
nothing the extraction saw was left out of the result. Content the
document’s optional-content configuration hides (hidden) was read
and deliberately excluded, so it does not count against this.
Trait Implementations§
Source§impl Clone for ExtractReport
impl Clone for ExtractReport
Source§fn clone(&self) -> ExtractReport
fn clone(&self) -> ExtractReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more