sample_bold.docx (54.4 KB)
I have provide a sample document for your references.
I think there is a False Positives. How can I avoid it.
I am sharing the output below that I am getting by using “run.getFont().getBold()”.
“bold_text”: [
{
“end_offset”: 8,
“text”: " ",
“start_offset”: 7
}
],