Phase 3 (Organize + robust save) + Phase 4 (Edit content); update docs
Engine: - organize.rs: build_document(plan) core — insert/delete/rotate/crop/extract/merge/split - watermark.rs: watermark + header/footer via PdfPages::watermark, CID Unicode fonts - qpdf.rs: QPDF CLI wrapper — repair corrupt files, re-encrypt after edits, ensure_openable - edit.rs: MOAT — list_objects + apply_edits (SetText VN, Transform, Delete, Add/ReplaceImage) - Tests: organize/watermark/qpdf_safety/edit roundtrip — 43/43 engine tests green UI (Tauri): "Tổ chức trang" mode (grid + drag-reorder + multi-select), "Sửa nội dung" mode (WYSIWYG object overlay, edit-in-place), global undo/redo, robust file open. Corpus: add encrypted.pdf + corrupt-truncated.pdf fixtures. Docs: mark Phase 1-4 done in roadmap; document QPDF setup + engine module layout in 05-dev-setup; add 10-13 phase summaries & user-test checklists; README status.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
%PDF-1.7
|
||||
1 0 obj
|
||||
<< /Type /Catalog /Pages 2 0 R /Outlines 7 0 R >>
|
||||
endobj
|
||||
2 0 obj
|
||||
<< /Type /Pages /Kids [3 0 R 4 0 R 5 0 R] /Count 3 >>
|
||||
endobj
|
||||
3 0 obj
|
||||
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] /Resources << /Font << /F1 6 0 R >> >> /Contents 11 0 R >>
|
||||
endobj
|
||||
4 0 obj
|
||||
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] /Resources << /Font << /F1 6 0 R >> >> /Contents 12 0 R >>
|
||||
endobj
|
||||
5 0 obj
|
||||
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] /Resources << /Font << /F1 6 0 R >> >> /Contents 13 0 R >>
|
||||
endobj
|
||||
6 0 obj
|
||||
<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>
|
||||
endobj
|
||||
7 0 obj
|
||||
<< /Type /Outlines /First 8 0 R /Last 10 0 R /Count 3 >>
|
||||
endobj
|
||||
8 0 obj
|
||||
<< /Title (Chapter 1) /Parent 7 0 R /Next 9 0 R /Dest [3 0 R /Fit] >>
|
||||
endobj
|
||||
9 0 obj
|
||||
<< /Title (Chapter 2) /Parent 7 0 R /Prev 8 0 R /Next 10 0 R /Dest [4 0 R /Fit] >>
|
||||
endobj
|
||||
10 0 obj
|
||||
<< /Title (Chapter 3) /Parent 7 0 R /Prev 9 0 R /Dest [5 0 R /Fit] >>
|
||||
endobj
|
||||
11 0 obj
|
||||
<< /Length 92 >>
|
||||
stream
|
||||
BT /F1 18 Tf 72 720 Td (FoFreeXit Test Document) Tj 0 -28 Td (Page one content alpha) Tj ET
|
||||
endstream
|
||||
endobj
|
||||
12 0 obj
|
||||
<< /Length 64 >>
|
||||
stream
|
||||
BT /F1 18 Tf 72 720 Td (Page two content beta searchterm) Tj ET
|
||||
endstream
|
||||
endobj
|
||||
13 0 obj
|
||||
<< /Length 56 >>
|
||||
stream
|
||||
BT /F1 18 Tf 72 720 Td (Page three content gamma) Tj ET
|
||||
endstream
|
||||
endobj
|
||||
xref
|
||||
0 14 65535 f
|
||||
0000000009 00000 n
|
||||
0000000074 00000 n
|
||||
0000000143 00000 n
|
||||
0000000270 00000 n
|
||||
0000000397 00000 n
|
||||
0000000524 00000
|
||||
Reference in New Issue
Block a user