All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.storedobject.office.ExcelReport Maven / Gradle / Ivy

package com.storedobject.office;

import com.storedobject.core.Device;
import com.storedobject.core.FileData;
import com.storedobject.core.Id;
import com.storedobject.core.StreamData;

import java.io.InputStream;

public class ExcelReport extends Excel {

    /**
     * Constructor.
     *
     * @param device Device
     * This will create an blank Excel file and the content may be manipulated in the generateContent() method.
     */
    public ExcelReport(Device device) {
    }

    /**
     * Constructor.
     *
     * @param device Device
     * @param in Input stream containing an Excel file with some content.
     */
    public ExcelReport(Device device, InputStream in) {
        super(in);
    }

    /**
     * Constructor.
     *
     * @param device Device
     * @param databaseFileName Database file name (FileData) containing Excel file with some content.
     */
    public ExcelReport(Device device, String databaseFileName) {
        super(databaseFileName);
    }

    /**
     * Constructor.
     *
     * @param device Device
     * @param fileData Database file containing Excel file with some content.
     */
    public ExcelReport(Device device, FileData fileData) {
        super(fileData);
    }

    /**
     * Constructor
     *
     * @param device Device
     * @param templateId Id of the stream data containing Excel file with some content.
     */
    public ExcelReport(Device device, Id templateId) {
        super(templateId);
    }

    /**
     * Constructor
     *
     * @param device Device
     * @param streamData Stream data containing Excel file with some content.
     */
    public ExcelReport(Device device, StreamData streamData) {
    }

    public void view() {
        execute();
    }

    public Device getDevice() {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy