DateUtils du = new DateUtils(xMSF, this.xTextDocument);
int ff = du.getFormat( NumberFormatIndex.DATE_SYS_DDMMYY );
String myDate = du.format(ff, currentDate);
XDocumentInfoSupplier xDocInfoSuppl = (XDocumentInfoSupplier) UnoRuntime.queryInterface(XDocumentInfoSupplier.class, xTextDocument);
XDocumentInfo xDocInfo2 = xDocInfoSuppl.getDocumentInfo();
Helper.setUnoPropertyValue(xDocInfo2, "Author", fullname);
Helper.setUnoPropertyValue(xDocInfo2, "ModifiedBy", fullname);
String description = (String)Helper.getUnoPropertyValue(xDocInfo2, "Description");
description = description + " " + TemplateDescription;
description = JavaTools.replaceSubString(description, WizardName, "<wizard_name>");