18 #include <podofo/podofo.h>
21 enum PDFContentStreamKeyword
91 PDFColorSpace strokeCS;
93 QList<double> strokeColor;
94 QList<double> fillColor;
99 QPair<QList<int>,
int> dashPattern;
100 QPair<PDFFont, double> font;
101 QList<QString> blendModes;
102 double fillAlphaConstant;
103 double strokeAlphaConstant;
106 strokeCS = CS_DeviceGray;
107 fillCS = CS_DeviceGray;
108 strokeColor.append(0);
114 QList<int> dashArray;
116 dashPattern.first = dashArray;
117 dashPattern.second = dashPhase;
118 blendModes.append(
"Normal");
119 fillAlphaConstant = 1;
120 strokeAlphaConstant = 1;
161 bool inspectPDF(
int pageNum, QList<PDFColorSpace> & usedColorSpaces,
bool & hasTransparency, QList<PDFFont> & usedFonts, QList<PDFImage> & imgs);
165 PoDoFo::PdfMemDocument* m_doc;
170 bool inspectCanvas(PoDoFo::PdfCanvas* canvas, QList<PDFColorSpace> & usedColorSpaces,
bool & hasTransparency, QList<PDFFont> & usedFonts, QList<PDFImage> & imgs);
175 PDFColorSpace getCSType(PoDoFo::PdfObject* csObject);
180 void inspectExtGStateObj(PoDoFo::PdfObject* extGStateObj, QList<PDFColorSpace> & usedColorSpaces,
bool & hasTransparency, QList<PDFFont> & usedFonts,
PDFGraphicState & currGS);
184 PDFFont getFontInfo(PoDoFo::PdfObject* fontObj);
bool inspectPDF(int pageNum, QList< PDFColorSpace > &usedColorSpaces, bool &hasTransparency, QList< PDFFont > &usedFonts, QList< PDFImage > &imgs)
Definition: pdf_analyzer.cpp:824
Definition: pdf_analyzer.h:123
Definition: pdf_analyzer.h:88
PDFAnalyzer(QString &filename)
Definition: pdf_analyzer.cpp:818
Definition: pdf_analyzer.h:76
Definition: pdf_analyzer.h:138