コード例 #1
0
ファイル: EpubPublisher.cs プロジェクト: kapitanov/mwiki_pub
        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();
        }
コード例 #2
0
        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);
        }
コード例 #3
0
ファイル: Document.cs プロジェクト: kapitanov/mwiki_pub
 public Document(WikiContent content)
 {
     this.content = content;
 }