|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListTable
public class RtfListTable
RtfListTable: used to make the list table in the header section of the RtfFile. This is the method that Word uses to make lists in RTF and the way most RTF readers, esp. Adobe FrameMaker read lists from RTF.
Field Summary | |
---|---|
static java.lang.String |
LIST
constant for a list |
static java.lang.String |
LIST_FOLLOWING_CHAR
constant for list following character |
static java.lang.String |
LIST_FONT_TYPE
constant for list font type |
static java.lang.String |
LIST_ID
constant for list ID |
static java.lang.String |
LIST_INDENT
constant for list indentation |
static java.lang.String |
LIST_JUSTIFICATION
constant for a list justification |
static java.lang.String |
LIST_LEVEL
constant for a list level |
static java.lang.String |
LIST_NAME
constant for list name |
static java.lang.String |
LIST_NUM_POSITION
constant for list number positioning |
static java.lang.String |
LIST_NUMBER
constant for list number |
static java.lang.String |
LIST_NUMBER_TYPE
constant for a list number type |
static java.lang.String |
LIST_OVR
constant for list override |
static java.lang.String |
LIST_OVR_COUNT
constant for list override count |
static java.lang.String |
LIST_OVR_TABLE
constant for list override table |
static java.lang.String |
LIST_SPACE
constant for list space |
static java.lang.String |
LIST_START_AT
constant for list start at |
static java.lang.String |
LIST_TABLE
constant for a list table |
static java.lang.String[] |
LIST_TABLE_ATTR
String array of list table attributes |
static java.lang.String |
LIST_TEMPLATE_ID
constant for a list template id |
static java.lang.String |
LIST_TEXT_FORM
constant for list text format |
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
attrib, parent, writer |
Constructor Summary | |
---|---|
RtfListTable(RtfContainer parent,
java.io.Writer w,
java.lang.Integer num,
RtfAttributes attrs)
RtfListTable Constructor: sets the number of the list, and allocates for the RtfAttributes |
Method Summary | |
---|---|
int |
addList(RtfList list)
Add List |
int |
addRtfListStyle(RtfListStyle ls)
Add list style |
boolean |
isEmpty()
Since this has no text content we have to overwrite isEmpty to print the table |
void |
writeRtfContent()
Write the content |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer |
---|
addChild, getChildCount, getChildren, okToWriteRtf, setChildren, setOptions, toString |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
close, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LIST_TABLE
public static final java.lang.String LIST
public static final java.lang.String LIST_TEMPLATE_ID
public static final java.lang.String LIST_LEVEL
public static final java.lang.String LIST_NUMBER_TYPE
public static final java.lang.String LIST_JUSTIFICATION
public static final java.lang.String LIST_FOLLOWING_CHAR
public static final java.lang.String LIST_START_AT
public static final java.lang.String LIST_SPACE
public static final java.lang.String LIST_INDENT
public static final java.lang.String LIST_TEXT_FORM
public static final java.lang.String LIST_NUM_POSITION
public static final java.lang.String LIST_NAME
public static final java.lang.String LIST_ID
public static final java.lang.String LIST_FONT_TYPE
public static final java.lang.String LIST_OVR_TABLE
public static final java.lang.String LIST_OVR
public static final java.lang.String LIST_OVR_COUNT
public static final java.lang.String LIST_NUMBER
public static final java.lang.String[] LIST_TABLE_ATTR
Constructor Detail |
---|
public RtfListTable(RtfContainer parent, java.io.Writer w, java.lang.Integer num, RtfAttributes attrs) throws java.io.IOException
parent
- RtfContainer holding this RtfListTablew
- Writernum
- number of the list in the documentattrs
- attributes of new RtfListTable
java.io.IOException
- for I/O problemsMethod Detail |
---|
public int addList(RtfList list)
list
- RtfList to add
public void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfContainer
java.io.IOException
- for I/O problemspublic boolean isEmpty()
isEmpty
in class RtfContainer
public int addRtfListStyle(RtfListStyle ls)
ls
- ListStyle to set
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |