← Back to team overview

report-openoffice-team team mailing list archive

[Bug 612619] Re: IF statement is not processed if the line break inside the <IF> </if>

 

I just created an address area (inside a Frame) on a template and did
the following.

<if test="o.address_invoice_id.street"><o.address_invoice_id.street>(insert a manual line break here)
</if><if test="o.address_invoice_id.street2"><o.address_invoice_id.street2>(insert a manual line break here)
</if><if test="o.address_invoice_id.city"><o.address_invoice_id.city>(insert a manual line break here)
</if><if test="o.address_invoice_id.state_id.name"><o.address_invoice_id.state_id.name>(insert a manual line break here)
</if><if test="o.address_invoice_id.zip"><o.address_invoice_id.zip or ''></if>

Where it says (insert a manual line break here) I did exactly that. On
OOo writer choose the Insert Menu->Manual Break... and select the Line
break option.

This appears to be working exactly as I would want it to. I'm not sure
if there is any difference between hitting the enter key and inserting a
manual break but it appears to work.

HTH

Al

-- 
IF statement is not processed if the line break inside the <IF> </if>
https://bugs.launchpad.net/bugs/612619
You received this bug notification because you are a member of Report
OpenOffice Team, which is the registrant for Report OpenOffice.

Status in OpenOffice.org Reporting Engine for OpenObject: Won't Fix

Bug description:
IF statement is not processed if the line break inside the <IF> </if>





References