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,