First line indent problem!

Hello everyone,

I have a problem using the option to put some indentation at the first line of a paragraph. Looking at the screenshot below, you can see that on the paragraph is splitted onto the second page and normally, since its the same paragraph, I dont expect it to act like it was another paragraph. Is there a way to have the first line of a paragraph indent only and even if the text is splitted, the content should not be indent ?  Thanks you in advance.

I used this option in IReport for a textfield's properties: 

And I get this: 

 

anhstar's picture
Joined: Aug 8 2012 - 1:45pm
Last seen: 10 years 1 month ago
No one has this problem before?
anhstar - 10 years 1 month ago

I have the exact same problem. Does anyone have a solution?

corneliu.dabija - 9 years 6 months ago

Same problem here. Any solution?

fcostela - 9 years 4 months ago
show 4 more...

Problem still exists. Any idea?

bee_boo - 6 years 10 months ago

Did anyone solve this? I'm having this problem also and I'm unable to find a solution.

mia_07 - 6 years 6 months ago

This problem still occurs, this is a bug?

kmocelin - 3 years 7 months ago

Você pode usar o replaceAll na sua função e remover a identação. Caso seu campo seja do tipo HTML insira a codificação. $F{texto}.replaceAll("<p>","<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")

denilsomsn - 3 years 2 months ago

2 Answers:

Você pode substituir todos com ou substituir e remover uma identificação. Isso funciona se o seu campo for do tipo HTML, insira uma codificação. $ F {texto} .replaceAll ("<p>", "<p> & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp;") 

Attachments: 
AttachmentSize
Image icon selecao_103.png129.78 KB
denilsomsn's picture
Joined: Apr 19 2013 - 12:56pm
Last seen: 10 months 2 weeks ago

Hi,

This is a bug that we are going to address and we monitor its progress here:

https://community.jaspersoft.com/jasperreports-library/issues/3466-0

Thanks,

Teodor

teodord's picture
44849
Joined: Jun 30 2006 - 9:00am
Last seen: 18 hours 57 min ago
Feedback