This example gets the visible property of the document.
try { Application application = Application.getInstance(); Documents documents = application.getDocuments(); Document document = documents.openDocument("D:\\test.odt", true); boolean visible = document.isVisible(); } catch(Exception e) { e.printStackTrace(); }
Related information