title: How to produce a formatted report from LibreOffice Calc spreadsheet?
body: <p>I have a very simple LibreOffice Calc spreadsheet with column headers and columns (cell can be multiline), someting like:</p>
  
  <pre><code>| id | Prio | Domain | Comment        | ... |
  |----|------|--------|----------------|-----|
  |  1 |    A | Foo    | Something      |     |
  |----|------|--------|----------------|-----|
  |  2 |    A | Bar    | Something else |     |
  |    |      |        | Possibly on    |     |
  |    |      |        | multiple lines |     |
  |----|------|--------|----------------|-----|
  |  1 |    C | Baz    | Something else |     |
  </code></pre>
  
  <p>I would like to obtain, in a (semi) automated way a <em>plain text file</em> containing something like:</p>
  
  <pre><code>id:      1
  Prio:    A
  Domain:  Foo
  Comment: Something
  ...
  
  id:      2
  Prio:    A
  Domain:  Bar
  Comment: Something else
           Possibly on
           multiple lines
  ...
  
  id:      3
  Prio:    C
  Domain:  Baz
  Comment: Something else
  ...
  </code></pre>
  
  <p>Is this possible somehow?
  I am aware of LO macro capabilities (e.g.: <a href="https://stackoverflow.com/questions/25092195/create-new-txt-html-file-for-each-row-in-ooo-calc-spreadsheet">this</a> ), so the trivial answer is probably "yes", but I never used them so I would need some guidance (I don't even know how to use such a thing).</p>