org.docx4j.finders.TcFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j-core Show documentation
Show all versions of docx4j-core Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
package org.docx4j.finders;
import java.util.ArrayList;
import java.util.List;
import org.docx4j.TraversalUtil.CallbackImpl;
import org.docx4j.wml.Tbl;
import org.docx4j.wml.Tc;
public class TcFinder extends CallbackImpl {
boolean traveseTables=false;
/**
* Defaults to false; set this to true unless you don't
* want to traverse a table (eg a nested table).
* NB: If traversing from body level, you'll need to set it to true!
*
* @param traveseNestedTable
*/
public void setTraverseTables(boolean traveseTables) {
this.traveseTables = traveseTables;
}
public List tcList = new ArrayList();
@Override
public List