public void _Submission() {
XSubmission stub = new MyXSubmission();
oObj.setSubmission (stub);
XSubmission xSubmission = oObj.getSubmission ();
try {
xSubmission.submit ();
} catch (com.sun.star.lang.WrappedTargetException e) {
log.println("Exception during submit "+e.getMessage ());
}
catch (com.sun.star.util.VetoException e) {
log.println("VetoException during submit "+e.getMessage ());