move NoteReference to docx.text to prevent circular imports