title: Exporting raw data with OpenTBS mergeField method
body: <p>I'm using OpenTBS to export statistics to a .ods file.
  I'd like to be able to generate graphs in the generated document.
  Problem is that each piece of data exported is escaped with a single quote (') in the generated document. I can't generate graphs without removing it.</p>
  
  <p>Is there a way to specify raw data with OpenTBS mergeField() method ?</p>
  
  <p>Here's a peak at the code :</p>
  
  <pre><code>$model = __DIR__ . "/../../Resources/public/models/Stats/Stats_mensuelles_template.ods";
  
  $targetDir = __DIR__ . self::Z2_DOCGEN_TARGETDIR;
  
  $this-&gt;setDocumentName($document, $this-&gt;type);
  
  // (...) fetching the data (...)
  
  
  // each getComptage* method return an integer value
  $sm = array(
      "date" =&gt; $statistique-&gt;getDateFin()-&gt;format('M Y'),
      "pn" =&gt; $statsCurrentMonth-&gt;getComptagePaliersNormaux(),
      "pe" =&gt; $statsCurrentMonth-&gt;getComptagePaliersExceptionnels(),
      "cu" =&gt; $statsCurrentMonth-&gt;getComptagePaliersUrgents(),
      "pb" =&gt; $statsCurrentMonth-&gt;getComptagePatchesBIRDe(),
  );
  
  //Chargement de la page principale
  $this-&gt;tbsManager-&gt;LoadTemplate($model, OPENTBS_ALREADY_UTF8);
  $this-&gt;tbsManager-&gt;MergeField('sm', $sm);
  $this-&gt;tbsManager-&gt;Show(OPENTBS_FILE, $targetDir . $document-&gt;getNom());
  </code></pre>
  
  <p>Here's what the cells in the .ods template looks like ([sm.*] and labels are in seperate cells):</p>
  
  <blockquote>
  <pre><code>Statistiques mensuelles [sm.date]
  Palier normal             [sm.pn]
  Palier exceptionnel               [sm.pe]
  Palier urgent             [sm.cu]
  Patch BIRDe               [sm.pb]
  Autres paliers                [sm.div]
  </code></pre>
  </blockquote>
  
  <p>Finally, here's an example of generated cells</p>
  
  <blockquote>
  <pre><code>Palier normal             '30
  Palier exceptionnel               '8
  Palier urgent             '15
  Patch BIRDe               '41
  Autres paliers                '28
  </code></pre>
  </blockquote>
  
  <p>Thanks</p>