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 intmaxComponentContoursHolds value of property maxComponentContours.private intmaxComponentDepthHolds value of property maxComponentDepth.private intmaxComponentElementsHolds value of property maxComponentElements.private intmaxComponentPointsHolds value of property maxComponentPoints.private intmaxContoursHolds value of property maxContours.private intmaxFunctionDefsHolds value of property maxFunctionDefs.private intmaxInstructionDefsHolds value of property maxInstructionDefs.private intmaxPointsHolds value of property maxPoints.private intmaxSizeOfInstructionsHolds value of property maxSizeOfInstructions.private intmaxStackElementsHolds value of property maxStackElements.private intmaxStorageHolds value of property maxStorage.private intmaxTwilightPointsHolds value of property maxTwilightPoints.private intmaxZonesHolds value of property maxZones.private intnumGlyphsHolds value of property numGlyphs.private intversionHolds 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 protectedMaxpTable()Creates a new instance of MaxpTable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffergetData()Get a buffer from the dataintgetLength()Get the length of this tableintgetMaxComponentContours()Getter for property maxComponentContours.intgetMaxComponentDepth()Getter for property maxComponentDepth.intgetMaxComponentElements()Getter for property maxComponentElements.intgetMaxComponentPoints()Getter for property maxComponentPoints.intgetMaxContours()Getter for property maxContours.intgetMaxFunctionDefs()Getter for property maxFunctionDefs.intgetMaxInstructionDefs()Getter for property maxInstructionDefs.intgetMaxPoints()Getter for property maxPoints.intgetMaxSizeOfInstructions()Getter for property maxSizeOfInstructions.intgetMaxStackElements()Getter for property maxStackElements.intgetMaxStorage()Getter for property maxStorage.intgetMaxTwilightPoints()Getter for property maxTwilightPoints.intgetMaxZones()Getter for property maxZones.intgetNumGlyphs()Getter for property numGlyphs.intgetVersion()Getter for property version.voidsetData(java.nio.ByteBuffer data)Set the values from datavoidsetMaxComponentContours(int maxComponentContours)Setter for property maxComponentContours.voidsetMaxComponentDepth(int maxComponentDepth)Setter for property maxComponentDepth.voidsetMaxComponentElements(int maxComponentElements)Setter for property maxComponentElements.voidsetMaxComponentPoints(int maxComponentPoints)Setter for property maxComponentPoints.voidsetMaxContours(int maxContours)Setter for property maxContours.voidsetMaxFunctionDefs(int maxFunctionDefs)Setter for property maxFunctionDefs.voidsetMaxInstructionDefs(int maxInstructionDefs)Setter for property maxInstructionDefs.voidsetMaxPoints(int maxPoints)Setter for property maxPoints.voidsetMaxSizeOfInstructions(int maxSizeOfInstructions)Setter for property maxSizeOfInstructions.voidsetMaxStackElements(int maxStackElements)Setter for property maxStackElements.voidsetMaxStorage(int maxStorage)Setter for property maxStorage.voidsetMaxTwilightPoints(int maxTwilightPoints)Setter for property maxTwilightPoints.voidsetMaxZones(int maxZones)Setter for property maxZones.voidsetNumGlyphs(int numGlyphs)Setter for property numGlyphs.voidsetVersion(int version)Setter for property version.java.lang.StringtoString()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:
setDatain classTrueTypeTable
-
getData
public java.nio.ByteBuffer getData()
Get a buffer from the data- Overrides:
getDatain classTrueTypeTable
-
getLength
public int getLength()
Get the length of this table- Overrides:
getLengthin 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:
toStringin classTrueTypeTable
-
-