Skip to content

Latest commit

 

History

History
94 lines (65 loc) · 2.49 KB

README.md

File metadata and controls

94 lines (65 loc) · 2.49 KB

PDF4J ICEPDF4

Fork of icepdf version 4.4.1 version with internal re-org and enhancements.

Part of re-org project has been moved to maven project structure. New modules introduced for better management and reuse.

Project Modules

  • core - Main ICEPDF core API with enhancements, it is pure java implementation to view Acrobat PDF files.
  • print - Simple Java API to print PDF from Java applications.
  • viewer - Java Swing based application to view Acrobat PDF files.
  • viewerapp - A bundled application of viewer, self contained jar with all dependent jars included.
  • examples - Some of java examples to use ICEPDF library
  • webviewer - A JSF 2.x based web application which uses ICEPDF library to view and transform.

CORE API

ICEPDF 4 API, as is from SVN repository. Additional support classes are added to get clean compile of the project.

Maven dependency

<dependency>  
    <groupId>org.pdf4j.icepdf</groupId>  
    <artifactId>pdf4j-icepdf-core</artifactId>  
    <version>4.5.0</version>  
</dependency>  

PDF4J ICEPDF Print API

Simple Java POJO classes provides the ability to print support form java applications.

Maven dependency

<dependency>  
    <groupId>org.pdf4j.icepdf</groupId>  
    <artifactId>pdf4j-icepdf-print</artifactId>  
    <version>4.5.0</version>  
</dependency>  

Console Printing

Use command line to print PDF files silently.

java -jar pdf4j-icepdf-print-4.5.0.jar -file "PDF File name" -printer "Printer Name"

Parameter details:
        -file     "pdf file name", required field
        -printer  "printer name", Optional default printer used when ignored
        -help      Print this usage help.

TODO List

Print API provide limited features for silent printing. More features needs to be added for better print support.


PDF Java Viewer

ICEPDF Java Viewer, as is from SVN repository.

Maven dependency

<dependency>  
    <groupId>org.pdf4j.icepdf</groupId>  
    <artifactId>pdf4j-icepdf-viewer</artifactId>  
    <version>4.5.0</version>  
</dependency>  

Using Standalone Java Viewer

Standalone PDF Viewer, with self contained classes in a single jar file.

java -jar pdf4j-icepdf-viewerapp.jar

Why?

What is the need for seperate standslone repository for ICEPDF4? The ICEPDF 5.x and later has major re-org to internal object structure layout and org.

This repository will help legacy applications to use icepdf without any change.