Re: docs.google.com how do the export ?

From: Date: Wed, 24 Oct 2007 08:05:40 +0000
Subject: Re: docs.google.com how do the export ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263591@lists.php.net to get a copy of this message
Hi there, I guess they have some sort of mapping between HTML generated and PDF or Word syntax. There is a PDF extension for PHP so generaly they would do something like <h1>Hello There</h1> <p style='font-size:14px;color: green'> Some text Here !!! </p> this can be easily converted to PDF $PDF = new PdfDoc(); $page_1 = $PDF->addPage(); $page_1->addText('Hello There','22'); // eg 22px default for H1 element $page_1->newLine(); $page_1->addText('Some Text Here!!!','14','green'); $PDF->save('sample.pdf'); P.S. methods for PfdDoc class was just sample ones for more info on PDF and PHP http://pear.php.net/package/File_PDF http://pecl.php.net/package/pdflib On Oct 24, 2007, at 8:35 AM, Torsten Rosenberger wrote:
Hello I watched docs.google.com an wonder how they can export the WYSIWYG created content in pdf, word, ... Are they working with COM() functions on Windows ? to generate the docs and pdf or is it possible to create them with XSLT BR Torsten --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Bojan Tesanovic http://www.classicio.com/ http://www.real-estates-sale.com/

« previous php.general (#263591) next »