1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Neutral marked-content inventory (ISO 32000-1 §14.6).
//!
//! A marked-content span is a `BMC`/`BDC`…`EMC` range carrying a tag name.
//! Most tags are structural (`/Span`, `/P`, `/OC`) and of no interest here,
//! but interactive editors leave their own: Acrobat's Edit Text tool wraps
//! re-typed runs in `/TouchUp_TextEdit` (and related `/TouchUp_*` tags).
//! This module records every span neutrally — tag, position, and enclosed
//! text bounds — without judging what any tag means. Deciding which tags
//! count as edit markers is the consumer's job.
use crateRect;
/// One `BMC`/`BDC`…`EMC` marked-content span from a page content stream.
///
/// Neutral facts only: the tag as written, where the span sits in the
/// decoded content bytes, and the user-space bounds of the text shown
/// inside it.