Printing operations
The main content node within LiveContent is a document-a single piece of XML content that can be accessed and formatted in multiple ways. The printing API functions can render this XML content or graphics as a PDF document.
- Load XSL-FO before PDF render
This API call returns a URL at which XSL-FO XML instance can be accessed before it is passed to the Apache FOP rendering process that turns XSL-FO into a PDF instance. It is an extremely useful function for XSL-FO style developers. - Load Print dialog
This API displays HTML dialog that is used to print data. - Print document
This API call produces a PDF that contains the content of the document identified by theeidparameter. The PDF also contains all of the graphics associated with the document. - Print document with references
This API call produces a PDF that contains the content of the document identified by theeidparameter. The PDF also contains all of the graphics associated with the document. The PDF document also contains the PDF of any documents that are referenced from within the main document. These referenced documents are appended at the end of the PDF, and contain all of their associated images. Referencing printing only goes to one level of depth of references. - Print figures
This API call produces a PDF that contains a list of graphics, figures, or media. No document content is included in this PDF. When calling the API function, one is able to specify which figures are printed by their file name, without the extension. Because the figures are no associated with a document while being printed, the caller of the function must also provide the appropriate title for each figure so that it can be added to the PDF.