thiagot Posted September 26, 2006 Share Posted September 26, 2006 Hey guys, I need a hand here.I created a styled static text and all was going ok, bold italic, everything. But I need one thing, I need to indent paragraphs. like using Tab key. It is not working. I tried using <p> and it doesn't recognize it. "& n b s p ;" isn't accepted too. I noticed that if I use PDF tags it will work for HTML and PDF but if I use HTML tags it won't work on PDF. I need to work on both. Can anyone help me with this?Thanks Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 28, 2006 Share Posted September 28, 2006 Hi, This is an issue that is not handled very well because JR is relying on AWT rendering and dealing with tabs and identation there is quite complex.So I guess you need to post a request for enhancement and we'll see what we can do about it and prioritize it. Thank you,Teodor Link to comment Share on other sites More sharing options...
waynes Posted April 17, 2007 Share Posted April 17, 2007 thiagot wrote:Hey guys,I need a hand here.I created a styled static text and all was going ok, bold italic, everything.But I need one thing, I need to indent paragraphs. like using Tab key. It is not working. I tried using <p> and it doesn't recognize it. "& n b s p ;" isn't accepted too.I noticed that if I use PDF tags it will work for HTML and PDF but if I use HTML tags it won't work on PDF. I need to work on both.Can anyone help me with this?Thanks Hi - I've hit a similar hurdle but don't need indent, just a simple <p>. Bold tag, line break tag, etc work fine, but the paragraph tag is unrecognised. Can this be added? Thanks! Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 17, 2007 Share Posted April 17, 2007 Hi, Can't you use the <br/> tag instead of <p/>? What else would you expect from this tag besides introducing two line breaks? Thanks,Teodor Link to comment Share on other sites More sharing options...
zethris Posted June 11, 2007 Share Posted June 11, 2007 Part of the issue I think is how it is handling paragraphs. For example, a list item <li> in styled text going to pdf or a RTF file seems to have an indentation problem. It puts in the bullet, but doesn't indent remaining lines to match with the bulleted paragraph. Link to comment Share on other sites More sharing options...
robsonximenes Posted September 15, 2007 Share Posted September 15, 2007 Hi, I´ve problems because my web application has an ritchtext editor (FCK) and the user submit html tags for my base. When i try to show a report some tags arent supported for jasper. I apreciate if you guys tell if there is a editor that makes compatibles htmls or if you heve a method in java that parse the html commun for the jasper supported html. Please any information help! Thank you, and sorry my english. Link to comment Share on other sites More sharing options...
kdplaskon Posted September 22, 2007 Share Posted September 22, 2007 I'm having same issue with bullet lists rendered into PDF report. Customer has provided text content that will not fit on single lines and requests bullet lists. I've applied the <li> tags to each item, whic provides a bullet list, but not with appropriate indent. Isn't there some way to insert a list-style to enforce indentation? Link to comment Share on other sites More sharing options...
C-Box Posted March 5, 2009 Share Posted March 5, 2009 Hi, now we came to the point where we must provide bullet list within our application too (customers are still kings) ...so we do have of course the same problem with TextIndent if text stretches over several lines within one <li> item.I tried also the latest JasperReports 3.1.4 StyledText sample but the problem still exists. (we still work with 2.0.5 in production). So is there any hope that this bug is solved within one of the next releases????? regards from GermanyC-Box Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now