Ejemplo n.º 1
0
 public HtmlDocumentFormatter(Configuration configuration, HtmlHeaderFormatter htmlHeaderFormatter,
                              HtmlTableOfContentsFormatter htmlTableOfContentsFormatter,
                              HtmlContentFormatter htmlContentFormatter, HtmlFooterFormatter htmlFooterFormatter,
                              HtmlResourceSet htmlResources)
 {
     this.configuration = configuration;
     this.htmlHeaderFormatter = htmlHeaderFormatter;
     this.htmlTableOfContentsFormatter = htmlTableOfContentsFormatter;
     this.htmlContentFormatter = htmlContentFormatter;
     this.htmlFooterFormatter = htmlFooterFormatter;
     this.htmlResources = htmlResources;
 }
Ejemplo n.º 2
0
 public HtmlDocumentFormatter(Configuration configuration, HtmlHeaderFormatter htmlHeaderFormatter,
                              HtmlTableOfContentsFormatter htmlTableOfContentsFormatter,
                              HtmlContentFormatter htmlContentFormatter, HtmlFooterFormatter htmlFooterFormatter,
                              HtmlResourceSet htmlResources,
                              IFileSystem fileSystem)
 {
     this.configuration                = configuration;
     this.htmlHeaderFormatter          = htmlHeaderFormatter;
     this.htmlTableOfContentsFormatter = htmlTableOfContentsFormatter;
     this.htmlContentFormatter         = htmlContentFormatter;
     this.htmlFooterFormatter          = htmlFooterFormatter;
     this.htmlResources                = htmlResources;
     this.fileSystem = fileSystem;
 }
Ejemplo n.º 3
0
 public HtmlDocumentFormatter(
     IConfiguration configuration,
     HtmlHeaderFormatter htmlHeaderFormatter,
     HtmlTableOfContentsFormatter htmlTableOfContentsFormatter,
     HtmlContentFormatter htmlContentFormatter,
     HtmlFooterFormatter htmlFooterFormatter,
     HtmlResourceSet htmlResources,
     IFileSystem fileSystem)
 {
     this.configuration = configuration;
     this.htmlHeaderFormatter = htmlHeaderFormatter;
     this.htmlTableOfContentsFormatter = htmlTableOfContentsFormatter;
     this.htmlContentFormatter = htmlContentFormatter;
     this.htmlFooterFormatter = htmlFooterFormatter;
     this.htmlResources = htmlResources;
     this.fileSystem = fileSystem;
 }
 private HtmlResourceSet CreateHtmlResourceSet()
 {
     var configuration = new Configuration { OutputFolder = FileSystem.DirectoryInfo.FromDirectoryName(@"c:\") };
     var htmlResources = new HtmlResourceSet(configuration, FileSystem);
     return htmlResources;
 }