Class HtmlTextExtractorHelper
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.html.helper.HtmlTextExtractorHelper
-
public class HtmlTextExtractorHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description HtmlTextExtractorHelper(HtmlTagHelper tagHelper, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, OutputProcessorMetaData metaData, HtmlContentGenerator contentGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishBox(InstanceID box, ReportAttributeMap<Object> attributes)
void
handleLinkOnElement(StyleSheet styleSheet, String target)
boolean
isEnableInheritedLinkStyle()
boolean
processRenderableReplacedContent(ReportAttributeMap attrs, StyleSheet styleSheet, long width, long height, long contentWidth, long contentHeight, Object rawObject)
StyleBuilder
produceClipStyle(long nodeWidth, long nodeHeight)
StyleBuilder
produceImageStyle(StyleSheet styleSheet, long nodeWidth, long nodeHeight, long contentWidth, long contentHeight)
Populates the style builder with the style information for the image based on the RenderableReplacedContentvoid
setFirstElement(InstanceID firstElement, HtmlTextExtractorState processStack)
boolean
startBox(InstanceID box, ReportAttributeMap attrs, StyleSheet styleSheet, BoxDefinition boxDefinition, boolean forceTag)
boolean
startInlineBox(InstanceID box, ReportAttributeMap attrs, StyleSheet styleSheet, BoxDefinition boxDefinition)
void
writeLocalAnchor(StyleSheet styleSheet)
-
-
-
Constructor Detail
-
HtmlTextExtractorHelper
public HtmlTextExtractorHelper(HtmlTagHelper tagHelper, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, OutputProcessorMetaData metaData, HtmlContentGenerator contentGenerator)
-
-
Method Detail
-
isEnableInheritedLinkStyle
public boolean isEnableInheritedLinkStyle()
-
setFirstElement
public void setFirstElement(InstanceID firstElement, HtmlTextExtractorState processStack)
-
startBox
public boolean startBox(InstanceID box, ReportAttributeMap attrs, StyleSheet styleSheet, BoxDefinition boxDefinition, boolean forceTag)
-
startInlineBox
public boolean startInlineBox(InstanceID box, ReportAttributeMap attrs, StyleSheet styleSheet, BoxDefinition boxDefinition)
-
finishBox
public void finishBox(InstanceID box, ReportAttributeMap<Object> attributes)
-
writeLocalAnchor
public void writeLocalAnchor(StyleSheet styleSheet) throws IOException
- Throws:
IOException
-
handleLinkOnElement
public void handleLinkOnElement(StyleSheet styleSheet, String target) throws IOException
- Throws:
IOException
-
produceClipStyle
public StyleBuilder produceClipStyle(long nodeWidth, long nodeHeight)
-
produceImageStyle
public StyleBuilder produceImageStyle(StyleSheet styleSheet, long nodeWidth, long nodeHeight, long contentWidth, long contentHeight)
Populates the style builder with the style information for the image based on the RenderableReplacedContent- Returns:
- the style-builder with the image style or null, if the image must be clipped.
-
processRenderableReplacedContent
public boolean processRenderableReplacedContent(ReportAttributeMap attrs, StyleSheet styleSheet, long width, long height, long contentWidth, long contentHeight, Object rawObject) throws org.pentaho.reporting.libraries.repository.ContentIOException, IOException
- Throws:
org.pentaho.reporting.libraries.repository.ContentIOException
IOException
-
-