Inkscape
Vector Graphics Editor
|
#include <export-single.h>
Public Member Functions | |
SingleExport (BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &refGlade) | |
~SingleExport () override | |
void | setApp (InkscapeApplication *app) |
void | setDocument (SPDocument *document) |
void | setDesktop (SPDesktop *desktop) |
void | selectionChanged (Inkscape::Selection *selection) |
void | selectionModified (Inkscape::Selection *selection, guint flags) |
void | refresh () |
Private Types | |
enum | sb_type { SPIN_X0 = 0 , SPIN_X1 , SPIN_Y0 , SPIN_Y1 , SPIN_WIDTH , SPIN_HEIGHT , SPIN_BMWIDTH , SPIN_BMHEIGHT , SPIN_DPI } |
enum | selection_mode { SELECTION_PAGE = 0 , SELECTION_SELECTION , SELECTION_DRAWING , SELECTION_CUSTOM } |
Private Member Functions | |
void | setup () |
void | setupUnits () |
void | setupSpinButtons () |
void | toggleSpinButtonVisibility () |
void | refreshPreview () |
template<typename T > | |
void | setupSpinButton (Gtk::SpinButton *sb, double val, double min, double max, double step, double page, int digits, bool sensitive, void(SingleExport::*cb)(T), T param) |
void | setDefaultSelectionMode () |
void | onAreaXChange (sb_type type) |
void | onAreaYChange (sb_type type) |
void | onDpiChange (sb_type type) |
void | onAreaTypeToggle (selection_mode key) |
void | onUnitChanged () |
void | onFilenameModified () |
Filename in filename entry field was changed. | |
void | onExtensionChanged () |
void | onExport () |
void | onCancel () |
void | onBrowse () |
void | refreshArea () |
void | refreshPage () |
void | loadExportHints () |
Update suggested DPI and filename when the selection has changed. | |
void | setFilename (std::string filename, bool modified_by_user) |
Set filename and update filename entry box. | |
void | saveExportHints (SPObject *target) |
void | areaXChange (sb_type type) |
void | areaYChange (sb_type type) |
void | dpiChange (sb_type type) |
void | setArea (double x0, double y0, double x1, double y1) |
void | blockSpinConns (bool status) |
void | setExporting (bool exporting, Glib::ustring const &text="") |
void | onPagesChanged () |
Page functions. | |
void | onPagesModified (SPPage *page) |
void | onPagesSelected (SPPage *page) |
void | setPagesMode (bool multi) |
void | selectPage (SPPage *page) |
std::vector< SPPage const * > | getSelectedPages () const |
Static Private Member Functions | |
static unsigned int | onProgressCallback (float value, void *data) |
Callback to be used in for loop to update the progress bar. | |
Private Attributes | |
InkscapeApplication * | _app = nullptr |
SPDesktop * | _desktop = nullptr |
SPDocument * | _document = nullptr |
std::shared_ptr< PreviewDrawing > | _preview_drawing |
bool | setupDone = false |
std::map< sb_type, Gtk::SpinButton * > | spin_buttons |
std::map< sb_type, Gtk::Label * > | spin_labels |
std::map< selection_mode, Gtk::ToggleButton * > | selection_buttons |
Gtk::CheckButton * | show_export_area = nullptr |
BatchItems | current_items |
Gtk::FlowBox & | pages_list |
Gtk::ScrolledWindow & | pages_list_box |
Gtk::Grid & | size_box |
Inkscape::UI::Widget::UnitMenu & | units |
Gtk::Box & | si_units_row |
Gtk::CheckButton & | si_hide_all |
Gtk::CheckButton & | si_show_preview |
ExportPreview & | preview |
Gtk::Box & | preview_box |
ExtensionList & | si_extension_cb |
Gtk::Entry & | si_filename_entry |
Gtk::Button & | si_filename_button |
Gtk::Button & | si_export |
Gtk::ProgressBar & | progress_bar |
Gtk::Widget & | progress_box |
Gtk::Button & | cancel_button |
UI::Widget::ColorPicker & | _background_color |
bool | filename_modified_by_user = false |
True if the value of the selected filename was changed by the user since the last export. | |
Glib::ustring | filename_entry_original_value |
Last value of filename entry field that was set programmatically. Used to detect modification by the user. | |
Glib::ustring | doc_export_name |
std::string | filepath_native |
File path as returned by the file chooser. | |
Inkscape::Preferences * | prefs = nullptr |
std::map< selection_mode, Glib::ustring > | selection_names |
selection_mode | current_key = (selection_mode)0 |
bool | interrupted |
std::vector< sigc::scoped_connection > | spinButtonConns |
sigc::scoped_connection | filenameConn |
sigc::scoped_connection | extensionConn |
sigc::scoped_connection | exportConn |
sigc::scoped_connection | cancelConn |
sigc::scoped_connection | browseConn |
sigc::scoped_connection | _pages_list_changed |
sigc::scoped_connection | _page_selected_connection |
sigc::scoped_connection | _page_modified_connection |
sigc::scoped_connection | _page_changed_connection |
Definition at line 56 of file export-single.h.
|
private |
Enumerator | |
---|---|
SPIN_X0 | |
SPIN_X1 | |
SPIN_Y0 | |
SPIN_Y1 | |
SPIN_WIDTH | |
SPIN_HEIGHT | |
SPIN_BMWIDTH | |
SPIN_BMHEIGHT | |
SPIN_DPI |
Definition at line 75 of file export-single.h.
|
private |
Enumerator | |
---|---|
SELECTION_PAGE | |
SELECTION_SELECTION | |
SELECTION_DRAWING | |
SELECTION_CUSTOM |
Definition at line 88 of file export-single.h.
Inkscape::UI::Dialog::SingleExport::SingleExport | ( | BaseObjectType * | cobject, |
const Glib::RefPtr< Gtk::Builder > & | refGlade | ||
) |
Definition at line 48 of file export-single.cpp.
References builder, Inkscape::Preferences::get(), Inkscape::UI::get_widget(), Inkscape::UI::Dialog::ExtensionList::getPrefButton(), prefs, selection_buttons, SELECTION_CUSTOM, SELECTION_DRAWING, selection_names, SELECTION_PAGE, SELECTION_SELECTION, setup(), si_extension_cb, SPIN_BMHEIGHT, SPIN_BMWIDTH, spin_buttons, SPIN_DPI, SPIN_HEIGHT, spin_labels, SPIN_WIDTH, SPIN_X0, SPIN_X1, SPIN_Y0, and SPIN_Y1.
|
overridedefault |
|
private |
Definition at line 834 of file export-single.cpp.
References floor(), Inkscape::UI::Widget::UnitMenu::getUnit(), Inkscape::UI::Dialog::SP_EXPORT_MIN_SIZE, SPIN_BMWIDTH, spin_buttons, SPIN_DPI, SPIN_WIDTH, SPIN_X0, SPIN_X1, units, and width.
Referenced by onAreaXChange(), and setArea().
|
private |
Definition at line 884 of file export-single.cpp.
References floor(), Inkscape::UI::Widget::UnitMenu::getUnit(), Inkscape::UI::Widget::height, Inkscape::UI::Dialog::SP_EXPORT_MIN_SIZE, SPIN_BMHEIGHT, spin_buttons, SPIN_DPI, SPIN_HEIGHT, SPIN_Y0, SPIN_Y1, and units.
Referenced by onAreaYChange(), and setArea().
|
private |
Definition at line 827 of file export-single.cpp.
References spinButtonConns.
Referenced by onAreaXChange(), onAreaYChange(), onDpiChange(), and setArea().
|
private |
Definition at line 934 of file export-single.cpp.
References floor(), Inkscape::UI::Widget::UnitMenu::getUnit(), Inkscape::UI::Widget::height, prefs, Inkscape::Preferences::setDouble(), Inkscape::UI::Dialog::SP_EXPORT_MIN_SIZE, SPIN_BMHEIGHT, SPIN_BMWIDTH, spin_buttons, SPIN_DPI, SPIN_HEIGHT, SPIN_WIDTH, units, and width.
Referenced by onDpiChange().
|
private |
Definition at line 349 of file export-single.cpp.
References child, item, and pages_list.
Referenced by loadExportHints(), onExport(), and refreshArea().
|
private |
Update suggested DPI and filename when the selection has changed.
Current file path (before the new suggested filename is determined). Value is in platform-native encoding.
Suggested new file path. Value is in platform-native encoding.
Definition at line 398 of file export-single.cpp.
References _desktop, _document, current_key, Inkscape::UI::Dialog::Export::defaultFilename(), filename_modified_by_user, filepath_native, Inkscape::UI::Dialog::Export::filePathFromObject(), SPObject::getExportDpi(), SPObject::getExportFilename(), Inkscape::UI::Dialog::ExtensionList::getExtension(), SPDocument::getRoot(), getSelectedPages(), SPDesktop::getSelection(), item, Inkscape::UI::Dialog::Export::prependDirectory(), Inkscape::UI::Dialog::ExtensionList::removeExtension(), SELECTION_CUSTOM, SELECTION_DRAWING, SELECTION_PAGE, SELECTION_SELECTION, setFilename(), si_extension_cb, spin_buttons, SPIN_DPI, and Geom::Point::x().
Referenced by onAreaTypeToggle(), onExtensionChanged(), refresh(), selectionChanged(), setDocument(), and setup().
|
private |
Definition at line 569 of file export-single.cpp.
References current_key, key, loadExportHints(), prefs, refreshArea(), refreshPage(), selection_buttons, selection_names, Inkscape::Preferences::setString(), and toggleSpinButtonVisibility().
Referenced by setup().
|
private |
Definition at line 606 of file export-single.cpp.
References areaXChange(), blockSpinConns(), refreshPreview(), selection_buttons, and SELECTION_CUSTOM.
Referenced by setupSpinButtons().
|
private |
Definition at line 614 of file export-single.cpp.
References areaYChange(), blockSpinConns(), refreshPreview(), selection_buttons, and SELECTION_CUSTOM.
Referenced by setupSpinButtons().
|
private |
Definition at line 788 of file export-single.cpp.
References _app, _document, browseConn, Inkscape::choose_file_save(), Inkscape::UI::Dialog::create_export_filters(), Inkscape::UI::Dialog::Export::defaultFilename(), InkscapeApplication::get_active_window(), Inkscape::UI::Dialog::ExtensionList::getExtension(), onExport(), si_extension_cb, and si_filename_entry.
Referenced by onExport(), and setup().
|
private |
Definition at line 659 of file export-single.cpp.
References interrupted, and setExporting().
Referenced by setup().
|
private |
Definition at line 622 of file export-single.cpp.
References blockSpinConns(), and dpiChange().
Referenced by setupSpinButtons().
|
private |
Label for displaying to user
File path converted to UTF8
Definition at line 665 of file export-single.cpp.
References _background_color, _desktop, _document, Inkscape::UI::Dialog::Export::absolutizePath(), Inkscape::UI::Dialog::Export::checkOrCreateDirectory(), SPDocument::copy(), current_key, Inkscape::DocumentUndo::done(), SPDesktop::dt2doc(), Inkscape::UI::Dialog::Export::exportRaster(), Inkscape::UI::Dialog::Export::exportVector(), filename_modified_by_user, filepath_native, Inkscape::IO::Sandbox::filesystem_get_display_path(), Inkscape::ObjectSet::firstItem(), Inkscape::UI::Widget::ColorPicker::get_current_color(), Inkscape::UI::Dialog::ExtensionList::getExtension(), SPDocument::getPageManager(), SPDocument::getRoot(), getSelectedPages(), SPDesktop::getSelection(), Inkscape::UI::Widget::UnitMenu::getUnit(), Inkscape::UI::Widget::height, interrupted, items, onBrowse(), onProgressCallback(), page, saveExportHints(), SELECTION_CUSTOM, SELECTION_DRAWING, SELECTION_PAGE, SELECTION_SELECTION, setExporting(), si_extension_cb, si_hide_all, SPIN_BMHEIGHT, SPIN_BMWIDTH, spin_buttons, SPIN_DPI, SPIN_X0, SPIN_X1, SPIN_Y0, SPIN_Y1, Inkscape::Colors::Color::toRGBA(), units, and width.
Referenced by onBrowse(), and setup().
|
private |
Definition at line 651 of file export-single.cpp.
References Inkscape::UI::Dialog::ExtensionList::getExtension(), loadExportHints(), setPagesMode(), and si_extension_cb.
Referenced by setup().
|
private |
Filename in filename entry field was changed.
Definition at line 632 of file export-single.cpp.
References extensionConn, filename_entry_original_value, Inkscape::UI::Dialog::ExtensionList::setExtensionFromFilename(), setFilename(), si_extension_cb, and si_filename_entry.
Referenced by setup().
|
private |
Page functions.
Definition at line 359 of file export-single.cpp.
References _document, _pages_list_changed, _preview_drawing, current_items, Inkscape::UI::Dialog::ExtensionList::getExtension(), SPDocument::getPageManager(), page, pages_list, refreshPage(), setPagesMode(), si_extension_cb, and Inkscape::UI::Dialog::BatchItem::syncItems().
Referenced by setDocument().
|
private |
Definition at line 383 of file export-single.cpp.
References refreshArea().
Referenced by setDocument().
|
private |
Definition at line 388 of file export-single.cpp.
References page, pages_list, refreshArea(), and selectPage().
Referenced by setDocument().
|
staticprivate |
Callback to be used in for loop to update the progress bar.
value | number between 0 and 1 indicating the fraction of progress (0.17 = 17 % progress) |
Definition at line 1032 of file export-single.cpp.
References data.
Referenced by onExport().
|
private |
|
inline |
Definition at line 67 of file export-single.h.
References loadExportHints(), refreshArea(), and refreshPage().
|
private |
Definition at line 267 of file export-single.cpp.
References _desktop, _document, current_key, SPItem::desktopVisualBounds(), SPDocument::getPageManager(), SPDocument::getRoot(), Inkscape::PageManager::getSelectedPageRect(), getSelectedPages(), SPDesktop::getSelection(), refreshPreview(), SELECTION_CUSTOM, SELECTION_DRAWING, SELECTION_PAGE, SELECTION_SELECTION, setArea(), Inkscape::ObjectSet::visualBounds(), Geom::X, and Geom::Y.
Referenced by onAreaTypeToggle(), onPagesModified(), onPagesSelected(), onUnitChanged(), refresh(), selectionChanged(), selectionModified(), setDocument(), and setup().
|
private |
Definition at line 304 of file export-single.cpp.
References _document, current_key, Inkscape::PageManager::getPageCount(), SPDocument::getPageManager(), pages_list, pages_list_box, preview_box, SELECTION_PAGE, and size_box.
Referenced by onAreaTypeToggle(), onPagesChanged(), refresh(), setDefaultSelectionMode(), and setPagesMode().
|
private |
Definition at line 1043 of file export-single.cpp.
References _background_color, _desktop, _document, _preview_drawing, child, current_key, SPDocument::dt2doc(), Inkscape::UI::get_children(), Inkscape::UI::Widget::ColorPicker::get_current_color(), SPDesktop::getSelection(), Inkscape::UI::Widget::UnitMenu::getUnit(), Inkscape::ObjectSet::items(), pages_list, preview, Inkscape::UI::Dialog::ExportPreview::queueRefresh(), Inkscape::UI::Dialog::ExportPreview::resetPixels(), SELECTION_PAGE, Inkscape::UI::Dialog::ExportPreview::setBackgroundColor(), Inkscape::UI::Dialog::ExportPreview::setBox(), si_hide_all, si_show_preview, spin_buttons, SPIN_X0, SPIN_X1, SPIN_Y0, SPIN_Y1, Inkscape::Colors::Color::toRGBA(), and units.
Referenced by onAreaXChange(), onAreaYChange(), refreshArea(), and setup().
|
private |
Definition at line 534 of file export-single.cpp.
References filepath_native, SPObject::setExportDpi(), SPObject::setExportFilename(), spin_buttons, and SPIN_DPI.
Referenced by onExport().
void Inkscape::UI::Dialog::SingleExport::selectionChanged | ( | Inkscape::Selection * | selection | ) |
Definition at line 123 of file export-single.cpp.
References _desktop, current_key, SPDesktop::getSelection(), Inkscape::Preferences::getString(), Inkscape::ObjectSet::isEmpty(), key, loadExportHints(), name, prefs, refreshArea(), selection_buttons, selection_names, SELECTION_SELECTION, and Inkscape::Preferences::setString().
Referenced by Inkscape::UI::Dialog::Export::onNotebookPageSwitch(), and Inkscape::UI::Dialog::Export::selectionChanged().
void Inkscape::UI::Dialog::SingleExport::selectionModified | ( | Inkscape::Selection * | selection, |
guint | flags | ||
) |
Definition at line 111 of file export-single.cpp.
References _desktop, SPDesktop::getSelection(), and refreshArea().
Referenced by Inkscape::UI::Dialog::Export::selectionModified().
|
private |
Definition at line 337 of file export-single.cpp.
References Inkscape::UI::_continue, Inkscape::UI::for_each_child(), item, page, and pages_list.
Referenced by onPagesSelected().
|
inline |
Definition at line 62 of file export-single.h.
References _app.
Referenced by Inkscape::UI::Dialog::Export::desktopReplaced().
|
private |
Definition at line 545 of file export-single.cpp.
References areaXChange(), areaYChange(), blockSpinConns(), Inkscape::UI::Widget::UnitMenu::getUnit(), spin_buttons, SPIN_X0, SPIN_X1, SPIN_Y0, SPIN_Y1, and units.
Referenced by refreshArea(), and setDefaultSelectionMode().
|
private |
Definition at line 974 of file export-single.cpp.
References _desktop, _document, current_key, SPDesktop::getSelection(), Inkscape::Preferences::getString(), key, name, SPDocument::preferredBounds(), prefs, refreshPage(), selection_buttons, SELECTION_CUSTOM, selection_names, SELECTION_SELECTION, setArea(), Inkscape::Preferences::setString(), spin_buttons, SPIN_HEIGHT, SPIN_WIDTH, toggleSpinButtonVisibility(), Geom::X, and Geom::Y.
Referenced by setup().
void Inkscape::UI::Dialog::SingleExport::setDesktop | ( | SPDesktop * | desktop | ) |
Definition at line 1084 of file export-single.cpp.
References _desktop, _page_selected_connection, and desktop.
Referenced by Inkscape::UI::Dialog::Export::desktopReplaced().
void Inkscape::UI::Dialog::SingleExport::setDocument | ( | SPDocument * | document | ) |
Definition at line 1092 of file export-single.cpp.
References _background_color, _document, _page_changed_connection, _page_modified_connection, _page_selected_connection, _preview_drawing, Inkscape::PageManager::connectPageSelected(), filename_modified_by_user, Inkscape::UI::Dialog::get_export_bg_color(), SPDocument::getNamedView(), SPDocument::getPageManager(), loadExportHints(), onPagesChanged(), onPagesModified(), onPagesSelected(), preview, refreshArea(), Inkscape::UI::Widget::ColorPicker::setColor(), and Inkscape::UI::Dialog::ExportPreview::setDrawing().
Referenced by Inkscape::UI::Dialog::Export::documentReplaced().
|
private |
Definition at line 1012 of file export-single.cpp.
References progress_bar, progress_box, and Inkscape::UI::Dialog::set_sensitive().
Referenced by onCancel(), onExport(), and setup().
|
private |
Set filename and update filename entry box.
The value of filename_modified_by_user
will be updated.
filename | Raw file path. Value is in platform-native encoding (see Glib::filename_to_utf8). |
is_user_input | True if the new filename comes from user input (by file chooser, editing the text box, or by pushing the Export button). False if the new value is auto-generated. |
Definition at line 493 of file export-single.cpp.
References filename_entry_original_value, filename_modified_by_user, filenameConn, filepath_native, Inkscape::IO::Sandbox::filesystem_get_display_path(), Inkscape::IO::Sandbox::filesystem_is_sandboxed(), and si_filename_entry.
Referenced by loadExportHints(), and onFilenameModified().
|
private |
Definition at line 317 of file export-single.cpp.
References Inkscape::UI::_continue, Inkscape::UI::for_each_child(), item, pages_list, and refreshPage().
Referenced by onExtensionChanged(), onPagesChanged(), and setup().
|
private |
Definition at line 159 of file export-single.cpp.
References _background_color, _desktop, _pages_list_changed, browseConn, cancel_button, cancelConn, Inkscape::UI::Widget::ColorPicker::connectChanged(), exportConn, extensionConn, filenameConn, Inkscape::IO::Sandbox::filesystem_is_sandboxed(), SPDesktop::getNamedView(), key, loadExportHints(), onAreaTypeToggle(), onBrowse(), onCancel(), onExport(), onExtensionChanged(), onFilenameModified(), onUnitChanged(), pages_list, refreshArea(), refreshPreview(), selection_buttons, Inkscape::UI::Dialog::set_export_bg_color(), setDefaultSelectionMode(), setExporting(), setPagesMode(), Inkscape::UI::Dialog::ExtensionList::setup(), setupDone, setupSpinButtons(), setupUnits(), si_export, si_extension_cb, si_filename_button, si_filename_entry, si_hide_all, si_show_preview, Inkscape::UI::Widget::UnitMenu::signal_changed(), and units.
Referenced by SingleExport().
|
private |
Definition at line 248 of file export-single.cpp.
References page, and spinButtonConns.
|
private |
Definition at line 223 of file export-single.cpp.
References Inkscape::UI::Dialog::EXPORT_COORD_PRECISION, Inkscape::Preferences::getDouble(), onAreaXChange(), onAreaYChange(), onDpiChange(), prefs, SPIN_BMHEIGHT, SPIN_BMWIDTH, spin_buttons, SPIN_DPI, SPIN_HEIGHT, SPIN_WIDTH, SPIN_X0, SPIN_X1, SPIN_Y0, and SPIN_Y1.
Referenced by setup().
|
private |
Definition at line 214 of file export-single.cpp.
References _desktop, Inkscape::Util::Unit::abbr, SPNamedView::display_units, SPDesktop::getNamedView(), Inkscape::UI::Widget::UnitMenu::setUnit(), Inkscape::UI::Widget::UnitMenu::setUnitType(), Inkscape::Util::UNIT_TYPE_LINEAR, and units.
Referenced by setup().
|
private |
Definition at line 586 of file export-single.cpp.
References current_key, SELECTION_CUSTOM, si_units_row, spin_buttons, SPIN_HEIGHT, spin_labels, SPIN_WIDTH, SPIN_X0, SPIN_X1, SPIN_Y0, and SPIN_Y1.
Referenced by onAreaTypeToggle(), and setDefaultSelectionMode().
|
private |
Definition at line 96 of file export-single.h.
Referenced by onBrowse(), and setApp().
|
private |
Definition at line 131 of file export-single.h.
Referenced by onExport(), refreshPreview(), setDocument(), and setup().
|
private |
Definition at line 97 of file export-single.h.
Referenced by loadExportHints(), onExport(), refreshArea(), refreshPreview(), selectionChanged(), selectionModified(), setDefaultSelectionMode(), setDesktop(), setup(), and setupUnits().
|
private |
Definition at line 98 of file export-single.h.
Referenced by loadExportHints(), onBrowse(), onExport(), onPagesChanged(), refreshArea(), refreshPage(), refreshPreview(), setDefaultSelectionMode(), and setDocument().
|
private |
Definition at line 213 of file export-single.h.
Referenced by setDocument().
|
private |
Definition at line 212 of file export-single.h.
Referenced by setDocument().
|
private |
Definition at line 211 of file export-single.h.
Referenced by setDesktop(), and setDocument().
|
private |
Definition at line 209 of file export-single.h.
Referenced by onPagesChanged(), and setup().
|
private |
Definition at line 99 of file export-single.h.
Referenced by onPagesChanged(), refreshPreview(), and setDocument().
|
private |
Definition at line 208 of file export-single.h.
Referenced by onBrowse(), and setup().
|
private |
Definition at line 130 of file export-single.h.
Referenced by setup().
|
private |
Definition at line 207 of file export-single.h.
Referenced by setup().
|
private |
Definition at line 109 of file export-single.h.
Referenced by onPagesChanged().
|
private |
Definition at line 146 of file export-single.h.
Referenced by loadExportHints(), onAreaTypeToggle(), onExport(), refreshArea(), refreshPage(), refreshPreview(), selectionChanged(), setDefaultSelectionMode(), and toggleSpinButtonVisibility().
|
private |
Definition at line 139 of file export-single.h.
|
private |
Definition at line 206 of file export-single.h.
Referenced by setup().
|
private |
Definition at line 205 of file export-single.h.
Referenced by onFilenameModified(), and setup().
|
private |
Last value of filename entry field that was set programmatically. Used to detect modification by the user.
Definition at line 137 of file export-single.h.
Referenced by onFilenameModified(), and setFilename().
|
private |
True if the value of the selected filename was changed by the user since the last export.
False when the filename is e.g. an auto-generated suggestion or remembered in the document attributes.
Definition at line 135 of file export-single.h.
Referenced by loadExportHints(), onExport(), setDocument(), and setFilename().
|
private |
Definition at line 204 of file export-single.h.
Referenced by setFilename(), and setup().
|
private |
File path as returned by the file chooser.
Value is in platform-native encoding (see Glib::filename_to_utf8).
Definition at line 142 of file export-single.h.
Referenced by loadExportHints(), onExport(), saveExportHints(), and setFilename().
|
private |
Definition at line 200 of file export-single.h.
Referenced by onCancel(), and onExport().
|
private |
Definition at line 112 of file export-single.h.
Referenced by getSelectedPages(), onPagesChanged(), onPagesSelected(), refreshPage(), refreshPreview(), selectPage(), setPagesMode(), and setup().
|
private |
Definition at line 113 of file export-single.h.
Referenced by refreshPage().
|
private |
Definition at line 144 of file export-single.h.
Referenced by dpiChange(), onAreaTypeToggle(), selectionChanged(), setDefaultSelectionMode(), setupSpinButtons(), and SingleExport().
|
private |
Definition at line 120 of file export-single.h.
Referenced by refreshPreview(), and setDocument().
|
private |
Definition at line 121 of file export-single.h.
Referenced by refreshPage().
|
private |
Definition at line 128 of file export-single.h.
Referenced by setExporting().
|
private |
Definition at line 129 of file export-single.h.
Referenced by setExporting().
|
private |
Definition at line 105 of file export-single.h.
Referenced by onAreaTypeToggle(), onAreaXChange(), onAreaYChange(), selectionChanged(), setDefaultSelectionMode(), setup(), and SingleExport().
|
private |
Definition at line 145 of file export-single.h.
Referenced by onAreaTypeToggle(), selectionChanged(), setDefaultSelectionMode(), and SingleExport().
|
private |
Definition at line 101 of file export-single.h.
Referenced by setup().
|
private |
Definition at line 107 of file export-single.h.
|
private |
Definition at line 127 of file export-single.h.
Referenced by setup().
|
private |
Definition at line 123 of file export-single.h.
Referenced by loadExportHints(), onBrowse(), onExport(), onExtensionChanged(), onFilenameModified(), onPagesChanged(), setup(), and SingleExport().
|
private |
Definition at line 126 of file export-single.h.
Referenced by setup().
|
private |
Definition at line 125 of file export-single.h.
Referenced by onBrowse(), onFilenameModified(), setFilename(), and setup().
|
private |
Definition at line 117 of file export-single.h.
Referenced by onExport(), refreshPreview(), and setup().
|
private |
Definition at line 118 of file export-single.h.
Referenced by refreshPreview(), and setup().
|
private |
Definition at line 116 of file export-single.h.
Referenced by toggleSpinButtonVisibility().
|
private |
Definition at line 114 of file export-single.h.
Referenced by refreshPage().
|
private |
Definition at line 103 of file export-single.h.
Referenced by areaXChange(), areaYChange(), dpiChange(), loadExportHints(), onExport(), refreshPreview(), saveExportHints(), setArea(), setDefaultSelectionMode(), setupSpinButtons(), SingleExport(), and toggleSpinButtonVisibility().
|
private |
Definition at line 104 of file export-single.h.
Referenced by SingleExport(), and toggleSpinButtonVisibility().
|
private |
Definition at line 203 of file export-single.h.
Referenced by blockSpinConns(), and setupSpinButton().
|
private |
Definition at line 115 of file export-single.h.
Referenced by areaXChange(), areaYChange(), dpiChange(), onExport(), refreshPreview(), setArea(), setup(), and setupUnits().