Package com.sun.pdfview.font.ttf
Class MaxpTable
- java.lang.Object
-
- com.sun.pdfview.font.ttf.TrueTypeTable
-
- com.sun.pdfview.font.ttf.MaxpTable
-
public class MaxpTable extends TrueTypeTable
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxComponentContours
Holds value of property maxComponentContours.private int
maxComponentDepth
Holds value of property maxComponentDepth.private int
maxComponentElements
Holds value of property maxComponentElements.private int
maxComponentPoints
Holds value of property maxComponentPoints.private int
maxContours
Holds value of property maxContours.private int
maxFunctionDefs
Holds value of property maxFunctionDefs.private int
maxInstructionDefs
Holds value of property maxInstructionDefs.private int
maxPoints
Holds value of property maxPoints.private int
maxSizeOfInstructions
Holds value of property maxSizeOfInstructions.private int
maxStackElements
Holds value of property maxStackElements.private int
maxStorage
Holds value of property maxStorage.private int
maxTwilightPoints
Holds value of property maxTwilightPoints.private int
maxZones
Holds value of property maxZones.private int
numGlyphs
Holds value of property numGlyphs.private int
version
Holds value of property version.-
Fields inherited from class com.sun.pdfview.font.ttf.TrueTypeTable
CMAP_TABLE, GLYF_TABLE, HEAD_TABLE, HHEA_TABLE, HMTX_TABLE, LOCA_TABLE, MAXP_TABLE, NAME_TABLE, POST_TABLE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MaxpTable()
Creates a new instance of MaxpTable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
getData()
Get a buffer from the dataint
getLength()
Get the length of this tableint
getMaxComponentContours()
Getter for property maxComponentContours.int
getMaxComponentDepth()
Getter for property maxComponentDepth.int
getMaxComponentElements()
Getter for property maxComponentElements.int
getMaxComponentPoints()
Getter for property maxComponentPoints.int
getMaxContours()
Getter for property maxContours.int
getMaxFunctionDefs()
Getter for property maxFunctionDefs.int
getMaxInstructionDefs()
Getter for property maxInstructionDefs.int
getMaxPoints()
Getter for property maxPoints.int
getMaxSizeOfInstructions()
Getter for property maxSizeOfInstructions.int
getMaxStackElements()
Getter for property maxStackElements.int
getMaxStorage()
Getter for property maxStorage.int
getMaxTwilightPoints()
Getter for property maxTwilightPoints.int
getMaxZones()
Getter for property maxZones.int
getNumGlyphs()
Getter for property numGlyphs.int
getVersion()
Getter for property version.void
setData(java.nio.ByteBuffer data)
Set the values from datavoid
setMaxComponentContours(int maxComponentContours)
Setter for property maxComponentContours.void
setMaxComponentDepth(int maxComponentDepth)
Setter for property maxComponentDepth.void
setMaxComponentElements(int maxComponentElements)
Setter for property maxComponentElements.void
setMaxComponentPoints(int maxComponentPoints)
Setter for property maxComponentPoints.void
setMaxContours(int maxContours)
Setter for property maxContours.void
setMaxFunctionDefs(int maxFunctionDefs)
Setter for property maxFunctionDefs.void
setMaxInstructionDefs(int maxInstructionDefs)
Setter for property maxInstructionDefs.void
setMaxPoints(int maxPoints)
Setter for property maxPoints.void
setMaxSizeOfInstructions(int maxSizeOfInstructions)
Setter for property maxSizeOfInstructions.void
setMaxStackElements(int maxStackElements)
Setter for property maxStackElements.void
setMaxStorage(int maxStorage)
Setter for property maxStorage.void
setMaxTwilightPoints(int maxTwilightPoints)
Setter for property maxTwilightPoints.void
setMaxZones(int maxZones)
Setter for property maxZones.void
setNumGlyphs(int numGlyphs)
Setter for property numGlyphs.void
setVersion(int version)
Setter for property version.java.lang.String
toString()
Create a pretty String-
Methods inherited from class com.sun.pdfview.font.ttf.TrueTypeTable
createTable, createTable, getTag, stringToTag, tagToString
-
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
setData
public void setData(java.nio.ByteBuffer data)
Set the values from data- Overrides:
setData
in classTrueTypeTable
-
getData
public java.nio.ByteBuffer getData()
Get a buffer from the data- Overrides:
getData
in classTrueTypeTable
-
getLength
public int getLength()
Get the length of this table- Overrides:
getLength
in classTrueTypeTable
-
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 java.lang.String toString()
Create a pretty String- Overrides:
toString
in classTrueTypeTable
-
-