7#ifndef PUBLIC_FPDF_FORMFILL_H_
8#define PUBLIC_FPDF_FORMFILL_H_
16#define FORMTYPE_NONE 0
17#define FORMTYPE_ACRO_FORM 1
18#define FORMTYPE_XFA_FULL 2
19#define FORMTYPE_XFA_FOREGROUND 3
21#define FORMTYPE_COUNT 4
23#define JSPLATFORM_ALERT_BUTTON_OK 0
24#define JSPLATFORM_ALERT_BUTTON_OKCANCEL 1
25#define JSPLATFORM_ALERT_BUTTON_YESNO 2
26#define JSPLATFORM_ALERT_BUTTON_YESNOCANCEL 3
29#define JSPLATFORM_ALERT_ICON_ERROR 0
30#define JSPLATFORM_ALERT_ICON_WARNING 1
31#define JSPLATFORM_ALERT_ICON_QUESTION 2
32#define JSPLATFORM_ALERT_ICON_STATUS 3
33#define JSPLATFORM_ALERT_ICON_ASTERISK 4
36#define JSPLATFORM_ALERT_RETURN_OK 1
37#define JSPLATFORM_ALERT_RETURN_CANCEL 2
38#define JSPLATFORM_ALERT_RETURN_NO 3
39#define JSPLATFORM_ALERT_RETURN_YES 4
41#define JSPLATFORM_BEEP_ERROR 0
42#define JSPLATFORM_BEEP_WARNING 1
43#define JSPLATFORM_BEEP_QUESTION 2
44#define JSPLATFORM_BEEP_STATUS 3
45#define JSPLATFORM_BEEP_DEFAULT 4
54
55
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
81 FPDF_WIDESTRING Title,
86
87
88
89
90
91
92
93
94
95
96
97
98
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
137 FPDF_WIDESTRING Question,
138 FPDF_WIDESTRING Title,
139 FPDF_WIDESTRING Default,
140 FPDF_WIDESTRING cLabel,
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
209 FPDF_WIDESTRING Subject,
212 FPDF_WIDESTRING Msg);
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
246 FPDF_BOOL bShrinkToFit,
247 FPDF_BOOL bPrintAsImage,
249 FPDF_BOOL bAnnotations);
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
270 FPDF_WIDESTRING URL);
273
274
275
276
277
278
279
280
281
282
283
284
285
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
310
311
312
313
334
335
336
337
338
339
340
344
345
360#define FXFA_PAGEVIEWEVENT_POSTADDED 1
361#define FXFA_PAGEVIEWEVENT_POSTREMOVED 3
364#define FXFA_MENU_COPY 1
365#define FXFA_MENU_CUT 2
366#define FXFA_MENU_SELECTALL 4
367#define FXFA_MENU_UNDO 8
368#define FXFA_MENU_REDO 16
369#define FXFA_MENU_PASTE 32
372#define FXFA_SAVEAS_XML 1
373#define FXFA_SAVEAS_XDP 2
379
380
381
382
383
384
385
386
387
388
389
390
395
396
397
398
399
400
401
402
403
404
405
406
407
408
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
479
480
481
482
483
484
485
486
487
488
489
490
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
516
517
518
519
520
521
522
523
524
525
526
527
528
532
533
534
535
536
537
538
539
540
541
542
543
547
548
549
550
551
552
553
554
555
556
557
558
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
584 FPDF_DOCUMENT document,
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
605 FPDF_DOCUMENT document);
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
647 FPDF_BYTESTRING namedAction);
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
669 FPDF_WIDESTRING value,
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
695 FPDF_BYTESTRING bsURI);
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
732
733
734
735
740
741
742
743
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
776
777
778
779
780
781
782
783
784
785
786
787
789 FPDF_DOCUMENT document);
792
793
794
795
796
797
798
799
800
801
802
803
804
806 FPDF_DOCUMENT document,
810
811
812
813
814
815
816
817
818
819
820
821
822
824 FPDF_DOCUMENT document,
825 FPDF_WIDESTRING wsURL);
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
879 FPDF_DWORD event_type);
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
928 FPDF_WIDESTRING wsURL,
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
955 FPDF_FILEHANDLER* fileHandler,
957 FPDF_WIDESTRING pSubject,
959 FPDF_WIDESTRING pBcc,
960 FPDF_WIDESTRING pMsg);
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
980 FPDF_FILEHANDLER* fileHandler,
982 FPDF_WIDESTRING uploadTo);
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1039 FPDF_WIDESTRING URL);
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1062 FPDF_WIDESTRING wsURL,
1063 FPDF_WIDESTRING wsData,
1064 FPDF_WIDESTRING wsContentType,
1065 FPDF_WIDESTRING wsEncode,
1066 FPDF_WIDESTRING wsHeader,
1067 FPDF_BSTR* response);
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1086 FPDF_WIDESTRING wsURL,
1087 FPDF_WIDESTRING wsData,
1088 FPDF_WIDESTRING wsEncode);
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1111 FPDF_ANNOTATION annot,
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1137 FPDF_BYTESTRING uri,
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1156 FPDF_FORMFILLINFO* formInfo);
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1184 FPDF_FORMHANDLE hHandle);
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1198 FPDF_FORMHANDLE hHandle);
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1239#define FPDFDOC_AACTION_WC 0x10
1240#define FPDFDOC_AACTION_WS 0x11
1241#define FPDFDOC_AACTION_DS 0x12
1242#define FPDFDOC_AACTION_WP 0x13
1243#define FPDFDOC_AACTION_DP 0x14
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1266#define FPDFPAGE_AACTION_OPEN 0
1267#define FPDFPAGE_AACTION_CLOSE 1
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1286 FPDF_FORMHANDLE hHandle,
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1336 FPDF_FORMHANDLE hHandle,
1339 const FS_POINTF* page_coord,
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1389
1390
1391
1392
1393
1394
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1421
1422
1423
1424
1425
1426
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1537 unsigned long buflen);
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1560 unsigned long buflen);
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1582 FPDF_WIDESTRING wsText);
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1602 FPDF_WIDESTRING wsText);
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1648
1649
1650
1651
1652
1653
1654
1655
1656
1661
1662
1663
1664
1665
1666
1667
1668
1669
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1712 FPDF_ANNOTATION* annot);
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1734#define FPDF_FORMFIELD_UNKNOWN 0
1735#define FPDF_FORMFIELD_PUSHBUTTON 1
1736#define FPDF_FORMFIELD_CHECKBOX 2
1737#define FPDF_FORMFIELD_RADIOBUTTON 3
1738#define FPDF_FORMFIELD_COMBOBOX 4
1739#define FPDF_FORMFIELD_LISTBOX 5
1740#define FPDF_FORMFIELD_TEXTFIELD 6
1741#define FPDF_FORMFIELD_SIGNATURE 7
1742#ifdef PDF_ENABLE_XFA
1743#define FPDF_FORMFIELD_XFA 8
1744#define FPDF_FORMFIELD_XFA_CHECKBOX 9
1745#define FPDF_FORMFIELD_XFA_COMBOBOX 10
1746#define FPDF_FORMFIELD_XFA_IMAGEFIELD 11
1747#define FPDF_FORMFIELD_XFA_LISTBOX 12
1748#define FPDF_FORMFIELD_XFA_PUSHBUTTON 13
1749#define FPDF_FORMFIELD_XFA_SIGNATURE 14
1750#define FPDF_FORMFIELD_XFA_TEXTFIELD 15
1753#ifdef PDF_ENABLE_XFA
1754#define FPDF_FORMFIELD_COUNT 16
1756#define FPDF_FORMFIELD_COUNT 8
1759#ifdef PDF_ENABLE_XFA
1760#define IS_XFA_FORMFIELD(type)
1761 (((type) == FPDF_FORMFIELD_XFA) ||
1762 ((type) == FPDF_FORMFIELD_XFA_CHECKBOX) ||
1763 ((type) == FPDF_FORMFIELD_XFA_COMBOBOX) ||
1764 ((type) == FPDF_FORMFIELD_XFA_IMAGEFIELD) ||
1765 ((type) == FPDF_FORMFIELD_XFA_LISTBOX) ||
1766 ((type) == FPDF_FORMFIELD_XFA_PUSHBUTTON) ||
1767 ((type) == FPDF_FORMFIELD_XFA_SIGNATURE) ||
1768 ((type) == FPDF_FORMFIELD_XFA_TEXTFIELD))
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1834 unsigned long color);
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1915#if defined(PDF_USE_SKIA)
1916FPDF_EXPORT
void FPDF_CALLCONV FPDF_FFLDrawSkia(FPDF_FORMHANDLE hHandle,
1917 FPDF_SKIA_CANVAS canvas,
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1967 FPDF_BOOL selected);
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1992
1993
1994
1995
1996
1997
1998
1999
2000
void SetRequestedDataAvailable()
void SetWholeFileAvailable()
FX_DOWNLOADHINTS * GetDownloadHints() const
FX_FILEAVAIL * GetFileAvail() const
FPDF_FILEACCESS * GetFileAccess() const
TEST_F(CPDF_CreatorEmbedderTest, SavedDocsAreEqualAfterParse)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlCount(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFontSize(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, float *value)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetRect(FPDF_ANNOTATION annot, const FS_RECTF *rect)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveAnnot(FPDF_PAGE page, int index)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFocusableSubtypes(FPDF_FORMHANDLE hHandle, const FPDF_ANNOTATION_SUBTYPE *subtypes, size_t count)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetBorder(FPDF_ANNOTATION annot, float *horizontal_radius, float *vertical_radius, float *border_width)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetAttachmentPoints(FPDF_ANNOTATION annot, size_t quad_index, FS_QUADPOINTSF *quad_points)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypesCount(FPDF_FORMHANDLE hHandle)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_AddInkStroke(FPDF_ANNOTATION annot, const FS_POINTF *points, size_t point_count)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetOptionCount(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetVertices(FPDF_ANNOTATION annot, FS_POINTF *buffer, unsigned long length)
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFAnnot_GetObject(FPDF_ANNOTATION annot, int index)
FPDF_EXPORT size_t FPDF_CALLCONV FPDFAnnot_CountAttachmentPoints(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFlags(FPDF_ANNOTATION annot, int flags)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldName(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasKey(FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetLinkedAnnot(FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveObject(FPDF_ANNOTATION annot, int index)
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotCount(FPDF_PAGE page)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_CreateAnnot(FPDF_PAGE page, FPDF_ANNOTATION_SUBTYPE subtype)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsChecked(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldAlternateName(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_LINK FPDF_CALLCONV FPDFAnnot_GetLink(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAP(FPDF_ANNOTATION annot, FPDF_ANNOT_APPEARANCEMODE appearanceMode, FPDF_WIDESTRING value)
FPDF_EXPORT FPDF_ANNOTATION_SUBTYPE FPDF_CALLCONV FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFAnnot_GetValueType(FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendAttachmentPoints(FPDF_ANNOTATION annot, const FS_QUADPOINTSF *quad_points)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasAttachmentPoints(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetColor(FPDF_ANNOTATION annot, FPDFANNOT_COLORTYPE type, unsigned int *R, unsigned int *G, unsigned int *B, unsigned int *A)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldFlags(FPDF_FORMHANDLE handle, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetStringValue(FPDF_ANNOTATION annot, FPDF_BYTESTRING key, FPDF_WIDESTRING value)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetOptionLabel(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, int index, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListPath(FPDF_ANNOTATION annot, unsigned long path_index, FS_POINTF *buffer, unsigned long length)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsOptionSelected(FPDF_FORMHANDLE handle, FPDF_ANNOTATION annot, int index)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_GetAnnot(FPDF_PAGE page, int index)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldExportValue(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFlags(FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetStringValue(FPDF_ANNOTATION annot, FPDF_BYTESTRING key, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlIndex(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetNumberValue(FPDF_ANNOTATION annot, FPDF_BYTESTRING key, float *value)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldType(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetURI(FPDF_ANNOTATION annot, const char *uri)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldValue(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypes(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION_SUBTYPE *subtypes, size_t count)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetRect(FPDF_ANNOTATION annot, FS_RECTF *rect)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetAP(FPDF_ANNOTATION annot, FPDF_ANNOT_APPEARANCEMODE appearanceMode, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsObjectSupportedSubtype(FPDF_ANNOTATION_SUBTYPE subtype)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetLine(FPDF_ANNOTATION annot, FS_POINTF *start, FS_POINTF *end)
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotIndex(FPDF_PAGE page, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetFormFieldAtPoint(FPDF_FORMHANDLE hHandle, FPDF_PAGE page, const FS_POINTF *point)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListCount(FPDF_ANNOTATION annot)
@ FPDFANNOT_COLORTYPE_InteriorColor
@ FPDFANNOT_COLORTYPE_Color
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetBorder(FPDF_ANNOTATION annot, float horizontal_radius, float vertical_radius, float border_width)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetColor(FPDF_ANNOTATION annot, FPDFANNOT_COLORTYPE type, unsigned int R, unsigned int G, unsigned int B, unsigned int A)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_UpdateObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsSupportedSubtype(FPDF_ANNOTATION_SUBTYPE subtype)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveInkList(FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormAdditionalActionJavaScript(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, int event, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAttachmentPoints(FPDF_ANNOTATION annot, size_t quad_index, const FS_QUADPOINTSF *quad_points)
FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy(FPDF_AVAIL avail)
FPDF_EXPORT void FPDF_CALLCONV FPDFFont_Close(FPDF_FONT font)
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy(FPDF_PAGEOBJECT page_object)
FPDF_EXPORT void FPDF_CALLCONV FPDFDoc_CloseJavaScriptAction(FPDF_JAVASCRIPT_ACTION javascript)
FPDF_EXPORT void FPDF_CALLCONV FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree)
FPDF_EXPORT void FPDF_CALLCONV FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page)
FPDF_EXPORT void FPDF_CALLCONV FPDFText_FindClose(FPDF_SCHHANDLE handle)
FPDF_EXPORT void FPDF_CALLCONV FPDFText_ClosePage(FPDF_TEXTPAGE text_page)
FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath)
FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDF_LoadPage(FPDF_DOCUMENT document, int page_index)
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageCount(FPDF_DOCUMENT document)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetLastError()
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_CreateEx(int width, int height, int format, void *first_scan, int stride)
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_VIEWERREF_GetPrintScaling(FPDF_DOCUMENT document)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_DeviceToPage(FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int device_x, int device_y, double *page_x, double *page_y)
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadCustomDocument(FPDF_FILEACCESS *pFileAccess, FPDF_BYTESTRING password)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_PageToDevice(FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, double page_x, double page_y, int *device_x, int *device_y)
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadDocument(FPDF_STRING file_path, FPDF_BYTESTRING password)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetHeight(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_DocumentHasValidCrossReferenceTable(FPDF_DOCUMENT document)
FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_Destroy(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_DUPLEXTYPE FPDF_CALLCONV FPDF_VIEWERREF_GetDuplex(FPDF_DOCUMENT document)
FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageHeightF(FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary()
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetXFAPacketCount(FPDF_DOCUMENT document)
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_Create(int width, int height, int alpha)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetStride(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_PAGERANGE FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRange(FPDF_DOCUMENT document)
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document, int page_index, double *width, double *height)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocUserPermissions(FPDF_DOCUMENT document)
FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageWidth(FPDF_PAGE page)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocPermissions(FPDF_DOCUMENT document)
FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibrary()
FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDest(FPDF_DOCUMENT document, int index, void *buffer, long *buflen)
FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDestByName(FPDF_DOCUMENT document, FPDF_BYTESTRING name)
FPDF_EXPORT void FPDF_CALLCONV FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int flags)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetFileVersion(FPDF_DOCUMENT doc, int *fileVersion)
FPDF_EXPORT void FPDF_CALLCONV FPDF_RenderPageBitmapWithMatrix(FPDF_BITMAP bitmap, FPDF_PAGE page, const FS_MATRIX *matrix, const FS_RECTF *clipping, int flags)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageBoundingBox(FPDF_PAGE page, FS_RECTF *rect)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetFormat(FPDF_BITMAP bitmap)
FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_FillRect(FPDF_BITMAP bitmap, int left, int top, int width, int height, FPDF_DWORD color)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_VIEWERREF_GetName(FPDF_DOCUMENT document, FPDF_BYTESTRING key, char *buffer, unsigned long length)
FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG *config)
FPDF_EXPORT void *FPDF_CALLCONV FPDFBitmap_GetBuffer(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_DWORD FPDF_CALLCONV FPDF_CountNamedDests(FPDF_DOCUMENT document)
FPDF_EXPORT void FPDF_CALLCONV FPDF_CloseDocument(FPDF_DOCUMENT document)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageSizeByIndexF(FPDF_DOCUMENT document, int page_index, FS_SIZEF *size)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetXFAPacketContent(FPDF_DOCUMENT document, int index, void *buffer, unsigned long buflen, unsigned long *out_buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDF_VIEWERREF_GetNumCopies(FPDF_DOCUMENT document)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetXFAPacketName(FPDF_DOCUMENT document, int index, void *buffer, unsigned long buflen)
FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageHeight(FPDF_PAGE page)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetWidth(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadMemDocument(const void *data_buf, int size, FPDF_BYTESTRING password)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetTrailerEnds(FPDF_DOCUMENT document, unsigned int *buffer, unsigned long length)
FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageWidthF(FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDF_ClosePage(FPDF_PAGE page)
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSecurityHandlerRevision(FPDF_DOCUMENT document)
void operator()(FPDF_ANNOTATION annot)
void operator()(FPDF_AVAIL avail)
void operator()(FPDF_BITMAP bitmap)
void operator()(FPDF_CLIPPATH clip_path)
void operator()(FPDF_DOCUMENT doc)
void operator()(FPDF_FONT font)
void operator()(FPDF_JAVASCRIPT_ACTION javascript)
void operator()(FPDF_PAGE page)
void operator()(FPDF_PAGELINK pagelink)
void operator()(FPDF_PAGEOBJECT object)
void operator()(FPDF_STRUCTTREE tree)
void operator()(FPDF_SCHHANDLE handle)
void operator()(FPDF_TEXTPAGE text)
unsigned short wMilliseconds
unsigned short wDayOfWeek