Skip to content

Commit

Permalink
Initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbswengineering committed Nov 10, 2020
1 parent 47c8892 commit aeafe96
Show file tree
Hide file tree
Showing 30 changed files with 2,392 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
*.class
/target
/package
Binary file added .readme-files/pdfjuggler-logo-72.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .readme-files/screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Create-Package.ps1
@@ -0,0 +1,26 @@
# Create the Microsoft Windows installation package
# and the default self-contained Jar package

# Change it!
$Version = "1.0"

Remove-Item -Recurse -Force .\package
mvn clean
mvn install
jpackage `
--input .\target `
--dest .\package `
--main-class cloud.bernardi.pdfjuggler.MainFrame `
--main-jar pdfjuggler-${Version}-jar-with-dependencies.jar `
--icon graphics/icon-32.ico `
--description "Sort, merge and cut the pages of PDF documents." `
--copyright "Copyright 2020 Paolo Bernardi" `
--name "PDF Juggler" `
--app-version "${Version}" `
--license-file LICENSE `
--vendor "Paolo Bernardi" `
--win-menu `
--win-per-user-install
Copy-Item ".\target\pdfjuggler-${Version}-jar-with-dependencies.jar" .\package
Rename-Item ".\package\pdfjuggler-${Version}-jar-with-dependencies.jar" "pdfjuggler-${Version}.jar"
Rename-Item ".\package\PDF Juggler-${Version}.exe" "pdfjuggler-${Version}.exe"
4 changes: 2 additions & 2 deletions LICENSE
@@ -1,5 +1,5 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
Expand Down
32 changes: 32 additions & 0 deletions README.md
@@ -0,0 +1,32 @@
<a href="https://www.bernardi.cloud/">
<img src=".readme-files/pdfjuggler-logo-72.png" alt="PDF Juggler logo" title="PDF Juggler" align="right" height="72" />
</a>

# PDF Juggler
> A desktop tool to mix, reorder and select PDF pages
[![Java](https://img.shields.io/badge/java-v1.8-blue.svg)](https://adoptopenjdk.net/)
[![License](https://img.shields.io/github/license/bernarpa/pdfjuggler.svg)](https://opensource.org/licenses/GPL-3.0)
[![GitHub issues](https://img.shields.io/github/issues/bernarpa/pdfjuggler.svg)](https://github.com/bernarpa/pdfjuggler/issues)

## Table of contents

- [What is PDF Juggler](#what-is-pdf-juggler)
- [What does it look like](#what-does-it-look-like)
- [License](#license)

## What is PDF Juggler

PDF Juggler is a simple desktop tool to mix, reorder and select PDF pages. Drop your PDFs into the PDF Juggler window, move the pages around, delete them, rotate them, save the result and you're done!

This tool is a clone of [PDF Shuffler](https://sourceforge.net/projects/pdfshuffler/) and [PDF Arranger](https://github.com/pdfarranger/pdfarranger/), which are a must have for anyone who deals with PDF files. Why did I build PDF Juggler, then? To pay my daily tribute to universal firstly, and to have a flawless experience on Microsoft Windows secondly. :-)

## What does it look like

Nothing fancy:

![Image](.readme-files/screenshot.png)

# License

PDF Juggler is licensed under the terms of the GNU General Public License version 3.
Binary file added graphics/icon-256.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/icon-32.ico
Binary file not shown.
Binary file added graphics/icon-32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
127 changes: 127 additions & 0 deletions graphics/icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions nb-configuration.xml
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.hint.license>gpl30</netbeans.hint.license>
</properties>
</project-shared-configuration>
46 changes: 46 additions & 0 deletions nbactions.xml
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>run</actionName>
<packagings>
<packaging>jar</packaging>
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath cloud.bernardi.pdfjuggler.MainFrame</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
<action>
<actionName>debug</actionName>
<packagings>
<packaging>jar</packaging>
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
</goals>
<properties>
<exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath cloud.bernardi.pdfjuggler.MainFrame</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
</action>
<action>
<actionName>profile</actionName>
<packagings>
<packaging>jar</packaging>
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath cloud.bernardi.pdfjuggler.MainFrame</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
</actions>

0 comments on commit aeafe96

Please sign in to comment.