pdfium/testing/resources/form_object.in
Miklos Vajna b66077d3ef Add FPDFFormObj_CountObjects() API
To find out the number of sub-objects a form object has, similar to how
FPDFPage_CountObjects() does it for page objects.

Change-Id: I7e5775dece42b74fd5b71b1d9622a1aa37bf64ac
Reviewed-on: https://pdfium-review.googlesource.com/37316
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
2018-07-11 13:25:02 +00:00

81 lines
815 B
Plaintext

{{header}}
{{object 1 0}} <<
/FormType 1
/Subtype /Form
/Resources
<<
/Font
<<
/F1 2 0 R
>>
>>
/Type /XObject
/BBox [0 0 612 446]
/Length 0
>>
stream
BT
/F1 24 Tf
1 0 0 1 260 254 Tm
(Hello)Tj
ET
BT
/F1 24 Tf
1 0 0 1 260 204 Tm
(World)Tj
ET
endstream
endobj
{{object 3 0}} <<
/ProcSet [/PDF]
/XObject
<<
/Im1 1 0 R
>>
>>
endobj
{{object 4 0}} <<
/Resources 3 0 R
/Parent 5 0 R
/Contents 6 0 R
/Type /Page
/MediaBox [0 0 62 69]
>>
endobj
{{object 6 0}} <<
/Length 0
>>
stream
q
1 0 0 1 -260 -203 cm
/Im1 Do
Q
endstream
endobj
{{object 5 0}} <<
/Kids [4 0 R]
/Type /Pages
/Count 1
>>
endobj
{{object 2 0}} <<
/Subtype /Type1
/Name /F1
/Type /Font
/BaseFont /Helvetica
>>
endobj
{{object 7 0}} <<
/Type /Catalog
/Pages 5 0 R
>>
endobj
{{xref}}
trailer <<
/Root 7 0 R
/Size 8
>>
{{startxref}}
%%EOF