public class ListOptions extends Object implements com.vladsch.flexmark.util.options.MutableDataSetter
| Modifier and Type | Class and Description |
|---|---|
static class |
ListOptions.ItemInterrupt |
static class |
ListOptions.MutableItemInterrupt |
| Constructor and Description |
|---|
ListOptions() |
protected ParserEmulationProfile myParserEmulationProfile
protected ListOptions.ItemInterrupt itemInterrupt
protected boolean autoLoose
protected boolean autoLooseOneLevelLists
protected boolean delimiterMismatchToNewList
protected boolean endOnDoubleBlank
protected boolean itemMarkerSpace
protected boolean itemTypeMismatchToNewList
protected boolean itemTypeMismatchToSubList
protected boolean looseWhenPrevHasTrailingBlankLine
protected boolean looseWhenLastItemPrevHasTrailingBlankLine
protected boolean looseWhenHasNonListChildren
protected boolean looseWhenBlankLineFollowsItemParagraph
protected boolean looseWhenHasLooseSubItem
protected boolean looseWhenHasTrailingBlankLine
protected boolean looseWhenContainsBlankLine
protected boolean numberedItemMarkerSuffixed
protected boolean orderedItemDotOnly
protected boolean orderedListManualStart
protected boolean itemContentAfterSuffix
protected String itemPrefixChars
protected int codeIndent
protected int itemIndent
protected int newItemCodeIndent
protected String[] itemMarkerSuffixes
public static ListOptions getFrom(com.vladsch.flexmark.util.options.DataHolder options)
public static ListOptions getNew(com.vladsch.flexmark.util.options.DataHolder options)
public boolean isTightListItem(ListItem node)
public boolean isInTightListItem(Paragraph node)
public boolean canInterrupt(ListBlock a, boolean isEmptyItem, boolean isItemParagraph)
public boolean canStartSubList(ListBlock a, boolean isEmptyItem)
public MutableListOptions getMutable()
public com.vladsch.flexmark.util.options.MutableDataHolder setIn(com.vladsch.flexmark.util.options.MutableDataHolder options)
setIn in interface com.vladsch.flexmark.util.options.MutableDataSetterpublic static void addItemMarkerSuffixes(com.vladsch.flexmark.util.options.MutableDataHolder options,
String... itemMarkerSuffixes)
public ParserEmulationProfile getParserEmulationProfile()
public ListOptions.ItemInterrupt getItemInterrupt()
public boolean isAutoLoose()
public boolean isAutoLooseOneLevelLists()
public boolean isDelimiterMismatchToNewList()
public boolean isEndOnDoubleBlank()
public boolean isItemMarkerSpace()
public boolean isItemTypeMismatchToNewList()
public boolean isItemContentAfterSuffix()
public String getItemPrefixChars()
public boolean isItemTypeMismatchToSubList()
public boolean isLooseWhenPrevHasTrailingBlankLine()
public boolean isLooseWhenLastItemPrevHasTrailingBlankLine()
public boolean isLooseWhenHasNonListChildren()
public boolean isLooseWhenHasLooseSubItem()
public boolean isLooseWhenHasTrailingBlankLine()
public boolean isLooseWhenContainsBlankLine()
public boolean isLooseWhenBlankLineFollowsItemParagraph()
public boolean isOrderedItemDotOnly()
public boolean isOrderedListManualStart()
public boolean isNumberedItemMarkerSuffixed()
public int getCodeIndent()
public int getItemIndent()
public int getNewItemCodeIndent()
public String[] getItemMarkerSuffixes()
Copyright © 2018. All rights reserved.