Exemple #1
0
        public void saveOneNoteBookCfg(KonfigurationOneNote onenoteConf)
        {
            System.IO.Directory.CreateDirectory(ExportOneNotePages.GetOutPutDir(onenoteConf.notebook));
            using (System.IO.StreamWriter file = new System.IO.StreamWriter(ExportOneNotePages.GetOutPutDir(onenoteConf.notebook) + @"\guides.json"))
            {
                file.Write(getBookCfg(onenoteConf));

                file.Flush();
                file.Close();
            }

            Debug.WriteLine("Finished Config");
        }
 public String getPagePath(KonfigurationOneNote onenoteConf)
 {
     return(ExportOneNotePages.GetOutPutDir(onenoteConf.notebook) + @"\" + this.getCfgId() + @"\");
 }