Class TableCellUtil

java.lang.Object
org.wickedsource.docxstamper.util.TableCellUtil

public class TableCellUtil extends Object
Utility class for table cells
Version:
${version}
Author:
Joseph Verron
  • 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