title: Copy text, images, tables, ALL formatting, margins from on GDoc to another
body: <p>After trying a few mail merge scripts, I decided t write my own. My merge script runs as a separate fiIt reads a template from a GDoc, reads data from a GSpreadsheet, and merges it either into Gmails or into a new GDoc - one page / email per SS row. </p>
  
  <p>The problem is that it doesn't copy text formatting, margins or images into the Gmail or new GDoc ... only the plain text. </p>
  
  <p>I am using <strong>DocumentApp.openById > getActiveSection > getText()</strong> to capture the text.</p>
  
  <p>Here is the code in GDoc <a href="http://goo.gl/fO5vP" rel="nofollow">http://goo.gl/fO5vP</a> 
  I can't seem to share a script so I had to put it in a doc. Copy it to a new script and it will be color coded. </p>