ITextTableProperties properties = textTable.getProperties();
properties.setRepeatHeadline(tablePropertyStore.repeatHeadline());
textDocument.getTextService().getTextContentService().insertTextContentAfter(textTable,textTableLast);
properties.setTableColumnSeparators(tablePropertyStore.getTableColumnSeparators());
IDestinationPosition destinationPosition = new DestinationPosition(textTable.getCell("A1"));
if(tablePropertyStore.repeatHeadline()) {
textTableCellRangeHeaderClone.getCloneService().cloneToPositionNoReturn(destinationPosition,null);
destinationPosition = new DestinationPosition(textTable.getCell("A2"));
textTableCellRangeClone.getCloneService().cloneToPositionNoReturn(destinationPosition,false,null);
}
else {