| java.lang.Object org.jfree.report.modules.output.table.html.HtmlPrinter
All known Subclasses: org.jfree.report.modules.output.table.html.SingleItemHtmlPrinter, org.jfree.report.modules.output.table.html.AllItemsHtmlPrinter,
HtmlPrinter | abstract public class HtmlPrinter implements HtmlContentGenerator(Code) | | This class is the actual HTML-emitter.
author: Thomas Morgner |
Constructor Summary | |
protected | HtmlPrinter(ResourceManager resourceManager) |
Method Summary | |
protected Configuration | getConfiguration() | public ContentLocation | getContentLocation() | public NameGenerator | getContentNameGenerator() | public ContentLocation | getDataLocation() | public NameGenerator | getDataNameGenerator() | public ContentItem | getDocumentContentItem() | public String | getRegisteredName(ResourceKey source) | public ResourceManager | getResourceManager() | public URLRewriter | getUrlRewriter() | protected boolean | isAllowRawLinkTargets() | protected boolean | isAssumeZeroBorders() | protected boolean | isAssumeZeroMargins() | protected boolean | isAssumeZeroPaddings() | public boolean | isRegistered(ResourceKey source) | protected boolean | isSupportedImageFormat(URL url) Tests, whether the given URL points to a supported file format for common browsers. | protected static String | normalize(String anchor, XmlWriter xmlWriter) | public void | print(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage, TableContentProducer contentProducer, OutputProcessorMetaData metaData, boolean incremental) | public static StyleBuilder | produceTextStyle(StyleBuilder styleBuilder, RenderBox box, boolean includeBorder, boolean includeWhitespaceCollapse) | public void | registerContent(ResourceKey source, String name) | public void | registerFailure(ResourceKey source) | protected void | setAssumeZeroBorders(boolean assumeZeroBorders) | protected void | setAssumeZeroMargins(boolean assumeZeroMargins) | protected void | setAssumeZeroPaddings(boolean assumeZeroPaddings) | public void | setContentWriter(ContentLocation contentLocation, NameGenerator contentNameGenerator) | public void | setDataWriter(ContentLocation dataLocation, NameGenerator dataNameGenerator) | public void | setDocumentContentItem(ContentItem documentContentItem) | public void | setUrlRewriter(URLRewriter urlRewriter) | public static String | translateHorizontalAlignment(ElementAlignment ea) Translates the JFreeReport horizontal element alignment into a HTML alignment constant. | public String | writeImage(ImageContainer image) | public String | writeRaw(ResourceKey source) |
XHTML_NAMESPACE | final public static String XHTML_NAMESPACE(Code) | | |
HtmlPrinter | protected HtmlPrinter(ResourceManager resourceManager)(Code) | | |
getConfiguration | protected Configuration getConfiguration()(Code) | | |
getContentLocation | public ContentLocation getContentLocation()(Code) | | |
getContentNameGenerator | public NameGenerator getContentNameGenerator()(Code) | | |
getDataLocation | public ContentLocation getDataLocation()(Code) | | |
getDataNameGenerator | public NameGenerator getDataNameGenerator()(Code) | | |
getDocumentContentItem | public ContentItem getDocumentContentItem()(Code) | | |
getRegisteredName | public String getRegisteredName(ResourceKey source)(Code) | | |
getResourceManager | public ResourceManager getResourceManager()(Code) | | |
isAllowRawLinkTargets | protected boolean isAllowRawLinkTargets()(Code) | | |
isAssumeZeroBorders | protected boolean isAssumeZeroBorders()(Code) | | |
isAssumeZeroMargins | protected boolean isAssumeZeroMargins()(Code) | | |
isAssumeZeroPaddings | protected boolean isAssumeZeroPaddings()(Code) | | |
isRegistered | public boolean isRegistered(ResourceKey source)(Code) | | |
isSupportedImageFormat | protected boolean isSupportedImageFormat(URL url)(Code) | | Tests, whether the given URL points to a supported file format for common browsers. Returns true if the URL
references a JPEG, PNG or GIF image, false otherwise.
The checked filetypes are the ones recommended by the W3C.
Parameters: url - the url that should be tested. true, if the content type is supported by the browsers, false otherwise. |
registerContent | public void registerContent(ResourceKey source, String name)(Code) | | |
registerFailure | public void registerFailure(ResourceKey source)(Code) | | |
setAssumeZeroBorders | protected void setAssumeZeroBorders(boolean assumeZeroBorders)(Code) | | |
setAssumeZeroMargins | protected void setAssumeZeroMargins(boolean assumeZeroMargins)(Code) | | |
setAssumeZeroPaddings | protected void setAssumeZeroPaddings(boolean assumeZeroPaddings)(Code) | | |
setContentWriter | public void setContentWriter(ContentLocation contentLocation, NameGenerator contentNameGenerator)(Code) | | |
setDataWriter | public void setDataWriter(ContentLocation dataLocation, NameGenerator dataNameGenerator)(Code) | | |
setDocumentContentItem | public void setDocumentContentItem(ContentItem documentContentItem)(Code) | | |
translateHorizontalAlignment | public static String translateHorizontalAlignment(ElementAlignment ea)(Code) | | Translates the JFreeReport horizontal element alignment into a HTML alignment constant.
Parameters: ea - the element alignment the translated alignment name. |
|
|