Skip to content

catalinionut28/PDF-Split-Merge-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

PDF-Split-Merge-App

Overview

PDF-Split-Merge-App is a desktop application built in Java (using JavaFX) for splitting and merging PDF files. It provides an intuitive graphical interface for users to separate a PDF into multiple parts or combine several PDFs into a single document.

Features

  • PDF Splitting:

    • Split a PDF into two custom ranges or into multiple documents by specifying page numbers.
    • Choose the output directory for the resulting PDFs.
    • Error handling and user feedback for invalid input (e.g., no output folder selected).
  • PDF Merging:

    • Merge multiple PDF documents into one.
    • Add or remove PDFs from the merge list.
    • Select an output directory for the merged file.
    • Success and error messages for user actions.
  • User Interface:

    • Built with JavaFX, providing a modern and responsive UI.
    • Customizable style via CSS (pdf-split-merge-tool/src/main/resources/style.css).

Tech Stack

  • Java
  • JavaFX (UI)
  • Apache PDFBox (PDF manipulation)
  • FXML (UI layout and logic separation)

Requirements

Important:
You must have JavaFX installed to run this application.

  • If using standard Java distributions (e.g., Oracle JDK or OpenJDK), you need to download and configure JavaFX separately.
  • Alternatively, you can use the Liberica JDK (Liberica Full JDK), which comes bundled with JavaFX out of the box.

Usage

  1. Running the Application

    • Ensure you have Java (with JavaFX) installed.
    • Run the main class: com.catalin.pdfapp.Start
    • The application window will open, allowing access to split and merge functionalities.
  2. Splitting PDFs

    • Navigate to the split section.
    • Select a PDF file.
    • Enter the desired page ranges for splitting.
    • Choose an output directory.
    • Click "Split" to process. Success or error messages will appear.
  3. Merging PDFs

    • Navigate to the merge section.
    • Add PDF files to the merge list.
    • Select an output directory.
    • Click "Merge" to combine files. Status messages will be shown.

Repository

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors