com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class XForm



  • public final class XForm
    extends Object

    Class represent XForm

    • Method Detail

      • getEngineObj

        public com.aspose.pdf.engine.data.IPdfObject getEngineObj()
        Internal only
        Returns:
        IPdfObject object
      • getBBox

        public Rectangle getBBox()

        Gets form bounding box.

        Returns:
        Rectangle
      • setBBox

        public void setBBox(Rectangle value)

        Sets form bounding box.

        Parameters:
        value - Rectangle
      • getName

        public String getName()

        Gets form name. Form name is name which used to reference form in XObejct ductionary in page resources.

        Returns:
        String
      • setName

        public void setName(String value)

        Sets form name. Form name is name which used to reference form in XObejct dictionary in page resources.

        Parameters:
        value - String object
      • getContents

        public OperatorCollection getContents()

        Gets operators of the form.

        Returns:
        OperatorCollection object
      • getOpi

        public Opi getOpi()

        Gets The Open Prepress Interface (OPI).

        Returns:
        Opi instance
      • getMatrix

        public Matrix getMatrix()

        Gets matrix of the form.

        Returns:
        Matrix
      • setMatrix

        public void setMatrix(Matrix value)

        Sets matrix of the form.

        Parameters:
        value - Matrix object
      • getResources

        public Resources getResources()

        Gets Form XObject resources.

        Returns:
        Resources
      • createNewForm

        public static XForm createNewForm(com.aspose.pdf.engine.data.ITrailerable trailerable)

        Creates new XForm in the document.

        Parameters:
        trailerable - Describes ITrailerable object
        Returns:
        Newly created XForm
      • containsOwnResources

        public boolean containsOwnResources()
        Returns True if contains Own Resources
        Returns:
        boolean value
      • createNewForm

        public static XForm createNewForm(Page source,
                                          com.aspose.pdf.engine.data.ITrailerable trailerable,
                                          Copier copier)
      • createNewForm

        public static XForm createNewForm(Page source,
                                          IDocument document)

        Creates XForm which duplicates contents of the page.

        Parameters:
        source - Source page
        document - Document where new XForm will be added.
        Returns:
        Newly created XForm.
      • getRectangle

        public Rectangle getRectangle()

        Gets rectangel of the form.

        Returns:
        Rectangle
      • freeMemory

        public void freeMemory()

        Clears cached data