Class ClassicFontRecipient

  • All Implemented Interfaces:
    FontRecipient

    public class ClassicFontRecipient
    extends java.lang.Object
    implements FontRecipient
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassicFontRecipient​(java.awt.color.ColorSpace cmykColorSpace)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.lowagie.text.Font getFont()  
      boolean hasFont()  
      void setFont​(java.lang.String pdfFontName, java.lang.String pdfEncoding, boolean isPdfEmbedded, float size, PdfFontStyle pdfFontStyle, java.awt.Color forecolor)  
      void setFont​(java.lang.String pdfFontName, java.lang.String pdfEncoding, boolean isPdfEmbedded, float size, PdfFontStyle pdfFontStyle, java.awt.Color forecolor, byte[] fontData)  
      protected static int toPdfFontStyle​(PdfFontStyle pdfFontStyle)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassicFontRecipient

        public ClassicFontRecipient​(java.awt.color.ColorSpace cmykColorSpace)
    • Method Detail

      • getFont

        public com.lowagie.text.Font getFont()
      • setFont

        public void setFont​(java.lang.String pdfFontName,
                            java.lang.String pdfEncoding,
                            boolean isPdfEmbedded,
                            float size,
                            PdfFontStyle pdfFontStyle,
                            java.awt.Color forecolor)
        Specified by:
        setFont in interface FontRecipient
      • setFont

        public void setFont​(java.lang.String pdfFontName,
                            java.lang.String pdfEncoding,
                            boolean isPdfEmbedded,
                            float size,
                            PdfFontStyle pdfFontStyle,
                            java.awt.Color forecolor,
                            byte[] fontData)
        Specified by:
        setFont in interface FontRecipient
      • toPdfFontStyle

        protected static int toPdfFontStyle​(PdfFontStyle pdfFontStyle)