aboutsummaryrefslogtreecommitdiff
path: root/src/renderers/renderhelpers.hpp
blob: c5273c2b01516b72462cca1143ec566fb71486c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef RENDERHELPERS_HPP
#define RENDERHELPERS_HPP

#include <QByteArray>
#include <QTextCursor>
#include <QTextDocument>

void RenderEscapeCodes(const QByteArray &input, const QTextCharFormat& format, QTextCursor& cursor);

namespace renderhelpers
{
    void setPageMargins(QTextDocument *doc, int mh, int mv);
}

#endif