|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Token in org.pz.platypus |
---|
Methods in org.pz.platypus that return Token | |
---|---|
Token |
TokenList.getNextToken(int tokNumber)
Gets the next token after the token pointed to by the tokenNumber |
Token |
TokenList.getPrevToken(int tokNum)
Returns the token previous to the one whose number is passed in |
Methods in org.pz.platypus with parameters of type Token | |
---|---|
boolean |
Token.sourceEquals(Token t2)
Determines whether another Token has the same file # and line # as this |
Uses of Token in org.pz.platypus.commands |
---|
Methods in org.pz.platypus.commands with parameters of type Token | |
---|---|
protected abstract int |
BulletListPlainEnd.endBulletList(IOutputContext context,
Token tok,
int tokNum)
|
private void |
BulletListPlainStartWithOptions.errorNoParameterForStartList(GDD gdd,
Token tok)
Issue error if no parameter was specified |
protected int |
CodeWithOptions.preProcess(IOutputContext context,
Token tok,
int tokNum)
Basic command housekeeing. |
int |
UrlWithCoverTextEnd.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
UrlWithCoverText.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
UrlRaw.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
BulletListPlainStartWithOptions.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
BulletListPlainStart.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
BulletListPlainEnd.process(IOutputContext context,
Token tok,
int tokNum)
|
private void |
UrlRaw.showErrorMsg(IOutputContext context,
Token tok)
Show error message, giving location in Platypus input file |
private void |
UrlWithCoverTextEnd.showErrorMsg(Token tok,
IOutputContext context)
Show error message, giving location in Platypus input file |
private void |
UrlWithCoverText.showNoCoverTextlErrorMsg(Token tok,
IOutputContext context)
|
private void |
UrlWithCoverText.showNullUrlErrorMsg(Token tok,
IOutputContext context)
Show error message, giving location in Platypus input file |
private void |
UrlWithCoverText.showUnclosedUrlCoverTextErrorMsg(Token tok,
GDD gdd)
|
protected abstract int |
BulletListPlainStartWithOptions.startNewList(IOutputContext context,
Token tok,
int tokNum)
|
protected abstract int |
BulletListPlainStart.startNewList(IOutputContext context,
Token tok,
int tokNum)
|
Uses of Token in org.pz.platypus.interfaces |
---|
Methods in org.pz.platypus.interfaces with parameters of type Token | |
---|---|
int |
IOutputCommand.process(IOutputContext context,
Token tok,
int tokNum)
method for processing this command in the output plugin. |
Uses of Token in org.pz.platypus.plugin.html |
---|
Methods in org.pz.platypus.plugin.html with parameters of type Token | |
---|---|
private void |
Start.errMsgUnrecognizedCommand(Token tok,
GDD gdd)
Output error message to logger for unrecognized command |
int |
HtmlMarginLeft.process(IOutputContext context,
Token tok,
int tokNum)
|
(package private) void |
Start.processCommand(Token tok,
HtmlData htmlData,
int tokNum)
Principal method for implementing command tokens |
(package private) void |
Start.processSymbol(GDD gdd,
java.lang.String filename,
Token tok,
int tokNum,
HtmlData pdd)
Process a symbol or foreign character |
Uses of Token in org.pz.platypus.plugin.html.commands |
---|
Methods in org.pz.platypus.plugin.html.commands with parameters of type Token | |
---|---|
private boolean |
HtmlHardCR.isFirstTokenInLine(IOutputContext context,
Token tok,
int tokNum)
Determines whether the current [] is the first token in the line (which means either the absolute first token, or the first token other than a command). |
int |
HtmlUnderlineOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlUnderlineOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlStrikethruOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlStrikethruOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlParagraphSkip.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlParagraphIndentRight.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlParagraphIndent.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlPageWidth.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlMarginTop.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlMarginRight.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlItalicsOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlItalicsOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlHardCR.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlFsize.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlFface.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlEoParagraph.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlEol.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlBoldOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
HtmlBoldOff.process(IOutputContext context,
Token tok,
int tokNum)
|
private void |
HtmlFsize.updateLeading(IOutputContext context,
Token tok,
int tokNum,
float newFontSize)
Updates the leading by running the command PdfLeading with the new value |
Uses of Token in org.pz.platypus.plugin.listing |
---|
Fields in org.pz.platypus.plugin.listing declared as Token | |
---|---|
private Token |
HtmlTextListingStrategy.tok
|
private Token |
HtmlSymbolListingStrategy.tok
|
private Token |
HtmlMacroListingStrategy.tok
|
private Token |
HtmlLineCommentListingStrategy.tok
|
private Token |
HtmlLineBreakStrategy.tok
|
private Token |
HtmlCRListingStrategy.tok
|
private Token |
HtmlCompoundCommandListingStrategy.tok
|
private Token |
HtmlCommandListingStrategy.tok
|
private Token |
HtmlBlockCommentListingStrategy.tok
|
Methods in org.pz.platypus.plugin.listing with parameters of type Token | |
---|---|
java.lang.String |
HtmlTextListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlSymbolListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlMacroListingStrategy.format(Token tok,
GDD gdd)
|
abstract java.lang.String |
HtmlListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlLineCommentListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlLineBreakStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlCRListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlCompoundCommandListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlCommandListingStrategy.format(Token tok,
GDD gdd)
|
java.lang.String |
HtmlBlockCommentListingStrategy.format(Token tok,
GDD gdd)
|
static HtmlListingStrategy |
HtmlListingStrategy.getFormatStrategy(Token tok)
The "factory method" for creating the correct Strategy instance. |
private boolean |
Start.isItANewHtmlLine(Token tok,
int lineNumber)
Should we start a new Html line? Every token carries with it the original source line number. |
private void |
Start.printToken(java.io.FileWriter outfile,
GDD gdd,
Token tok)
Print the token contents with all the Html bells and whistles (colors, bold fonts, line breaks etc.) Get the Html string and output it to the output file. |
private int |
Start.skipNextTokens(int currTokIndex,
Token tok,
TokenList tokensList)
We skip next one or many tokens at times. |
private boolean |
Start.skipThisToken(Token tok,
TokenList tokensList,
int i)
Will the next record indicate the present command is a replacement? If so, don't print this command, just skip it. |
private int |
Start.startANewHtmlLine(java.io.FileWriter outfile,
GDD gdd,
Token tok)
Start a new Html line. |
Constructors in org.pz.platypus.plugin.listing with parameters of type Token | |
---|---|
HtmlBlockCommentListingStrategy(Token tok)
|
|
HtmlCommandListingStrategy(Token tok)
|
|
HtmlCompoundCommandListingStrategy(Token tok)
|
|
HtmlCRListingStrategy(Token tok)
|
|
HtmlLineBreakStrategy(Token tok)
|
|
HtmlLineCommentListingStrategy(Token tok)
|
|
HtmlMacroListingStrategy(Token tok)
|
|
HtmlSymbolListingStrategy(Token tok)
|
|
HtmlTextListingStrategy(Token tok)
|
Uses of Token in org.pz.platypus.plugin.pdf |
---|
Fields in org.pz.platypus.plugin.pdf declared as Token | |
---|---|
(package private) Token |
TextIndenter.tok
|
Methods in org.pz.platypus.plugin.pdf with parameters of type Token | |
---|---|
private void |
Start.errMsgUnrecognizedCommand(Token tok,
GDD gdd)
Output error message to logger for unrecognized command |
(package private) int |
Start.processCommand(Token tok,
PdfData pdfData,
int tokNum)
Principal method for implementing command tokens |
(package private) void |
Start.processMacro(GDD gdd,
Token tok,
int tokNum)
Look up the macro and insert a new token with the text right after the present token |
(package private) void |
Start.processSymbol(java.lang.String filename,
Token tok,
int tokNum,
PdfData pdd)
Process a symbol or foreign character |
Constructors in org.pz.platypus.plugin.pdf with parameters of type Token | |
---|---|
TextIndenter(Token t,
PdfData pd)
|
Uses of Token in org.pz.platypus.plugin.pdf.commands |
---|
Methods in org.pz.platypus.plugin.pdf.commands with parameters of type Token | |
---|---|
(package private) void |
PdfDump.doHeading(GDD gdd,
Token tok)
Print the heading before the dump that states the location in the file of the [dump: command. |
(package private) void |
PdfDump.dumpAll(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
Dump all available info. |
(package private) void |
PdfDump.dumpCommandLine(GDD gdd,
Token tok,
boolean doHeading)
Dump the command line and related data. |
(package private) void |
PdfDump.dumpPage(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
Dump the page dimensions and related data. |
(package private) void |
PdfDump.dumpParagraph(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
Dump the paragraph dimensions and related data. |
(package private) void |
PdfDump.dumpUserStrings(GDD gdd,
Token tok,
boolean doHeading)
Dump the user strings, one k,v pair per line. |
private void |
PdfCodeWithOptions.emitCode(float fontSize,
PdfData pdd,
Token tok)
Emits code |
protected int |
PdfBulletListPlainEnd.endBulletList(IOutputContext context,
Token tok,
int tokNum)
|
private boolean |
PdfCodeWithOptions.endOfCode(Token tok)
At the [-code] token? (So, at end of code?) |
private void |
PdfBulletListPlainStartWithOptions.errorBulletSymbolNotFound(GDD gdd,
Token tok)
|
private void |
PdfBulletListPlainStartWithOptions.errorInvalidOption(GDD gdd,
Token tok)
|
private void |
PdfBulletListPlainStartWithOptions.errorUnclosedOption(GDD gdd,
Token tok)
|
(package private) java.lang.String |
PdfSymbol.extractFontName(java.lang.String fontName,
GDD gdd,
Token tok)
Extracts the font name from an extended entry in PdfSymbols.properties, such as: [trademark]={SYMBOL}\\u00E4, where the font name is between braces (so SYMBOL, in this example). |
java.lang.String |
PdfSymbol.getFontName(java.lang.String symbolEquiv,
GDD gdd,
Token tok)
|
private boolean |
PdfCodeWithOptions.isBlankLine(Token t)
Is the token a blank line (so, [CR]) ? |
private boolean |
PdfHardCR.isFirstTokenInLine(IOutputContext context,
Token tok,
int tokNum)
Determines whether the current [] is the first token in the line (which means either the absolute first token, or the first token other than a command). |
private boolean |
PdfCodeWithOptions.isText(Token t)
Is the token text? |
(package private) com.lowagie.text.Chunk |
PdfBulletListPlainStartWithOptions.lookupBulletSymbol(java.lang.String param,
Token tok,
PdfData pdd)
Look up the symbol in the symbol table and get the Unicode value and any symbol font info. |
int |
PdfUnderlineOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfUnderlineOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfSymbol.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfStrikethruOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfStrikethruOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfScript.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfSaveFormat.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfRestoreFormat.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfPrintVariable.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfParagraphSkip.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfParagraphIndentRight.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfParagraphIndent.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfPageWidth.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfPageSize.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfPageHeight.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfNoIndent.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfNewPage.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfMarginTop.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfMarginsMirrored.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfMarginRight.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfMarginLeft.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfMarginBottom.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfLeading.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfItalicsOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfItalicsOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfHardCR.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfFsize.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfFooterOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfFooterOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfFirstLineIndent.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfFface.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfEoParagraph.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfEolTreatment.process(IOutputContext context,
Token tok,
int tokNum)
Validate the specified EOL treatment and set it in pdfData if the setting is valid |
int |
PdfEol.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfDump.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfColumnWidth.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfColumnCount.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfCodeWithOptions.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfCodeOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfCodeOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfBoldOn.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfBoldOff.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
PdfAlignment.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
DefUserString.process(IOutputContext context,
Token tok,
int tokNum)
|
private void |
PdfCodeOn.setEolTreatmentToHard(PdfData pdd,
Token token)
|
private void |
PdfCodeOn.setUnderlineToFalse(PdfData pdd,
Token token)
|
private void |
PdfEolTreatment.showError(Token tok,
PdfData pdata)
Show an error message in case a wrong value is specified |
(package private) void |
PdfParagraphIndentRight.showErrorMsg(Token tok,
PdfData pdf)
Show error message, giving location in Platypus input file |
(package private) void |
PdfParagraphIndent.showErrorMsg(Token tok,
PdfData pdf)
Show error message, giving location in Platypus input file |
(package private) void |
PdfFirstLineIndent.showErrorMsg(Token tok,
PdfData pdf)
Show error message, giving location in Platypus input file |
(package private) void |
PdfColumnWidth.showErrorMsg(Token tok,
PdfData pdd,
float width)
Show error message, giving location in Platypus input file |
protected int |
PdfBulletListPlainStartWithOptions.startNewList(IOutputContext context,
Token tok,
int tokNum)
Extracts the bullet character/symbol from the passed parameter and starts a bullet list using it. |
protected int |
PdfBulletListPlainStart.startNewList(IOutputContext context,
Token tok,
int tokNum)
|
protected void |
PdfCodeWithOptions.switchToCodeMode(PdfData pdd,
Token tok,
int tokNum)
Code mode means saving the current format and switching to a code font. |
private void |
PdfFsize.updateLeading(IOutputContext context,
Token tok,
int tokNum,
float newFontSize)
Updates the leading by running the command PdfLeading with the new value |
Uses of Token in org.pz.platypus.plugin.rtf |
---|
Methods in org.pz.platypus.plugin.rtf with parameters of type Token | |
---|---|
static RtfOutputStrategy |
RtfOutputStrategy.getFormatStrategy(Token tok)
The "factory method" for creating the correct Strategy instance. |
void |
Start.processCommand(GDD gdd,
RtfCommandTable commandTable,
Token tok,
int tokNum)
Gets the RTF command and executes it. |
void |
Start.processText(GDD gdd,
Token tok,
RtfOutfile outfile)
Validates that there is text to output and then writes it as a string to the file. |
int |
Start.processToken(GDD gdd,
Token tok,
RtfOutfile outfile,
int tokenNumber)
Processes the individual tokens |
Uses of Token in org.pz.platypus.plugin.rtf.commands |
---|
Methods in org.pz.platypus.plugin.rtf.commands with parameters of type Token | |
---|---|
int |
RtfMarginTop.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
RtfMarginRight.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
RtfMarginLeft.process(IOutputContext context,
Token tok,
int tokNum)
|
int |
RtfMarginBottom.process(IOutputContext context,
Token tok,
int tokNum)
|
Uses of Token in org.pz.platypus.utilities |
---|
Methods in org.pz.platypus.utilities with parameters of type Token | |
---|---|
static java.lang.String |
ErrorMsg.location(GDD gdd,
Token tok)
Most Platypus error messages start with the file# and line# where an error occurred. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |