title: How to get formatting of styles in Word document in officer?
body: <p>I want to write some documents with <code>officer</code> and I have some predefined styles in my word document that I load with <code>read_docx()</code>. Now I can look at the styles but I especially want to know which font type or which font size each style has and I cannot find that.
  This is all I can find:</p>
  
  <pre><code>Document &lt;- read_docx(FILEPATH)
  head(Document$styles)
    style_type style_id style_name is_custom is_default
  1  paragraph   Normal     Normal     FALSE       TRUE
  2  paragraph Heading1  heading 1     FALSE      FALSE
  3  paragraph Heading2  heading 2     FALSE      FALSE
  4  paragraph Heading3  heading 3     FALSE      FALSE
  5  paragraph Heading4  heading 4     FALSE      FALSE
  6  paragraph Heading5  heading 5     FALSE      FALSE
  </code></pre>
  
  <p>Unfortunately there is no column with the font size or font type.
  I really need to have the font size (for example 10) and font type (for example "Times New Roman") of heading 1 in <code>R</code> because the argument <code>style</code> of the function <code>body_add_par</code> is not enough for my purposes. Is there a way to get this?</p>
  
  <p>Edit: It also would be great if the solution is not from <code>officer</code>.</p>