Exemple #1
0
 /**
  * Outputs export footer
  *
  * @return  bool        Whether it suceeded
  *
  * @access  public
  */
 function PMA_exportFooter()
 {
     $GLOBALS['odt_buffer'] .= '</office:text>' . '</office:body>' . '</office:document-content>';
     if (!PMA_exportOutputHandler(PMA_createOpenDocument('application/vnd.oasis.opendocument.text', $GLOBALS['odt_buffer']))) {
         return FALSE;
     }
     return TRUE;
 }
Exemple #2
0
 /**
  * Outputs export footer
  *
  * @return  bool        Whether it succeeded
  *
  * @access  public
  */
 function PMA_exportFooter()
 {
     $GLOBALS['ods_buffer'] .= '</office:spreadsheet>' . '</office:body>' . '</office:document-content>';
     if (!PMA_exportOutputHandler(PMA_createOpenDocument('application/vnd.oasis.opendocument.spreadsheet', $GLOBALS['ods_buffer']))) {
         return false;
     }
     return true;
 }