private bool OnParseCommandCanExecute() { return Document != null && !string.IsNullOrWhiteSpace(Document.Text); }