Platypus

org.pz.platypus.plugin.pdf.commands
Class PdfCodeOn

java.lang.Object
  extended by org.pz.platypus.plugin.pdf.commands.PdfCodeOn
All Implemented Interfaces:
OutputCommandable

public class PdfCodeOn
extends java.lang.Object
implements OutputCommandable

Begin a code section or code listing


Field Summary
private  java.lang.String root
           
 
Constructor Summary
PdfCodeOn()
           
 
Method Summary
 java.lang.String getRoot()
          get the root of the command.
 int process(OutputContextable context, Token tok, int tokNum)
          method for processing this command in the output plugin.
private  void setEolTreatmentToHard(PdfData pdd, Token token)
           
private  void setUnderlineToFalse(PdfData pdd, Token token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

private java.lang.String root
Constructor Detail

PdfCodeOn

public PdfCodeOn()
Method Detail

process

public int process(OutputContextable context,
                   Token tok,
                   int tokNum)
Description copied from interface: OutputCommandable
method for processing this command in the output plugin.

Specified by:
process in interface OutputCommandable
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

setEolTreatmentToHard

private void setEolTreatmentToHard(PdfData pdd,
                                   Token token)

setUnderlineToFalse

private void setUnderlineToFalse(PdfData pdd,
                                 Token token)

getRoot

public java.lang.String getRoot()
Description copied from interface: OutputCommandable
get the root of the command. For example, fsize: in [fsize:12pt]

Specified by:
getRoot in interface OutputCommandable
Returns:
the root as a string

Platypus

Copyright © 2006-10 Pacific Data Works LLC. (platypus.pz.org)