Skip to content

GT-PDF-Transform is a desktop JavaFX application that allows to anonymize a large number of PDF files. The output is a single file which can be upload to Grafioschtrader.

License

Notifications You must be signed in to change notification settings

grafioschtrader/gt-pdf-transform

Repository files navigation

GT-PDF-Transform

Transform is a desktop JavaFX application that allows to anonymize a large number of PDF files. For example, it can recursively import all PDFs in a file directory. Afterwards the text lines which are not relevant for the import can be removed in a mass processing. If your securities transactions are more or less completely available as PDF files, you can process them with Transform and then import them into Grafioschtrader.

Execute GT-PDF-Transform

GT-PDF-Transform comes with an installation program. Depending on the platform the installation is easier or a bit more complicated. The application is not signed, which more or less causes difficulties.

Ubuntu für AMD64 platform

Download the latest Ubunutu Build of GT-PDF-Transform. In the download directory execute the following command:

# Replace XX.XX... with your downloaded build
sudo dpkg -i gt-pdf-transform_XX.XX.XXX-X_amd64.deb

For execution use the Desktop or this command /opt/gt-pdf-transform/bin/GT-PDF-Transform may work.

Remove GT-PDF-Transform from ubuntu

sudo dpkg -r gt-pdf-transform

Windows

Download the latest Windows Build of GT-PDF-Transform. Execute the msi installer. Ignore "Windows Protected Your PC" as this application is not signed. Instead, click "more info" and run the installation anyway.

macOS

Download the latest macOS Build of GT-PDF-Transform. After that, install the downloaded dmg file like the rest of the applications. GT-PDF-Transform requires root privileges to run. Therefore the execution in the terminal is the easiest. Start a terminal and execute the following command:

sudo "/Applications/GT-PDF-Transform.app/Contents/MacOS/GT-PDF-Transform"

Build GT-PDF-Transform

For the build we use maven-jpackage-template. The following text was taken from there

  1. Install OpenJDK Java 16 or Oracle Java 16.
    • Verify by opening a fresh Terminal/Command Prompt and typing java --version.
  2. Install Apache Maven 3.8.1 or later and make sure it's on your path.
    • Verify this by opening a fresh Terminal/Command Prompt and typing mvn --version.
  3. macOS: verify XCode is installed and needed agreements accepted.
    • Launch XCode and accept the license, or verify in Terminal with the command sudo xcodebuild -license.
  4. Windows: install Wix 3 binaries.
    • Installing Wix via the installer should be sufficient for jpackage to find it.
  5. Clone/download this project.
  6. Final step: run mvn clean install from the root of the project to generate the target\TestApp.dmg or target\TestApp.msi (installer).
    • Note that the actual generated installer will include a version number in the file name
    • For reference, here is a complete run log for a successful run.

Because these builds use stripped down JVM images, the generated installers are in the 30-40mb range.

About

GT-PDF-Transform is a desktop JavaFX application that allows to anonymize a large number of PDF files. The output is a single file which can be upload to Grafioschtrader.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published