Class PdfImportedPage

    • Method Detail

      • getFromReader

        public PdfImportedPage getFromReader()
        Reads the content from this PdfImportedPage-object from a reader.
        Returns:
        self
      • getPageNumber

        public int getPageNumber()
      • addImage

        public void addImage​(Image image,
                             float a,
                             float b,
                             float c,
                             float d,
                             float e,
                             float f)
                      throws DocumentException
        Always throws an error. This operation is not allowed.
        Overrides:
        addImage in class PdfContentByte
        Parameters:
        image - dummy
        a - dummy
        b - dummy
        c - dummy
        d - dummy
        e - dummy
        f - dummy
        Throws:
        DocumentException - dummy
      • addTemplate

        public void addTemplate​(PdfTemplate template,
                                float a,
                                float b,
                                float c,
                                float d,
                                float e,
                                float f)
        Always throws an error. This operation is not allowed.
        Overrides:
        addTemplate in class PdfContentByte
        Parameters:
        template - dummy
        a - dummy
        b - dummy
        c - dummy
        d - dummy
        e - dummy
        f - dummy
      • setColorFill

        public void setColorFill​(PdfSpotColor sp,
                                 float tint)
        Description copied from class: PdfContentByte
        Sets the fill color to a spot color.
        Overrides:
        setColorFill in class PdfContentByte
        Parameters:
        sp - the spot color
        tint - the tint for the spot color. 0 is no color and 1 is 100% color
      • setColorStroke

        public void setColorStroke​(PdfSpotColor sp,
                                   float tint)
        Description copied from class: PdfContentByte
        Sets the stroke color to a spot color.
        Overrides:
        setColorStroke in class PdfContentByte
        Parameters:
        sp - the spot color
        tint - the tint for the spot color. 0 is no color and 1 is 100% color
      • setFontAndSize

        public void setFontAndSize​(BaseFont bf,
                                   float size)
        Always throws an error. This operation is not allowed.
        Overrides:
        setFontAndSize in class PdfContentByte
        Parameters:
        bf - dummy
        size - dummy
      • setGroup

        public void setGroup​(PdfTransparencyGroup group)
        Always throws an error. This operation is not allowed.
        Overrides:
        setGroup in class PdfTemplate
        Parameters:
        group - New value of property group.
        Since:
        2.1.6