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, EmbedBitmaps() to embed the IpeBitmapPool, and CreatePage() to embed the pages you wish to save. 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.
|
|
|
Destructor.
|
|
|
Write all fonts to the PDF file, and fill in their object numbers. Embeds no fonts if |
|
|
Create PDF pages presenting this Ipe page.
|
|
||||||||||||
|
Create contents and page stream for this page view.
|
|
||||||||||||
|
Create a stream containing the XML data.
|
|
||||||||||||
|
Create the root objects and trailer of the PDF file.
|