void ImportBody(Body body, XElement elem) { if (elem == null) throw new DocxFormatException ("Body element not found"); ImportParagraphs (body.Blocks, elem.Elements (w + "p")); }
public virtual void Visit(Body body) { foreach (var block in body.Blocks) Visit (block); }
public Document() { Body = new Body (); }