|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.dviware.type.AbstractDviCode
de.dante.dviware.type.DviPostamble
This class represents the DVI instruction post and the contents up to the terminating post_post.
Field Summary |
Fields inherited from interface de.dante.dviware.type.DviCode |
POP, PUSH, W0, X0, Y0, Z0 |
Constructor Summary | |
DviPostamble(int mag)
Creates a new object. |
Method Summary | |
java.lang.String |
getName()
Getter for the name f the DVI instruction. |
int |
mapFont(Font fnt,
java.util.List 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 de.dante.dviware.type.AbstractDviCode |
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 permilleMethod Detail |
public java.lang.String getName()
DviCode
DviCode.getName()
public int mapFont(Font fnt, java.util.List 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 instructionpublic int write(java.io.OutputStream stream) throws java.io.IOException
DviCode
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 |