Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
system.h File Reference

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::Extension
 Extension support.
 
namespace  Inkscape::Extension::Implementation
 

Enumerations

enum  Inkscape::Extension::FileSaveMethod {
  Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS , Inkscape::Extension::FILE_SAVE_METHOD_SAVE_COPY , Inkscape::Extension::FILE_SAVE_METHOD_EXPORT , Inkscape::Extension::FILE_SAVE_METHOD_INKSCAPE_SVG ,
  Inkscape::Extension::FILE_SAVE_METHOD_TEMPORARY
}
 Used to distinguish between the various invocations of the save dialogs (and thus to determine the file type and save path offered in the dialog) More...
 

Functions

std::unique_ptr< SPDocumentInkscape::Extension::open (Extension *key, char const *filename, bool is_importing)
 This is a generic function to use the open function of a module (including Autodetect)
 
void Inkscape::Extension::save (Extension *key, SPDocument *doc, char const *filename, bool check_overwrite, bool official, Inkscape::Extension::FileSaveMethod save_method)
 
PrintInkscape::Extension::get_print (char const *key)
 
void Inkscape::Extension::build_from_file (char const *filename)
 
void Inkscape::Extension::build_from_mem (char const *buffer, std::unique_ptr< Implementation::Implementation > in_imp)
 
Glib::ustring Inkscape::Extension::get_file_save_extension (FileSaveMethod method)
 Determine the desired default file extension depending on the given file save method.
 
Glib::ustring Inkscape::Extension::get_file_save_path (SPDocument *doc, FileSaveMethod method)
 Determine the desired default save path depending on the given FileSaveMethod.
 
void Inkscape::Extension::store_file_extension_in_prefs (Glib::ustring extension, FileSaveMethod method)
 Write the given file extension back to prefs so that it can be used later on.
 
void Inkscape::Extension::store_save_path_in_prefs (Glib::ustring path, FileSaveMethod method)
 Write the given path back to prefs so that it can be used later on.