|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.plugin.pdf.commands.PdfCodeOff
public class PdfCodeOff
End of a code section or code listing
Field Summary | |
---|---|
private java.lang.String |
root
|
Constructor Summary | |
---|---|
PdfCodeOff()
|
Method Summary | |
---|---|
java.lang.String |
getRoot()
get the root of the command. |
(package private) boolean |
justBeforeEndOfParagraph(TokenList tokens,
int tokNum)
A new paragraph adds the requisite number of lines presuming that it's adding them to the end of the previous paragraph, not at the start of the next line, as is the case here when [-code] is followed by a [cr]. |
(package private) boolean |
nextTokenIsEol(TokenList tokens,
int tokNum)
Is the next command an end of line, that is, a [cr] command? |
int |
process(IOutputContext context,
Token tok,
int tokNum)
method for processing this command in the output plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String root
Constructor Detail |
---|
public PdfCodeOff()
Method Detail |
---|
public int process(IOutputContext context, Token tok, int tokNum)
IOutputCommand
process
in interface IOutputCommand
context
- the context/state of the output documenttok
- the command token as found in the token streamtokNum
- the number of the token in the token listboolean nextTokenIsEol(TokenList tokens, int tokNum)
tokens
- list of input tokenstokNum
- number of the current token, that is, of [-code]
boolean justBeforeEndOfParagraph(TokenList tokens, int tokNum)
tokens
- list of input tokenstokNum
- number of the current token, that is, of [-code]
public java.lang.String getRoot()
IOutputCommand
getRoot
in interface IOutputCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |