• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to see if text is bold using Apache POI

 
Ivan Bisevac
Ranch Hand
Posts: 48
Java MySQL Database Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am reading .doc document and i extracted one row. How could i see if text in that row is bold or not?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From an HWPFDocument's Range object, you can get all individual CharacterRun objects - which have methods such as isBold() etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!