org.pwmt.zathura.xml 1.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE node PUBLIC '-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
  'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
<node>
  <interface name='org.pwmt.zathura'>
    <!-- Open a document in a running zathura instance. -->
    <method name='OpenDocument'>
      <arg type='s' name='path' direction='in' />
      <arg type='s' name='password' direction='in' />
      <arg type='i' name='page' direction='in' />
      <arg type='b' name='return' direction='out' />
    </method>
    <!-- Close open document. -->
    <method name='CloseDocument'>
      <arg type='b' name='return' direction='out' />
    </method>
    <!-- Go to a specific page . -->
    <method name='GotoPage'>
18
      <arg type='u' name='page' direction='in' />
19 20 21 22
      <arg type='b' name='return' direction='out' />
    </method>
    <!-- Go to a page and highlight rectangles there. -->
    <method name='HighlightRects'>
23
      <arg type='u' name='page' direction='in' />
Sebastian Ramacher's avatar
Sebastian Ramacher committed
24
      <arg type='a(dddd)' name='rectangles' direction='in' />
25
      <arg type='a(udddd)' name='secondary_rectangles' direction='in' />
26 27 28
      <arg type='b' name='return' direction='out' />
    </method>
    <property type='s' name='filename' access='read' />
29 30
    <property type='u' name='pagenumber' access='read' />
    <property type='u' name='numberofpages' access='read' />
31 32
  </interface>
</node>