public void Restore(DocumentState state) { _content = state.GetContent(); _fontName = state.GetFontName(); _fontSize = state.GetFontSize(); }