FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
FPDFAnnot_IsSupportedSubtype(FPDF_ANNOTATION_SUBTYPE subtype) {
// The supported subtypes must also be communicated in the user doc.
switch (subtype) {
case FPDF_ANNOT_CIRCLE:
case FPDF_ANNOT_FILEATTACHMENT:
case FPDF_ANNOT_FREETEXT:
case FPDF_ANNOT_HIGHLIGHT:
case FPDF_ANNOT_INK:
case FPDF_ANNOT_LINK:
case FPDF_ANNOT_POPUP:
case FPDF_ANNOT_SQUARE:
case FPDF_ANNOT_SQUIGGLY:
case FPDF_ANNOT_STAMP:
case FPDF_ANNOT_STRIKEOUT:
case FPDF_ANNOT_TEXT:
case FPDF_ANNOT_UNDERLINE:
return true;
default:
return false;
}
}