protected void ProcessChild(DocxNode node, ref Paragraph paragraph, Dictionary <string, object> properties) { DocxElement element = context.Convert(node); if (element != null) { if (ParagraphCreated != null) { element.ParagraphCreated = ParagraphCreated; } element.Process(node, ref paragraph, properties); } }
protected void ProcessChild(DocxNode node, ref Paragraph paragraph) { DocxElement element = context.Convert(node); if (element != null) { if (ParagraphCreated != null) { element.ParagraphCreated = ParagraphCreated; } element.Process(node, ref paragraph); } }
public void Process(IParser parser) { if (parser == null) { throw new ArgumentNullException("parser"); } parser.BaseURL = context.BaseURL; parser.UriSchema = context.UriSchema; IHtmlNode node = parser.FindBodyOrFirstElement(); context.SetParser(parser); if (node != null) { DocxElement body = context.GetBodyElement(); Paragraph paragraph = null; body.Process(new DocxNode(node), ref paragraph); } }