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