Class ObjectDeleter

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

public class ObjectDeleter extends Object
Utility class for deleting objects from a Document.
Version:
1.6.6
Author:
Joseph Verron
  • Method Details

    • deleteParagraph

      public static void deleteParagraph(org.docx4j.wml.P paragraph)
      Deletes the given paragraph from the document.
      Parameters:
      paragraph - the paragraph to delete.
    • deleteTable

      public static void deleteTable(org.docx4j.wml.Tbl table)
      Deletes the given table from the document.
      Parameters:
      table - the table to delete.
    • deleteTableRow

      public static void deleteTableRow(org.docx4j.wml.Tr tableRow)
      Deletes the given table row from the document.
      Parameters:
      tableRow - the table row to delete.