7rouz
-
Posts
10 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by 7rouz
-
-
hi all,
i have created a report with ireport which contains data in arabic.
i find the solution how to create a pdf file with arabic data.
my probleme is when i call this report from java i have an exception that informs me that java didn't find fonts that i used in ireport.
is any body can help me.
thanks
-
Tanks Case1182 but my field isn't a boolean field.
it is a String field.
-
thanks Case1182 for your reply.
my field is a string field.
but when i use you r solution i have this error message.
net.sf.jasperreports.engine.JRException:ÂErrorsÂwereÂencounteredÂwhenÂcompilingÂreportÂexpressionsÂclassÂfile: 1.ÂCannotÂcastÂfromÂStringÂtoÂBoolean ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂvalueÂ=Â(java.lang.Boolean)(newÂjava.lang.String(((java.lang.String)field_ENSEIGNANT_NOM_ENS.getValue())Â!=Â"null"Â?Â((java.lang.String)field_ENSEIGNANT_NOM_ENS.getValue())Â:Â"-"));/*$JR_EXPR_ID=15$*/ ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------> 2.ÂCannotÂcastÂfromÂStringÂtoÂBoolean ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂvalueÂ=Â(java.lang.Boolean)(newÂjava.lang.String(((java.lang.String)field_ENSEIGNANT_NOM_ENS.getOldValue())Â!=Â"null"Â?Â((java.lang.String)field_ENSEIGNANT_NOM_ENS.getOldValue())Â:Â"-"));/*$JR_EXPR_ID=15$*/ ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> 3.ÂCannotÂcastÂfromÂStringÂtoÂBoolean ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂvalueÂ=Â(java.lang.Boolean)(newÂjava.lang.String(((java.lang.String)field_ENSEIGNANT_NOM_ENS.getValue())Â!=Â"null"Â?Â((java.lang.String)field_ENSEIGNANT_NOM_ENS.getValue())Â:Â"-"));/*$JR_EXPR_ID=15$*/ ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------> 3Âerrors ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193) ÂÂÂÂatÂit.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:578) ÂÂÂÂatÂjava.lang.Thread.run(UnknownÂSource)
-
i have a question for all user of this forum.
if we don't help others and solve their probleme, i think that is a bad thing.
please try to help others that you can find people to help you next.
thanks
-
hi all,
i created a report with ireport and when i run it i choose the JRViewer preview.
the problem is that i call this report from java.
all thing are good.
but when i close the report all the application close.
and this not a good thing.
can any one help me.
thanks
-
thanks cris_tyna for help, but i am new in ireport can you explain more how to do.
thanks again
-
hi all,
i created a report which contains arabic data.
when i run it into a pdf preview the data which is in arabic is not showed abd its place still empty.
should i add something to the ireport.
because when i open a pdf which is in arabic i don't have this problme.
so the acrobat is well
-
hi all,
i ceated a report using ireport.
while running, sometimes when i have no data in a field i have the value "null" in it.
but i like to change it to "-".
thanks for the help
-
hi,
i am new in this forum.
my probleme is that i don't know how to send a parameter from jdeveloper to ireport.
can any body help me.
thanks
problem when calling a report from java
in Products
Posted
Hi all,
i have created a report using ireport which contains arabic data.
when i execute the report from ireport to generate a pdf file it works.
however when i call this report from java i have an exception"
Could not create the report Could not load the following font :
pdfFontName : ARIAL.TTF
pdfEncoding : Identity-H"
"
the pdfFont i used it in ireport, also the pdfEncoding.
did anyone passed with the same problem
thanks for help