AusweisApp2
Lade ...
Suche ...
Keine Treffer
PdfCreator.h
gehe zur Dokumentation dieser Datei
1
7
#pragma once
8
9
#include <QCoreApplication>
10
#include <QPainter>
11
#include <QPdfWriter>
12
#include <QString>
13
#include <QTextDocument>
14
15
namespace
governikus
16
{
17
18
class
PdfCreator
19
{
20
Q_DECLARE_TR_FUNCTIONS(
governikus::PdfCreator
)
21
22
private
:
23
QPdfWriter mPdfWriter;
24
QTextDocument mHeader;
25
QTextDocument mContent;
26
QTextDocument mFooter;
27
28
void
drawContents(
const
QTextDocument& pTextDocument, QPainter& pPainter,
const
QRectF& pClipRect = QRectF());
29
void
createHeader(
const
QString& pTitle,
const
QString& pHeadline);
30
void
createContent(
const
QString& pContent);
31
void
createFooter();
32
33
public
:
34
PdfCreator
(
const
QString& pFilename,
const
QString& pTitle,
const
QString& pHeadline,
const
QString& pContent);
35
bool
save
();
36
};
37
38
39
}
// namespace governikus
governikus::PdfCreator
Definition:
PdfCreator.h:19
governikus::PdfCreator::save
bool save()
Definition:
PdfCreator.cpp:108
governikus
Implementation of GeneralAuthenticate response APDUs.
Definition:
CommandApdu.h:16
src
export
PdfCreator.h
Erzeugt von
1.9.5