'How to delete a line from a Word document
Please do you know how to remove a line in MS Word using Apache POI?
I tried to remove the runs in the paragraph itself but no way.
Here's the code I tried:
List<XWPFRun> runs = parag.getRuns();
for(int i = 0; i< runs.size(); i++) {
parag.removeRun(i);
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
