try {
SpreadsheetDocument doc = SpreadsheetDocument.loadDocument(ResourceUtilities
.getTestResourceAsStream(filename));
Table table = doc.getTableByName("A");
Cell cell1 = table.getCellByPosition("A2");
CellStyleHandler handler1 = cell1.getStyleHandler();
Font font1 = handler1.getFont(Document.ScriptType.WESTERN);
Assert.assertEquals(font1Base, font1);
Cell cell2 = table.getCellByPosition("A3");
CellStyleHandler handler2 = cell2.getStyleHandler();
Font font2 = handler2.getFont(Document.ScriptType.WESTERN);
Assert.assertEquals(font2Base, font2);
Cell cell3 = table.getCellByPosition("A4");
CellStyleHandler handler3 = cell3.getStyleHandler();
Font font3 = handler3.getFont(Document.ScriptType.CJK);
Assert.assertEquals(font3Base, font3);
Font font4 = handler3.getFont(Document.ScriptType.WESTERN);
Assert.assertEquals(font4Base, font4);
Cell cell5 = table.getCellByPosition("B2");
cell5.getStyleHandler().setFont(font1Base);
cell5.setStringValue("Arial Italic black 10");