((DocumentLine.Part)lineParts.get(i)).attachDetachAnnotations(doc, closing);
((DocumentLine.Part)lineParts.get(i)).attachDetachAnnotations(doc, closing);
p.attachDetachAnnotations(doc, closing);
((DocumentLine.Part)lineParts.get(i)).attachDetachAnnotations(doc, closing);
((DocumentLine.Part)lineParts.get(i)).attachDetachAnnotations(doc, closing);
p.attachDetachAnnotations(doc, closing);