Skip to content

A fast, helpful, and open-source document parser

Add test doc

Logan Markewich80ab33cd6376
diff --git a/integration_tests_data/page_labels.pdf b/integration_tests_data/page_labels.pdf
new file mode 100644
index 0000000..0e668fc
--- /dev/null
+++ b/integration_tests_data/page_labels.pdf
@@ -0,0 +1,65 @@
+%PDF-1.7
+1 0 obj
+<< /Type /Catalog /Pages 2 0 R /PageLabels << /Nums [0 << /S /r >> 2 << /S /D /St 1 >>] >> >>
+endobj
+2 0 obj
+<< /Type /Pages /Kids [4 0 R 5 0 R 6 0 R 7 0 R] /Count 4 >>
+endobj
+3 0 obj
+<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>
+endobj
+4 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Resources << /Font << /F1 3 0 R >> >> /Contents 8 0 R >>
+endobj
+5 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Resources << /Font << /F1 3 0 R >> >> /Contents 9 0 R >>
+endobj
+6 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Resources << /Font << /F1 3 0 R >> >> /Contents 10 0 R >>
+endobj
+7 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Resources << /Font << /F1 3 0 R >> >> /Contents 11 0 R >>
+endobj
+8 0 obj
+<< /Length 37 >>
+stream
+BT /F1 12 Tf 20 100 Td (page 1) Tj ET
+endstream
+endobj
+9 0 obj
+<< /Length 37 >>
+stream
+BT /F1 12 Tf 20 100 Td (page 2) Tj ET
+endstream
+endobj
+10 0 obj
+<< /Length 37 >>
+stream
+BT /F1 12 Tf 20 100 Td (page 3) Tj ET
+endstream
+endobj
+11 0 obj
+<< /Length 37 >>
+stream
+BT /F1 12 Tf 20 100 Td (page 4) Tj ET
+endstream
+endobj
+xref
+0 12
+0000000000 65535 f
+0000000009 00000 n
+0000000118 00000 n
+0000000193 00000 n
+0000000263 00000 n
+0000000389 00000 n
+0000000515 00000 n
+0000000642 00000 n
+0000000769 00000 n
+0000000856 00000 n
+0000000943 00000 n
+0000001031 00000 n
+trailer
+<< /Size 12 /Root 1 0 R >>
+startxref
+1119
+%%EOF