![JAR search and dependency download from the Maven repository](/logo.png)
it.discovery.jasperreports.jasper2word.J2WExporterContext Maven / Gradle / Ivy
The newest version!
package it.discovery.jasperreports.jasper2word;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.export.JRExporterContext;
import net.sf.jasperreports.export.ExporterOutput;
/**
* Declaring interface for exporter context responsible to produce the output document.
* @author discovery
* @date 24/08/15
*/
public interface J2WExporterContext extends JRExporterContext {
/**
* Return the output document.
* @return The output document (always not {@code null}).
*/
D getDocument();
/**
* Write the document {@code document} into the output {@code output}.
* @param document The document to write.
* @param output The output to write into.
* @throws JRException In case of errors.
*/
void writeReport(D document, O output) throws JRException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy