Hi,
We have a requirement where we will have to copy the content of one rich text editor to another rich text editor in another document. For that we are extracting the content of the rich text control into a html list and storing it at a place and when needed we are getting that back and inserting it back into the new document. When we do this, the foot notes are not getting extracted. Is there a way to extract those foot notes too and insert them exactly in the same position in the new document.
Could you please provide a solution with a code snippet.
Attached the document and extraction code:
NodeCollection nodeCol= inputDocument.getChildNodes(NodeType.STRUCTURED_DOCUMENT_TAG,true);
for (StructuredDocumentTag node : (Iterable)nodeCol) {
String name=node.getTag();
depFieldsMap.put(name, node.toString(SaveFormat.HTML));
}
Regards,
Rajesh.