Code

r11516@tres: ted | 2006-04-26 21:30:18 -0700
[inkscape.git] / src / document.h
index 7cf1dc2de9a3dad23487c951b9767e346cba60be..4d293e981479a12f1fa68c0b7533621aef8bbd77 100644 (file)
 #include "gc-managed.h"
 #include "gc-finalized.h"
 #include "gc-anchored.h"
+#include <glibmm/ustring.h>
 
 namespace Avoid {
 class Router;
 }
 
+struct NRRect;
 struct SPDesktop;
 struct SPItem;
 struct SPObject;
@@ -97,6 +99,8 @@ struct SPDocument : public Inkscape::GC::Managed<>,
        void bindObjectToRepr(Inkscape::XML::Node *repr, SPObject *object);
        SPObject *getObjectByRepr(Inkscape::XML::Node *repr);
 
+    Glib::ustring getLanguage();
+
        void queueForOrphanCollection(SPObject *object);
        void collectOrphans();
 
@@ -120,6 +124,8 @@ public:
         void reset_key (void *dummy);
         sigc::connection _selection_changed_connection;
         sigc::connection _desktop_activated_connection;
+
+       void fitToRect(NRRect const & rect);
 };
 
 SPDocument *sp_document_new (const gchar *uri, unsigned int keepalive, bool make_new = false);