public class HtmlTextExtractorHelper extends Object
Constructor and Description |
---|
HtmlTextExtractorHelper(HtmlTagHelper tagHelper,
XmlWriter xmlWriter,
OutputProcessorMetaData metaData,
HtmlContentGenerator contentGenerator) |
Modifier and Type | Method and 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 RenderableReplacedContent
|
void |
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) |
public HtmlTextExtractorHelper(HtmlTagHelper tagHelper, XmlWriter xmlWriter, OutputProcessorMetaData metaData, HtmlContentGenerator contentGenerator)
public boolean isEnableInheritedLinkStyle()
public void setFirstElement(InstanceID firstElement, HtmlTextExtractorState processStack)
public boolean startBox(InstanceID box, ReportAttributeMap attrs, StyleSheet styleSheet, BoxDefinition boxDefinition, boolean forceTag)
public boolean startInlineBox(InstanceID box, ReportAttributeMap attrs, StyleSheet styleSheet, BoxDefinition boxDefinition)
public void finishBox(InstanceID box, ReportAttributeMap<Object> attributes)
public void writeLocalAnchor(StyleSheet styleSheet) throws IOException
IOException
public void handleLinkOnElement(StyleSheet styleSheet, String target) throws IOException
IOException
public StyleBuilder produceClipStyle(long nodeWidth, long nodeHeight)
public StyleBuilder produceImageStyle(StyleSheet styleSheet, long nodeWidth, long nodeHeight, long contentWidth, long contentHeight)
public boolean processRenderableReplacedContent(ReportAttributeMap attrs, StyleSheet styleSheet, long width, long height, long contentWidth, long contentHeight, Object rawObject) throws ContentIOException, IOException
ContentIOException
IOException
Copyright © 2017 Hitachi Vantara. All rights reserved.