Jump to content
Changes to the Jaspersoft community edition download ×

how to create a space before text


Recommended Posts

By: anil kumar - bondalapati

how to create a space before text

2005-06-08 08:28

can anyone help me in adding a space before text that is sent to the htmlwriter. i have added a space before text, but it got trimmed while printing.

 

please help me with this

 

thanks

 

 

 

By: Mike Warne - mwarne

RE: how to create a space before text

2005-06-09 13:11

HTML browsers always trim spaces. Unless you send them codes to prevent that.

However you may be able to use the HTML non-breakable space entity - nbsp; Try using "nbsp;"+$F{fieldxyz} and see what happens. Note the semi-colon ';' is required.

 

I only use PDF, so have not used HTML with jasper much.

Mike.

 

 

 

 

 

 

 

By: anil kumar - bondalapati

RE: how to create a space before text

2005-06-14 09:55

i have a data like this

 

Parent

child2

child2

child3

 

 

to dispaly data in this form, is there any solution for me. I know the number of spaces that i require at the starting of the row. i tried to keep space before string but that gets trimmed by the browser and printing all the rows at the same level. So please help me with this how i can do.

 

thanks

anil.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...