protected virtual void AddXFormsToBody()
{
// add the form XObjects
foreach (Object[] objs in formXObjects.Values) {
PdfTemplate template = (PdfTemplate)objs[1];
if (template != null && template.IndirectReference is PRIndirectReference)
continue;
if (template != null && template.Type == PdfTemplate.TYPE_TEMPLATE) {
AddToBody(template.GetFormXObject(compressionLevel), template.IndirectReference);
}
}
}