| java.lang.Object com.lowagie.text.Chunk com.lowagie.text.rtf.RtfTOC
RtfTOC | public class RtfTOC extends Chunk implements RtfField(Code) | | This class can be used to insert a table of contents into
the RTF document.
Therefore the field TOC is used. It works great in Word 2000.
StarOffice doesn't support such fields. Other word version
are not tested yet.
ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
This class is based on the RtfWriter-package from Mark Hall.
author: Steffen.Stundzig (Steffen.Stundzig@smb-tec.com) version: $Revision: 2698 $Date: 2007/03/15 19:26:36 $ |
RtfTOC | public RtfTOC(String tocName, Font tocFont)(Code) | | Parameters: tocName - the headline of the table of contents Parameters: tocFont - the font for the headline |
addTOCAsTOCEntry | public void addTOCAsTOCEntry(String entryName, Font entryFont)(Code) | | Add a toc entry
Parameters: entryName - the name of the entry Parameters: entryFont - the font to be used for the entry |
setDefaultText | public void setDefaultText(String text)(Code) | | Sets the default text of the Table of Contents
Parameters: text - the default text |
Methods inherited from com.lowagie.text.Chunk | public static Object[][] addToArray(Object original, Object item)(Code)(Java Doc) public StringBuffer append(String string)(Code)(Java Doc) public String content()(Code)(Java Doc) public Font font()(Code)(Java Doc) public HashMap getAttributes()(Code)(Java Doc) public ArrayList getChunks()(Code)(Java Doc) public String getContent()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public float getHorizontalScaling()(Code)(Java Doc) public Image getImage()(Code)(Java Doc) public static Set getKeySet(Hashtable table)(Code)(Java Doc) public float getTextRise()(Code)(Java Doc) public float getWidthPoint()(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) public boolean process(ElementListener listener)(Code)(Java Doc) public Chunk setAction(PdfAction action)(Code)(Java Doc) public Chunk setAnchor(URL url)(Code)(Java Doc) public Chunk setAnchor(String url)(Code)(Java Doc) public Chunk setAnnotation(PdfAnnotation annotation)(Code)(Java Doc) public void setAttributes(HashMap attributes)(Code)(Java Doc) public Chunk setBackground(Color color)(Code)(Java Doc) public Chunk setBackground(Color color, float extraLeft, float extraBottom, float extraRight, float extraTop)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public Chunk setGenericTag(String text)(Code)(Java Doc) public Chunk setHorizontalScaling(float scale)(Code)(Java Doc) public Chunk setHyphenation(HyphenationEvent hyphenation)(Code)(Java Doc) public Chunk setLocalDestination(String name)(Code)(Java Doc) public Chunk setLocalGoto(String name)(Code)(Java Doc) public Chunk setNewPage()(Code)(Java Doc) public Chunk setRemoteGoto(String filename, String name)(Code)(Java Doc) public Chunk setRemoteGoto(String filename, int page)(Code)(Java Doc) public Chunk setSkew(float alpha, float beta)(Code)(Java Doc) public Chunk setSplitCharacter(SplitCharacter splitCharacter)(Code)(Java Doc) public Chunk setTextRenderMode(int mode, float strokeWidth, Color strokeColor)(Code)(Java Doc) public Chunk setTextRise(float rise)(Code)(Java Doc) public Chunk setUnderline(float thickness, float yPosition)(Code)(Java Doc) public Chunk setUnderline(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int cap)(Code)(Java Doc) public String toString()(Code)(Java Doc) public int type()(Code)(Java Doc)
|
|
|