AusweisApp2
Lade ...
Suche ...
Keine Treffer
PdfExporter.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include <QCoreApplication>
12#include <QDateTime>
13#include <QList>
14#include <QString>
15#include <QStringList>
16#include <QVector>
17
18namespace governikus
19{
21{
22 Q_DECLARE_TR_FUNCTIONS(governikus::PdfExporter)
23
24 private:
25 QString mFilename;
26 bool mOpenFile;
27 bool mColoredRow;
28 int mColumnCount;
29 QStringList mContent;
30
31 [[nodiscard]] QString getContent() const;
32
33 void checkOpenFile(bool pSuccess);
34 void initTable(int pColumnCount, const QList<int>& pWidth, const QStringList& pValues);
35 void closeTable();
36 void addTableRow(const QStringList& pValues);
37 void toggleRowColor();
38
39 public:
40 PdfExporter(const QString& pFilename, bool pOpenFile = true, bool pFixFilename = true);
41 bool exportHistory();
42 bool exportSelfInfo(const QDateTime& pDate, const QVector<QPair<QString, QString>>& pInfoData);
43};
44
45} // namespace governikus
Definition PdfExporter.h:21
bool exportHistory()
Definition PdfExporter.cpp:101
bool exportSelfInfo(const QDateTime &pDate, const QVector< QPair< QString, QString > > &pInfoData)
Definition PdfExporter.cpp:160
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16