Exemplo n.º 1
0
        void frm_Save(object sender, ExportTocEventArgs e)
        {
            Save(e.XML);
            if (e.CreateHtmlTOC)
            {
                HtmlTOCDocument doc = new HtmlTOCDocument(NewNavMap);
                doc.UpdateFile();
            }

            e.Message = SaveMessage;
        }
Exemplo n.º 2
0
        private void Save(XElement xml)
        {
            NewNavMap = xml;

            if (NewNavMap == null)
                return;

            ReplaceNavMap(NewNavMap);
            WriteXML();

            base.UpdateZip(fileOutStream);

            if (Variables.CreateHtmlTOC == true)
            {
                HtmlTOCDocument doc = new HtmlTOCDocument(NewNavMap);
                doc.UpdateFile();
            }
        }
Exemplo n.º 3
0
        void frm_Save(object sender, ExportTocEventArgs e)
        {
            Save(e.XML);
            if (e.CreateHtmlTOC)
            {
                HtmlTOCDocument doc = new HtmlTOCDocument(NewNavMap);
                doc.UpdateFile();
            }

            e.Message = SaveMessage;
        }