The big news in this release is the new PrintPreview control, a WYSIWYG (what you see is what you get) print preview. Currently only single-page viewing is available, however this may be further enhanced in future versions. Also, the project has been backported to Java 1.4 to ensure that everyone using Eclipse can use PaperClips.
Note: This release is API incompatible with previous releases. The UI controls have been moved to a different package, and to a different plugin (net.sf.paperclips.ui). A simple search and replace should suffice to fix compilation problems. I try to minimize changing APIs on everybody, I sincerely hope this doesn't cause a big problem. However I believe that the improved clarity of the API will pay dividends in the long run.
Features and changes in this release:
JDK 1.4 compliance.
New WYSIWYG (what you see is what you get) PrintPreview control in the net.sf.paperclips.ui plugin.
Other existing UI controls (in the net.sf.paperclips.swt package) have been moved to the net.sf.paperclips.ui, into the net.sf.paperclips.ui package.
The PrintUtil class has been replaced with the PaperClips and PrintJob classes.
The new PrintJob class holds information about the job name, document, page margins, and paper orientation.
The new PaperClips class provides a simpler API for printing documents.
The new Margins class provides fine control over margins on each edge of the paper.
Deprecated package net.sf.paperclips.preview has been removed.
PaperClips is a simple, light weight, extensible printing library for SWT. PaperClips hides the complexity of laying out and rendering documents on the printer, helping you to focus on what you want to print instead of how you're going to print it.
In a nutshell, PaperClips provides an assortment of document "building blocks", which you can tweak and combine to form a document. The assembled document is then sent to PaperClips for printing. PaperClips includes built-in support for printing text, images, borders, headers and footers, column layouts and tabular (grid) layouts. PaperClips is designed to be extensible, so you can code your own printable document elements.
PaperClips depends on the SWT library, a project of the Eclipse Foundation. The SWT library may be downloaded from the Eclipse site: http://www.eclipse.org/swt/
Project web page: http://paperclips.sourceforge.net/
Download page: http://sourceforge.net/project/showfiles.php?group_id=148509
Subversion: https://svn.sourceforge.net/svnroot/paperclips/trunk/net.sf.paperclips/
|