summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9723f51)
raw | patch | inline | side by side (parent: 9723f51)
author | johnce <johnce@users.sourceforge.net> | |
Wed, 5 Aug 2009 06:21:55 +0000 (06:21 +0000) | ||
committer | johnce <johnce@users.sourceforge.net> | |
Wed, 5 Aug 2009 06:21:55 +0000 (06:21 +0000) |
48 files changed:
diff --git a/src/extension/implementation/implementation.h b/src/extension/implementation/implementation.h
index 9de70dce76ca536fa9b4e8ecd0caa793bd554425..9f1894d958face91e2614a4242656c51756726e4 100644 (file)
virtual Gtk::Widget *prefs_input(Inkscape::Extension::Input *module,
gchar const *filename);
- virtual SPDocument *open(Inkscape::Extension::Input *module,
+ virtual Document *open(Inkscape::Extension::Input *module,
gchar const *filename);
/* ----- Output functions ----- */
/** Find out information about the file. */
virtual Gtk::Widget *prefs_output(Inkscape::Extension::Output *module);
- virtual void save(Inkscape::Extension::Output *module, SPDocument *doc, gchar const *filename);
+ virtual void save(Inkscape::Extension::Output *module, Document *doc, gchar const *filename);
/* ----- Effect functions ----- */
/** Find out information about the file. */
virtual unsigned set_preview(Inkscape::Extension::Print *module);
virtual unsigned begin(Inkscape::Extension::Print *module,
- SPDocument *doc);
+ Document *doc);
virtual unsigned finish(Inkscape::Extension::Print *module);
virtual bool textToPath(Inkscape::Extension::Print *ext);
virtual bool fontEmbedded(Inkscape::Extension::Print * ext);
index 8e25fb3517b53a74e249952442650a68c230ee1c..0769c9a18dfc5fd1c98844b755f5d623212ede3a 100644 (file)
/**
*
*/
- virtual SPDocument *open(Inkscape::Extension::Input *module,
+ virtual Document *open(Inkscape::Extension::Input *module,
gchar const *filename);
/**
*
*/
virtual void save(Inkscape::Extension::Output *module,
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
/**
index 45befb529045aaf45cb854ef23ed8e8e43567a3f..df9467d9e91f0950266b4cbf3ed8cc8400cf78d2 100644 (file)
bool check(Inkscape::Extension::Extension *module);
- SPDocument *open(Inkscape::Extension::Input *module,
+ Document *open(Inkscape::Extension::Input *module,
gchar const *filename);
- void save(Inkscape::Extension::Output *module, SPDocument *doc, gchar const *filename);
+ void save(Inkscape::Extension::Output *module, Document *doc, gchar const *filename);
};
} /* Inkscape */
index 9b9bd6ffe9d5d3f84b9205a62df855bf0c77a707..a062ec8dfad4c637a54d0ad36794e12199dfb300 100644 (file)
public:
bool check(Inkscape::Extension::Extension *module);
void save(Inkscape::Extension::Output *mod,
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
static void init();
};
index 019b6b8101ed9341f3d4d3cb4aa55862aa42b7b5..862571f0bb43f4d4dd4ca5894b98602d013b4504 100644 (file)
public:
bool check(Inkscape::Extension::Extension *module);
void save(Inkscape::Extension::Output *mod,
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
static void init();
bool textToPath(Inkscape::Extension::Print *ext);
public:
bool check(Inkscape::Extension::Extension *module);
void save(Inkscape::Extension::Output *mod,
- SPDocument *doc,
+ Document *doc,
gchar const *uri);
static void init();
bool textToPath(Inkscape::Extension::Print *ext);
diff --git a/src/extension/internal/cairo-renderer-pdf-out.h b/src/extension/internal/cairo-renderer-pdf-out.h
index d76ffb4d44bfb76996963014749c659e184dbeb9..f916eed496d9c1a1c9e16aef097c058bb748d38b 100644 (file)
public:
bool check(Inkscape::Extension::Extension *module);
void save(Inkscape::Extension::Output *mod,
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
static void init();
};
index ab5d4cf58bf6bcc690d4af9b22a638626c4e94b0..4197c6784398e5a7d63688e3e5e0d1b57aecbc2b 100644 (file)
void applyMask(CairoRenderContext *ctx, SPMask const *mask);
/** Initializes the CairoRenderContext according to the specified
- SPDocument. A set*Target function can only be called on the context
+ Document. A set*Target function can only be called on the context
before setupDocument. */
- bool setupDocument(CairoRenderContext *ctx, SPDocument *doc, bool pageBoundingBox, SPItem *base);
+ bool setupDocument(CairoRenderContext *ctx, Document *doc, bool pageBoundingBox, SPItem *base);
/** Traverses the object tree and invokes the render methods. */
void renderItem(CairoRenderContext *ctx, SPItem *item);
index c62d7a4e9025071fcab7637f9e12acd8d2984358..544cd75db04873ff268529c32428cd9da9a3b1eb 100644 (file)
bool check(Inkscape::Extension::Extension *module); //Can this module load (always yes for now)
void save(Inkscape::Extension::Output *mod, // Save the given document to the given filename
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
- virtual SPDocument *open( Inkscape::Extension::Input *mod,
+ virtual Document *open( Inkscape::Extension::Input *mod,
const gchar *uri );
static void init(void);//Initialize the class
index 5c1d8439d329670ba048c4e7fb542c5829cf2f81..bec3f95823f61a16a7b56262f954614f3f1eefe3 100644 (file)
/* Print functions */
virtual unsigned int setup (Inkscape::Extension::Print * module);
- virtual unsigned int begin (Inkscape::Extension::Print * module, SPDocument *doc);
+ virtual unsigned int begin (Inkscape::Extension::Print * module, Document *doc);
virtual unsigned int finish (Inkscape::Extension::Print * module);
/* Rendering methods */
index 9d5e6ccf7ea876f93089232f5961ea6270ce7407..373d53da300df0c0ffcd184b9122a81ed34b71f4 100644 (file)
class GdkpixbufInput : Inkscape::Extension::Implementation::Implementation {
public:
- SPDocument *open(Inkscape::Extension::Input *mod,
+ Document *open(Inkscape::Extension::Input *mod,
gchar const *uri);
static void init();
};
index 45b76dd6d42420da3f91494d8ec4055d087495b1..21ccfa2153ddf8e959404e8bdd680ea56d7d488d 100644 (file)
public:
bool load(Inkscape::Extension::Extension *module);
void unload(Inkscape::Extension::Extension *module);
- SPDocument *open(Inkscape::Extension::Input *module, gchar const *filename);
+ Document *open(Inkscape::Extension::Input *module, gchar const *filename);
static void init();
};
index 9c1c8778ba0489ab798a00e00fbcf126375bae45..246172c23a83a5d717037ac26f9ef2a321fdddaa 100644 (file)
* API call to perform the output to a file
*/
virtual void save(Inkscape::Extension::Output *mod,
- SPDocument *doc, gchar const *filename);
+ Document *doc, gchar const *filename);
/**
* Inkscape runtime startup call.
* Output the SVG document's curve data as JavaFX geometry types
*/
bool doCurve(SPItem *item, const String &id);
- bool doTreeRecursive(SPDocument *doc, SPObject *obj);
- bool doTree(SPDocument *doc);
+ bool doTreeRecursive(Document *doc, SPObject *obj);
+ bool doTree(Document *doc);
- bool doBody(SPDocument *doc, SPObject *obj);
+ bool doBody(Document *doc, SPObject *obj);
/**
* Output the file footer
/**
* Actual method to save document
*/
- bool saveDocument(SPDocument *doc, gchar const *filename);
+ bool saveDocument(Document *doc, gchar const *filename);
//For statistics
int nrNodes;
diff --git a/src/extension/internal/latex-pstricks-out.h b/src/extension/internal/latex-pstricks-out.h
index a12cdc3c1395db9c187361dcb428ade17e32218b..a9910f4ccbb9dc45b4f1f6afd2ba6678f57710dc 100644 (file)
bool check(Inkscape::Extension::Extension *module); //Can this module load (always yes for now)
void save(Inkscape::Extension::Output *mod, // Save the given document to the given filename
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
static void init(void);//Initialize the class
index a33e169e84103a8a0f3dd8d20f641630dc1525cb..4e310d6fd2971d3e87aa924d3d28c70f02b5c5ab 100644 (file)
/* Print functions */
virtual unsigned int setup (Inkscape::Extension::Print * module);
- virtual unsigned int begin (Inkscape::Extension::Print * module, SPDocument *doc);
+ virtual unsigned int begin (Inkscape::Extension::Print * module, Document *doc);
virtual unsigned int finish (Inkscape::Extension::Print * module);
/* Rendering methods */
index 3854ddfe126a785d763254b6659a9f4ce2b0d4e2..5ad1f1137397fca25bf571150526795c81716a6c 100644 (file)
bool check (Inkscape::Extension::Extension * module);
void save (Inkscape::Extension::Output *mod,
- SPDocument *doc,
+ Document *doc,
gchar const *filename);
static void init (void);
index 5715b57c9c391686d096adc7483ba32b5e154777..15080bc14963734bdcfb0fbc1646b7cf580e4c9d 100644 (file)
class PdfInputCairo: public Inkscape::Extension::Implementation::Implementation {
PdfInputCairo () { };
public:
- SPDocument *open( Inkscape::Extension::Input *mod,
+ Document *open( Inkscape::Extension::Input *mod,
const gchar *uri );
static void init( void );
index 0c3b73a7f0f3b531f87260f6cfa19b84ab8b42f6..02ba6da820383feb26038eb00de3a374ff15e6e5 100644 (file)
* API call to perform the output to a file
*/
void save(Inkscape::Extension::Output *mod,
- SPDocument *doc, gchar const *filename);
+ Document *doc, gchar const *filename);
/**
* Inkscape runtime startup call.
* Output the SVG document's curve data as POV curves
*/
bool doCurve(SPItem *item, const String &id);
- bool doTreeRecursive(SPDocument *doc, SPObject *obj);
- bool doTree(SPDocument *doc);
+ bool doTreeRecursive(Document *doc, SPObject *obj);
+ bool doTree(Document *doc);
/**
* Actual method to save document
*/
- void saveDocument(SPDocument *doc, gchar const *filename);
+ void saveDocument(Document *doc, gchar const *filename);
/**
index b97735dd805c72d5aa6a072fdba28a8b2654a214..48b57c8c59a0ac08a4d7007dc53a297498a0022b 100644 (file)
public:
virtual void save( Inkscape::Extension::Output *mod,
- SPDocument *doc,
+ Document *doc,
gchar const *filename );
- virtual SPDocument *open( Inkscape::Extension::Input *mod,
+ virtual Document *open( Inkscape::Extension::Input *mod,
const gchar *uri );
static void init( void );
index 9462115c679b463b10720dcf00d2ebed39e84234..7f4b9352ded1a8da1244d6c3efaeba0e293a2285 100644 (file)
virtual unsigned int setup (Inkscape::Extension::Print * module);
//virtual unsigned int set_preview (Inkscape::Extension::Print * module);
- virtual unsigned int begin (Inkscape::Extension::Print * module, SPDocument *doc);
+ virtual unsigned int begin (Inkscape::Extension::Print * module, Document *doc);
virtual unsigned int finish (Inkscape::Extension::Print * module);
/* Rendering methods */
index ca882039bddc1ae7069347090fe86ef387d10014..e5c2838d596b6c90f86752f816ae381187bd63ec 100644 (file)
class WpgInput : public Inkscape::Extension::Implementation::Implementation {
WpgInput () { };
public:
- SPDocument *open( Inkscape::Extension::Input *mod,
+ Document *open( Inkscape::Extension::Input *mod,
const gchar *uri );
static void init( void );
index a1cd4ce4a7b641451d9d8e0ce0a9d5b20ae02ccd..23b15596dd1256b66e451ee7c2fb97ae32d81ef2 100644 (file)
bool _value;
public:
ParamBool(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
- bool get (const SPDocument * doc, const Inkscape::XML::Node * node);
- bool set (bool in, SPDocument * doc, Inkscape::XML::Node * node);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ bool get (const Document * doc, const Inkscape::XML::Node * node);
+ bool set (bool in, Document * doc, Inkscape::XML::Node * node);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
};
index e6b44fbcb85386d7ca7bb853a5dbc934fc59bba9..89aac7be70f2f1271f1cfd8a1f599ff9acf81c5f 100644 (file)
ParamColor(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
virtual ~ParamColor(void);
/** \brief Returns \c _value, with a \i const to protect it. */
- guint32 get( const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/ ) { return _value; }
- guint32 set (guint32 in, SPDocument * doc, Inkscape::XML::Node * node);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ guint32 get( const Document * /*doc*/, const Inkscape::XML::Node * /*node*/ ) { return _value; }
+ guint32 set (guint32 in, Document * doc, Inkscape::XML::Node * node);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
sigc::signal<void> * _changeSignal;
}; /* class ParamColor */
index c305ea6dfcc09b700a4c7fa714253d9470023039..42441e5a92078977f1185b3a13f4785a8b65817f 100644 (file)
gchar * _value;
public:
ParamDescription(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
};
} /* namespace Extension */
index 3f9707c34b43529f58a12be6e0badb95eecf4f4f..e1af8fd2bd2645711e2afc0c2676f72aa621cfe7 100644 (file)
public:
ParamComboBox(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
virtual ~ParamComboBox(void);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
- const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
- const gchar * set (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node);
+ const gchar * get (const Document * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
+ const gchar * set (const gchar * in, Document * doc, Inkscape::XML::Node * node);
void changed (void);
}; /* class ParamComboBox */
index f105d8f0e3c3d420cc6be897c9dffa4a703a7ed9..32ab7a79615dddea638e12972b4154747d81c71c 100644 (file)
public:
ParamFloat (const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
/** \brief Returns \c _value */
- float get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
- float set (float in, SPDocument * doc, Inkscape::XML::Node * node);
+ float get (const Document * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
+ float set (float in, Document * doc, Inkscape::XML::Node * node);
float max (void) { return _max; }
float min (void) { return _min; }
float precision (void) { return _precision; }
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
};
index a4eb54c81245fd3e1a4fabcda697ad87f0b465a7..6d44a10b308011163e034041e67f1fa531b391c1 100644 (file)
public:
ParamInt (const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
/** \brief Returns \c _value */
- int get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
- int set (int in, SPDocument * doc, Inkscape::XML::Node * node);
+ int get (const Document * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
+ int set (int in, Document * doc, Inkscape::XML::Node * node);
int max (void) { return _max; }
int min (void) { return _min; }
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
};
index 24d4ebfc138f3fca2474560fe61503978ba506c6..6efd3c5f14073f3595d4b0c606bbfaadd312e9f8 100644 (file)
public:
ParamNotebook(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
virtual ~ParamNotebook(void);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::list <std::string> &list);
- const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
- const gchar * set (const int in, SPDocument * doc, Inkscape::XML::Node * node);
+ const gchar * get (const Document * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
+ const gchar * set (const int in, Document * doc, Inkscape::XML::Node * node);
}; /* class ParamNotebook */
index 54249c12eb3373a48fb28c6e10469088c5920556..a79b2fd6b4d3a6b8c6dddabc251dfc8cd00b7c21 100644 (file)
/* **** funcs **** */
gchar * pref_name (void);
Inkscape::XML::Node * find_child (Inkscape::XML::Node * adult);
- Inkscape::XML::Node * document_param_node (SPDocument * doc);
+ Inkscape::XML::Node * document_param_node (Document * doc);
Inkscape::XML::Node * new_child (Inkscape::XML::Node * parent);
public:
Parameter(name, guitext, NULL, Parameter::SCOPE_USER, false, NULL, ext);
};
virtual ~Parameter (void);
- bool get_bool (const SPDocument * doc,
+ bool get_bool (const Document * doc,
const Inkscape::XML::Node * node);
- int get_int (const SPDocument * doc,
+ int get_int (const Document * doc,
const Inkscape::XML::Node * node);
- float get_float (const SPDocument * doc,
+ float get_float (const Document * doc,
const Inkscape::XML::Node * node);
- const gchar * get_string (const SPDocument * doc,
+ const gchar * get_string (const Document * doc,
const Inkscape::XML::Node * node);
- guint32 get_color (const SPDocument * doc,
+ guint32 get_color (const Document * doc,
const Inkscape::XML::Node * node);
- const gchar * get_enum (const SPDocument * doc,
+ const gchar * get_enum (const Document * doc,
const Inkscape::XML::Node * node);
- bool set_bool (bool in, SPDocument * doc, Inkscape::XML::Node * node);
- int set_int (int in, SPDocument * doc, Inkscape::XML::Node * node);
- float set_float (float in, SPDocument * doc, Inkscape::XML::Node * node);
- const gchar * set_string (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node);
- guint32 set_color (guint32 in, SPDocument * doc, Inkscape::XML::Node * node);
+ bool set_bool (bool in, Document * doc, Inkscape::XML::Node * node);
+ int set_int (int in, Document * doc, Inkscape::XML::Node * node);
+ float set_float (float in, Document * doc, Inkscape::XML::Node * node);
+ const gchar * set_string (const gchar * in, Document * doc, Inkscape::XML::Node * node);
+ guint32 set_color (guint32 in, Document * doc, Inkscape::XML::Node * node);
const gchar * name (void) {return _name;}
static Parameter * make (Inkscape::XML::Node * in_repr, Inkscape::Extension::Extension * in_ext);
- virtual Gtk::Widget * get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ virtual Gtk::Widget * get_widget (Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
gchar const * get_tooltip (void) { return _desc; }
index ea8440de2df36a663f6b8a82c22359c6ce8472e7..ec35c2c53bc6b779251084b41c0dddc716785b2f 100644 (file)
Inkscape::XML::Node * xml,
AppearanceMode mode);
virtual ~ParamRadioButton(void);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
- const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
- const gchar * set (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node);
+ const gchar * get (const Document * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
+ const gchar * set (const gchar * in, Document * doc, Inkscape::XML::Node * node);
private:
/** \brief Internal value. This should point to a string that has
index 10f45e5acd20a1cf5692163b6170f32fef5a3693..0eb116a53da211c7d5041e1248871c85e340b355 100644 (file)
ParamString(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
virtual ~ParamString(void);
/** \brief Returns \c _value, with a \i const to protect it. */
- const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
- const gchar * set (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node);
- Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
+ const gchar * get (const Document * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
+ const gchar * set (const gchar * in, Document * doc, Inkscape::XML::Node * node);
+ Gtk::Widget * get_widget(Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
void string (std::string &string);
void setMaxLength(int maxLenght) { _max_length = maxLenght; }
int getMaxLength(void) { return _max_length; }
index 7f718e9f7faaa2ece578dfb346ea5e415c740fda..2bc94836bf1886aceddccb53e866444f4fb7ec7a 100644 (file)
void build_metadata();
void init();
- void _handleDocumentReplaced(SPDesktop* desktop, SPDocument *document);
+ void _handleDocumentReplaced(SPDesktop* desktop, Document *document);
void _handleActivateDesktop(Inkscape::Application *application, SPDesktop *desktop);
void _handleDeactivateDesktop(Inkscape::Application *application, SPDesktop *desktop);
index 136ae2c899746956911c0097993a9e9332ddb659..5aa8d446d7aa54cce498b9d614ad90940f09a050 100644 (file)
void removeExternalScript();
void scripting_create_popup_menu(Gtk::Widget& parent, sigc::slot<void> rem);
- void _handleDocumentReplaced(SPDesktop* desktop, SPDocument *document);
+ void _handleDocumentReplaced(SPDesktop* desktop, Document *document);
void _handleActivateDesktop(Inkscape::Application *application, SPDesktop *desktop);
void _handleDeactivateDesktop(Inkscape::Application *application, SPDesktop *desktop);
index 90dddce59a51a8ba5858d32796a1fb9ffcc5d139..bd0477b302507f9aedadb37945900bda076b0762 100644 (file)
~SVGPreview();
- bool setDocument(SPDocument *doc);
+ bool setDocument(Document *doc);
bool setFileName(Glib::ustring &fileName);
/**
* The svg document we are currently showing
*/
- SPDocument *document;
+ Document *document;
/**
* The sp_svg_view widget
index 3fb9a46fb89568d19c140269cd5ae6a3a8b0f2c8..28c7149054b910585a7a6dd88b3e46b25e2c837d 100644 (file)
static void on_activate_desktop(Application*, SPDesktop*, FilterModifier*);
static void on_deactivate_desktop(Application*, SPDesktop*, FilterModifier*);
- void on_document_replaced(SPDesktop*, SPDocument*)
+ void on_document_replaced(SPDesktop*, Document*)
{
update_filters();
}
diff --git a/src/ui/dialog/layers.h b/src/ui/dialog/layers.h
index 16b3be3508802fc239e6d8e7e00b25ba02217b53..c5f945437007e1e53914987cdd85eaf8c5de5421 100644 (file)
--- a/src/ui/dialog/layers.h
+++ b/src/ui/dialog/layers.h
bool _checkForSelected(const Gtk::TreePath& path, const Gtk::TreeIter& iter, SPObject* layer);
void _layersChanged();
- void _addLayer( SPDocument* doc, SPObject* layer, Gtk::TreeModel::Row* parentRow, SPObject* target, int level );
+ void _addLayer( Document* doc, SPObject* layer, Gtk::TreeModel::Row* parentRow, SPObject* target, int level );
SPObject* _selectedLayer();
index 7dbb6dd4ac25477142a8deafc18809fc1df09360..5fc4a9134e565b649a41727a1ad0f4b8ad62c9e7 100644 (file)
static_cast<PanelDialogBase *>(data)->_propagateDesktopActivated(application, desktop);
}
- inline virtual void _propagateDocumentReplaced(SPDesktop* desktop, SPDocument *document);
+ inline virtual void _propagateDocumentReplaced(SPDesktop* desktop, Document *document);
inline virtual void _propagateDesktopActivated(Inkscape::Application *, SPDesktop *);
inline virtual void _propagateDesktopDeactivated(Inkscape::Application *, SPDesktop *);
void
-PanelDialogBase::_propagateDocumentReplaced(SPDesktop *desktop, SPDocument *document)
+PanelDialogBase::_propagateDocumentReplaced(SPDesktop *desktop, Document *document)
{
_panel.signalDocumentReplaced().emit(desktop, document);
}
diff --git a/src/ui/dialog/print.h b/src/ui/dialog/print.h
index ea89ebdf225c11128d4715347cf9d3c17d337780..e8904d744eec473c9ff9affe8aef26e6c6df9d42 100644 (file)
--- a/src/ui/dialog/print.h
+++ b/src/ui/dialog/print.h
*/
struct workaround_gtkmm
{
- SPDocument *_doc;
+ Document *_doc;
SPItem *_base;
Inkscape::UI::Widget::RenderingOptions *_tab;
};
class Print {
public:
- Print(SPDocument *doc, SPItem *base);
+ Print(Document *doc, SPItem *base);
Gtk::PrintOperationResult run(Gtk::PrintOperationAction, Gtk::Window &parent_window);
protected:
private:
GtkPrintOperation *_printop;
- SPDocument *_doc;
+ Document *_doc;
SPItem *_base;
Inkscape::UI::Widget::RenderingOptions _tab;
index 35bcd8c784bba864c3d46a5f71e4be7f0586117d..3ad5a38c152a943e2f541b3ff77908c5e6f71495 100644 (file)
--- a/src/ui/dialog/swatches.h
+++ b/src/ui/dialog/swatches.h
protected:
virtual void _updateFromSelection();
virtual void _handleAction( int setId, int itemId );
- virtual void _setDocument( SPDocument *document );
+ virtual void _setDocument( Document *document );
virtual void _rebuild();
private:
ColorItem* _remove;
int _currentIndex;
SPDesktop* _currentDesktop;
- SPDocument* _currentDocument;
+ Document* _currentDocument;
void* _ptr;
sigc::connection _documentConnection;
index 82e04f3c941ae495d2946c176c74a36f593c7eec..0e14b7d7bfde7cc6c0fc17ba9da2f0ddc99a48ae 100644 (file)
protected:
- SPDocument *_document;
+ Document *_document;
EventLog *_event_log;
const EventLog::EventModelColumns *_columns;
index 2bb7083054f817c459662620a6338d42f0b32dc8..28b4b52d2434ea1605a9099a79e83145c95e979e 100644 (file)
#include "ui/widget/zoom-status.h"
struct SPDesktop;
-struct SPDocument;
+struct Document;
struct SPNamedView;
namespace Inkscape {
class EditWidget : public Gtk::Window,
public EditWidgetInterface {
public:
- EditWidget (SPDocument*);
+ EditWidget (Document*);
~EditWidget();
// Initialization
void initActions();
void initUIManager();
void initLayout();
- void initEdit (SPDocument*);
+ void initEdit (Document*);
void destroyEdit();
// Actions
diff --git a/src/ui/view/view.h b/src/ui/view/view.h
index 882746ceace7648d3901a6df565ce4815fbbeecf..6465807d6af2cda40bf57850912d1240c8e53267 100644 (file)
--- a/src/ui/view/view.h
+++ b/src/ui/view/view.h
}
};
-class SPDocument;
+class Document;
namespace Inkscape {
class MessageContext;
void close() { _close(); }
/// Returns a pointer to the view's document.
- SPDocument *doc() const
+ Document *doc() const
{ return _doc; }
/// Returns a pointer to the view's message stack.
Inkscape::MessageStack *messageStack() const
virtual void onDocumentResized (double, double) = 0;
protected:
- SPDocument *_doc;
+ Document *_doc;
Inkscape::MessageStack *_message_stack;
Inkscape::MessageContext *_tips_message_context;
virtual void _close();
- virtual void setDocument(SPDocument *doc);
+ virtual void setDocument(Document *doc);
sigc::signal<void,double,double> _position_set_signal;
sigc::signal<void,double,double> _resized_signal;
index 5bdee9a90c93c90f65a012949aa8453c6cf64a93..d080787c15e49e60492b67339eeb1ec425de1f73 100644 (file)
#include <gtkmm/tooltips.h>
struct rdf_work_entity_t;
-class SPDocument;
+class Document;
namespace Gtk {
class TextBuffer;
public:
static EntityEntry* create (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr);
virtual ~EntityEntry() = 0;
- virtual void update (SPDocument *doc) = 0;
+ virtual void update (Document *doc) = 0;
virtual void on_changed() = 0;
Gtk::Label _label;
Gtk::Widget *_packable;
public:
EntityLineEntry (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr);
~EntityLineEntry();
- void update (SPDocument *doc);
+ void update (Document *doc);
protected:
virtual void on_changed();
public:
EntityMultiLineEntry (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr);
~EntityMultiLineEntry();
- void update (SPDocument *doc);
+ void update (Document *doc);
protected:
virtual void on_changed();
index 803b2f53fbce2d15e15c77a722ded4ee61437d14..3819a3c7790b16c3917cd7467a184c06a709dc7f 100644 (file)
#include <gtkmm/box.h>
-class SPDocument;
+class Document;
namespace Inkscape
{
/**
*
*/
- bool showSvgDocument(const SPDocument *doc);
+ bool showSvgDocument(const Document *doc);
/**
*
/**
* The svg document we are currently showing
*/
- SPDocument *document;
+ Document *document;
/**
* The sp_svg_view widget
index 0b5300272bc98a8fe418a82afd7540424e6c2a5a..d9ef558a53237572b64a086f83c462ffcbb03f52 100644 (file)
#include "util/list.h"
class SPDesktop;
-class SPDocument;
+class Document;
class SPObject;
namespace Inkscape {
namespace XML {
index 9f41a6d0d3fcbf896d15dc7e425293f9cb84edf4..6738c48df59b0224943b23be03586c06d9ba3112 100644 (file)
--- a/src/ui/widget/licensor.h
+++ b/src/ui/widget/licensor.h
#include <gtkmm/box.h>
-class SPDocument;
+class Document;
namespace Gtk {
class Tooltips;
Licensor();
virtual ~Licensor();
void init (Gtk::Tooltips&, Registry&);
- void update (SPDocument *doc);
+ void update (Document *doc);
protected:
EntityEntry *_eentry;
diff --git a/src/ui/widget/panel.h b/src/ui/widget/panel.h
index d42548f161f64744f8c25705f6fbec90f1855028..36f5ea80475a2bdd18bdebc1102f488079f90a5f 100644 (file)
--- a/src/ui/widget/panel.h
+++ b/src/ui/widget/panel.h
void setDefaultResponse(int response_id);
void setResponseSensitive(int response_id, bool setting);
- virtual sigc::signal<void, SPDesktop *, SPDocument *> &signalDocumentReplaced();
+ virtual sigc::signal<void, SPDesktop *, Document *> &signalDocumentReplaced();
virtual sigc::signal<void, Inkscape::Application *, SPDesktop *> &signalActivateDesktop();
virtual sigc::signal<void, Inkscape::Application *, SPDesktop *> &signalDeactiveDesktop();
/** Signals */
sigc::signal<void, int> _signal_response;
sigc::signal<void> _signal_present;
- sigc::signal<void, SPDesktop *, SPDocument *> _signal_document_replaced;
+ sigc::signal<void, SPDesktop *, Document *> _signal_document_replaced;
sigc::signal<void, Inkscape::Application *, SPDesktop *> _signal_activate_desktop;
sigc::signal<void, Inkscape::Application *, SPDesktop *> _signal_deactive_desktop;
index 7397458170e7a21c77060e7db8981ad01d4e1679..f9195d1f2f78025a249ba8cec57e33de0fa3290c 100644 (file)
const Util::EnumDataConverter<E>& c,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL )
+ Document *doc_in = NULL )
: RegisteredWidget< LabelledComboBoxEnum<E> >(label, tip, c)
{
RegisteredWidget< LabelledComboBoxEnum<E> >::init_parent(key, wr, repr_in, doc_in);
index a5c61f68a445fe57ef0b099fe074643c73e7351d..32d6c93fa677e940fa839182779ac8ccf007d1d9 100644 (file)
#include "sp-namedview.h"
class SPUnit;
-class SPDocument;
+class Document;
namespace Gtk {
class HScale;
virtual ~RegisteredWidget() {};
- void init_parent(const Glib::ustring& key, Registry& wr, Inkscape::XML::Node* repr_in, SPDocument *doc_in)
+ void init_parent(const Glib::ustring& key, Registry& wr, Inkscape::XML::Node* repr_in, Document *doc_in)
{
_wr = ≀
_key = key;
// Use local repr here. When repr is specified, use that one, but
// if repr==NULL, get the repr of namedview of active desktop.
Inkscape::XML::Node *local_repr = repr;
- SPDocument *local_doc = doc;
+ Document *local_doc = doc;
if (!local_repr) {
// no repr specified, use active desktop's namedview's repr
SPDesktop* dt = SP_ACTIVE_DESKTOP;
Registry * _wr;
Glib::ustring _key;
Inkscape::XML::Node * repr;
- SPDocument * doc;
+ Document * doc;
unsigned int event_type;
Glib::ustring event_description;
bool write_undo;
class RegisteredCheckButton : public RegisteredWidget<Gtk::CheckButton> {
public:
virtual ~RegisteredCheckButton();
- RegisteredCheckButton (const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr, bool right=true, Inkscape::XML::Node* repr_in=NULL, SPDocument *doc_in=NULL);
+ RegisteredCheckButton (const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr, bool right=true, Inkscape::XML::Node* repr_in=NULL, Document *doc_in=NULL);
void setActive (bool);
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
void setUnit (const SPUnit*);
Unit getUnit() const { return static_cast<UnitMenu*>(_widget)->getUnit(); };
const RegisteredUnitMenu &rum,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _value_changed_connection;
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _value_changed_connection;
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _activate_connection;
const Glib::ustring& akey,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL);
+ Document *doc_in = NULL);
void setRgba32 (guint32);
void closeWindow();
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
bool setProgrammatically; // true if the value was set by setValue, not changed by the user;
// if a callback checks it, it must reset it back to false
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
void setValue (bool second);
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _value_x_changed_connection;
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
// redefine setValue, because transform must be applied
void setValue(Geom::Point const & p);
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL);
+ Document *doc_in = NULL);
void setValue (double val, long startseed);