org.jfree.layouting.layouter.context
public interface DocumentContext extends DocumentMetaNode
Field Summary | |
---|---|
static String | BASE_RESOURCE_ATTR |
static String | DATE_ATTR |
static String | INITIAL_STYLE |
static String | LOCALIZATION_ATTR |
static String | RESOURCE_MANAGER_ATTR |
static String | STRICT_STYLE_MODE |
static String | STYLE_MATCHER_ATTR |
static String | STYLE_RESOLVER_ATTR |
static String | TITLE_ATTR |
Method Summary | |
---|---|
void | addMetaNode(DocumentMetaNode node) |
CSSValue | getCounterPolicy(String name)
Returns the counter policy for this counter. |
CounterStyle | getCounterStyle(String counterName)
Looks up a global counter style. |
DocumentMetaNode | getMetaNode(int index) |
int | getMetaNodeCount() |
NamespaceCollection | getNamespaces()
The namespace collection is not available until initialize() has been called
by the input-feed.
|
ResourceManager | getResourceManager() |
CSSValue | getStringPolicy(String name)
Returns the string policy for this named string. |
void | initialize()
This method is called once after the input-feed received all the document
meta-data. |
void | removeMetaNode(DocumentMetaNode node) |
void | setCounterPolicy(String name, CSSValue policy) |
void | setCounterStyle(String counterName, CounterStyle style)
Defines a global counter style. |
void | setStringPolicy(String name, CSSValue policy) |
Parameters: name
Returns:
Parameters: counterName the name of the counter, for which we search the style.
Returns: the defined style or the decimal style.
Returns:
Parameters: name
Returns:
Parameters: counterName style