import PDFDict from '../objects/PDFDict'; import PDFAcroChoice from './PDFAcroChoice'; import PDFContext from '../PDFContext'; import PDFRef from '../objects/PDFRef'; import { PDFClasses } from '../../api/objects'; class PDFAcroListBox extends PDFAcroChoice { static className = () => PDFClasses.PDFAcroListBox; myClass(): PDFClasses { return PDFClasses.PDFAcroListBox; } static fromDict = (dict: PDFDict, ref: PDFRef) => new PDFAcroListBox(dict, ref); static create = (context: PDFContext) => { const dict = context.obj({ FT: 'Ch', Kids: [], }); const ref = context.register(dict); return new PDFAcroListBox(dict, ref); }; } export default PDFAcroListBox;