org.pz.platypus.commands
Class BulletListPlainStart
java.lang.Object
org.pz.platypus.commands.BulletListPlainStart
- All Implemented Interfaces:
- IOutputCommand
- Direct Known Subclasses:
- PdfBulletListPlainStart
public abstract class BulletListPlainStart
- extends java.lang.Object
- implements IOutputCommand
Abstract portion of command that marks the beginning of a plain bullet list (default indent and bullet char)
- Author:
- alb
Field Summary |
private java.lang.String |
root
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
private final java.lang.String root
- See Also:
- Constant Field Values
BulletListPlainStart
public BulletListPlainStart()
startNewList
protected abstract int startNewList(IOutputContext context,
Token tok,
int tokNum)
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 documenttok
- the command token as found in the token streamtokNum
- 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