This example makes a cell can not be modified form the UI.
TextTables tables = document.getTables(); TextTable table = tables.item(1); TextTableCell cell = table.cell(2,1); cell.setProtected(true);
Related information
Protected property