chromium/pdf/test/data/form_buttons.in

{{header}}
{{object 1 0}} <<
  /Type /Catalog
  /Pages 2 0 R
  /AcroForm <<
    /Fields [5 0 R 6 0 R 7 0 R 10 0 R]
  >>
>>
endobj
{{object 2 0}} <<
  /Type /Pages
  /Count 1
  /Kids [3 0 R]
>>
endobj
{{object 3 0}} <<
  /Type /Page
  /Parent 2 0 R
  /MediaBox [0 0 300 300]
  /Resources <<
    /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
    /Font <<
      /F1 4 0 R
    >>
  >>
  /Annots [5 0 R 6 0 R 8 0 R 9 0 R 10 0 R]
>>
endobj
{{object 4 0}} <<
  /Type /Font
  /Subtype /Type1
  /Name /F1
  /BaseFont /Courier
>>
endobj
{{object 5 0}} <<
  /Type /Annot
  /Subtype /Widget
  /FT /Btn
  /F 4
  /Ff 1
  /P 3 0 R
  /Rect [135 250 155 270]
  /T (readOnlyCheckbox)
  /TU (readOnlyCheckbox)
  /AP <<
    /N <<
      /Yes 11 0 R
      /Off 12 0 R
    >>
    /D <<
      /Yes 11 0 R
      /Off 12 0 R
    >>
    /R <<
      /Yes 11 0 R
      /Off 12 0 R
    >>
  >>
  /AS /Yes
  /BS <<
    /S /S
    /W 1
  >>
  /H /N
  /MK <<
    /BC [1 0 1]
    /BG [1 .752941 .796078]
    /CA (4)
  >>
  /V /Yes
>>
endobj
{{object 6 0}} <<
  /Type /Annot
  /Subtype /Widget
  /FT /Btn
  /F 4
  /Ff 2
  /P 3 0 R
  /Rect [135 210 155 230]
  /T (checkbox)
  /TU (checkbox)
  /AP <<
    /N <<
      /Yes 11 0 R
      /Off 12 0 R
    >>
    /D <<
      /Yes 11 0 R
      /Off 12 0 R
    >>
    /R <<
      /Yes 11 0 R
      /Off 12 0 R
    >>
  >>
  /AS /Off
  /BS <<
    /S /S
    /W 2
  >>
  /H /N
  /MK <<
    /BC [.1 .1 .1]
    /BG [.8 .843 1]
    /CA (5)
  >>
  /V /Off
>>
endobj
{{object 7 0}} <<
  /FT /Btn
  /Ff 49154
  /T (RadioButton)
  /TU (RadioButton1)
  /Kids [8 0 R 9 0 R]
  /V /value2
>>
endobj
{{object 8 0}} <<
  /Type /Annot
  /Subtype /Widget
  /FT /Btn
  /F 4
  /P 3 0 R
  /Parent 7 0 R
  /Rect [135 100 155 120]
  /AP <<
    /N <<
      /value1 13 0 R
      /Off 14 0 R
    >>
    /D <<
      /value1 13 0 R
      /Off 14 0 R
    >>
    /R <<
      /value1 13 0 R
      /Off 14 0 R
    >>
  >>
  /AS /Off
  /BS <<
    /S /S
    /W 2
  >>
  /H /N
  /MK <<
    /BC [0 .501961 0]
    /BG [0 0 1]
    /CA (5)
  >>
>>
endobj
{{object 9 0}} <<
  /Type /Annot
  /Subtype /Widget
  /FT /Btn
  /F 4
  /P 3 0 R
  /Parent 7 0 R
  /Rect [185 100 205 120]
  /AP <<
    /N <<
      /value2 13 0 R
      /Off 14 0 R
    >>
    /D <<
      /value2 13 0 R
      /Off 14 0 R
    >>
    /R <<
      /value2 13 0 R
      /Off 14 0 R
    >>
  >>
  /AS /value2
  /BS <<
    /S /S
    /W 2
  >>
  /H /N
  /MK <<
    /BC [0 .501961 0]
    /BG [0 0 1]
    /CA (5)
  >>
>>
endobj
{{object 10 0}} <<
  /Type /Annot
  /Subtype /Widget
  /F 4
  /FT /Btn
  /Rect [85 50 125 100]
  /T (PushButton)
  /Ff 65536
  /H
  /P
  /MK <<
    /BC [1 0 1]
    /BG [1 .752941 .796078]
    /CA (Submit)
  >>
>>
endobj
{{object 11 0}} <<
  /Type /XObject
  /Subtype /Form
  /FormType 1
  /BBox [0 0 20 20]
  /Resources <<
    /ProcSet [/PDF]
  >>
  {{streamlen}}
>>
stream
q
1 0 1 RG 1 w 0.5 0.5 19 19 re s
Q
q
0 0 1 rg 0 0 1 RG
11.90655 14.48997 m
14.54638 17.62618 16.37396 18.07744 17.59234 18.07744 c
6.807382 2.418942 6.672006 2.148189 6.446379 2.012813 c
6.153064 1.877437 5.476184 1.877437 5.160306 1.877437 c
4.438301 1.877437 4.280362 1.877437 4.122423 1.990251 c
3.896797 2.148189 3.783983 2.464067 3.626045 2.779944 c
3.129666 3.817827 2.249721 6.074095 2.249721 7.202228 c
2.249721 7.585794 2.475348 7.766295 2.768663 7.969359 c
3.242479 8.307799 3.919359 8.691365 4.505989 8.691365 c
4.957242 8.691365 5.002368 8.307799 5.137744 7.946797 c
f
Q
endstream
endobj
{{object 12 0}} <<
  /Type /XObject
  /Subtype /Form
  /FormType 1
  /BBox [0 0 20 20]
  /Resources <<
    /ProcSet [/PDF]
  >>
  {{streamlen}}
>>
stream
q
1 0 1 RG 1 w 0.5 0.5 19 19 re s
Q
endstream
endobj
{{object 13 0}} <<
  /Type /XObject
  /Subtype /Form
  /FormType 1
  /BBox [0 0 20 20]
  /Resources <<
    /ProcSet [/PDF]
  >>
  {{streamlen}}
>>
stream
q
0 .501961 0 RG 2 w
1 0 0 1 10 10 cm
9 0 m
9 4.97079 4.97079 9 0 9 c
-4.97079 9 -9 4.97079 -9 0 c
-9 -4.97079 -4.97079 -9 0 -9 c
4.97079 -9 9 -4.97079 9 0 c
s
Q
q
1 .752941 .796078 rg 1 .752941 .796078 RG
17.2 15.95145 m
11.20694 10 l
17.2 4.027746 l
15.97225 2.8 l
10 8.793064 l
4.027746 2.8 l
2.8 4.027746 l
8.813873 10 l
2.8 15.97225 l
4.027746 17.2 l
10 11.20694 l
15.97225 17.2 l
17.2 15.95145 l
h
f
Q
endstream
endobj
{{object 14 0}} <<
  /Type /XObject
  /Subtype /Form
  /FormType 1
  /BBox [0 0 20 20]
  /Resources <<
    /ProcSet [/PDF]
  >>
  {{streamlen}}
>>
stream
q
0 .501961 0 RG 2 w
1 0 0 1 10 10 cm
9 0 m
9 4.97079 4.97079 9 0 9 c
-4.97079 9 -9 4.97079 -9 0 c
-9 -4.97079 -4.97079 -9 0 -9 c
4.97079 -9 9 -4.97079 9 0 c
s
Q
endstream
endobj
{{xref}}
{{trailer}}
{{startxref}}
%%EOF