title: Open XML: Word - Getting all Paragraphs marked as "Heading1" style
body: <p>Using Word I have created a Docx with the standard normal.dot as a test. Hello-world level complexity.</p>
  
  <p>I wish to get <code>all the paragraphs</code> which are styled with the "<code>Heading1</code>" <code>style</code> in Word.</p>
  
  <p>I can get all the paragraphs, but don't know how to filter down to Heading1.</p>
  
  <pre><code>using (var doc = WordprocessingDocument.Open(documentFileName, false))
  {
      paragraphs = doc.MainDocumentPart.Document.Body
                      .OfType&lt;Paragraph&gt;().ToList();
  }
  </code></pre>