summaryrefslogtreecommitdiffstats
path: root/src/extension/dbus/document-interface.h
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
committerAndrew <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
commit80960b623a99aae1402ab651b2974ef544ed3b03 (patch)
treeba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/extension/dbus/document-interface.h
parenttry to fix bug (diff)
parentGDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff)
downloadinkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz
inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip
merged with trunk so I can build again...
(bzr r10092.1.36)
Diffstat (limited to 'src/extension/dbus/document-interface.h')
-rw-r--r--src/extension/dbus/document-interface.h33
1 files changed, 31 insertions, 2 deletions
diff --git a/src/extension/dbus/document-interface.h b/src/extension/dbus/document-interface.h
index 12e033918..e7e55cb7d 100644
--- a/src/extension/dbus/document-interface.h
+++ b/src/extension/dbus/document-interface.h
@@ -115,10 +115,17 @@ gchar*
document_interface_line (DocumentInterface *object, int x, int y,
int x2, int y2, GError **error);
-gboolean
+gchar*
document_interface_text (DocumentInterface *object, int x, int y,
gchar *text, GError **error);
-
+gboolean
+document_interface_set_text (DocumentInterface *object, gchar *name,
+ gchar *text, GError **error);
+gboolean
+document_interface_text_apply_style (DocumentInterface *object, gchar *name,
+ int start_pos, int end_pos, gchar *style, gchar *styleval,
+ GError **error);
+
gchar *
document_interface_image (DocumentInterface *object, int x, int y,
gchar *filename, GError **error);
@@ -151,6 +158,16 @@ document_interface_document_set_css (DocumentInterface *object,
gboolean
document_interface_document_resize_to_fit_selection (DocumentInterface *object,
GError **error);
+gboolean
+document_interface_document_set_display_area (DocumentInterface *object,
+ double x0,
+ double y0,
+ double x1,
+ double y1,
+ double border,
+ GError **error);
+GArray *
+document_interface_document_get_display_area (DocumentInterface *object);
/****************************************************************************
OBJECT FUNCTIONS
@@ -401,6 +418,18 @@ document_interface_layer_previous (DocumentInterface *object, GError **error);
DocumentInterface *document_interface_new (void);
GType document_interface_get_type (void);
+extern DocumentInterface *fugly;
+gboolean dbus_send_ping (SPDesktop* desk, SPItem *item);
+
+gboolean
+document_interface_get_children (DocumentInterface *object, char *name, char ***out, GError **error);
+
+gchar*
+document_interface_get_parent (DocumentInterface *object, char *name, GError **error);
+
+gchar*
+document_interface_import (DocumentInterface *object,
+ gchar *filename, GError **error);
G_END_DECLS