Package org.idempiere.print
Interface IReportContentProcessor
public interface IReportContentProcessor
Post-processes generated report content.
Applicable services are called in descending OSGi service ranking order.
Implementations may return input after modifying it or return a new
file. Typical uses include ZUGFeRD/Factur-X, PDF attachments, PDF/A,
signatures and encryption.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisApplicable(ReportContentRequest request, String contentType, String fileExtension) Tests whether this processor applies to the generated content.process(ReportContentRequest request, String contentType, String fileExtension, File input) Processes generated report content.
-
Method Details
-
isApplicable
Tests whether this processor applies to the generated content.- Parameters:
request- report content requestcontentType- requested MIME typefileExtension- requested file extension- Returns:
trueto invokeprocess(org.idempiere.print.ReportContentRequest, java.lang.String, java.lang.String, java.io.File)
-
process
Processes generated report content.- Parameters:
request- report content requestcontentType- requested MIME typefileExtension- requested file extensioninput- generated content- Returns:
- processed content; never
null
-