|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentContext
The document context holds general document-wide data. It does not hold any data, that is expected to change, the document context is meant to be as stateless as possible (after the context has been set up, of course).
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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)
|
Methods inherited from interface org.jfree.layouting.layouter.context.DocumentMetaNode |
---|
getMetaAttribute, setMetaAttribute |
Field Detail |
---|
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
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |