pub struct ThreeDActivation {
pub activation_when: Option<String>,
pub artwork_state_on_activation: Option<String>,
pub deactivation_when: Option<String>,
pub artwork_state_on_deactivation: Option<String>,
pub toolbar: Option<bool>,
pub navigation_panel: Option<bool>,
}Expand description
Decoded /3DA activation dictionary (Table 299) for
AnnotationKind::ThreeD (round 220). All fields are optional
and each one’s None shape means “absent” (the per-field defaults
described in the variant docstrings are applied at the time the
caller decides to render the annotation; the reader stays
lossless about presence-vs-default to keep round-trip diagnostics
possible).
Fields§
§activation_when: Option<String>/A — activation circumstance: PO / PV / XA. Default
XA (the annotation stays inactive until explicit user
action). Preserved verbatim so unknown extension Names
pass through.
artwork_state_on_activation: Option<String>/AIS — artwork state on activation: I (instantiated,
scripts off) or L (live, scripts on). Default L.
deactivation_when: Option<String>/D — deactivation circumstance: PC / PI / XD.
Default PI (deactivate when the page becomes invisible).
artwork_state_on_deactivation: Option<String>/DIS — artwork state on deactivation: U (uninstantiated),
I (instantiated), or L (live). Default U.
toolbar: Option<bool>/TB (PDF 1.7) — show interactive toolbar by default.
Spec default true.
/NP (PDF 1.7) — show navigation panel (model tree / view
switcher) by default. Spec default false.
Trait Implementations§
Source§impl Clone for ThreeDActivation
impl Clone for ThreeDActivation
Source§fn clone(&self) -> ThreeDActivation
fn clone(&self) -> ThreeDActivation
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 ThreeDActivation
impl Debug for ThreeDActivation
Source§impl Default for ThreeDActivation
impl Default for ThreeDActivation
Source§impl PartialEq for ThreeDActivation
impl PartialEq for ThreeDActivation
Source§fn eq(&self, other: &ThreeDActivation) -> bool
fn eq(&self, other: &ThreeDActivation) -> bool
self and other values to be equal, and is used by ==.