public void Test() { var compiler = new DocumentCompiler(); var compiled = compiler.Compile("SimpleFormulas.xlsx"); var evaluator = new SyntaxEvaluator(compiled, new CustomFunctionProvider()); var b2 = evaluator.GetCell <int>(new Cell("a2")); }
public TocBasedPagesCompiler(DocumentCompiler documentCompiler, ParserOptions options) : base(documentCompiler, options) { }
public DocumentationDirectoryCompiler(DocumentCompiler documentCompiler, ParserOptions options) { _documentCompiler = documentCompiler; Options = options; }
/// <summary> /// 将文档结构编译成一个方法,文档结构可以由此方法复原 /// </summary> /// <param name="document">要编译的文档</param> /// <returns>复原文档的方法</returns> public static Func <IHtmlDomProvider, IHtmlDocument> Compile(this IHtmlDocument document) { return(DocumentCompiler.Compile(document)); }
public IndexPagesCompiler(DocumentCompiler documentCompiler, ParserOptions options) : base(documentCompiler, options) { }