Jump to content
Changes to the Jaspersoft community edition download ×

First line indent problem!


anhstar

Recommended Posts

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: 

IndentFirstOption.jpg.65de1276f78c4630129313573e427b5b.jpg

And I get this: 

splitIndent.png.eb76c6b61c85e3b26fab467de44d0659.png

 

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • 7 months later...
  • 1 month later...
  • 2 years later...
  • 4 months later...
  • 2 years later...
  • 4 months later...

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;") 

Link to comment
Share on other sites

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...