You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PrintRenderer.java 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources."
  6. */
  7. package org.apache.fop.render;
  8. // FOP
  9. import org.apache.fop.pdf.PDFPathPaint;
  10. import org.apache.fop.pdf.PDFColor;
  11. import org.apache.fop.image.ImageArea;
  12. import org.apache.fop.apps.FOPException;
  13. import org.apache.fop.fo.properties.*;
  14. import org.apache.fop.datatypes.*;
  15. import org.apache.fop.render.pdf.FontSetup;
  16. import org.apache.fop.layout.FontInfo;
  17. // Java
  18. import java.io.IOException;
  19. import java.io.OutputStream;
  20. import java.util.Enumeration;
  21. /**
  22. * Abstract base class of "Print" type renderers.
  23. *
  24. */
  25. public abstract class PrintRenderer extends AbstractRenderer {
  26. protected FontInfo fontInfo;
  27. /**
  28. * set up the font info
  29. *
  30. * @param fontInfo font info to set up
  31. */
  32. public void setupFontInfo(FontInfo fontInfo) {
  33. this.fontInfo = fontInfo;
  34. FontSetup.setup(fontInfo);
  35. }
  36. /**
  37. *
  38. */
  39. public void startRenderer(OutputStream outputStream)
  40. throws IOException {}
  41. /**
  42. *
  43. */
  44. public void stopRenderer()
  45. throws IOException
  46. {
  47. }
  48. }