List<Sample> samples = new ArrayList<Sample>();
OdfTextDocument oDoc = (OdfTextDocument) OdfDocument.loadDocument(inPath);
OdfTable sampleTable = oDoc.getTableList().get(1);
if (sampleTable != null) {
DataObjectFactory df = new TgacDataObjectFactory();
for (OdfTableRow row : sampleTable.getRowList()) {
if (row.getRowIndex() != 0) {
TableTableRowElement ttre = row.getOdfElement();
Sample s = df.getSample();
Node n1 = ttre.getChildNodes().item(0);
if (n1.getFirstChild() != null) {
s.setAlias(n1.getFirstChild().getTextContent());
}