Package org.jfree.layouting
Class AbstractLayoutProcess
- java.lang.Object
-
- org.jfree.layouting.AbstractLayoutProcess
-
- All Implemented Interfaces:
LayoutProcess
- Direct Known Subclasses:
DefaultLayoutProcess
public abstract class AbstractLayoutProcess extends java.lang.Object implements LayoutProcess
Creation-Date: 05.12.2005, 19:17:21- Author:
- Thomas Morgner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractLayoutProcess.AbstractLayoutProcessState
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLayoutProcess(OutputProcessor outputProcessor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract InputFeedcreateInputFeed()DocumentContextgetDocumentContext()The document context holds global information, like the used stylesheets.InputFeedgetInputFeed()NormalizergetNormalizer()OutputProcessorMetaDatagetOutputMetaData()OutputProcessorgetOutputProcessor()org.pentaho.reporting.libraries.resourceloader.ResourceManagergetResourceManager()StyleResolvergetStyleResolver()booleanisPagebreakEncountered()A flag that indicates, whether one or more pagebreak have been encountered during the last operation.voidpageBreakEncountered(CSSValue pageName, PseudoPage[] pseudoPages)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jfree.layouting.LayoutProcess
saveState
-
-
-
-
Constructor Detail
-
AbstractLayoutProcess
protected AbstractLayoutProcess(OutputProcessor outputProcessor)
-
-
Method Detail
-
getOutputMetaData
public OutputProcessorMetaData getOutputMetaData()
- Specified by:
getOutputMetaDatain interfaceLayoutProcess
-
getOutputProcessor
public OutputProcessor getOutputProcessor()
- Specified by:
getOutputProcessorin interfaceLayoutProcess
-
getInputFeed
public InputFeed getInputFeed()
- Specified by:
getInputFeedin interfaceLayoutProcess
-
createInputFeed
protected abstract InputFeed createInputFeed()
-
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:
getDocumentContextin interfaceLayoutProcess- Returns:
- the document context.
-
getResourceManager
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
- Specified by:
getResourceManagerin interfaceLayoutProcess
-
pageBreakEncountered
public void pageBreakEncountered(CSSValue pageName, PseudoPage[] pseudoPages) throws NormalizationException
- Specified by:
pageBreakEncounteredin interfaceLayoutProcess- Throws:
NormalizationException
-
isPagebreakEncountered
public boolean isPagebreakEncountered()
Description copied from interface:LayoutProcessA 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:
isPagebreakEncounteredin interfaceLayoutProcess- Returns:
- true, if a pagebreak as been encountered somewhere in the past, false otherwise.
-
getNormalizer
public Normalizer getNormalizer()
- Specified by:
getNormalizerin interfaceLayoutProcess
-
getStyleResolver
public StyleResolver getStyleResolver()
- Specified by:
getStyleResolverin interfaceLayoutProcess
-
-