so look!!!
i'm reading a document
- Code: Select all
WordprocessingMLPackage.load(new File("C://model.docx"));
after this i'm creating an ArrayList of each elements on the body, because i need to identify where the tables are, to put a image. Up here is everything ok.
but before save the new document i'm using the header's model.docx to create my own like this:
HashMap<Integer, String> map = new HashMap<Integer, String>();
//here the map record each elements ...