org.pz.platypus.plugin.html
Class HtmlMarginLeft

java.lang.Object
  extended by org.pz.platypus.plugin.html.HtmlMarginLeft
All Implemented Interfaces:
IOutputCommand

public class HtmlMarginLeft
extends java.lang.Object
implements IOutputCommand

handles processing of the definition of a user string (macro). Handled by the plug-in because the same value can be redefined numerous times by the Platypus file in context-dependent ways.

Author:
ask

Field Summary
private  ParamType parameterType
           
private  java.lang.String root
           
private  boolean validInCode
           
 
Constructor Summary
HtmlMarginLeft()
           
 
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.
 
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

parameterType

private ParamType parameterType

validInCode

private boolean validInCode
Constructor Detail

HtmlMarginLeft

public HtmlMarginLeft()
Method Detail

process

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

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

getRoot

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

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


Copyright © 2008-10 Pacific Data Works LLC