void When(DocumentCustomDataSet e)
 {
     this.CustomData = e.CustomData;
 }
 public void On(DocumentCustomDataSet e)
 {
     _writer.UpdateCustomData(e.Handle, e.CustomData);
 }