mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-30 21:30:41 +08:00
This is another FPDFPage_RemoveObject() test case, similar to RemoveTextObjectWithTwoPagesSharingContentStreamAndResources, where 2 pages share the same page /Content. Except this time the /Content points to an array of stream objects instead of a stream directly. The test PDF added here is similar to hello_world_2_pages.pdf and hello_world_split_streams.pdf. Bug: pdfium:2012 Change-Id: I396d1cf0a9d3da88337c459aa7ef6f6ec189bb1d Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/105491 Reviewed-by: Nigi <nigi@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
76 lines
919 B
Plaintext
76 lines
919 B
Plaintext
{{header}}
|
|
{{object 1 0}} <<
|
|
/Type /Catalog
|
|
/Pages 2 0 R
|
|
>>
|
|
endobj
|
|
{{object 2 0}} <<
|
|
/Type /Pages
|
|
/Count 2
|
|
/Kids [3 0 R 4 0 R]
|
|
/MediaBox [0 0 200 200]
|
|
>>
|
|
endobj
|
|
{{object 3 0}} <<
|
|
/Type /Page
|
|
/Parent 2 0 R
|
|
/Resources <<
|
|
/Font <<
|
|
/F1 5 0 R
|
|
/F2 6 0 R
|
|
>>
|
|
>>
|
|
/Contents 7 0 R
|
|
>>
|
|
endobj
|
|
{{object 4 0}} <<
|
|
/Type /Page
|
|
/Parent 2 0 R
|
|
/Resources <<
|
|
/Font <<
|
|
/F1 5 0 R
|
|
/F2 6 0 R
|
|
>>
|
|
>>
|
|
/Contents 7 0 R
|
|
>>
|
|
endobj
|
|
{{object 5 0}} <<
|
|
/Type /Font
|
|
/Subtype /Type1
|
|
/BaseFont /Times-Roman
|
|
>>
|
|
endobj
|
|
{{object 6 0}} <<
|
|
/Type /Font
|
|
/Subtype /Type1
|
|
/BaseFont /Helvetica
|
|
>>
|
|
endobj
|
|
{{object 7 0}} [8 0 R 9 0 R]
|
|
{{object 8 0}} <<
|
|
{{streamlen}}
|
|
>>
|
|
stream
|
|
BT
|
|
20 50 Td
|
|
/F1 12 Tf
|
|
(Hello, world!) Tj
|
|
endstream
|
|
endobj
|
|
{{object 9 0}} <<
|
|
{{streamlen}}
|
|
>>
|
|
stream
|
|
BT
|
|
20 100 Td
|
|
/F2 16 Tf
|
|
(Goodbye, world!) Tj
|
|
ET
|
|
endstream
|
|
endobj
|
|
{{xref}}
|
|
{{trailer}}
|
|
{{startxref}}
|
|
%%EOF
|