title: How do I insert text as Italic or Bold etc with a python macro in libreoffice writer
body: <p>The premise:<br/> 
  I am working in libreoffice writer and need to send an instruction to another program that I know is listening on a TCP port, via a python macro.</p>
  
  <p>I am expecting a reply from the listening program and want to insert the replied data into the libreoffice document in <em>italics</em>.</p>