title: How to iterate over everything in a python-docx document?
body: <p>I am using <code>python-docx</code> to convert a Word docx to a custom HTML equivalent.  The document that I need to convert has images and tables, but I haven't been able to figure out how to access the images and the tables within a given run.  Here is what I am thinking...</p>
  
  <pre><code>for para in doc.paragraphs:
      for run in para.runs:
          # How to tell if this run has images or tables?
  </code></pre>
  
  <p>...but I don't see anything on the <code>Run</code> that has info on the <code>InlineShape</code> or <code>Table</code>.  Do I have to fall back to the XML directly or is there a better, cleaner way to iterate over everything in the document?</p>
  
  <p>Thanks! </p>