Class PageNumberDecoratorProcessor

  • All Implemented Interfaces:
    DocumentProcessor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class PageNumberDecoratorProcessor
    extends Object
    implements DocumentProcessor, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • PageNumberDecoratorProcessor

        public PageNumberDecoratorProcessor()
    • Method Detail

      • getTemplate

        public String getTemplate()
        Returns:
        the template
      • setTemplate

        public void setTemplate​(String template)
        Parameters:
        template - the template to set
      • getTextOrientation

        public float getTextOrientation()
        Returns:
        the textOrientation
      • setTextOrientation

        public void setTextOrientation​(float textOrientation)
        Parameters:
        textOrientation - the textOrientation to set
      • getPadding

        public float getPadding()
      • setPadding

        public void setPadding​(float padding)
      • getMargin

        public float getMargin()
      • setMargin

        public void setMargin​(float margin)
      • getFont

        public com.levigo.jadice.document.font.Font getFont()
      • setFont

        public void setFont​(com.levigo.jadice.document.font.Font font)
      • getTextColor

        public Color getTextColor()
      • setTextColor

        public void setTextColor​(Color textColor)
      • getBackgroundColor

        public Color getBackgroundColor()
      • setBackgroundColor

        public void setBackgroundColor​(Color backgroundColor)
      • getBorderColor

        public Color getBorderColor()
      • setBorderColor

        public void setBorderColor​(Color borderColor)
      • getBorderWidth

        public float getBorderWidth()
      • setBorderWidth

        public void setBorderWidth​(float borderWidth)
      • process

        public void process​(com.levigo.jadice.document.Document document)
      • getAffectedJobTypes

        public List<String> getAffectedJobTypes()
      • setAffectedJobTypes

        public void setAffectedJobTypes​(List<String> affectedJobTypes)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • getFontSize

        public double getFontSize()
      • setFontSize

        public void setFontSize​(double fontSize)