pub fn strip_javascript_for_flatten(doc: &mut Document) -> usizeExpand description
Strip JavaScript-bearing PDF actions from XFA flattened output.
Returns the number of executable entrypoints neutralized. This is a hardening count, not a complete object garbage-collection report.