public void Generate(String xml, Stream resp) { parser = new PDFXMLParser(); try { parser.SetXML(xml); createPDF(); setColorProfile(); headerPrint(); printRows(); printFooter(); printPageNumbers(); outputPDF(resp); } catch (Exception e) { } }
public void Generate(String xml, Stream resp) { parser = new PDFXMLParser(); try { parser.SetXML(xml, this.Orientation); //TO DO remove second param setColorProfile(); createPDF(); headerPrint(); printRows(); printFooter(); printPageNumbers(); outputPDF(resp); } catch (Exception e) { throw; } }