Jump to content
Changes to the Jaspersoft community edition download ×

"justified" property of textField and staticText is not working in jaspersoft report.


nitin.harbade

Recommended Posts

I want  add set text in textField and staticText as it will divide in equal space in jasper report.

Text should be distributed like bellow text.

現             金
普  通  預 金
売     上    高
仕             入

Setting textAlignment to "Justified", but it didn't work.

my code is

            <staticText>
                <reportElement x="52" y="34" width="135" height="20" uuid="44eed122-c07e-42d0-b696-a6ad54b759a4"/>
                <textElement textAlignment="Justified" verticalAlignment="Middle" rotation="None">
                    <font fontName="Serif" size="12"/>
                </textElement>
                <text><![CDATA[Welcome]]></text>
            </staticText>

Can someone suggest me the solution for this?

I have to do it in jasper report and generate an report in PDF file.

 

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