dashed line every 5 rows on pdf output

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

dashed line every 5 rows on pdf output

joelfradkin@gmail.com
Any one have a way to print a dashed line every 5 rows?
I have a pdf report I did for Cost of goods sold, but usually when I do a report i like to have a dashed line every 5 rows.
It is a fo.ftl.
If any one has done something like this let me know I would appreciate a how to.
I guess when I am loading my list I could put a flag or something every 5 rows and deal with it in the FTL, but maybe there is a way to know the row or something inside a list element for ftl?
Also not 100% sure how to get a dashed line I got a solid line looking at the footer in simple.
                <fo:table-row>
                   <fo:table-cell number-columns-spanned="9">
                      <fo:block text-align="center" border-top="thin solid black" padding="3pt"></fo:block>
                   </fo:table-cell>
                </fo:table-row>
Joel Fradkin
Reply | Threaded
Open this post in threaded view
|

Re: dashed line every 5 rows on pdf output

Adrian Crum-3
http://www.w3schools.com/xslfo/xslfo_reference.asp

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/27/2014 6:26 PM, [hidden email] wrote:

> Any one have a way to print a dashed line every 5 rows?
> I have a pdf report I did for Cost of goods sold, but usually when I do a
> report i like to have a dashed line every 5 rows.
> It is a fo.ftl.
> If any one has done something like this let me know I would appreciate a how
> to.
> I guess when I am loading my list I could put a flag or something every 5
> rows and deal with it in the FTL, but maybe there is a way to know the row
> or something inside a list element for ftl?
> Also not 100% sure how to get a dashed line I got a solid line looking at
> the footer in simple.
>                  <fo:table-row>
>                     <fo:table-cell number-columns-spanned="9">
>                        <fo:block text-align="center" border-top="thin solid
> black" padding="3pt"></fo:block>
>                     </fo:table-cell>
>                  </fo:table-row>
>
>
>
>
> -----
> Joel Fradkin
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/dashed-line-every-5-rows-on-pdf-output-tp4657418.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: dashed line every 5 rows on pdf output

joelfradkin@gmail.com
Thanks for the link. Not sure I see dashed lines.
                <fo:table-row>
                   <fo:table-cell number-columns-spanned="9">
                      <fo:block text-align="center" border-top="thin solid black" padding="3pt"></fo:block>
                   </fo:table-cell>
                </fo:table-row>
prints a solid and I could just do a counter and fire it off every 5 (I think).
Joel Fradkin