I´m using Apache poi (XWPF) with Springboot in java 11. I need to extract the section number 2 (title and content) from a word document with the follow numerated list: word_example I would like to know what is the best way to get only section 2 and its content to create a new word document with only that part. thx.
Tag: ms-word
Creating nested bullet lists in Word using POI v5
I am working in Java, using the following Maven dependency (and no others): and the following class, gleaned from another SO post: This creates a bullet list, as I want; I hope to indent it, but that’s secondary. The real modification I need to make to it is to add two more levels of lists, so that the result, in
How to copy paragraphs include character styles to new document in apache poi?
I’m trying to copy a certain number of paragraphs from an ms word file into a new one with Apache Poi. Although I copy paragraph styles without problem but I can’t transfer inline character styles to new file, how to get and apply character styles to new new doc? Answer
How to convert a PDF to a JSON/EXCEL/WORD file?
I need to get data from the pdf file with its header for further comparing with DB data I tried to use the pdfbox , google vision ocr , itext, but all libraries gave me a row without structure and headers. Example: DatenNumbernStatusn12122020n442334delivered I will trying convert pdf to excel/word and get data from them, but for this realisation i