This works fine with openoffice to save data in custom properties but failed in libreoffice4.
XDocumentInfoSupplier is depricated for libreoffice4.
Which method should I use to save data in custom properties of libreoffice4?
xDocumentInfoSupplier = (XDocumentInfoSupplier) UnoRuntime.queryInterface(XDocumentInfoSupplier.class, IDSManager.xSpreadsheetDocument);
docInfo = xDocumentInfoSupplier.getDocumentInfo();