aboutsummaryrefslogtreecommitdiff
path: root/src/renderers/renderhelpers.hpp
blob: 6dce4fa4c0f00053eedc59f4594d7d4a8ef93575 (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>

namespace renderhelpers
{
    void renderEscapeCodes(const QByteArray &input, QTextCharFormat& format, const QTextCharFormat& defaultFormat, QTextCursor& cursor);

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

#endif