mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: add functions that read/write a template
Read/write templates from files. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
c35092f5c9
commit
605e1e2d93
2 changed files with 21 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ public:
|
|||
TemplateLayout(print_options *PrintOptions, template_options *templateOptions);
|
||||
~TemplateLayout();
|
||||
QString generate();
|
||||
static QString readTemplate(QString template_name);
|
||||
static void writeTemplate(QString template_name, QString grantlee_template);
|
||||
|
||||
private:
|
||||
Grantlee::Engine *m_engine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue