Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

XML/XHTML and CSS 2.1 renderer in pure Java

Octocat-spinner-32 archive Move Ant build to archive June 24, 2012
Octocat-spinner-32 bin Fix links, menu, add news page March 08, 2009
Octocat-spinner-32 doc Update users-guide-r8.xil December 02, 2013
Octocat-spinner-32 flying-saucer-core [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 flying-saucer-examples [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 flying-saucer-log4j [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 flying-saucer-pdf-itext5 [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 flying-saucer-pdf [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 flying-saucer-swt-examples [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 flying-saucer-swt [maven-release-plugin] prepare for next development iteration March 26, 2014
Octocat-spinner-32 lib Move SWT libraries into the flying-saucer-core module. May 25, 2011
Octocat-spinner-32 notes Remove Minium anti-aliasing library as sources are not available. Rem… March 22, 2009
Octocat-spinner-32 src Move build to Maven June 24, 2012
Octocat-spinner-32 temp Remove Doctype, causing problems with some loaders July 24, 2007
Octocat-spinner-32 test Work on bringing regression test classes up-to-date. April 12, 2009
Octocat-spinner-32 tests regression snapshot was missing source images, now using Ant to make … April 17, 2009
Octocat-spinner-32 www Reapply changes that cvsps had trouble with April 19, 2010
Octocat-spinner-32 .cvsignore . April 13, 2009
Octocat-spinner-32 .gitignore Ignore more Eclipse files January 18, 2014
Octocat-spinner-32 .hgignore Add .hgignore for those using hg-git August 07, 2010
Octocat-spinner-32 LICENSE SWT Jars for integration with Vianney's SWT support. May 08, 2009
Octocat-spinner-32 LICENSE-LGPL-2.1.txt Update license & other documents for release July 14, 2007
Octocat-spinner-32 LICENSE-W3C-TEST Added license for W3C tests, as requested on tests website. July 10, 2007
Octocat-spinner-32 README Fix typo June 24, 2012
Octocat-spinner-32 pom.xml [maven-release-plugin] prepare for next development iteration March 26, 2014
README
Flying Saucer

http://code.google.com/p/flying-saucer/
Please see project website for links to git, mailing lists, issue tracker, etc.


OVERVIEW
--------
Flying Saucer is a pure-Java library for rendering arbitrary well-formed XML 
(or XHTML) using CSS 2.1 for layout and formatting, output to Swing panels, 
PDF, and images.

Comprehensive documentation available in our user's guide, linked from our website at http://code.google.com/p/flying-saucer/
For information on our development releases, please contact us on our mailing lists.

If you end up using Flying Saucer for your own projects, please drop us an
email and tell us about it; it helps inform where we go next, and is interesting
and inspiring to other developers.


LICENSE
-------
Flying Saucer is distributed under the LGPL.  Flying Saucer itself is licensed 
under the GNU Lesser General Public License, version 2.1 or later, available at
http://www.gnu.org/copyleft/lesser.html. You can use Flying Saucer in any
way and for any purpose you want as long as you respect the terms of the 
license. A copy of the LGPL license is included as license-lgpl-2.1.txt
in our distributions and in our source tree.

Flying Saucer uses a couple of FOSS packages to get the job done. A list
of these, along with the license they each have, is listed in the 
LICENSE file in our distribution.   

GETTING FLYING SAUCER
---------------------
New releases of Flying Saucer are distributed through Maven.  The available artifacts are:

org.xhtmlrenderer:flying-saucer-core - Core library and Java2D rendering
org.xhtmlrenderer:flying-saucer-pdf - PDF output using iText
org.xhtmlrenderer:flying-saucer-swt - SWT output
org.xhtmlrenderer:flying-saucer-log4j - Logging plugin for log4j

GETTING STARTED
---------------
There is a large amount of sample code under the flying-saucer-demos directory.
A pre-configured Eclipse project is provided to run a few of them.  

For users of other IDEs, make sure the src/java and resources directories under
the about, docbook, svg, and browser directories are available on the build
path.  samples/src and splash should also be in the build path.

flying-saucer-core, flying-saucer-pdf, and flying-saucer-swt must also be on the
build path as well as the an SWT JAR for your OS.

The Eclipse config files as committed with flying-saucer-swt use a Linux SWT
JAR.  You will need to update if using another OS.

org.xhtmlrenderer.demo.browser.BrowserStartup will start the browser demo.

Some good entry points (classes) are:
org.xhtmlrenderer.simple.XHTMLPanel
org.xhtmlrenderer.simple.PDFRenderer
org.xhtmlrenderer.simple.ImageRenderer


Something went wrong with that request. Please try again.