On Wed, 2005-04-27 at 15:02 +0530, Pramathesh Ambasta wrote:
> Is it possible to generate non-columnar reports (like mailing labels)
> using rlib? if so, what would the xml look like? I am sorry if this has
> been asked before but I looked around in the list archives and could not
> find something.
> Thanks in advance
> Pramathesh
Yes it is.
You need to get creative in your Field Details. Carol Fouse put this
together a little while ago.
The trick is using the HorizontalLine with a size of XXX in order to
create the correct white space between rows
<FieldDetails>
<Output>
<Line>
<literal width="100" col="1"> </literal>
</Line>
<HorizontalLine size="20" bgcolor="'White'"/>
<Line>
<field value="name1" width="44" align="left" col="1"/>
<field value="name2" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line21" width="44" align="left" col="1"/>
<field value="line22" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line31" width="44" align="left" col="1"/>
<field value="line32" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line41" width="44" align="left" col="1"/>
<field value="line42" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line51" width="44" align="left" col="1"/>
<field value="line52" width="44" align="left" col="1"/>
</Line>
<HorizontalLine size="10" bgcolor="'White'"/>
</Output>
</FieldDetails>
|