summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b5ed8305d..bf1662c31 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1255,6 +1255,12 @@ static void do_export_pdf(SPDocument* doc, gchar const* uri, char const* mime)
(*i)->set_param_bool ("exportDrawing", FALSE);
}
+ if (sp_export_area_canvas) {
+ (*i)->set_param_bool ("exportCanvas", TRUE);
+ } else {
+ (*i)->set_param_bool ("exportCanvas", FALSE);
+ }
+
(*i)->save(doc, uri);
}