Sweet Home 3D 4.1

com.eteks.sweethome3d.swing
Class HomePDFPrinter

java.lang.Object
  extended by com.eteks.sweethome3d.swing.HomePDFPrinter

public class HomePDFPrinter
extends Object

Home PDF printer. PDF creation is implemented with iText.

Author:
Emmanuel Puybaret

Constructor Summary
HomePDFPrinter(Home home, UserPreferences preferences, HomeController controller, Font defaultFont)
          Creates a PDF printer able to write to an output stream.
 
Method Summary
 void write(OutputStream outputStream)
          Writes to outputStream the print of a home in PDF format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomePDFPrinter

public HomePDFPrinter(Home home,
                      UserPreferences preferences,
                      HomeController controller,
                      Font defaultFont)
Creates a PDF printer able to write to an output stream.

Method Detail

write

public void write(OutputStream outputStream)
           throws IOException
Writes to outputStream the print of a home in PDF format.

Throws:
IOException

Sweet Home 3D 4.1

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License