This class is responsible for the creation of a PDF file from the Ipe data. You have to create an IpePdfWriter first, providing a file that has been opened for (binary) writing and is empty. Then call EmbedFonts() to embed the IpeFontPool and CreatePages() to embed the pages. CreateXmlStream
embeds a stream with the XML representation of the Ipe document. Finally, call CreateTrailer
to complete the PDF document, and close the file.
Some reserved PDF object numbers:
|
Create PDF writer operating on this (open and empty) file.
If noShading is |
|
Destructor.
|
|
Write all fonts to the PDF file, and fill in their object numbers. Embeds no fonts if |
|
Create all PDF pages.
|
|
Create the bookmarks (PDF outline).
|
|
Create a stream containing the XML data.
|
|
Create the root objects and trailer of the PDF file.
|