summaryrefslogtreecommitdiffstats
path: root/src/io/command_line_export.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-10-13 07:37:26 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-10-13 07:37:26 +0000
commitfaf43f2ffa88561acb95909861bb28fcdfaeb858 (patch)
tree77f397b880ec970981a754c9549b24842161855b /src/io/command_line_export.h
parentCI/AppVeyor: increase clone depth (diff)
downloadinkscape-faf43f2ffa88561acb95909861bb28fcdfaeb858.tar.gz
inkscape-faf43f2ffa88561acb95909861bb28fcdfaeb858.zip
Move some files to 'io' directory.
Diffstat (limited to 'src/io/command_line_export.h')
-rw-r--r--src/io/command_line_export.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/io/command_line_export.h b/src/io/command_line_export.h
new file mode 100644
index 000000000..dad0d573c
--- /dev/null
+++ b/src/io/command_line_export.h
@@ -0,0 +1,59 @@
+
+// Command line export... should be using normal export.
+
+
+class InkCommandLineExport {
+
+public:
+ enum {
+ EXPORT_PLAIN_SVG,
+ EXPORT_INKSCAPE_SVG,
+ EXPORT_PNG,
+ EXPORT_PS,
+ EXPORT_EPS,
+ EXPORT_PDF,
+ EXPORT_LATEX,
+ EXPORT_EMF,
+ EXPORT_WMF,
+ EXPORT_XAML,
+ EXPORT_PRINT
+ } ExportType;
+
+ InkCommandLineExport(ExportType export_type,
+ Glib::ustring file_name);
+ ~InkCommandLineExport() {};
+ do_export();
+
+ double export_dpi;
+ bool export_area;
+ bool export_area_drawing;
+ bool export_area_page;
+ double export_margin;
+ bool export_snap;
+ int export_width; // In pixels
+ int export_hight; // In pixels
+ Glib::ustring export_id;
+ bool export_id_only;
+ bool export_id_hints;
+ Glib::ustring export_background;
+ double export_background_opacity;
+ int export_ps_level;
+ double export_pdf_level;
+ bool export_text_to_path;
+ bool export_ignore_filters;
+
+private:
+ ExportType export_type;
+ Glib::ustring file_name;
+}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :