Module implementing an exporter for PDF.
PDF_ENCODING |
PDF_FONTSIZE_DEFAULT |
PDF_FONT_DEFAULT |
PDF_MARGIN_DEFAULT |
PDF_SPACING_DEFAULT |
PDFfontAscenders |
PDFfontDescenders |
PDFfontNames |
PDFfontWidths |
PDFpageSizes |
ExporterPDF | Class implementing an exporter for PDF. |
PDFObjectTracker | Class to conveniently handle the tracking of PDF objects so that the cross-reference table can be built (PDF1.4Ref(p39)). |
PDFRender | Class to manage line and page rendering. |
PDFStyle | Simple class to store the values of a PDF style. |
None |
Class implementing an exporter for PDF.
None |
None |
ExporterPDF | Constructor |
__getPDFRGB | Private method to convert a color object to the correct PDF color. |
exportSource | Public method performing the export. |
None |
Constructor
Private method to convert a color object to the correct PDF color.
Public method performing the export.
Class to conveniently handle the tracking of PDF objects so that the cross-reference table can be built (PDF1.4Ref(p39)).
All writes to the file are passed through a PDFObjectTracker object.
None |
None |
PDFObjectTracker | Constructor |
add | Public method to add a new object. |
write | Public method to write the data to the file. |
xref | Public method to build the xref table. |
None |
Constructor
Public method to add a new object.
Public method to write the data to the file.
Public method to build the xref table.
Class to manage line and page rendering.
Apart from startPDF, endPDF everything goes in via add() and nextLine() so that line formatting and pagination can be done properly.
None |
None |
PDFRender | Constructor |
add | Public method to add a character to the page. |
endPDF | Public method to end the PDF document. |
endPage | Public method to end a page. |
flushSegment | Public method to flush a segment of data. |
fontToPoints | Public method to convert the font size to points. |
nextLine | Public method to start a new line. |
setStyle | Public method to set a style. |
startPDF | Public method to start the PDF document. |
startPage | Public method to start a new page. |
None |
Constructor
Public method to add a character to the page.
Public method to end the PDF document.
Public method to end a page.
Public method to flush a segment of data.
Public method to convert the font size to points.
Public method to start a new line.
Public method to set a style.
Public method to start the PDF document.
Public method to start a new page.
Simple class to store the values of a PDF style.
None |
None |
PDFStyle | Constructor |
None |
Constructor