We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Runs for a paragraph

Hi,


When a footnote is present in a paragraph, on getting the runs of the paragraph I am not being able to get the footnote as one of the run.
I am using the following code

for (Run run : (Iterable) para.getRuns())
{
System.out.println(run.toString(SaveFormat.TEXT).toString());
}


Regards,
Rajesh

Hi Rajesh,


Thanks for your inquiry. Please use the following code to solve this problem:
for (Run run : (Iterable<Run>) para.getChildNodes(NodeType.RUN, true))
{
System.out.println(run.toString(SaveFormat.TEXT).toString());
}
Best regards,