Package org.jfree.layouting
Class ChainingLayoutProcess
- java.lang.Object
-
- org.jfree.layouting.ChainingLayoutProcess
-
- All Implemented Interfaces:
LayoutProcess
public class ChainingLayoutProcess extends java.lang.Object implements LayoutProcess
Creation-Date: 16.06.2006, 14:42:57- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ChainingLayoutProcess(LayoutProcess layoutProcess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayoutProcess
getChainedLayoutProcess()
DocumentContext
getDocumentContext()
The document context holds global information, like the used stylesheets.InputFeed
getInputFeed()
Normalizer
getNormalizer()
OutputProcessorMetaData
getOutputMetaData()
OutputProcessor
getOutputProcessor()
org.pentaho.reporting.libraries.resourceloader.ResourceManager
getResourceManager()
StyleResolver
getStyleResolver()
boolean
isPagebreakEncountered()
A flag that indicates, whether one or more pagebreak have been encountered during the last operation.void
pageBreakEncountered(CSSValue pageName, PseudoPage[] pseudoPages)
LayoutProcessState
saveState()
void
setChainedLayoutProcess(LayoutProcess chainedLayoutProcess)
-
-
-
Constructor Detail
-
ChainingLayoutProcess
public ChainingLayoutProcess(LayoutProcess layoutProcess)
-
-
Method Detail
-
getInputFeed
public InputFeed getInputFeed()
- Specified by:
getInputFeed
in interfaceLayoutProcess
-
getStyleResolver
public StyleResolver getStyleResolver()
- Specified by:
getStyleResolver
in interfaceLayoutProcess
-
getDocumentContext
public DocumentContext getDocumentContext()
The document context holds global information, like the used stylesheets. It also holds the caches for loading external contents.- Specified by:
getDocumentContext
in interfaceLayoutProcess
- Returns:
- the document context.
-
getOutputMetaData
public OutputProcessorMetaData getOutputMetaData()
- Specified by:
getOutputMetaData
in interfaceLayoutProcess
-
getOutputProcessor
public OutputProcessor getOutputProcessor()
- Specified by:
getOutputProcessor
in interfaceLayoutProcess
-
getResourceManager
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
- Specified by:
getResourceManager
in interfaceLayoutProcess
-
pageBreakEncountered
public void pageBreakEncountered(CSSValue pageName, PseudoPage[] pseudoPages) throws NormalizationException
- Specified by:
pageBreakEncountered
in interfaceLayoutProcess
- Throws:
NormalizationException
-
isPagebreakEncountered
public boolean isPagebreakEncountered()
A flag that indicates, whether one or more pagebreak have been encountered during the last operation. The flag does not necessarily state that the pagebreak(s) have been triggered by the last operation, it can as well be a delayed pagebreak indication due to caching or layouting effects (as it happens with pending or moved content).- Specified by:
isPagebreakEncountered
in interfaceLayoutProcess
- Returns:
- true, if a pagebreak as been encountered somewhere in the past, false otherwise.
-
getChainedLayoutProcess
public LayoutProcess getChainedLayoutProcess()
-
setChainedLayoutProcess
public void setChainedLayoutProcess(LayoutProcess chainedLayoutProcess)
-
saveState
public LayoutProcessState saveState() throws StateException
- Specified by:
saveState
in interfaceLayoutProcess
- Throws:
StateException
-
getNormalizer
public Normalizer getNormalizer()
- Specified by:
getNormalizer
in interfaceLayoutProcess
-
-