Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/generator_pdf.cpp
Show First 20 Lines • Show All 1851 Lines • ▼ Show 20 Line(s) | 1851 | case Poppler::FormField::FormButton: | |||
---|---|---|---|---|---|
1852 | of = new PopplerFormFieldButton( static_cast<Poppler::FormFieldButton*>( f ) ); | 1852 | of = new PopplerFormFieldButton( static_cast<Poppler::FormFieldButton*>( f ) ); | ||
1853 | break; | 1853 | break; | ||
1854 | case Poppler::FormField::FormText: | 1854 | case Poppler::FormField::FormText: | ||
1855 | of = new PopplerFormFieldText( static_cast<Poppler::FormFieldText*>( f ) ); | 1855 | of = new PopplerFormFieldText( static_cast<Poppler::FormFieldText*>( f ) ); | ||
1856 | break; | 1856 | break; | ||
1857 | case Poppler::FormField::FormChoice: | 1857 | case Poppler::FormField::FormChoice: | ||
1858 | of = new PopplerFormFieldChoice( static_cast<Poppler::FormFieldChoice*>( f ) ); | 1858 | of = new PopplerFormFieldChoice( static_cast<Poppler::FormFieldChoice*>( f ) ); | ||
1859 | break; | 1859 | break; | ||
1860 | case Poppler::FormField::FormSignature: { | ||||
1861 | of = new PopplerFormFieldSignature( static_cast<Poppler::FormFieldSignature*>( f ) ); | ||||
1862 | break; | ||||
1863 | } | ||||
1860 | default: ; | 1864 | default: ; | ||
1861 | } | 1865 | } | ||
1862 | if ( of ) | 1866 | if ( of ) | ||
1863 | // form field created, good - it will take care of the Poppler::FormField | 1867 | // form field created, good - it will take care of the Poppler::FormField | ||
1864 | okularFormFields.append( of ); | 1868 | okularFormFields.append( of ); | ||
1865 | else | 1869 | else | ||
1866 | // no form field available - delete the Poppler::FormField | 1870 | // no form field available - delete the Poppler::FormField | ||
1867 | delete f; | 1871 | delete f; | ||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |