It depends on the document format which you are attaching in the notes entity.
I have worked on Excel format(Both Reading from Excel and Writing to Excel through CRM).
If your doc is other than excel....then,Sorry I dont know!!