| java.lang.Object org.apache.poi.hwpf.usermodel.HWPFList
HWPFList | public class HWPFList (Code) | | This class is used to create a list in a Word document. It is used in
conjunction with
org.apache.poi.hwpf.HWPFDocument.registerList(HWPFList) registerList in
org.apache.poi.hwpf.HWPFDocument HWPFDocument .
In Word, lists are not ranged entities, meaning you can't actually add one
to the document. Lists only act as properties for list entries. Once you
register a list, you can add list entries to a document that are a part of
the list.
The only benefit of this that I see, is that you can add a list entry
anywhere in the document and continue numbering from the previous list.
author: Ryan Ackley |
HWPFList | public HWPFList(boolean numbered, StyleSheet styleSheet)(Code) | | Parameters: numbered - true if the list should be numbered; false if it should bebulleted. Parameters: styleSheet - The document's stylesheet. |
setLevelNumberProperties | public void setLevelNumberProperties(int level, CharacterProperties chp)(Code) | | Sets the character properties of the list numbers.
Parameters: level - the level number that the properties should apply to. Parameters: chp - The character properties. |
setLevelParagraphProperties | public void setLevelParagraphProperties(int level, ParagraphProperties pap)(Code) | | Sets the paragraph properties for a particular level of the list.
Parameters: level - The level number. Parameters: pap - The paragraph properties |
setLevelStyle | public void setLevelStyle(int level, int styleIndex)(Code) | | |
|
|