[pdf] Pages: reorder, rotate, delete, blank, split, merge, images <-> PDF; text from rotated pages
This commit is contained in:
@@ -212,6 +212,10 @@ fn push_down_resources(doc: &mut Document, pages: &[ObjectId], redacted: &HashSe
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn prune_form_pub(doc: &mut Document, removed: &HashSet<ObjectId>) {
|
||||
prune_form(doc, removed)
|
||||
}
|
||||
|
||||
fn prune_form(doc: &mut Document, removed: &HashSet<ObjectId>) {
|
||||
let Ok(catalog) = doc.catalog() else { return };
|
||||
let acroform = match catalog.get(b"AcroForm") {
|
||||
|
||||
Reference in New Issue
Block a user