SIMITGROUP/phpjasperxml

Error in pdf report (Frames objects)

onoboaits opened this issue · 5 comments

Hi, congratulations for your work, but i have this problem.

In my report when call the export in pdf, i get this error:

Fatal error: Uncaught Error: Call to undefined method PHPJasperXMLElement::element_frame() in C:\xampp\htdocs\hrmedic\reports\version\1.1\abstractPHPJasperXML.inc.php:952 Stack trace: #0 C:\xampp\htdocs\hrmedic\reports\version\1.1\PHPJasperXML.inc.php(111): abstractPHPJasperXML->default_handler(Object(SimpleXMLElement)) #1 C:\xampp\htdocs\hrmedic\reports\version\1.1\abstractPHPJasperXML.inc.php(789): PHPJasperXML->group_handler(Object(SimpleXMLElement)) #2 C:\xampp\htdocs\hrmedic\reports\version\1.1\abstractPHPJasperXML.inc.php(1340): abstractPHPJasperXML->xml_dismantle(Object(SimpleXMLElement)) #3 C:\xampp\htdocs\hrmedic\reports\version\1.1\abstractPHPJasperXML.inc.php(1346): abstractPHPJasperXML->load_xml_string('<?xml version="...') #4 C:\xampp\htdocs\hrmedic\reports\rptForm01.php(20): abstractPHPJasperXML->load_xml_file('rptform01.jrxml') #5 {main} thrown in C:\xampp\htdocs\hrmedic\reports\version\1.1\abstractPHPJasperXML.inc.php on line 952

My report xml in jasper report have some frames elements.

The report in jpg is attached.
form01_page1
form01_page2
form01_page3

Hi..
I have same problem..
can you solve this problem? please tell me..

thanks,

fau

you shouldnt use frame or list, it is not supported
https://github.com/SIMITGROUP/phpjasperxml/wiki/Limitation

usually i achieve similar result by put in html content into textfield

since we use tcpdf, the result of textfield can be similar like here:
https://tcpdf.org/examples/example_006/

you shouldnt use frame or list, it is not supported
https://github.com/SIMITGROUP/phpjasperxml/wiki/Limitation

usually i achieve similar result by put in html content into textfield

OK, Thanks for respond..
i was changed with rectangle..