554 lines
30 KiB
XML
554 lines
30 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.40.0 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.24"/>
|
|
<template class="main_window" parent="GtkApplicationWindow">
|
|
<property name="can-focus">False</property>
|
|
<property name="title" translatable="yes">PDF Table Extractor</property>
|
|
<property name="icon-name">document-page-setup</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkHeaderBar" id="header_bar">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkBox" id="header_left_box">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">5</property>
|
|
<child>
|
|
<object class="GtkButtonBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="layout-style">expand</property>
|
|
<child>
|
|
<object class="GtkButton" id="open_button">
|
|
<property name="label" translatable="yes">Open</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<signal name="clicked" handler="on_open_button_clicked" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="always-show-image">True</property>
|
|
<signal name="clicked" handler="on_open_button_small_clicked" swapped="no"/>
|
|
<signal name="clicked" handler="test" swapped="no"/>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">pan-down-symbolic</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="label" translatable="yes">button</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<signal name="released" handler="example_button_released_cb" swapped="no"/>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">zoom-draw-symbolic</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="header_right_box">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">5</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="always-show-image">True</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">open-menu-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<accessibility>
|
|
<action action_name="click" description="Expand Menu"/>
|
|
</accessibility>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject">
|
|
<property name="AtkObject::accessible-name" translatable="yes">Extra Options</property>
|
|
<property name="AtkObject::accessible-role">menu</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButtonBox" id="save_button_box">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="layout-style">expand</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="label" translatable="yes">Save</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="always-show-image">True</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">document-save-as-symbolic</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkPaned" id="main_paned">
|
|
<property name="visible">True</property>
|
|
<property name="app-paintable">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="position">800</property>
|
|
<child>
|
|
<object class="GtkViewport" id="viewport1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkListBox" id="pdf_list_box">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child type="placeholder">
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="spacing">5</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">dialog-information</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes">Open a file to begin</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">True</property>
|
|
<property name="shrink">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkNotebook" id="notebook1">
|
|
<property name="width-request">300</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<child>
|
|
<object class="GtkListBox" id="general_tab">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkListBoxRow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Scan All Pages</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="active">True</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="tooltip-text" translatable="yes">Custom Page Selection</property>
|
|
<property name="placeholder-text" translatable="yes">e.g. 2-6, 9, 12-16</property>
|
|
<property name="input-hints">GTK_INPUT_HINT_NO_SPELLCHECK | GTK_INPUT_HINT_NONE</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<child>
|
|
<object class="GtkFrame">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label-xalign">0</property>
|
|
<property name="shadow-type">none</property>
|
|
<child>
|
|
<object class="GtkAlignment">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="left-padding">12</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Guess Table Locations</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="active">True</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Lattice Mode</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="tooltip-text" translatable="yes">Force PDF to be extracted using lattice-mode extraction
|
|
(if there are ruling lines separating each cell, as in a PDF of an Excel spreadsheet)</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Use Line Returns</property>
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="tooltip-text" translatable="yes">Use embedded line returns (Lattice Mode only)</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes">Options</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes">General</property>
|
|
</object>
|
|
<packing>
|
|
<property name="tab-fill">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="selection_tab">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkListBoxRow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Manually Set Column Positions</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes"><TODO: column display></property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<child>
|
|
<object class="GtkFrame">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label-xalign">0</property>
|
|
<property name="shadow-type">none</property>
|
|
<child>
|
|
<object class="GtkAlignment">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="left-padding">12</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Lattice Mode</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="tooltip-text" translatable="yes">Force PDF to be extracted using lattice-mode extraction
|
|
(if there are ruling lines separating each cell, as in a PDF of an Excel spreadsheet)</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Use Line Returns</property>
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="tooltip-text" translatable="yes">Use embedded line returns (Lattice Mode only)</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes">Options</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes">Selection</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
<property name="tab-fill">False</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">False</property>
|
|
<property name="shrink">False</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
<object class="GtkFileFilter" id="pdfFileFilter">
|
|
<mime-types>
|
|
<mime-type>application/pdf</mime-type>
|
|
</mime-types>
|
|
</object>
|
|
</interface>
|