|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFWArray
public class PDFWArray
Class representing a W array for CID fonts.
Constructor Summary | |
---|---|
PDFWArray()
Default constructor |
|
PDFWArray(int[] metrics)
Convenience constructor |
Method Summary | |
---|---|
void |
addEntry(int start,
int[] metrics)
Add an entry for single starting CID. |
void |
addEntry(int first,
int last,
int width)
Add an entry for a range of CIDs (/W element on p 213) |
void |
addEntry(int first,
int last,
int width,
int posX,
int posY)
Add an entry for a range of CIDs (/W2 element on p 210) |
byte[] |
toPDF()
Convert this object to PDF code. |
java.lang.String |
toPDFString()
Convert this object to PDF code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFWArray()
public PDFWArray(int[] metrics)
metrics
- the metrics array to initially addMethod Detail |
---|
public void addEntry(int start, int[] metrics)
start
- the starting CID value.metrics
- the metrics array.public void addEntry(int first, int last, int width)
first
- the first CID in the rangelast
- the last CID in the rangewidth
- the width for all CIDs in the rangepublic void addEntry(int first, int last, int width, int posX, int posY)
first
- the first CID in the rangelast
- the last CID in the rangewidth
- the width for all CIDs in the rangeposX
- the x component for the vertical position vectorposY
- the y component for the vertical position vectorpublic byte[] toPDF()
public java.lang.String toPDFString()
|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |