IsMultiLine := CompareText(MappedFieldType, 'memo') = 0 If CompareText(MappedFieldType, 'checkbox') = 0 then If CompareText(FieldName, 'Name1') = 0 thenįieldType := LowerCase(E.GetAttribute('PdfFieldType')) TGenerateFlag = (gfShowAcrobat, gfUseDefaultValues, gfGenerateTestData, gfAddCalibration, gfAlwaysFillCheckboxes) įunction CreateAcrobatFieldsInner(eStartNode: TxpElement Ĭonst Path: String Flags : TGenerateFlags const OutputFile : String): Boolean unit AcrobatXMLu ĪFORMAUTLib_TLB // Acrobat Forms COM objects The Calibrate routine adds some markings to assist field placement. It's not compilable as is because of some external dependencies, and in need of a bit of refactoring, but it should give you the general idea. Here is some example code which uses the form-filling COM objects of Acrobat to fill in Acrobat fields from XML data parsed using the XML Partner library from Turbopower.
0 Comments
Leave a Reply. |