Initial commit of document-service

This commit is contained in:
2026-04-23 16:20:58 -05:00
commit 51d60f0032
30 changed files with 4357 additions and 0 deletions

161
tests/fixtures/simple_form.pdf vendored Normal file
View File

@@ -0,0 +1,161 @@
%PDF-1.3
%âãÏÓ
1 0 obj
<<
/Producer (pypdf)
>>
endobj
2 0 obj
<<
/Type /Pages
/Count 1
/Kids [ 4 0 R ]
>>
endobj
3 0 obj
<<
/Type /Catalog
/Pages 2 0 R
/AcroForm <<
/Fields [ <<
/FT /Tx
/T (name)
/V ()
/Rect [ 200 690 400 710 ]
/Ff 0
>> <<
/FT /Tx
/T (email)
/V ()
/Rect [ 200 640 400 660 ]
/Ff 0
>> <<
/FT /Tx
/T (phone)
/V ()
/Rect [ 200 590 400 610 ]
/Ff 0
>> <<
/FT /Ch
/T (country)
/V ()
/Opt [ (USA) (Canada) (UK) (Germany) (France) ]
/Rect [ 200 540 400 560 ]
/Ff 0
>> <<
/FT /Tx
/T (birth\137date)
/V ()
/Rect [ 200 490 400 510 ]
/Ff 0
>> <<
/FT /Btn
/T (agree\137terms)
/V /Off
/Rect [ 200 440 220 460 ]
/Ff 0
>> ]
>>
>>
endobj
4 0 obj
<<
/Contents 5 0 R
/MediaBox [ 0 0 612 792 ]
/Resources <<
/Font 6 0 R
/ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>>
/Rotate 0
/Trans <<
>>
/Type /Page
/Parent 2 0 R
/Annots [ <<
/Subtype /Widget
/FT /Tx
/T (name)
/V ()
/Rect [ 200 690 400 710 ]
/Ff 0
>> <<
/Subtype /Widget
/FT /Tx
/T (email)
/V ()
/Rect [ 200 640 400 660 ]
/Ff 0
>> <<
/Subtype /Widget
/FT /Tx
/T (phone)
/V ()
/Rect [ 200 590 400 610 ]
/Ff 0
>> <<
/Subtype /Widget
/FT /Ch
/T (country)
/V ()
/Rect [ 200 540 400 560 ]
/Ff 0
/Opt [ (USA) (Canada) (UK) (Germany) (France) ]
>> <<
/Subtype /Widget
/FT /Tx
/T (birth\137date)
/V ()
/Rect [ 200 490 400 510 ]
/Ff 0
>> <<
/Subtype /Widget
/FT /Btn
/T (agree\137terms)
/V /Off
/Rect [ 200 440 220 460 ]
/Ff 0
>> ]
>>
endobj
5 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ]
/Length 214
>>
stream
Gas3/_$YcZ&-h():[oO-KC+O7Fj&337*rSs`0Q/<`k!1:qntBjLh1!*5Q?*5,9cn2L]>4V7T^E=1'1`)j"LZXOAkYndii(Rd4^iHO@!??#S:KhY5-Hn'\Y63F`n8+K,.t]c\@9%516]H[@*&9CT1O*F'1H9T&WS2DLGjN]UaM[f"?B)-YBck(&"KsZ*@fJ2kq(gmZ1he)\4'9")1e>M#~>
endstream
endobj
6 0 obj
<<
/F1 7 0 R
>>
endobj
7 0 obj
<<
/BaseFont /Helvetica
/Encoding /WinAnsiEncoding
/Name /F1
/Subtype /Type1
/Type /Font
>>
endobj
xref
0 8
0000000000 65535 f
0000000015 00000 n
0000000054 00000 n
0000000113 00000 n
0000000637 00000 n
0000001387 00000 n
0000001692 00000 n
0000001723 00000 n
trailer
<<
/Size 8
/Root 3 0 R
/Info 1 0 R
>>
startxref
1830
%%EOF