// creation of testobject here
// first we write what we are intend to do to log file
log.println( "creating a test environment" );
XNameAccess oStyleFamilyNameAccess = null;
// create testobject here
log.println("getting style");
XStyleFamiliesSupplier oStyleFamiliesSupplier = (XStyleFamiliesSupplier)
UnoRuntime.queryInterface(
XStyleFamiliesSupplier.class, xSpreadsheetDoc);
XNameAccess oStyleFamilies = oStyleFamiliesSupplier.getStyleFamilies();
XIndexAccess oStyleFamiliesIndexAccess = (XIndexAccess)
UnoRuntime.queryInterface(XIndexAccess.class, oStyleFamilies);
try {
oStyleFamilyNameAccess = (XNameAccess) AnyConverter.toObject(
new Type(XNameAccess.class),