xRowSetColumnsSupplier = (XColumnsSupplier) UnoRuntime.queryInterface(XColumnsSupplier.class, xRowSet);
xRowSetComponent = (XComponent) UnoRuntime.queryInterface(XComponent.class, xRowSet);
xExecute = (XCompletedExecution) UnoRuntime.queryInterface(XCompletedExecution.class, xRowSet);
String FormatString = "[=1]" + '"' + (char)9745 + '"' + ";[=0]" + '"' + (char)58480 + '"' + ";";
XNumberFormatTypes xNumberFormatTypes = (XNumberFormatTypes) UnoRuntime.queryInterface(XNumberFormatTypes.class, NumberFormats);
iLogicalFormatKey = NumberFormats.queryKey(FormatString, CharLocale, true);
if (iLogicalFormatKey == -1){
iLogicalFormatKey = NumberFormats.addNew(FormatString, CharLocale);
}
iDateFormatKey = xNumberFormatTypes.getStandardFormat(com.sun.star.util.NumberFormat.DATE, CharLocale);
iDateTimeFormatKey = xNumberFormatTypes.getStandardFormat(com.sun.star.util.NumberFormat.DATETIME, CharLocale);
iTimeFormatKey = xNumberFormatTypes.getStandardFormat(com.sun.star.util.NumberFormat.TIME, CharLocale);
iNumberFormatKey = xNumberFormatTypes.getStandardFormat(com.sun.star.util.NumberFormat.NUMBER, CharLocale);
iTextFormatKey = xNumberFormatTypes.getStandardFormat(com.sun.star.util.NumberFormat.TEXT, CharLocale);
BlindTextArray = Tools.ArrayoutofString(BlindText, " ");
}
catch( com.sun.star.uno.Exception exception ){
exception.printStackTrace(System.out);
}}