public ExtendedDocument( OutputStream out, IPdfWriterConfiguration configuration ) throws DocumentException { this.writer = ExtendedPdfWriter.getInstance( this, out ); if (configuration != null) { configuration.configure( writer ); } headerFooter = createExtendedHeaderFooter(); initAttributes(); }
public ExtendedDocument( OutputStream out, IPdfWriterConfiguration configuration ) throws DocumentException { this.writer = ExtendedPdfWriter.getInstance( this, out ); if (configuration != null) { configuration.configure( writer ); } headerFooter = createExtendedHeaderFooter(); writer.setPageEvent( headerFooter ); this.originMarginTop = marginTop; this.originMarginBottom = marginBottom; this.originMarginRight = marginRight; this.originMarginLeft = marginLeft; }
public ExtendedDocument( OutputStream out, IPdfWriterConfiguration configuration ) throws DocumentException { this.writer = ExtendedPdfWriter.getInstance( this, out ); if (configuration != null) { configuration.configure( writer ); } headerFooter = createExtendedHeaderFooter(); writer.setPageEvent( headerFooter ); this.originMarginTop = marginTop; this.originMarginBottom = marginBottom; this.originMarginRight = marginRight; this.originMarginLeft = marginLeft; }