org.pz.platypus.interfaces
Interface IOutputCommand

All Known Implementing Classes:
BulletListPlainEnd, BulletListPlainStart, BulletListPlainStartWithOptions, DefUserString, HtmlBoldOff, HtmlBoldOn, HtmlEol, HtmlEoParagraph, HtmlFface, HtmlFsize, HtmlHardCR, HtmlItalicsOff, HtmlItalicsOn, HtmlMarginLeft, HtmlMarginRight, HtmlMarginTop, HtmlPageWidth, HtmlParagraphIndent, HtmlParagraphIndentRight, HtmlParagraphSkip, HtmlStrikethruOff, HtmlStrikethruOn, HtmlUnderlineOff, HtmlUnderlineOn, HtmlUrl, PdfAlignment, PdfBoldOff, PdfBoldOn, PdfBulletListPlainEnd, PdfBulletListPlainStart, PdfBulletListPlainStartWithOptions, PdfCodeOff, PdfCodeOn, PdfCodeWithOptions, PdfColumnCount, PdfColumnWidth, PdfDump, PdfEol, PdfEolTreatment, PdfEoParagraph, PdfFface, PdfFirstLineIndent, PdfFooterOff, PdfFooterOn, PdfFsize, PdfHardCR, PdfItalicsOff, PdfItalicsOn, PdfLeading, PdfMarginBottom, PdfMarginLeft, PdfMarginRight, PdfMarginsMirrored, PdfMarginTop, PdfNewPage, PdfNoIndent, PdfPageHeight, PdfPageSize, PdfPageWidth, PdfParagraphIndent, PdfParagraphIndentRight, PdfParagraphSkip, PdfPrintVariable, PdfRestoreFormat, PdfSaveFormat, PdfScript, PdfStrikethruOff, PdfStrikethruOn, PdfSymbol, PdfUnderlineOff, PdfUnderlineOn, PdfUrl, PdfUrlWithCoverText, PdfUrlWithCoverTextEnd, RtfMarginBottom, RtfMarginLeft, RtfMarginRight, RtfMarginTop, UrlRaw, UrlWithCoverText, UrlWithCoverTextEnd

public interface IOutputCommand

Interface for individual commands as used in the output plugins.


Method Summary
 java.lang.String getRoot()
          get the root of the command.
 int process(IOutputContext context, Token tok, int tokNum)
          method for processing this command in the output plugin.
 

Method Detail

getRoot

java.lang.String getRoot()
get the root of the command. For example, fsize: in [fsize:12pt]

Returns:
the root as a string

process

int process(IOutputContext context,
            Token tok,
            int tokNum)
method for processing this command in the output plugin.

Parameters:
context - the context/state of the output document
tok - the command token as found in the token stream
tokNum - the number of the token in the token list


Copyright © 2008-10 Pacific Data Works LLC