'Required:
line
Returns:
nothing
Logic:
In the middle of a cell.
Look for the close of the table. If found, use the close table function to close
the table.
Look for the close of the cell. If found, use the close cell function to close out
the cell.
Otherwise, print out the line.'

def __in_cell_func(self, line):

    if ((self.__token_info == 'mi<mk<not-in-tbl') or (self.__token_info == 'mi<mk<sect-start') or (self.__token_info == 'mi<mk<sect-close') or (self.__token_info == 'mi<mk<body-close')):
        self.__end_cell_func(line)
        self.__end_row_func(line)
        self.__close_table(line)
        self.__write_obj.write(line)
    elif (self.__token_info == 'cw<tb<cell______'):
        self.__end_cell_func(line)
    else:
        self.__write_obj.write(line)
