DOCX4J - Copying inbetween two markers
问题 I've done a simple replace with DOCX4J, thanks to this awesome guide. But now I'm trying to do something more complicated. What I'd like to do is find my marker text #1 within the document, find my marker text #2 within the document, and copy EVERYTHING inbetween the two. I will then be pasting that content X number of times and doing further alterations. Does anyone know how I would do this, and possibly point me to the key functions needed? 回答1: In the general case, that's not a simple