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