|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageContext
This interface describes the possibilities of the typesetter to access its options.
| Method Summary | |
|---|---|
FixedCount |
getCountOption(java.lang.String name)
Getter for a count register. |
FixedDimen |
getDimenOption(java.lang.String name)
Getter for a dimen register. |
Font |
getFont(java.lang.String name)
Getter for a current font register. |
FixedGlue |
getGlueOption(java.lang.String name)
Getter for a glue register. |
UnicodeChar |
getLccode(UnicodeChar uc)
Getter for the lccode mapping of upper case characters to their lower case equivalent. |
Muskip |
getMuskip(java.lang.String name)
Getter for a muskip register. |
java.lang.String |
getNamespace()
Getter for the current name space. |
OutFile |
getOutFile(java.lang.String key)
Getter for an output file descriptor. |
ParagraphShape |
getParshape()
Getter for the paragraph shape. |
TokenFactory |
getTokenFactory()
Getter for the token factory. |
TypesettingContext |
getTypesettingContext()
Getter for the typesetting context. |
TypesettingContextFactory |
getTypesettingContextFactory()
Getter for the typesetting context factory. |
void |
setCountOption(java.lang.String name,
long value)
Setter for a count register. |
void |
setMark(java.lang.Object index,
Tokens mark)
Setter for a mark. |
void |
setOutFile(java.lang.String key,
OutFile file,
boolean global)
Setter for a outfile descriptor. |
void |
setParshape(ParagraphShape shape)
Setter for the paragraph shape. |
| Method Detail |
|---|
FixedCount getCountOption(java.lang.String name)
name - the name of the register
FixedDimen getDimenOption(java.lang.String name)
name - the name of the register
Font getFont(java.lang.String name)
name - the name or the number of the register
null if none is setFixedGlue getGlueOption(java.lang.String name)
name - the name of the register
UnicodeChar getLccode(UnicodeChar uc)
uc - the upper case character
Muskip getMuskip(java.lang.String name)
name - the name of the register
java.lang.String getNamespace()
OutFile getOutFile(java.lang.String key)
key - the name or the number of the file register
ParagraphShape getParshape()
null if no special shape
is presentTokenFactory getTokenFactory()
TypesettingContext getTypesettingContext()
TypesettingContextFactory getTypesettingContextFactory()
void setCountOption(java.lang.String name,
long value)
throws GeneralException
name - the name of the registervalue - the value
GeneralException - in case of an error
void setMark(java.lang.Object index,
Tokens mark)
index - the name of the markmark - the vale of the mark
void setOutFile(java.lang.String key,
OutFile file,
boolean global)
key - the name or the number of the file registerfile - the descriptor of the output fileglobal - the indicator for the scope; true means all
groups; otherwise the current group is affected onlyvoid setParshape(ParagraphShape shape)
shape - the new paragraph shape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||