Underline data from database across 4 lines

So I have to do something like this:

3. Company name:   _Company name which doesn't fit_
    _on just one line________________________________
    _______________________________________________
    _______________________________________________

There MUST be 4 lines no matter what the length of the company name is (company name is data which I'm extracting from a database), it's just important that if the name doesn't fit on one line it breaks on to the next one. Any idea how could I do that, what element to use? Note that it has to look exactly like the upper example, meaning that the company name starts after the label, and continues under the label in the next row. I have to use iReport 5.6.0.

mdeninjo's picture
Joined: Oct 27 2020 - 6:36am
Last seen: 2 years 7 months ago

1 Answer:

Well, I've kinda worked around it... I put a text field across all of the lines, and indented the first line with spaces, put double spacing (worked for the specific document I'm working on) and the underlines are just line elements, fixed according to the line spacing... Turned out very simple in the end :)

mdeninjo's picture
Joined: Oct 27 2020 - 6:36am
Last seen: 2 years 7 months ago
Feedback