}
return new TableDeleteColumnCommand(viewer, table,
deleteReq.getIndex());
} else if (request instanceof InsertHeaderFooterRequest) {
InsertHeaderFooterRequest hfRequest = (InsertHeaderFooterRequest) request;
return new TableInsertHeaderFooterCommand(viewer, table,
hfRequest.isHeader());
} else if (request instanceof DeleteHeaderFooterRequest) {
DeleteHeaderFooterRequest hfRequest = (DeleteHeaderFooterRequest) request;
return new TableDeleteHeaderFooterCommand(viewer, table,
hfRequest.isHeader());