com.lowagie.text.rtf.text
public class RtfTabGroup extends RtfAddableElement
RtfTabGroup tabs = new RtfTabGroup();
tabs.add(new RtfTab(70, RtfTab.TAB_LEFT_ALIGN));
tabs.add(new RtfTab(160, RtfTab.TAB_CENTER_ALIGN));
tabs.add(new RtfTab(250, RtfTab.TAB_DECIMAL_ALIGN));
tabs.add(new RtfTab(500, RtfTab.TAB_RIGHT_ALIGN));
Paragraph para = new Paragraph();
para.add(tabs);
para.add("\tLeft aligned\tCentre aligned\t12,45\tRight aligned");
Version: $Id: RtfTabGroup.java 3373 2008-05-12 16:21:24Z xlv $
Field Summary | |
---|---|
ArrayList | tabs
The tabs to add. |
Constructor Summary | |
---|---|
RtfTabGroup()
Constructs an empty RtfTabGroup. | |
RtfTabGroup(ArrayList tabs)
Constructs a RtfTabGroup with a set of tabs.
|
Method Summary | |
---|---|
void | add(RtfTab tab)
Adds a RtfTab to the list of grouped tabs.
|
void | writeContent(OutputStream result)
Combines the tab output form all grouped tabs. |
Parameters: tabs An ArrayList with the RtfTabs to group in this RtfTabGroup.
Parameters: tab The RtfTab to add.