Class FitImageBoundsProcessor
- java.lang.Object
-
- com.levigo.jadice.server.html2fop.internal.process.processor.impl.FitImageBoundsProcessor
-
- All Implemented Interfaces:
HTMLPostLayoutProcessor
public class FitImageBoundsProcessor extends Object implements HTMLPostLayoutProcessor
-
-
Constructor Summary
Constructors Constructor Description FitImageBoundsProcessor()FitImageBoundsProcessor(String jobId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getFittedImageKeys()booleanpostLayout(ProcessingContext context, com.levigo.jadice.server.html2fop.internal.HtmlLayoutResult layoutResult)Rescales images in the dom tree that would overflow the desired page with.
-
-
-
Constructor Detail
-
FitImageBoundsProcessor
public FitImageBoundsProcessor()
-
FitImageBoundsProcessor
public FitImageBoundsProcessor(String jobId)
-
-
Method Detail
-
postLayout
public boolean postLayout(ProcessingContext context, com.levigo.jadice.server.html2fop.internal.HtmlLayoutResult layoutResult)
Rescales images in the dom tree that would overflow the desired page with.- Specified by:
postLayoutin interfaceHTMLPostLayoutProcessor- Parameters:
context- contains the general processing context that is needed to process HTML documents.layoutResult- the layout result of the previous layout run.- Returns:
trueif a relayout process is necessary otherwisefalse.
-
-