You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "joelfradkin@gmail.com" <jo...@gmail.com> on 2014/10/27 19:26:59 UTC

dashed line every 5 rows on pdf output

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.

Re: dashed line every 5 rows on pdf output

Posted by "joelfradkin@gmail.com" <jo...@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
--
View this message in context: http://ofbiz.135035.n4.nabble.com/dashed-line-every-5-rows-on-pdf-output-tp4657418p4657456.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: dashed line every 5 rows on pdf output

Posted by Adrian Crum <ad...@sandglass-software.com>.
http://www.w3schools.com/xslfo/xslfo_reference.asp

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/27/2014 6:26 PM, joelfradkin@gmail.com 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.
>