Class ParagraphUtil


  • public class ParagraphUtil
    extends Object
    • Method Detail

      • create

        public static org.docx4j.wml.P create​(String... texts)
        Creates a new paragraph.
        Parameters:
        texts - the text of this paragraph. If more than one text is specified each text will be placed within its own Run.
        Returns:
        a new paragraph containing the given text.
      • getAllTextBoxes

        public static List<Object> getAllTextBoxes​(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
        Finds all Paragraphs in a Document which are in a TextBox
        Parameters:
        document -
        Returns: