Class MaxpTable

java.lang.Object
com.sun.pdfview.font.ttf.TrueTypeTable
com.sun.pdfview.font.ttf.MaxpTable

public class MaxpTable extends TrueTypeTable
  • Field Details

    • version

      private int version
      Holds value of property version.
    • numGlyphs

      private int numGlyphs
      Holds value of property numGlyphs.
    • maxPoints

      private int maxPoints
      Holds value of property maxPoints.
    • maxContours

      private int maxContours
      Holds value of property maxContours.
    • maxComponentPoints

      private int maxComponentPoints
      Holds value of property maxComponentPoints.
    • maxComponentContours

      private int maxComponentContours
      Holds value of property maxComponentContours.
    • maxZones

      private int maxZones
      Holds value of property maxZones.
    • maxTwilightPoints

      private int maxTwilightPoints
      Holds value of property maxTwilightPoints.
    • maxStorage

      private int maxStorage
      Holds value of property maxStorage.
    • maxFunctionDefs

      private int maxFunctionDefs
      Holds value of property maxFunctionDefs.
    • maxInstructionDefs

      private int maxInstructionDefs
      Holds value of property maxInstructionDefs.
    • maxStackElements

      private int maxStackElements
      Holds value of property maxStackElements.
    • maxSizeOfInstructions

      private int maxSizeOfInstructions
      Holds value of property maxSizeOfInstructions.
    • maxComponentElements

      private int maxComponentElements
      Holds value of property maxComponentElements.
    • maxComponentDepth

      private int maxComponentDepth
      Holds value of property maxComponentDepth.
  • Constructor Details

    • MaxpTable

      protected MaxpTable()
      Creates a new instance of MaxpTable
  • Method Details

    • setData

      public void setData(ByteBuffer data)
      Set the values from data
      Overrides:
      setData in class TrueTypeTable
    • getData

      public ByteBuffer getData()
      Get a buffer from the data
      Overrides:
      getData in class TrueTypeTable
    • getLength

      public int getLength()
      Get the length of this table
      Overrides:
      getLength in class TrueTypeTable
    • getVersion

      public int getVersion()
      Getter for property version.
      Returns:
      Value of property version.
    • setVersion

      public void setVersion(int version)
      Setter for property version.
      Parameters:
      version - New value of property version.
    • getNumGlyphs

      public int getNumGlyphs()
      Getter for property numGlyphs.
      Returns:
      Value of property numGlyphs.
    • setNumGlyphs

      public void setNumGlyphs(int numGlyphs)
      Setter for property numGlyphs.
      Parameters:
      numGlyphs - New value of property numGlyphs.
    • getMaxPoints

      public int getMaxPoints()
      Getter for property maxPoints.
      Returns:
      Value of property maxPoints.
    • setMaxPoints

      public void setMaxPoints(int maxPoints)
      Setter for property maxPoints.
      Parameters:
      maxPoints - New value of property maxPoints.
    • getMaxContours

      public int getMaxContours()
      Getter for property maxContours.
      Returns:
      Value of property maxContours.
    • setMaxContours

      public void setMaxContours(int maxContours)
      Setter for property maxContours.
      Parameters:
      maxContours - New value of property maxContours.
    • getMaxComponentPoints

      public int getMaxComponentPoints()
      Getter for property maxComponentPoints.
      Returns:
      Value of property maxComponentPoints.
    • setMaxComponentPoints

      public void setMaxComponentPoints(int maxComponentPoints)
      Setter for property maxComponentPoints.
      Parameters:
      maxComponentPoints - New value of property maxComponentPoints.
    • getMaxComponentContours

      public int getMaxComponentContours()
      Getter for property maxComponentContours.
      Returns:
      Value of property maxComponentContours.
    • setMaxComponentContours

      public void setMaxComponentContours(int maxComponentContours)
      Setter for property maxComponentContours.
      Parameters:
      maxComponentContours - New value of property maxComponentContours.
    • getMaxZones

      public int getMaxZones()
      Getter for property maxZones.
      Returns:
      Value of property maxZones.
    • setMaxZones

      public void setMaxZones(int maxZones)
      Setter for property maxZones.
      Parameters:
      maxZones - New value of property maxZones.
    • getMaxTwilightPoints

      public int getMaxTwilightPoints()
      Getter for property maxTwilightPoints.
      Returns:
      Value of property maxTwilightPoints.
    • setMaxTwilightPoints

      public void setMaxTwilightPoints(int maxTwilightPoints)
      Setter for property maxTwilightPoints.
      Parameters:
      maxTwilightPoints - New value of property maxTwilightPoints.
    • getMaxStorage

      public int getMaxStorage()
      Getter for property maxStorage.
      Returns:
      Value of property maxStorage.
    • setMaxStorage

      public void setMaxStorage(int maxStorage)
      Setter for property maxStorage.
      Parameters:
      maxStorage - New value of property maxStorage.
    • getMaxFunctionDefs

      public int getMaxFunctionDefs()
      Getter for property maxFunctionDefs.
      Returns:
      Value of property maxFunctionDefs.
    • setMaxFunctionDefs

      public void setMaxFunctionDefs(int maxFunctionDefs)
      Setter for property maxFunctionDefs.
      Parameters:
      maxFunctionDefs - New value of property maxFunctionDefs.
    • getMaxInstructionDefs

      public int getMaxInstructionDefs()
      Getter for property maxInstructionDefs.
      Returns:
      Value of property maxInstructionDefs.
    • setMaxInstructionDefs

      public void setMaxInstructionDefs(int maxInstructionDefs)
      Setter for property maxInstructionDefs.
      Parameters:
      maxInstructionDefs - New value of property maxInstructionDefs.
    • getMaxStackElements

      public int getMaxStackElements()
      Getter for property maxStackElements.
      Returns:
      Value of property maxStackElements.
    • setMaxStackElements

      public void setMaxStackElements(int maxStackElements)
      Setter for property maxStackElements.
      Parameters:
      maxStackElements - New value of property maxStackElements.
    • getMaxSizeOfInstructions

      public int getMaxSizeOfInstructions()
      Getter for property maxSizeOfInstructions.
      Returns:
      Value of property maxSizeOfInstructions.
    • setMaxSizeOfInstructions

      public void setMaxSizeOfInstructions(int maxSizeOfInstructions)
      Setter for property maxSizeOfInstructions.
      Parameters:
      maxSizeOfInstructions - New value of property maxSizeOfInstructions.
    • getMaxComponentElements

      public int getMaxComponentElements()
      Getter for property maxComponentElements.
      Returns:
      Value of property maxComponentElements.
    • setMaxComponentElements

      public void setMaxComponentElements(int maxComponentElements)
      Setter for property maxComponentElements.
      Parameters:
      maxComponentElements - New value of property maxComponentElements.
    • getMaxComponentDepth

      public int getMaxComponentDepth()
      Getter for property maxComponentDepth.
      Returns:
      Value of property maxComponentDepth.
    • setMaxComponentDepth

      public void setMaxComponentDepth(int maxComponentDepth)
      Setter for property maxComponentDepth.
      Parameters:
      maxComponentDepth - New value of property maxComponentDepth.
    • toString

      public String toString()
      Create a pretty String
      Overrides:
      toString in class TrueTypeTable