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()
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.
-
-
-
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:
postLayout
in 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:
true
if a relayout process is necessary otherwisefalse
.
-
-