Skip to content

Commit

Permalink
Merge branch 'release/alpha/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
coderarjob committed Mar 24, 2022
2 parents 07e3bc5 + e4c5bd2 commit e051d93
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 178 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ Kindle saves the page numbers and content of the highlights and notes in the tex
theory, one can read the Clippings file and reapply the highlights and notes on the PDF separately.
This software automates the process.

Currently it is in development, so not all the features work or even present. Here is the rough
roadmap.
Currently it is in development, so not all the features work or even present. There can also be
serious bugs present, so I request you to keep backup of the files you give to kpdfsync (the
clippings file and pdf files)

Here is the rough roadmap of the development.

## Roadmap

Expand All @@ -27,7 +30,7 @@ roadmap.
manually by the user.
- [X] GUI finalizing for the Alpha release.
- [X] Debug loggings
- [ ] **Alpha Release**
- [X] **Alpha Release**

----

Expand Down
Binary file modified docs/images/screenshot_alpha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
190 changes: 94 additions & 96 deletions src/coderarjob/kpdfsync/poc/MainFrame.form
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</NonVisualComponents>
<Properties>
<Property name="defaultCloseOperation" type="int" value="3"/>
<Property name="title" type="java.lang.String" value="mk-float-kpdfsync-gui"/>
<Property name="title" type="java.lang.String" value="kpdfsync"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
Expand All @@ -35,77 +35,65 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="headerPanel" alignment="0" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Component id="highlightsScrollPane" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="statusScrollPane" max="32767" attributes="0"/>
<Component id="pageNumbersScrollPane" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
<Component id="selectHighlightLabel" alignment="0" max="32767" attributes="0"/>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="selectPdfFileLabel" max="32767" attributes="0"/>
<Component id="pdfSkipPagesLabel" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Component id="pageNumbersLabel" min="-2" pref="162" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="pdfSkipPagesLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="pdfSkipPagesSpinner" min="-2" pref="63" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="matchThressholdLabel" min="-2" pref="183" max="-2" attributes="0"/>
<Component id="matchThressholdLabel" min="-2" pref="177" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="matchThressholdSpinner" min="-2" pref="63" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="percentLabel" min="-2" pref="18" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="selectPdfFileTextBox" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="browsePdfFileButton" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Component id="proceedButton" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="pageNumbersScrollPane" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Component id="selectPdfFileLabel" min="-2" pref="187" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="selectPdfFileTextBox" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="browsePdfFileButton" min="-2" pref="46" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="1" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Component id="statusLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="158" max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="selectBookNameLabel" max="32767" attributes="0"/>
<Component id="clippingsFileLabel" max="32767" attributes="0"/>
</Group>
<EmptySpace min="37" pref="37" max="-2" attributes="0"/>
</Group>
</Group>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="selectBookNameComboBox" max="32767" attributes="0"/>
<Component id="clippingsFileTextBox" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="browseClippingsFileButton" min="-2" max="-2" attributes="0"/>
<EmptySpace min="6" pref="6" max="-2" attributes="0"/>
</Group>
<Component id="proceedPanel" alignment="0" max="32767" attributes="0"/>
<Group type="102" alignment="1" attributes="0">
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="selectBookNameLabel" pref="162" max="32767" attributes="0"/>
<Component id="clippingsFileLabel" max="32767" attributes="0"/>
</Group>
<EmptySpace min="37" pref="37" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="selectBookNameComboBox" max="32767" attributes="0"/>
<Component id="clippingsFileTextBox" max="32767" attributes="0"/>
</Group>
<EmptySpace min="5" pref="5" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="browseClippingsFileButton" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
</Group>
<Component id="selectHighlightLabel" alignment="0" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Component id="pageNumbersLabel" min="-2" pref="162" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Group type="102" alignment="1" attributes="0">
<Component id="proceedPanel" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</Group>
Expand All @@ -115,7 +103,7 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="headerPanel" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="clippingsFileLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="clippingsFileTextBox" alignment="3" min="-2" max="-2" attributes="0"/>
Expand All @@ -133,7 +121,7 @@
<EmptySpace max="-2" attributes="0"/>
<Component id="selectHighlightLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="highlightsScrollPane" pref="459" max="32767" attributes="0"/>
<Component id="highlightsScrollPane" pref="348" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="selectPdfFileLabel" alignment="3" min="-2" max="-2" attributes="0"/>
Expand All @@ -142,18 +130,15 @@
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="pdfSkipPagesLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="pdfSkipPagesSpinner" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="matchThressholdLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="matchThressholdSpinner" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="percentLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="pdfSkipPagesLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="proceedButton" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="proceedPanel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="statusLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="statusScrollPane" min="-2" pref="81" max="-2" attributes="0"/>
<Component id="proceedPanel" min="-2" pref="131" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
Expand All @@ -172,7 +157,7 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="logoLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="552" max="32767" attributes="0"/>
<EmptySpace pref="546" max="32767" attributes="0"/>
<Component id="optionsButton" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="exitButton" min="-2" max="-2" attributes="0"/>
Expand All @@ -181,9 +166,9 @@
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="logoLabel" alignment="1" min="-2" max="-2" attributes="0"/>
<Group type="102" alignment="1" attributes="0">
<Group type="103" groupAlignment="1" attributes="0">
<Component id="logoLabel" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="3" attributes="0">
<Component id="exitButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="optionsButton" alignment="3" min="-2" max="-2" attributes="0"/>
Expand Down Expand Up @@ -354,36 +339,41 @@
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="proceedPanel">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.SoftBevelBorderInfo">
<BevelBorder/>
</Border>
</Property>
</Properties>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="jProgressBar1" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="proceedButton" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
<Component id="statusLabel" alignment="0" pref="922" max="32767" attributes="0"/>
<Component id="jProgressBar1" alignment="1" max="32767" attributes="0"/>
<Component id="statusScrollPane" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jProgressBar1" alignment="3" min="-2" pref="24" max="-2" attributes="0"/>
<Component id="proceedButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Component id="statusLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jProgressBar1" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="statusScrollPane" min="-2" pref="83" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JButton" name="proceedButton">
<Component class="javax.swing.JLabel" name="statusLabel">
<Properties>
<Property name="text" type="java.lang.String" value="Proceed"/>
<Property name="text" type="java.lang.String" value="Status:"/>
<Property name="opaque" type="boolean" value="true"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="proceedButtonActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JProgressBar" name="jProgressBar1">
<Properties>
Expand All @@ -395,35 +385,35 @@
<EtchetBorder/>
</Border>
</Property>
<Property name="stringPainted" type="boolean" value="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JScrollPane" name="statusScrollPane">
<AuxValues>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="javax.swing.JList" name="statusList">
<Properties>
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="this.statusListModel" type="code"/>
</Property>
</Properties>
<Container class="javax.swing.JScrollPane" name="statusScrollPane">
<AuxValues>
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>
</Component>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="javax.swing.JList" name="statusList">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
<EmptyBorder/>
</Border>
</Property>
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="statusListModel" type="code"/>
</Property>
<Property name="selectionMode" type="int" value="0"/>
</Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
</AuxValues>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Container>
<Component class="javax.swing.JLabel" name="statusLabel">
<Properties>
<Property name="text" type="java.lang.String" value="Status:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="pdfSkipPagesLabel">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
Expand Down Expand Up @@ -465,5 +455,13 @@
<Property name="text" type="java.lang.String" value="%"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="proceedButton">
<Properties>
<Property name="text" type="java.lang.String" value="Proceed"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="proceedButtonActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Form>
Loading

0 comments on commit e051d93

Please sign in to comment.