protected bool OnFormatStyle(object args) { ShowStylesDialog(ParaStyleListHelper != null ? ParaStyleListHelper.SelectedStyle.Name : null, CharStyleListHelper != null ? CharStyleListHelper.SelectedStyle.Name : null, null); return true; }