org.w3c.tidy
Class PPrint

java.lang.Object
  |
  +--org.w3c.tidy.PPrint

public class PPrint
extends java.lang.Object


Field Summary
static short EFFECT_BLEND
           
static short EFFECT_BOX_IN
           
static short EFFECT_BOX_OUT
           
static short EFFECT_CHK_ACROSS
           
static short EFFECT_CHK_DOWN
           
static short EFFECT_CIRCLE_IN
           
static short EFFECT_CIRCLE_OUT
           
static short EFFECT_HORZ_BLINDS
           
static short EFFECT_RANDOM
           
static short EFFECT_RND_BARS_HORZ
           
static short EFFECT_RND_BARS_VERT
           
static short EFFECT_RND_DISSOLVE
           
static short EFFECT_SPLIT_HORZ_IN
           
static short EFFECT_SPLIT_HORZ_OUT
           
static short EFFECT_SPLIT_VIRT_IN
           
static short EFFECT_SPLIT_VIRT_OUT
           
static short EFFECT_STRIPS_LEFT_DOWN
           
static short EFFECT_STRIPS_LEFT_UP
           
static short EFFECT_STRIPS_RIGHT_DOWN
           
static short EFFECT_STRIPS_RIGHT_UP
           
static short EFFECT_VERT_BLINDS
           
static short EFFECT_WIPE_DOWN
           
static short EFFECT_WIPE_LEFT
           
static short EFFECT_WIPE_RIGHT
           
static short EFFECT_WIPE_UP
           
 
Constructor Summary
PPrint(Configuration configuration)
           
 
Method Summary
 void addTransitionEffect(Lexer lexer, Node root, short effect, double duration)
           
 void condFlushLine(Out fout, int indent)
           
 int countSlides(Node node)
           
 void createSlides(Lexer lexer, Node root)
           
 void flushLine(Out fout, int indent)
           
static int getUTF8(byte[] str, int start, MutableInteger ch)
           
 void printSlide(Out fout, short mode, int indent, Lexer lexer)
           
 void printTree(Out fout, short mode, int indent, Lexer lexer, Node node)
           
 void printXMLTree(Out fout, short mode, int indent, Lexer lexer, Node node)
           
static int putUTF8(byte[] buf, int start, int c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EFFECT_BLEND

public static final short EFFECT_BLEND
See Also:
Constant Field Values

EFFECT_BOX_IN

public static final short EFFECT_BOX_IN
See Also:
Constant Field Values

EFFECT_BOX_OUT

public static final short EFFECT_BOX_OUT
See Also:
Constant Field Values

EFFECT_CIRCLE_IN

public static final short EFFECT_CIRCLE_IN
See Also:
Constant Field Values

EFFECT_CIRCLE_OUT

public static final short EFFECT_CIRCLE_OUT
See Also:
Constant Field Values

EFFECT_WIPE_UP

public static final short EFFECT_WIPE_UP
See Also:
Constant Field Values

EFFECT_WIPE_DOWN

public static final short EFFECT_WIPE_DOWN
See Also:
Constant Field Values

EFFECT_WIPE_RIGHT

public static final short EFFECT_WIPE_RIGHT
See Also:
Constant Field Values

EFFECT_WIPE_LEFT

public static final short EFFECT_WIPE_LEFT
See Also:
Constant Field Values

EFFECT_VERT_BLINDS

public static final short EFFECT_VERT_BLINDS
See Also:
Constant Field Values

EFFECT_HORZ_BLINDS

public static final short EFFECT_HORZ_BLINDS
See Also:
Constant Field Values

EFFECT_CHK_ACROSS

public static final short EFFECT_CHK_ACROSS
See Also:
Constant Field Values

EFFECT_CHK_DOWN

public static final short EFFECT_CHK_DOWN
See Also:
Constant Field Values

EFFECT_RND_DISSOLVE

public static final short EFFECT_RND_DISSOLVE
See Also:
Constant Field Values

EFFECT_SPLIT_VIRT_IN

public static final short EFFECT_SPLIT_VIRT_IN
See Also:
Constant Field Values

EFFECT_SPLIT_VIRT_OUT

public static final short EFFECT_SPLIT_VIRT_OUT
See Also:
Constant Field Values

EFFECT_SPLIT_HORZ_IN

public static final short EFFECT_SPLIT_HORZ_IN
See Also:
Constant Field Values

EFFECT_SPLIT_HORZ_OUT

public static final short EFFECT_SPLIT_HORZ_OUT
See Also:
Constant Field Values

EFFECT_STRIPS_LEFT_DOWN

public static final short EFFECT_STRIPS_LEFT_DOWN
See Also:
Constant Field Values

EFFECT_STRIPS_LEFT_UP

public static final short EFFECT_STRIPS_LEFT_UP
See Also:
Constant Field Values

EFFECT_STRIPS_RIGHT_DOWN

public static final short EFFECT_STRIPS_RIGHT_DOWN
See Also:
Constant Field Values

EFFECT_STRIPS_RIGHT_UP

public static final short EFFECT_STRIPS_RIGHT_UP
See Also:
Constant Field Values

EFFECT_RND_BARS_HORZ

public static final short EFFECT_RND_BARS_HORZ
See Also:
Constant Field Values

EFFECT_RND_BARS_VERT

public static final short EFFECT_RND_BARS_VERT
See Also:
Constant Field Values

EFFECT_RANDOM

public static final short EFFECT_RANDOM
See Also:
Constant Field Values
Constructor Detail

PPrint

public PPrint(Configuration configuration)
Method Detail

getUTF8

public static int getUTF8(byte[] str,
                          int start,
                          MutableInteger ch)

putUTF8

public static int putUTF8(byte[] buf,
                          int start,
                          int c)

flushLine

public void flushLine(Out fout,
                      int indent)

condFlushLine

public void condFlushLine(Out fout,
                          int indent)

printTree

public void printTree(Out fout,
                      short mode,
                      int indent,
                      Lexer lexer,
                      Node node)

printXMLTree

public void printXMLTree(Out fout,
                         short mode,
                         int indent,
                         Lexer lexer,
                         Node node)

countSlides

public int countSlides(Node node)

printSlide

public void printSlide(Out fout,
                       short mode,
                       int indent,
                       Lexer lexer)

addTransitionEffect

public void addTransitionEffect(Lexer lexer,
                                Node root,
                                short effect,
                                double duration)

createSlides

public void createSlides(Lexer lexer,
                         Node root)