public interface DocumentContext extends DocumentMetaNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_RESOURCE_ATTR |
static java.lang.String |
DATE_ATTR |
static java.lang.String |
INITIAL_STYLE |
static java.lang.String |
LOCALIZATION_ATTR |
static java.lang.String |
RESOURCE_MANAGER_ATTR |
static java.lang.String |
STRICT_STYLE_MODE |
static java.lang.String |
STYLE_MATCHER_ATTR |
static java.lang.String |
STYLE_RESOLVER_ATTR |
static java.lang.String |
TITLE_ATTR |
Modifier and Type | Method and Description |
---|---|
void |
addMetaNode(DocumentMetaNode node) |
CSSValue |
getCounterPolicy(java.lang.String name)
Returns the counter policy for this counter.
|
CounterStyle |
getCounterStyle(java.lang.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.
|
org.pentaho.reporting.libraries.resourceloader.ResourceManager |
getResourceManager() |
CSSValue |
getStringPolicy(java.lang.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(java.lang.String name,
CSSValue policy) |
void |
setCounterStyle(java.lang.String counterName,
CounterStyle style)
Defines a global counter style.
|
void |
setStringPolicy(java.lang.String name,
CSSValue policy) |
getMetaAttribute, setMetaAttribute
static final java.lang.String BASE_RESOURCE_ATTR
static final java.lang.String DATE_ATTR
static final java.lang.String LOCALIZATION_ATTR
static final java.lang.String RESOURCE_MANAGER_ATTR
static final java.lang.String STYLE_RESOLVER_ATTR
static final java.lang.String STYLE_MATCHER_ATTR
static final java.lang.String TITLE_ATTR
static final java.lang.String STRICT_STYLE_MODE
static final java.lang.String INITIAL_STYLE
void initialize()
void addMetaNode(DocumentMetaNode node)
void removeMetaNode(DocumentMetaNode node)
DocumentMetaNode getMetaNode(int index)
int getMetaNodeCount()
NamespaceCollection getNamespaces()
void setCounterStyle(java.lang.String counterName, CounterStyle style)
counterName
- style
- CounterStyle getCounterStyle(java.lang.String counterName)
counterName
- the name of the counter, for which we search the style.CSSValue getStringPolicy(java.lang.String name)
name
- void setStringPolicy(java.lang.String name, CSSValue policy)
CSSValue getCounterPolicy(java.lang.String name)
name
- void setCounterPolicy(java.lang.String name, CSSValue policy)
org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()