| Package | Description |
|---|---|
| org.daisy.pipeline.css |
| Modifier and Type | Field and Description |
|---|---|
static CounterStyle |
CounterStyle.DECIMAL |
static CounterStyle |
CounterStyle.DISC |
static CounterStyle |
CounterStyle.LOWER_ALPHA |
static CounterStyle |
CounterStyle.LOWER_ROMAN |
static CounterStyle |
CounterStyle.UPPER_ALPHA |
static CounterStyle |
CounterStyle.UPPER_ROMAN |
| Modifier and Type | Method and Description |
|---|---|
static CounterStyle |
CounterStyle.constant(String symbol)
Create a constant CounterStyle (cyclic with a single symbol)
|
static CounterStyle |
CounterStyle.cycle(Iterable<String> symbols)
Create a cyclic CounterStyle
|
static CounterStyle |
CounterStyle.fromSymbolsFunction(cz.vutbr.web.css.Term<?> term)
Create a CounterStyle from a
symbols() function |
protected abstract CounterStyle |
CounterEvaluator.getListStyleType(E elementStyle,
CounterStyle parentListStyleType)
Get list counter style.
|
protected abstract CounterStyle |
CounterEvaluator.getNamedCounterStyle(String name)
Get counter style for given name
|
static CounterStyle |
CounterStyle.predefined(String name)
Return the predefined counter style with the given name, or
null if no counter style
with that name exists. |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,CounterStyle> |
CounterStyle.parseCounterStyleRules(Iterable<org.daisy.braille.css.RuleCounterStyle> style)
Create a map of named CounterStyle from a set of
@counter-style rules. |
| Modifier and Type | Method and Description |
|---|---|
String |
CounterEvaluator.evaluateCounter(String name,
CounterStyle style,
boolean withPrefixAndSuffix)
Generate a counter representation of the innermost counter in the counter set with the given
name (see https://www.w3.org/TR/css-lists-3/#counter-functions)
|
String |
CounterEvaluator.evaluateCounters(String name,
CounterStyle style,
String separator)
Generate a counter representation of all the counters in the counter set with the given name
(see https://www.w3.org/TR/css-lists-3/#counter-functions)
|
protected abstract CounterStyle |
CounterEvaluator.getListStyleType(E elementStyle,
CounterStyle parentListStyleType)
Get list counter style.
|
Copyright © 2010–2025 The DAISY Consortium. All rights reserved.