AusweisApp2
Lade ...
Suche ...
Keine Treffer
PdfCreator.h
gehe zur Dokumentation dieser Datei
1
7
#pragma once
8
9
#include <QCoreApplication>
10
#include <QPdfWriter>
11
#include <QString>
12
#include <QTextDocument>
13
14
namespace
governikus
15
{
16
17
class
PdfCreator
18
{
19
Q_DECLARE_TR_FUNCTIONS(
governikus::PdfCreator
)
20
21
private
:
22
QPdfWriter mPdfWriter;
23
QTextDocument mHeader;
24
QTextDocument mContent;
25
QTextDocument mFooter;
26
27
void
createHeader(
const
QString& pTitle,
const
QString& pHeadline);
28
void
createContent(
const
QString& pContent);
29
void
createFooter();
30
31
public
:
32
PdfCreator
(
const
QString& pFilename,
const
QString& pTitle,
const
QString& pHeadline,
const
QString& pContent);
33
bool
save
();
34
};
35
36
37
}
// namespace governikus
governikus::PdfCreator
Definition:
PdfCreator.h:18
governikus::PdfCreator::save
bool save()
Definition:
PdfCreator.cpp:109
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition:
ActivationContext.h:15
src
export
PdfCreator.h
Erzeugt von
1.9.6