• Home
  • Site Map
  • DiseƱo y desarrollo web 2mdc.com



Register Lost your password?

  • Demo
  • Documentation
  • Download
  • FAQ
  • Features
  • Forum
  • Support
  • Blog - News
  • Press
  • Contact
Blog / News > videocast > Learn how to add format to text on PHPdocX 1.5 Pro

Blog - News

Learn how to add format to text on PHPdocX 1.5 Pro

Posted on July 12th, 2010 in videocast |

If you enjoyed this post you might want to subscribe to our RSS Feed!

    2 Responses

  • Nico

    Hi,

    I have a problem with your code, it generates a DOCX document with “Array” as content, and there is no example for this functionality :

    ‘test123′,
    ‘u’ => ’single’
    );
    $arrText[] = array(
    ‘text’ => ‘test’
    );
    $objDocx->fAddText($arrText);
    $objDocx->fCreateDocx(’testdocx’);

    ?>

    Regards,

  • Nico

    Some parts of the code are removed so I posted the code here:

    http://pastebin.com/EabRHq10

Your comments

  • Categories

    • News (6)
    • Q&A (4)
    • Samples (54)
    • videocast (3)
  • Recent Posts

    • (2011-08-26 09:33:39)
      PHPdocx 2.3 and HTML insertion: compatibility issues with generated documents
    • (2011-06-06 13:36:26)
      Creating a Report using PHPdocx
    • (2011-06-06 13:30:58)
      Add a footnote to a chart in a docx document using PHPdocx
    • (2011-06-06 13:15:15)
      Multiple custom documents with PHPdocx
    • (2011-06-06 12:48:42)
      Add a pager in the footer of a docx created with PHPdocx
    • (2011-06-06 12:31:44)
      Creating a PDF document using PHPdocx
    • (2011-06-06 12:26:50)
      Adding HTML to a docx document created with PHPdocx
    • (2011-06-06 12:13:41)
      Give style to a table in PHPdocx
    • (2011-06-06 12:09:27)
      Creating and adding info to a template table in PHPdocx
    • (2011-06-06 12:02:43)
      Adding the contents of a RFT document using variables in a template
  • Recent Comments

    • nachtschicht on addTable: dynamical insertion of tables in Microsoft Office Word documents (.docx)
    • karthick on addHeader: dynamical insertion of page headers in Microsoft Office Word documents (.docx)
    • nachtschicht on addTable: dynamical insertion of tables in Microsoft Office Word documents (.docx)
    • Kensei on Adding HTML to a docx document created with PHPdocx
    • Christopher on addDOCX: adds an existing DOCX into your Word document
  • Archives

    • August 2011 (1)
    • June 2011 (29)
    • May 2011 (22)
    • January 2011 (1)
    • November 2010 (1)
    • October 2010 (2)
    • September 2010 (4)
    • August 2010 (1)
    • July 2010 (5)
    • September 2009 (3)
  • .Documentation
  • Download
  • Features
  • Support
  • Blog-News
  • Contact
  • Press

  • PHPDOCX
  • 2mdc.com

Copyright © 2010 PHPDOCX