Exemple #1
0
        public void Publish(WikiContent content, string targetPath)
        {
            var processor = new EpubPublisherProcessor(content, new CssStyleManager(), targetPath);
            processor.Enqueue(new CategoryTaskQueueItem(content.GetCategory(string.Empty)));

            processor.ProcessTasks();
            processor.Publish();
        }
        public EpubPublisherProcessor(WikiContent content, ICssStyleManager styleManager, string targetPath)
        {
            this.content = content;
            this.targetPath = targetPath;

            resourceManager = new EpubResourceManager(this);
            htmlCompiler = new HtmlCompiler(resourceManager, styleManager);
            packager = new EpubPackager(content.Title, resourceManager, styleManager);
        }
Exemple #3
0
 public Document(WikiContent content)
 {
     this.content = content;
 }