Class ObjectDeleter
java.lang.Object
org.wickedsource.docxstamper.util.ObjectDeleter
Utility class for deleting objects from a
Document.- Version:
- ${version}
- Author:
- Joseph Verron
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteParagraph(org.docx4j.wml.P paragraph) Deletes the given paragraph from the document.static voiddeleteTable(org.docx4j.wml.Tbl table) Deletes the given table from the document.static voiddeleteTableRow(org.docx4j.wml.Tr tableRow) Deletes the given table row from the document.
-
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.
-