Note that since this extends {@link ExtensibleItem}, extension by adding new entries should be relatively safe, even if old(er) clients; but caller would do well to check if unrecognized properties were found.
ListItem
is a Paragraph
that can be added to a List
. Example 1:
The result of this code looks like this:List list = new List(true, 20); list.add(new ListItem("First line")); list.add(new ListItem("The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?")); list.add(new ListItem("Third line"));
The result of this code looks like this:List overview = new List(false, 10); overview.add(new ListItem("This is an item")); overview.add("This is another item");
ListItem
is a Paragraph
that can be added to a List
. Example 1:
The result of this code looks like this:List list = new List(true, 20); list.add(new ListItem("First line")); list.add(new ListItem("The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?")); list.add(new ListItem("Third line"));
The result of this code looks like this:List overview = new List(false, 10); overview.add(new ListItem("This is an item")); overview.add("This is another item");
List
. An fo:list-item object in XSL-FO.
Note the inclusion of {@link CommonMarginInlineOptimumPa} in the "extends"list. The "space-start" and "space-end" properties are not included in the list of properties that apply to fo:list-item. However, "margin-left", "margin-right", "margin-top", and "margin-bottom" are included in that list, and, in the aXSL normalizations scheme, these can map to "space-start" and "space-end". Therefore, access to those properties must be made available to an fo:list-item.
@see "XSL-FO Recommendation 1.0, Section 6.8.3"Default {@link #getZclass}: z-listitem (since 5.0.0) @author tomyeh
|
|
|
|
|
|
|
|
|
|
|
|