java - How to read variables from the word document using docx4j? -
i want variables(${colour}) list , pass variables dynamically.is possible variables list.
thanks
you'll have write code yourself.
three approaches:
- use textutils text, , parse ${
- use xpath
- use traverse utils
all 3 of these documented further in docx4j's getting started.
method 1 simplest, guess.
could variables in headers/footers/footnotes/endnotes? if so, note these separate "parts", , need handled.
Comments
Post a Comment