public void setValidTable ( TableCandidate tc ) { /** * TODO [improve]: Table/TableCandidate not match * */ this . setHeight ( tc . getHeight ( ) ) ; this . setWidth ( tc . getWidth ( ) ) ; this . setCaption ( tc . getCaption ( ) ) ; this . setRowNumber ( tc . getRows ( ) . size ( ) ) ; this . setColumnNumber ( tc . getColumnNum_thisTable ( ) ) ; this . setRefTextList ( tc . getRefText ( ) ) ; this . setFootNote ( tc . getFootnoteText ( ) ) ; this . setHeading ( tc . getColumnHeadings ( ) ) ; this . setBody ( tc . getTableContent ( ) ) ; }
Sets the metadata of a valid table