Hey guys I'm a newbie using docx4j and xml so I was wondering about how to extract text from a .docx document to a java text area.
I mean I can load it with the file chooser but then I don't know how to extract the paragraphs of text.
Note>It's text only, no images, no special styles, no tables
Proof of what I'm saying is true and am not lazy just really need your help because it's urgent>
 
public static void main(String[] args) throws FileNotFoundException, Docx4JException {
      WordprocessingMLPackage wordMLPackage;
       JFileChooser window = new JFileChooser();
       int returnValue = window.showOpenDialog(null);
       if(returnValue==JFileChooser.APPROVE_OPTION){
           wordMLPackage = WordprocessingMLPackage.load(new FileInputStream(window.getSelectedFile()));
           
       }
}
			
		
