DescriptionDocumentationExamplesLinksLicenseFuture plansDevelopersDownloads
Flag Flag

If you like this script, please rate it at:

Cíclope project logo



Here are some little examples that show you how to start to create some simple documents. These examples works with the latest version of the library (currently 0.3 version).

  1. Simple example: insert text
  2. Text styles and line breaks
  3. Textboxes
  4. Images
  5. Header, footer and meta-information
  6. Tables
  7. Some drawings
  8. <?php

    $sxw = new pdw_document;

    $sxw->SetStdFont ("Times New Roman",10);
    $sxw->Write ('Insertamos una tabla:');

    $header = array('DNI','Nombre','Apellidos','Teléfono','Email');
    $data[] = array('23453451F','Pedro','Martín','912345678','');
    $data[] = array('36213764H','Juan','Juanitez','915436753','');



    You can generate the document corresponding to this script, to do that click here.