Class DocumentConverterImpl
java.lang.Object
io.jmix.reports.yarg.formatters.impl.xls.DocumentConverterImpl
- All Implemented Interfaces:
- DocumentConverter
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.jmix.reports.yarg.formatters.impl.xls.DocumentConverterDocumentConverter.FileType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Loggerprotected OfficeIntegrationAPI
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidconvert(String convertPattern, byte[] documentBytes, OutputStream outputStream) protected voidconvertOnes(String convertPattern, byte[] documentBytes, OutputStream outputStream) voidconvertToHtml(DocumentConverter.FileType fileType, byte[] documentBytes, OutputStream outputStream) voidconvertToPdf(DocumentConverter.FileType fileType, byte[] documentBytes, OutputStream outputStream) protected voidconvertWithRetries(String convertPattern, byte[] documentBytes, OutputStream outputStream, Exception lastException, int retriesCount) protected voidsaveAndClose(OfficeResourceProvider ooResourceProvider, com.sun.star.lang.XComponent xComponent, OutputStream outputStream, String filterName) 
- 
Field Details- 
logprotected static final org.slf4j.Logger log
- 
officeIntegration
 
- 
- 
Constructor Details- 
DocumentConverterImpl
 
- 
- 
Method Details- 
convertToPdfpublic void convertToPdf(DocumentConverter.FileType fileType, byte[] documentBytes, OutputStream outputStream) - Specified by:
- convertToPdfin interface- DocumentConverter
 
- 
convertToHtmlpublic void convertToHtml(DocumentConverter.FileType fileType, byte[] documentBytes, OutputStream outputStream) - Specified by:
- convertToHtmlin interface- DocumentConverter
 
- 
convert
- 
convertWithRetriesprotected void convertWithRetries(String convertPattern, byte[] documentBytes, OutputStream outputStream, Exception lastException, int retriesCount) 
- 
convertOnesprotected void convertOnes(String convertPattern, byte[] documentBytes, OutputStream outputStream) throws NoFreePortsException - Throws:
- NoFreePortsException
 
- 
saveAndCloseprotected void saveAndClose(OfficeResourceProvider ooResourceProvider, com.sun.star.lang.XComponent xComponent, OutputStream outputStream, String filterName) throws com.sun.star.io.IOException - Throws:
- com.sun.star.io.IOException
 
 
-