band1_1.addChild(band11_2);
return band1_1;
}
private void compareFiles(String resultPath, String etalonPath) throws Docx4JException {
Document result = Document.create(SpreadsheetMLPackage.load(new File(resultPath)));
Document etalon = Document.create(SpreadsheetMLPackage.load(new File(etalonPath)));
List<Document.SheetWrapper> resultWorksheets = result.getWorksheets();
List<Document.SheetWrapper> etalonWorksheets = etalon.getWorksheets();
for (int i = 0; i < resultWorksheets.size(); i++) {
Document.SheetWrapper resultWorksheet = resultWorksheets.get(i);
Document.SheetWrapper etalonWorksheet = etalonWorksheets.get(i);