Resolve native PDF structure destinations and local actions

This commit is contained in:
gloamxun committed 2026-11-21 05:04:54 +08:00
1 parent 58bcfca7b7
commit 22154b53a6
11 files changed
+284 -78

No files matched your search

@@ -618,6 +618,9 @@ impl Printer<'_> {
LinkNode::Running(true) => "pdfrunninglinkon",
LinkNode::Destination { .. } => "pdfdest",
});
if let LinkNode::Destination { structure: Some(object), .. } = node {
self.literal(&format!(" struct{object}"));
}
}
OutputOperation::PdfLiteral { mode, shipout, tokens } => {
use crate::pdf_device::PdfLiteralMode;