Package com.reportmill.output
Class RMHTMLWriter
- java.lang.Object
-
- com.reportmill.output.RMHTMLWriter
-
public class RMHTMLWriter extends java.lang.Object
This 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 Summary
Constructors Constructor Description RMHTMLWriter(RMDocument aDoc)
Creates an HTMLWriter for the given doc.
-
Method Summary
All 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.Map
getMapHTML(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.String
htmlString(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle)
Obsolete - moved to RMHTMLWrapper.
-
-
-
Constructor Detail
-
RMHTMLWriter
public RMHTMLWriter(RMDocument aDoc)
Creates an HTMLWriter for the given doc.
-
-
Method Detail
-
getBytesHTML
public byte[] getBytesHTML()
Returns a byte array containing the HTML representation of a document.
-
getMapHTML
public java.util.Map getMapHTML(java.lang.String imageRoot)
Returns a Map containing the HTML bytes (with key "htmlBytes") and associated images (use iterator).
-
htmlBytes
public static byte[] htmlBytes(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle)
Obsolete - moved to RMHTMLWrapper.
-
htmlString
public static java.lang.String htmlString(RMDocument aDoc, java.lang.String aSource, java.lang.String aTitle)
Obsolete - moved to RMHTMLWrapper.
-
-