Class TableCellUtil
java.lang.Object
org.wickedsource.docxstamper.util.TableCellUtil
Utility class for table cells
- Version:
- ${version}
- Author:
- Joseph Verron
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddEmptyParagraph(org.docx4j.wml.Tc cell) Checks if a table cell contains a paragraphstatic booleanhasNoParagraphOrTable(org.docx4j.wml.Tc cell) Checks if a table cell contains a paragraph or a table
-
Method Details
-
hasNoParagraphOrTable
public static boolean hasNoParagraphOrTable(org.docx4j.wml.Tc cell) Checks if a table cell contains a paragraph or a table- Parameters:
cell- the table cell- Returns:
- true if the table cell contains a paragraph or a table, false otherwise
-
addEmptyParagraph
public static void addEmptyParagraph(org.docx4j.wml.Tc cell) Checks if a table cell contains a paragraph- Parameters:
cell- the table cell
-