Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Inkscape::Extension Namespace Reference


Detailed Description

Extension support.

This namespace contains the extension subsystem and implementations of the internal extensions. This includes input and output filters, bitmap extensions, and printing.


Classes

class  AutoGUI
 A widget to represent the inside of an AutoGUI widget. More...
class  ComboWdg
class  DB
class  Dependency
 A class to represent a dependency for an extension. There are different things that can be done in a dependency, and this class takes care of all of them. More...
class  Effect
 Effects are extensions that take a document and do something to it in place. This class adds the extra functions required to make extensions effects. More...
class  enumentry
class  ErrorFileNotice
 A warning dialog to say that some extensions failed to load, will not run if the preference controlling running is turned off. More...
class  ExecutionEnv
class  ExpirationTimer
class  Extension
class  Input
class  optionentry
class  Output
class  ParamBool
 A boolean parameter. More...
class  ParamBoolCheckButton
 A check button which is Param aware. It works with the parameter to change it's value as the check button changes value. More...
class  ParamColor
class  ParamComboBox
class  ParamComboBoxEntry
 A special category of Gtk::Entry to handle string parameteres. More...
class  ParamDescription
 A description parameter. More...
class  Parameter
 A class to represent the parameter of an extension. More...
class  ParamFloat
class  ParamFloatAdjustment
 A class to make an adjustment that uses Extension params. More...
class  ParamInt
class  ParamIntAdjustment
 A class to make an adjustment that uses Extension params. More...
class  ParamNotebook
class  ParamNotebookPage
class  ParamNotebookWdg
 A special category of Gtk::Notebook to handle notebook parameters. More...
class  ParamRadioButton
class  ParamRadioButtonWdg
 A special radiobutton class to use in ParamRadioButton. More...
class  ParamString
class  ParamStringEntry
 A special type of Gtk::Entry to handle string parameteres. More...
class  PathEffect
class  PrefDialog
 A class to represent the preferences for an extension. More...
class  Print

Enumerations

enum  FileSaveMethod {
  FILE_SAVE_METHOD_SAVE_AS, FILE_SAVE_METHOD_SAVE_COPY, FILE_SAVE_METHOD_EXPORT, FILE_SAVE_METHOD_INKSCAPE_SVG,
  FILE_SAVE_METHOD_TEMPORARY
}

Functions

Extensionbuild_from_file (gchar const *filename)
 This function creates a module from a filename of an XML description.
Extensionbuild_from_mem (gchar const *buffer, Implementation::Implementation *in_imp)
 This function creates a module from a buffer holding an XML description.
static Extensionbuild_from_reprdoc (Inkscape::XML::Document *doc, Implementation::Implementation *in_imp)
 Creates a module from a Inkscape::XML::Document describing the module.
static void build_module_from_dir (gchar const *dirname)
 This function parses a directory for files of SP_MODULE_EXTENSION type and loads them.
static void check_extensions ()
static void check_extensions_internal (Extension *in_plug, gpointer in_data)
Glib::ustring get_file_save_extension (Inkscape::Extension::FileSaveMethod method)
Glib::ustring get_file_save_path (SPDocument *doc, FileSaveMethod method)
Print * get_print (gchar const *key)
void init ()
SPDocumentopen (Extension *key, gchar const *filename)
 This is a generic function to use the open function of a module (including Autodetect).
static void open_internal (Extension *in_plug, gpointer in_data)
 This is the function that searches each module to see if it matches the filename for autodetection.
std::ostream & operator<< (std::ostream &out_file, const Dependency &in_dep)
 Print out a dependency to a string.
Parameterparam_shared (const gchar *name, GSList *list)
 This function looks through the linked list for a parameter structure with the name of the passed in name.
void save (Extension *key, SPDocument *doc, gchar const *filename, bool setextension, bool check_overwrite, bool official, Inkscape::Extension::FileSaveMethod save_method)
 This is a generic function to use the save function of a module (including Autodetect).
static void save_internal (Extension *in_plug, gpointer in_data)
 This is the function that searches each module to see if it matches the filename for autodetection.
void sp_color_param_changed (SPColorSelector *csel, GObject *cp)
void store_file_extension_in_prefs (Glib::ustring extension, FileSaveMethod method)
void store_save_path_in_prefs (Glib::ustring path, FileSaveMethod method)
static void update_pref (Glib::ustring const &pref_path, gchar const *pref_default)
 Examines the given string preference and checks to see that at least one of the registered extensions matches it. If not, a default is assigned.

Variables

DB db
Glib::ustring const extension_pref_root = "/extensions/"
 The root directory in the preferences database for extension-related parameters.


Generated by  Doxygen 1.6.0   Back to index