-2

I want to get the color of text, word by word, from a docx file using apache poi. But all I've found is how to set the color.

Hawk
  • 1

1 Answers1

1

XPFRun class has a getColor method. You can use a code similar to shown here, but with getColor instead of setColor.

Alex Sveshnikov
  • 4,214
  • 1
  • 10
  • 26