Class OfficeResourceProvider
java.lang.Object
io.jmix.reports.yarg.formatters.impl.doc.connector.OfficeResourceProvider
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected OfficeIntegrationprotected com.sun.star.uno.XComponentContext
- 
Constructor SummaryConstructorsConstructorDescriptionOfficeResourceProvider(com.sun.star.uno.XComponentContext xComponentContext, OfficeIntegration officeIntegration) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcloseXComponent(com.sun.star.lang.XComponent xComponent) protected com.sun.star.frame.XDesktopprotected FilecreateTempFile(byte[] bytes) protected com.sun.star.frame.XDispatchHelpercom.sun.star.uno.XComponentContextcom.sun.star.frame.XComponentLoadercom.sun.star.frame.XDispatchHelpercom.sun.star.io.XInputStreamgetXInputStream(ReportTemplate reportTemplate) com.sun.star.lang.XComponentloadXComponent(byte[] bytes) com.sun.star.lang.XComponentloadXComponent(com.sun.star.io.XInputStream inputStream) com.sun.star.lang.XComponentloadXComponent(InputStream inputStream) voidsaveXComponent(com.sun.star.lang.XComponent xComponent, com.sun.star.io.XOutputStream xOutputStream, String filterName) protected String
- 
Field Details- 
xComponentContextprotected com.sun.star.uno.XComponentContext xComponentContext
- 
officeIntegration
 
- 
- 
Constructor Details- 
OfficeResourceProviderpublic OfficeResourceProvider(com.sun.star.uno.XComponentContext xComponentContext, OfficeIntegration officeIntegration) throws com.sun.star.uno.Exception - Throws:
- com.sun.star.uno.Exception
 
 
- 
- 
Method Details- 
getXComponentContextpublic com.sun.star.uno.XComponentContext getXComponentContext()
- 
getXDispatchHelperpublic com.sun.star.frame.XDispatchHelper getXDispatchHelper()
- 
getXComponentLoaderpublic com.sun.star.frame.XComponentLoader getXComponentLoader()
- 
loadXComponentpublic com.sun.star.lang.XComponent loadXComponent(InputStream inputStream) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.io.IOException - Throws:
- com.sun.star.lang.IllegalArgumentException
- com.sun.star.io.IOException
 
- 
loadXComponentpublic com.sun.star.lang.XComponent loadXComponent(byte[] bytes) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.io.IOException - Throws:
- com.sun.star.lang.IllegalArgumentException
- com.sun.star.io.IOException
 
- 
loadXComponentpublic com.sun.star.lang.XComponent loadXComponent(com.sun.star.io.XInputStream inputStream) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.io.IOException - Throws:
- com.sun.star.lang.IllegalArgumentException
- com.sun.star.io.IOException
 
- 
getXInputStream
- 
closeXComponentpublic void closeXComponent(com.sun.star.lang.XComponent xComponent) 
- 
saveXComponentpublic void saveXComponent(com.sun.star.lang.XComponent xComponent, com.sun.star.io.XOutputStream xOutputStream, String filterName) throws com.sun.star.io.IOException - Throws:
- com.sun.star.io.IOException
 
- 
createXDispatchHelperprotected com.sun.star.frame.XDispatchHelper createXDispatchHelper() throws com.sun.star.uno.Exception- Throws:
- com.sun.star.uno.Exception
 
- 
createDesktopprotected com.sun.star.frame.XDesktop createDesktop() throws com.sun.star.uno.Exception- Throws:
- com.sun.star.uno.Exception
 
- 
createTempFile
- 
toURL
 
-