Avoid opening the Spreadsheet file when use OpenOffice UNO API to load it

2016-02-03 Thread Zhang, William
Hi Team members, Does anyone know how to do it as the subject describes? Thanks a lot! LibreOffice version: 4.1.4.2 OS:RedHat7 Java1.7 My code is as follow: XComponentContext xContext = OOoConnector.bootstrap(ooExeFolder); XMultiComponentFactory xMCF = xContext.getServiceManager(); Object

Re: Avoid opening the Spreadsheet file when use OpenOffice UNO API to load it

2016-02-03 Thread Oliver Brinzing
Hi William, If execute the next line, the related file will be opened automatically, but we do not want to open it. What we want is change value for some cells and work as background. do you want to load the file "hidden"? something like this should work: PropertyValue[] mProps = new