Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Run behaves differently for docx and pdf

$
0
0
Hi,
When we upload a docx file, we are getting value as "Payne v. Kassab" properly.

But when we upload a pdf file, we are getting value as "Kassab" from the below code

if (run.getFont().getItalic()) {
int position = text.indexOf(run.toString(SaveFormat.TEXT), paraCount);
System.out.println(text);
}
Please help us on this.

Please find attached docx and pdf file for reference.

Viewing all articles
Browse latest Browse all 3131

Latest Images

Trending Articles



Latest Images