org.pwmt.zathura.xml 1.99 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' />
Sebastian Ramacher's avatar
Sebastian Ramacher committed
31 32 33 34 35 36
    <!-- Open editor with given input file at line and column. -->
    <signal name='Edit'>
      <arg type='s' name='input' direction='out' />
      <arg type='u' name='line' direction='out' />
      <arg type='u' name='column' direction='out' />
    </signal>
Sebastian Ramacher's avatar
Sebastian Ramacher committed
37 38 39 40 41 42 43 44 45 46
    <!--
      Go to a page and highlight rectangles there based on the information
      SyncTeX provides for the given input file, line and column.
    -->
    <method name='SynctexView'>
      <arg type='s' name='input' direction='in' />
      <arg type='u' name='line' direction='in' />
      <arg type='u' name='column' direction='in' />
      <arg type='b' name='return' direction='out' />
    </method>
47 48
  </interface>
</node>