コード例 #1
0
        public EpubBuilder(RuntimeSettings settings, ILog log, ShortCodeLoader loader, CsharpScriptHandler scriptHandler)
            : base(settings, log, loader, scriptHandler)
        {
            var session = new GeneratorSteps.Epub.EpubSession();

            AddStep(new GeneratorSteps.CreateOutputDirectory());
            AddStep(new GeneratorSteps.CopyAssets(settings.Configuration.TargetEpub));
            AddStep(new GeneratorSteps.ImageProcessor());
            AddStep(new GeneratorSteps.Epub.CreateEpubStructure());
            AddStep(new GeneratorSteps.Epub.CreateEpubPages(session));
            AddStep(new GeneratorSteps.Epub.CreateEpubToc());
            AddStep(new GeneratorSteps.Epub.CreatePackageOpf(session));
            AddStep(new GeneratorSteps.Epub.CreateEpubPack());
        }
コード例 #2
0
 public CreatePackageOpf(EpubSession session)
 {
     _session = session;
 }
コード例 #3
0
 public CreateEpubPages(EpubSession session)
 {
     _session = session;
 }