Package com.reportmill.output
Class RMHTMLWriter
- java.lang.Object
- 
- com.reportmill.output.RMHTMLWriter
 
- 
 public class RMHTMLWriter extends java.lang.ObjectThis class generates HTML for a ReportMill RMDocument object. The primary method is htmlMap() which returns a Java.util.Map object containing "htmlBytes" (a byte array) and associated images (with the keys/img.ext). This class primarily relies on the HTML DIV (Division) tag to create regions for all RMShapes in a given document. 
- 
- 
Constructor SummaryConstructors Constructor Description RMHTMLWriter(RMDocument aDoc)Creates an HTMLWriter for the given doc.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytesHTML()Returns a byte array containing the HTML representation of a document.java.util.MapgetMapHTML(java.lang.String imageRoot)Returns a Map containing the HTML bytes (with key "htmlBytes") and associated images (use iterator).static byte[]htmlBytes(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle)Obsolete - moved to RMHTMLWrapper.static java.lang.StringhtmlString(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle)Obsolete - moved to RMHTMLWrapper.
 
- 
- 
- 
Constructor Detail- 
RMHTMLWriterpublic RMHTMLWriter(RMDocument aDoc) Creates an HTMLWriter for the given doc.
 
- 
 - 
Method Detail- 
getBytesHTMLpublic byte[] getBytesHTML() Returns a byte array containing the HTML representation of a document.
 - 
getMapHTMLpublic java.util.Map getMapHTML(java.lang.String imageRoot) Returns a Map containing the HTML bytes (with key "htmlBytes") and associated images (use iterator).
 - 
htmlBytespublic static byte[] htmlBytes(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle) Obsolete - moved to RMHTMLWrapper.
 - 
htmlStringpublic static java.lang.String htmlString(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle) Obsolete - moved to RMHTMLWrapper.
 
- 
 
-