public void PreviewLanguage(MNBookLanguage bl, string fileName) { MNLocalisation file = new MNLocalisation(); bl.FilePath = fileName; file.Load(bl.FilePath, false); bl.BookCode = file.GetProperty("BookCode"); bl.LanguageName = file.GetProperty("LanguageName"); bl.LastTimeSave = file.GetProperty("LastChange"); }
public MNDocument() { Book = new MNBookHeader(); Data = new MNBookData(this); DefaultLanguage = new MNLocalisation(); CurrentLanguage = null; // initialize global ID provider Data.InitializeID(); // initialize default style InitialiseDefaultStyles(); // create new default page CreateNewPage(); }