|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.dviware.type.AbstractDviCode
org.extex.dviware.type.DviPostamble
public class DviPostamble
This class represents the DVI instruction post and the contents up to the terminating post_post.
| Field Summary |
|---|
| Fields inherited from class org.extex.dviware.type.AbstractDviCode |
|---|
ONE_BYTE_MASK, THREE_BYTE_MASK, TWO_BYTE_MASK |
| Fields inherited from interface org.extex.dviware.type.DviCode |
|---|
POP, PUSH, W0, X0, Y0, Z0 |
| Constructor Summary | |
|---|---|
DviPostamble(int mag)
Creates a new object. |
|
| Method Summary | |
|---|---|
int |
mapFont(Font fnt,
java.util.List<DviCode> list)
Determine the font index and insert a font definition into the output list if required. |
void |
recognizePage(FixedDimen height,
FixedDimen depth,
FixedDimen width,
int stacksize)
See a page and remember everything needed to be written out at the end. |
void |
setBop(int bopPointer)
Setter for the bop index. |
void |
setOffset(int pointer)
Setter for the offset of the last bop instruction. |
int |
write(java.io.OutputStream stream)
Write the code to the output stream. |
| Methods inherited from class org.extex.dviware.type.AbstractDviCode |
|---|
getName, opcode, opcodeSigned, variant, write2, write3, write4 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DviPostamble(int mag)
mag - the magnification factor in permille| Method Detail |
|---|
public int mapFont(Font fnt,
java.util.List<DviCode> list)
fnt - the font to resolvelist - the list to add the font definition to
public void recognizePage(FixedDimen height,
FixedDimen depth,
FixedDimen width,
int stacksize)
height - the height of the pagedepth - the depth of the pagewidth - the width of the pagestacksize - the stack size needed to process the push and pop
operations of the current pagepublic void setBop(int bopPointer)
bopPointer - the pointer to the last BOPpublic void setOffset(int pointer)
pointer - the offset for the last bop instruction
public int write(java.io.OutputStream stream)
throws java.io.IOException
stream - the target stream
java.io.IOException - in case of an errorDviCode.write(java.io.OutputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||