Class RMExcelWriter


  • public class RMExcelWriter
    extends java.lang.Object
    This class is used to generate an Excel file from an RMDocument. You simply invoke this with: new RMExcelWriter().getBytes(aDoc);
    • Constructor Summary

      Constructors 
      Constructor Description
      RMExcelWriter()
      Creates a basic excel writer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes​(RMDocument aDoc)
      Returns a byte array of an Excel file (.xls) for the given RMDocument.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMExcelWriter

        public RMExcelWriter()
        Creates a basic excel writer.
    • Method Detail

      • getBytes

        public byte[] getBytes​(RMDocument aDoc)
        Returns a byte array of an Excel file (.xls) for the given RMDocument.
        Parameters:
        aDoc - the RMDocument to retrieve the bytes from. Must not be null
        Returns:
        the byte array of the contents of the document