com.sun.pdfview.font.ttf

Class HheaTable

public class HheaTable extends TrueTypeTable

Constructor Summary
protected HheaTable()
Creates a new instance of HeadTable Makes up reasonable(?)
Method Summary
shortgetAdvanceWidthMax()
Getter for property advanceWidthMax.
shortgetAscent()
Getter for property ascent.
shortgetCaretOffset()
Getter for property caretOffset.
shortgetCaretSlopeRise()
Getter for property caretSlopeRise.
shortgetCaretSlopeRun()
Getter for property caretSlopeRun.
ByteBuffergetData()
Get the data we have stored
shortgetDescent()
Getter for property descent.
intgetLength()
Get the length of this table
shortgetLineGap()
Getter for property lineGap.
shortgetMetricDataFormat()
Getter for property metricDataFormat.
shortgetMinLeftSideBearing()
Getter for property minLeftSideBearing.
shortgetMinRightSideBearing()
Getter for property minRIghtSideBearing.
shortgetNumOfLongHorMetrics()
Getter for property numOfLongHorMetrics.
intgetVersion()
Getter for property version.
shortgetXMaxExtent()
Getter for property xMaxExtent.
voidsetAdvanceWidthMax(short advanceWidthMax)
Setter for property advanceWidthMax.
voidsetAscent(short ascent)
Setter for property ascent.
voidsetCaretOffset(short caretOffset)
Setter for property caretOffset.
voidsetCaretSlopeRise(short caretSlopeRise)
Setter for property caretSlopeRise.
voidsetCaretSlopeRun(short caretSlopeRun)
Setter for property caretSlopeRun.
voidsetData(ByteBuffer data)
Parse the data before it is set
voidsetDescent(short descent)
Setter for property descent.
voidsetLineGap(short lineGap)
Setter for property lineGap.
voidsetMetricDataFormat(short metricDataFormat)
Setter for property metricDataFormat.
voidsetMinLeftSideBearing(short minLeftSideBearing)
Setter for property minLeftSideBearing.
voidsetMinRightSideBearing(short minRightSideBearing)
Setter for property minRIghtSideBearing.
voidsetNumOfLongHorMetrics(short numOfLongHorMetrics)
Setter for property numOfLongHorMetrics.
voidsetVersion(int version)
Setter for property version.
voidsetXMaxExtent(short xMaxExtent)
Setter for property xMaxExtent.
StringtoString()
Create a pretty string

Constructor Detail

HheaTable

protected HheaTable()
Creates a new instance of HeadTable Makes up reasonable(?) defaults for all values

Method Detail

getAdvanceWidthMax

public short getAdvanceWidthMax()
Getter for property advanceWidthMax.

Returns: Value of property advanceWidthMax.

getAscent

public short getAscent()
Getter for property ascent.

Returns: Value of property ascent.

getCaretOffset

public short getCaretOffset()
Getter for property caretOffset.

Returns: Value of property caretOffset.

getCaretSlopeRise

public short getCaretSlopeRise()
Getter for property caretSlopeRise.

Returns: Value of property caretSlopeRise.

getCaretSlopeRun

public short getCaretSlopeRun()
Getter for property caretSlopeRun.

Returns: Value of property caretSlopeRun.

getData

public ByteBuffer getData()
Get the data we have stored

getDescent

public short getDescent()
Getter for property descent.

Returns: Value of property descent.

getLength

public int getLength()
Get the length of this table

getLineGap

public short getLineGap()
Getter for property lineGap.

Returns: Value of property lineGap.

getMetricDataFormat

public short getMetricDataFormat()
Getter for property metricDataFormat.

Returns: Value of property metricDataFormat.

getMinLeftSideBearing

public short getMinLeftSideBearing()
Getter for property minLeftSideBearing.

Returns: Value of property minLeftSideBearing.

getMinRightSideBearing

public short getMinRightSideBearing()
Getter for property minRIghtSideBearing.

Returns: Value of property minRIghtSideBearing.

getNumOfLongHorMetrics

public short getNumOfLongHorMetrics()
Getter for property numOfLongHorMetrics.

Returns: Value of property numOfLongHorMetrics.

getVersion

public int getVersion()
Getter for property version.

Returns: Value of property version.

getXMaxExtent

public short getXMaxExtent()
Getter for property xMaxExtent.

Returns: Value of property xMaxExtent.

setAdvanceWidthMax

public void setAdvanceWidthMax(short advanceWidthMax)
Setter for property advanceWidthMax.

Parameters: advanceWidthMax New value of property advanceWidthMax.

setAscent

public void setAscent(short ascent)
Setter for property ascent.

Parameters: ascent New value of property ascent.

setCaretOffset

public void setCaretOffset(short caretOffset)
Setter for property caretOffset.

Parameters: caretOffset New value of property caretOffset.

setCaretSlopeRise

public void setCaretSlopeRise(short caretSlopeRise)
Setter for property caretSlopeRise.

Parameters: caretSlopeRise New value of property caretSlopeRise.

setCaretSlopeRun

public void setCaretSlopeRun(short caretSlopeRun)
Setter for property caretSlopeRun.

Parameters: caretSlopeRun New value of property caretSlopeRun.

setData

public void setData(ByteBuffer data)
Parse the data before it is set

setDescent

public void setDescent(short descent)
Setter for property descent.

Parameters: descent New value of property descent.

setLineGap

public void setLineGap(short lineGap)
Setter for property lineGap.

Parameters: lineGap New value of property lineGap.

setMetricDataFormat

public void setMetricDataFormat(short metricDataFormat)
Setter for property metricDataFormat.

Parameters: metricDataFormat New value of property metricDataFormat.

setMinLeftSideBearing

public void setMinLeftSideBearing(short minLeftSideBearing)
Setter for property minLeftSideBearing.

Parameters: minLeftSideBearing New value of property minLeftSideBearing.

setMinRightSideBearing

public void setMinRightSideBearing(short minRightSideBearing)
Setter for property minRIghtSideBearing.

Parameters: minRightSideBearing New value of property minRIghtSideBearing.

setNumOfLongHorMetrics

public void setNumOfLongHorMetrics(short numOfLongHorMetrics)
Setter for property numOfLongHorMetrics.

Parameters: numOfLongHorMetrics New value of property numOfLongHorMetrics.

setVersion

public void setVersion(int version)
Setter for property version.

Parameters: version New value of property version.

setXMaxExtent

public void setXMaxExtent(short xMaxExtent)
Setter for property xMaxExtent.

Parameters: xMaxExtent New value of property xMaxExtent.

toString

public String toString()
Create a pretty string