Qt 4.8
|
#include <qprintengine_pdf_p.h>
Private Functions | |
int | addXrefEntry (int object, bool printostr=true) |
void | embedFont (QFontSubset *font) |
void | printString (const QString &string) |
void | write (const QByteArray &data) |
int | writeCompressed (const char *src, int len) |
int | writeCompressed (const QByteArray &data) |
int | writeCompressed (QIODevice *dev) |
void | writeFonts () |
int | writeImage (const QByteArray &data, int width, int height, int depth, int maskObject, int softMaskObject, bool dct=false) |
void | writeInfo () |
void | writePage () |
void | writePageRoot () |
void | xprintf (const char *fmt,...) |
Properties | |
QHash< QPair< uint, uint >, uint > | alphaCache |
int | catalog |
int | graphicsState |
QHash< qint64, uint > | imageCache |
int | info |
int | pageRoot |
QVector< uint > | pages |
int | patternColorSpace |
QDataStream * | stream |
int | streampos |
QVector< int > | xrefPositions |
Definition at line 123 of file qprintengine_pdf_p.h.
QPdfEnginePrivate::QPdfEnginePrivate | ( | QPrinter::PrinterMode | m | ) |
Definition at line 300 of file qprintengine_pdf.cpp.
QPdfEnginePrivate::~QPdfEnginePrivate | ( | ) |
Definition at line 311 of file qprintengine_pdf.cpp.
int QPdfEnginePrivate::addBrushPattern | ( | const QTransform & | matrix, |
bool * | specifyColor, | ||
int * | gStateObject | ||
) |
Definition at line 437 of file qprintengine_pdf.cpp.
int QPdfEnginePrivate::addConstantAlphaObject | ( | int | brushAlpha, |
int | penAlpha = 255 |
||
) |
Definition at line 417 of file qprintengine_pdf.cpp.
Referenced by addBrushPattern(), and ~QPdfEnginePrivate().
Adds an image to the pdf and return the pdf-object id.
Returns -1 if adding the image failed.
Definition at line 526 of file qprintengine_pdf.cpp.
Referenced by addBrushPattern().
|
private |
Definition at line 1212 of file qprintengine_pdf.cpp.
Referenced by addBrushPattern(), addConstantAlphaObject(), drawTextItem(), embedFont(), writeHeader(), writeImage(), writeInfo(), writePage(), writePageRoot(), writeTail(), and ~QPdfEnginePrivate().
|
virtual |
Reimplemented from QPdfBaseEnginePrivate.
Definition at line 654 of file qprintengine_pdf.cpp.
|
private |
Definition at line 983 of file qprintengine_pdf.cpp.
Referenced by writeFonts().
|
inline |
Definition at line 136 of file qprintengine_pdf_p.h.
Referenced by newPage(), and pageMatrix().
void QPdfEnginePrivate::newPage | ( | ) |
Definition at line 719 of file qprintengine_pdf.cpp.
QTransform QPdfEnginePrivate::pageMatrix | ( | ) | const |
Definition at line 708 of file qprintengine_pdf.cpp.
Referenced by addBrushPattern(), drawTextItem(), and newPage().
|
private |
|
inline |
Definition at line 132 of file qprintengine_pdf_p.h.
Referenced by newPage().
|
inlineprivate |
Definition at line 175 of file qprintengine_pdf_p.h.
Referenced by addBrushPattern(), embedFont(), printString(), writeImage(), and ~QPdfEnginePrivate().
|
private |
Definition at line 832 of file qprintengine_pdf.cpp.
Referenced by embedFont(), writeImage(), and writePage().
|
inlineprivate |
Definition at line 181 of file qprintengine_pdf_p.h.
Referenced by writeCompressed().
|
private |
Definition at line 758 of file qprintengine_pdf.cpp.
|
private |
Definition at line 1095 of file qprintengine_pdf.cpp.
Referenced by writeTail().
void QPdfEnginePrivate::writeHeader | ( | ) |
Definition at line 903 of file qprintengine_pdf.cpp.
|
private |
Definition at line 855 of file qprintengine_pdf.cpp.
Referenced by addImage().
|
private |
Definition at line 938 of file qprintengine_pdf.cpp.
Referenced by writeHeader().
|
private |
Definition at line 1104 of file qprintengine_pdf.cpp.
Referenced by newPage(), and writeTail().
|
private |
Definition at line 961 of file qprintengine_pdf.cpp.
Referenced by writeTail().
void QPdfEnginePrivate::writeTail | ( | ) |
Definition at line 1188 of file qprintengine_pdf.cpp.
|
private |
Definition at line 738 of file qprintengine_pdf.cpp.
Referenced by addConstantAlphaObject(), addXrefEntry(), drawTextItem(), embedFont(), writeHeader(), writeImage(), writeInfo(), writePage(), writePageRoot(), writeTail(), and ~QPdfEnginePrivate().
Definition at line 188 of file qprintengine_pdf_p.h.
Referenced by addConstantAlphaObject().
|
private |
Definition at line 185 of file qprintengine_pdf_p.h.
Referenced by writeHeader(), and writeTail().
|
private |
Definition at line 185 of file qprintengine_pdf_p.h.
Referenced by writeHeader(), and writePage().
Definition at line 187 of file qprintengine_pdf_p.h.
Referenced by addImage().
|
private |
Definition at line 185 of file qprintengine_pdf_p.h.
Referenced by writeInfo(), and writeTail().
|
private |
Definition at line 185 of file qprintengine_pdf_p.h.
Referenced by writeHeader(), writePage(), and writePageRoot().
Definition at line 186 of file qprintengine_pdf_p.h.
Referenced by newPage(), writePage(), and writePageRoot().
|
private |
Definition at line 185 of file qprintengine_pdf_p.h.
Referenced by writeHeader(), and writePage().
|
private |
Definition at line 165 of file qprintengine_pdf_p.h.
Referenced by QPdfEnginePrivate(), writeCompressed(), xprintf(), and ~QPdfEnginePrivate().
|
private |
Definition at line 166 of file qprintengine_pdf_p.h.
Referenced by addXrefEntry(), QPdfEnginePrivate(), writeCompressed(), and xprintf().
|
private |
Definition at line 164 of file qprintengine_pdf_p.h.
Referenced by addXrefEntry(), and writeTail().