Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
Re:PDF Generator for the com_php (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:PDF Generator for the com_php
#960
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:PDF Generator for the com_php 2 Years, 7 Months ago Karma: 10  
Do you just want the text from the forms? Or do you want the actual forms embedded in the PDF.

If you just want the values:

You could try to parse the HTML, before sending it to the PDF Library.

That is, try an XML parser, Joomla comes with more then one XML parsing utility.

$type = 'simple'; // simple | rss | dom
$xmlParser =& JFactory::getXMLParser($type);

Parse all the form fields and convert them to regular HTML elements like <span> or <div>.

If you want to embed the form:

You'll probably have to extend the PDF lib.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#961
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:PDF Generator for the com_php 2 Years, 7 Months ago Karma: 10  
For Flash, you your best bet is to have search engine friendly version of the flash content. Flash has functionality to do this, however I don't know the exact details.
You can take the SEF version of the Flash content and pass that to the PDF library.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#962
Prakash2009 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:PDF Generator for the com_php 2 Years, 7 Months ago Karma: 0  
Thanks for your worthful effort on helping me...
I have generated the PDF for the required form...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#963
Prakash2009 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:PDF Generator for the com_php 2 Years, 7 Months ago Karma: 0  
generating flash object as PDF is the last challange here..
If you know any source where I can contact, please let me know...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#964
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:PDF Generator for the com_php 2 Years, 7 Months ago Karma: 10  
Do you want to extract content from existing SWF files? This would require a PHP library that could parse the SWF format for media that you might want in the PDF.

I'm not aware of any implementation in PHP.

For the swf format see: http://www.adobe.com/devnet/swf/

If you are able to install programs on your server, you could probably get an "SWF decompiler" to decompile the swf into source. You can then parse that "easier".

Either of the above would require quite I bit of development.

It would be easier to design the pages in a way that there is alternative content for each Flash file. So the alternative content automatically goes into the PDF. Just like how it is done for SEO purposes:

By injecting the flash with JavaScript into existing HTML node: http://www.hochmanconsultants.com/articles/seo-friendly-flash.shtml

By using XSLT to transform an existing XML file to flash version: http://www.metah.ch/blog/2008/04/holy-grail-seo-model-for-flash-and-flex-content/
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.