Ejemplo n.º 1
0
        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");
        }
Ejemplo n.º 2
0
        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();
        }