throw cloneException;
}
}
else if(ITextTable.class.isAssignableFrom(position.getType())) {
ITextTable range = (ITextTable)position.getDestinationObject();
TextTableService tableService = new TextTableService(textDocument);
newTable = (ITextTable)tableService.constructTextTable(rowCount, columnCount);
newTable.getProperties().setRepeatHeadline(textTablePropertyStore.repeatHeadline());
if (range != null) {
if(textContentService == null)
textContentService = textDocument.getTextService().getTextContentService();