Class ITextOutputDevice

    • Constructor Detail

      • ITextOutputDevice

        public ITextOutputDevice​(float dotsPerPoint)
    • Method Detail

      • setWriter

        public void setWriter​(com.lowagie.text.pdf.PdfWriter writer)
      • getWriter

        public com.lowagie.text.pdf.PdfWriter getWriter()
      • getNextFormFieldIndex

        public int getNextFormFieldIndex()
      • initializePage

        public void initializePage​(com.lowagie.text.pdf.PdfContentByte currentPage,
                                   float height)
      • finishPage

        public void finishPage()
      • createLocalTargetArea

        public com.lowagie.text.Rectangle createLocalTargetArea​(RenderingContext c,
                                                                Box box)
      • createTargetArea

        public com.lowagie.text.Rectangle createTargetArea​(RenderingContext c,
                                                           Box box)
      • getDeviceLength

        public float getDeviceLength​(float length)
      • drawBorderLine

        public void drawBorderLine​(java.awt.Rectangle bounds,
                                   int side,
                                   int lineWidth,
                                   boolean solid)
        Specified by:
        drawBorderLine in interface OutputDevice
      • drawRect

        public void drawRect​(int x,
                             int y,
                             int width,
                             int height)
        Specified by:
        drawRect in interface OutputDevice
      • drawOval

        public void drawOval​(int x,
                             int y,
                             int width,
                             int height)
        Specified by:
        drawOval in interface OutputDevice
      • fill

        public void fill​(java.awt.Shape s)
        Specified by:
        fill in interface OutputDevice
      • fillRect

        public void fillRect​(int x,
                             int y,
                             int width,
                             int height)
        Specified by:
        fillRect in interface OutputDevice
      • fillOval

        public void fillOval​(int x,
                             int y,
                             int width,
                             int height)
        Specified by:
        fillOval in interface OutputDevice
      • translate

        public void translate​(double tx,
                              double ty)
        Specified by:
        translate in interface OutputDevice
      • getRenderingHint

        public java.lang.Object getRenderingHint​(java.awt.RenderingHints.Key key)
        Specified by:
        getRenderingHint in interface OutputDevice
      • setRenderingHint

        public void setRenderingHint​(java.awt.RenderingHints.Key key,
                                     java.lang.Object value)
        Specified by:
        setRenderingHint in interface OutputDevice
      • drawString

        public void drawString​(java.lang.String s,
                               float x,
                               float y,
                               JustificationInfo info)
      • getCurrentPage

        public com.lowagie.text.pdf.PdfContentByte getCurrentPage()
      • setStroke

        public void setStroke​(java.awt.Stroke s)
        Specified by:
        setStroke in interface OutputDevice
      • clip

        public void clip​(java.awt.Shape s)
        Specified by:
        clip in interface OutputDevice
      • setClip

        public void setClip​(java.awt.Shape s)
        Specified by:
        setClip in interface OutputDevice
      • getReader

        public com.lowagie.text.pdf.PdfReader getReader​(java.net.URL url)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getDotsPerPoint

        public float getDotsPerPoint()
      • start

        public void start​(org.w3c.dom.Document doc)
      • setSharedContext

        public void setSharedContext​(SharedContext sharedContext)
      • setRoot

        public void setRoot​(Box root)
      • getStartPageNo

        public int getStartPageNo()
      • setStartPageNo

        public void setStartPageNo​(int startPageNo)
      • findPagePositionsByID

        public java.util.List findPagePositionsByID​(CssContext c,
                                                    java.util.regex.Pattern pattern)