This object is responsible for creating the PDF representation of text objects.
IpeLatex::IpeLatex | ( | const IpeStyleSheet * | sheet | ) |
Create a converter object.
IpeLatex::~IpeLatex | ( | ) |
Destructor.
int IpeLatex::ScanObject | ( | const IpeObject * | obj | ) |
Scan an object and insert all text objects into IpeLatex's list. Returns total number of text objects found so far.
int IpeLatex::ScanPage | ( | IpePage * | page | ) |
Scan a page and insert all text objects into IpeLatex's list. Returns total number of text objects found so far.
Create a Latex source file with all the text objects collected before. The client should have prepared a directory for the Pdflatex run, and pass the name of the Latex source file to be written by IpeLatex.
Returns the number of text objects that did not yet have an XForm, or a negative error code.
bool IpeLatex::ReadPdf | ( | IpeDataSource & | source | ) |
Read the PDF file created by Pdflatex.
Must have performed the call to Pdflatex, and pass the name of the resulting output file.
bool IpeLatex::UpdateTextObjects | ( | ) |
Notify all text objects about their updated PDF code.
Returns true if successful.
IpeFontPool * IpeLatex::TakeFontPool | ( | ) |
Return the newly created font pool and pass ownership of pool to caller.