LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-02-2009, 12:59 PM   #1
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
My New PHP WYSIWYG PDF library


Hi,

My company'd just develop an open source PHP report library which allow you design PDF report via Java based IReport report designer. When you run the report it will use FPDF library as foundation and convert ireport xml file to PDF on the fly.

We make use the FPDF library, you can increase the productivity 100%-300% if you know how to use iReport.

Since my company gain a lot of benefit from open source software, so we willing to contribute something to open source community.
This project is free to use and free to change, project name = PHPJasperXML.

Download at:
http://www.simit.com.my/?q=phpjasperxml

This is new library and we need you feed back. Please feed back at:
http://www.extraknowledge.org/forum/viewforum.php?f=23

Below is the sample source code for display the report. Hopefully this project can spread fast, so that not PHP expert can design their PDF report easily.

Thanks for you trying this library.
Ks Tan



<?php

include_once('class/fpdf/fpdf.php');
include_once("class/PHPJasperXML.inc");
include_once ('setting.php'); //optional, just wanna to preset variable for database



$xml = simplexml_load_file("sample1.jrxml");


$PHPJasperXML = new PHPJasperXML();
$PHPJasperXML->arrayParameter=array("parameter1"=>1);
$PHPJasperXML->xml_dismantle($xml);

$PHPJasperXML->transferDBtoArray($server,$user,$pass,$db);
$PHPJasperXML->outpage("I"); //page output method I:standard output Download file


?>
 
Old 10-02-2009, 02:05 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
maybe you could add more details of what it does

Last edited by smeezekitty; 10-02-2009 at 02:06 PM. Reason: bad spelling
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for a good pdf library website icedown General 1 03-31-2009 10:16 AM
opinion of PDF for C-library documentation ta0kira Programming 8 04-23-2008 11:16 AM
i need a php pdf tutorial and also MySQLdatabase pdf tutorial dlux45 Linux - Newbie 1 12-27-2007 10:32 AM
PHP: convert to PDF mikeshn Programming 1 10-01-2003 06:23 AM
WYSIWYG PHP editor CyberDrake General 4 12-21-2002 08:11 AM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration