delete(index, leftLength, rightparentElement);
Paragraph orgparagraph = Paragraph
.getInstanceof((TextParagraphElementBase) rightparentElement);
TextDocument document = (TextDocument) orgparagraph
.getOwnerDocument();
paragraphContainer = document.insertParagraph(orgparagraph,
sourceParagraph, true);
pos = "head";
handlePageBreak(orgparagraph, pos, continued);
}
} else if (nodeLength == (index + leftLength)) {