Re: table-header with (Con't)
Hi Matt, This is something that could be handled quite easily with an extension. No doubt you want to use fop 0.20.2 or earlier. You could try looking at the extension in org.apache.fop.extensions for an example of how an extension works. Then you will want to make it actually add an some inline text (ie. Continued) to the line area if the area is being layed out more than once. On 2001.10.26 18:06 Matt Savino wrote: > So how hard do you think it would be for a realtive FOP-newbie to write > some kind of extension? > > I'm thinking of a few possible hacks: > > 1) Somehow implement the inverse of "table-omit-header-at-break". Then I > could specify the ' Continued' piece as the header and simply print > as the first row of the table. > > 2) Add some facility for specifying a different header for every > occurrence after the first. I'd be happy with hard-coding the word > Continued if it was the only easy way. > > Any other clever ideas? How hard is it to just stick something like this > in? It seems to me that with all the page-aware capabilites of FOP > (header, static content, keep-together, page-number, widows, orphans > etc.) there ought to be a sneaky way to piggy back this functionality > onto one of them. > > Just to be clear, here's what I'm talking about: > > My Page Header > > <-- other stuff --> > > My Table Header > row1 > row2 > row3 > > <-- new page --> > > My Page Header > > My Table Header (Continued) > row4 > row5 > row6 > > > The block in question doesn't necessarily have to be a table, but it > can't be part of static content. It's nested inside two tables already, > one has a header of varying length (so it can't be part of the static > content). > > Like I said, I have no idea how hard it is to go poking around in FOP. I > know enough about PDF to know that I want to stay at the highest level > possible (that's I think somehow suppressing the table header on the > first occurrence may be the best way for me to go). Thanks in advance > for any ideas. > > -Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: table-header with (Con't)
So how hard do you think it would be for a realtive FOP-newbie to write some kind of extension? I'm thinking of a few possible hacks: 1) Somehow implement the inverse of "table-omit-header-at-break". Then I could specify the ' Continued' piece as the header and simply print as the first row of the table. 2) Add some facility for specifying a different header for every occurrence after the first. I'd be happy with hard-coding the word Continued if it was the only easy way. Any other clever ideas? How hard is it to just stick something like this in? It seems to me that with all the page-aware capabilites of FOP (header, static content, keep-together, page-number, widows, orphans etc.) there ought to be a sneaky way to piggy back this functionality onto one of them. Just to be clear, here's what I'm talking about: My Page Header <-- other stuff --> My Table Header row1 row2 row3 <-- new page --> My Page Header My Table Header (Continued) row4 row5 row6 The block in question doesn't necessarily have to be a table, but it can't be part of static content. It's nested inside two tables already, one has a header of varying length (so it can't be part of the static content). Like I said, I have no idea how hard it is to go poking around in FOP. I know enough about PDF to know that I want to stay at the highest level possible (that's I think somehow suppressing the table header on the first occurrence may be the best way for me to go). Thanks in advance for any ideas. -Matt Arved Sandstrom wrote: > > At 09:33 PM 10/24/01 -0400, Matt Savino wrote: > >Jim, I'm doing the same thing with my report. Add a different last-page id > >block at the end of each section ( >id="last-csr-page">) You'll also have to start a new > >master-page-sequence with each section and set the initial page number to 1. > > I assume you mean new page-sequence. You can re-use simple-page-masters and > page-sequence-masters all you like. > > >Now if we can just figure out how to get (Continued) into a table header! > >I've been trying to come up with some clever way to change the header on the > >fly or use table-omit-header in reverse, but I'm stumped. Is this what > >marker/retrieve marker is supposed to be for by any chance? I'm playing with > >them right now. I'll let you know if I get any where. ANd what the heck are > >widows and orphans? > > Widows and orphans have to do with how many minimum lines are to be kept > together at the beginning of the first area generated by an FO ("orphans") > or at the end of the last area generated by the FO ("widows"). Not quite the > same concept as you might be used to in, say, Word. > > Markers are for running headers and footers, where headers and footers are > assumed to be modelled using fo:static-content. For a variety of reasons I > see no way in which you could use them. In fact I see no solution to this > problem using XSL 1.0; this falls into an identified set of problems which > require formatting-time logic over and above what is currently available. > > Regards, > Arved Sandstrom > > Fairly Senior Software Type > e-plicity (http://www.e-plicity.com) > Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
"Jim Urban" <[EMAIL PROTECTED]> wrote: > Here is another thing I need to do. I have a single document which contains > reports for multiple locations. I need to reset the page number on a > location change. IE: Report contains 3 locations. The first location gets > 3 pages, the second 2 pages and the third 4 pages. Currently FOP is > generating Page 1 of 9, Page 2 of 9 etc. I need to generate Page 1 of 3, > Page 2 of 3, Page 3 of 3, Page 1 of 2, Page 2 of 2, Page 1 of 4 etc. How > do I go this? This has been recently discussed on this list. Create a page-flow for each report. Since you want to have the total page number for each page-flow referenced, you'll have to be careful choosing the identifier for the block used in the reference trick. If you generate the FO by XSLT, and your reports are wrapped in "record" elements in your source XML, you can use a code similar to: Page of HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
At 09:33 PM 10/24/01 -0400, Matt Savino wrote: >Jim, I'm doing the same thing with my report. Add a different last-page id >block at the end of each section ( id="last-csr-page">) You'll also have to start a new >master-page-sequence with each section and set the initial page number to 1. I assume you mean new page-sequence. You can re-use simple-page-masters and page-sequence-masters all you like. >Now if we can just figure out how to get (Continued) into a table header! >I've been trying to come up with some clever way to change the header on the >fly or use table-omit-header in reverse, but I'm stumped. Is this what >marker/retrieve marker is supposed to be for by any chance? I'm playing with >them right now. I'll let you know if I get any where. ANd what the heck are >widows and orphans? Widows and orphans have to do with how many minimum lines are to be kept together at the beginning of the first area generated by an FO ("orphans") or at the end of the last area generated by the FO ("widows"). Not quite the same concept as you might be used to in, say, Word. Markers are for running headers and footers, where headers and footers are assumed to be modelled using fo:static-content. For a variety of reasons I see no way in which you could use them. In fact I see no solution to this problem using XSL 1.0; this falls into an identified set of problems which require formatting-time logic over and above what is currently available. Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Anyone have any ideas? As powerful as FO is, I would think it would have some facility for this situation. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 8:54 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > > Sorry. I guess I misunderstood your question. > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 11:39:10 AM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: > > Subject: RE: table-header with (Con't) > > Lou, > > Would you please see if you can find the code. I need to be > able to change > the contents of the header on the fly. This will give me a > starting point. > > Thanks, > Jim > > -Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 9:29 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > > Jim: > > We did something a while back using the following archaic procedure: > 1. get current page # into var > 2. use xsl:if to determine whether to put out "Cont" > > I don't have the code readily available, but if you really > need it I can > take a look. > > -Lou > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: > > Subject: RE: table-header with (Con't) > > Does anyone have an answer to this question? I need to do > the same thing. > > Thanks, > Jim > > -Original Message- > From: Matt Savino [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 1:50 AM > To: [EMAIL PROTECTED] > Subject: table-header with (Con't) > > > Is there anyway to get a table header to print differently after the > first time/page? Namely I want to reprint the title above a particular > table everytime the page breaks, but I want to add '(Con't)' > to the end > of the title. I'm already using a page header and then a table header > within that. These blocks are sub-tables with their own headers within > that master table. > > So far, thanks to your help I've managed to avoid counting > rows. I hope > there's a solution to this problem as well. > > Thanks a lot, > Matt > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Jim, I'm doing the same thing with my report. Add a different last-page id block at the end of each section ( ) You'll also have to start a new master-page-sequence with each section and set the initial page number to 1. Now if we can just figure out how to get (Continued) into a table header! I've been trying to come up with some clever way to change the header on the fly or use table-omit-header in reverse, but I'm stumped. Is this what marker/retrieve marker is supposed to be for by any chance? I'm playing with them right now. I'll let you know if I get any where. ANd what the heck are widows and orphans? > -Original Message- > From: Jim Urban [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 6:37 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > Here is another thing I need to do. I have a single document > which contains > reports for multiple locations. I need to reset the page number on a > location change. IE: Report contains 3 locations. The > first location gets > 3 pages, the second 2 pages and the third 4 pages. Currently FOP is > generating Page 1 of 9, Page 2 of 9 etc. I need to generate > Page 1 of 3, > Page 2 of 3, Page 3 of 3, Page 1 of 2, Page 2 of 2, Page 1 > of 4 etc. How > do I go this? > > Thanks, > Jim > > -Original Message- > From: Savino, Matt C [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 5:50 PM > To: '[EMAIL PROTECTED]' > Subject: RE: table-header with (Con't) > > > I'd love to see that too. I can't figure out how you get the > fo:page-number > to be a condition in your XSLT stylesheet. Does FOP understand xsl:xxx > commands? > > > -Original Message- > > From: Jim Urban [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 8:39 AM > > To: [EMAIL PROTECTED] > > Subject: RE: table-header with (Con't) > > > > > > Lou, > > > > Would you please see if you can find the code. I need to be > > able to change > > the contents of the header on the fly. This will give me a > > starting point. > > > > Thanks, > > Jim > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 9:29 AM > > To: [EMAIL PROTECTED] > > Subject: RE: table-header with (Con't) > > > > > > > > Jim: > > > > We did something a while back using the following archaic procedure: > > 1. get current page # into var > > 2. use xsl:if to determine whether to put out "Cont" > > > > I don't have the code readily available, but if you really > > need it I can > > take a look. > > > > -Lou > > > > > > > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM > > > > Please respond to [EMAIL PROTECTED] > > > > To: <[EMAIL PROTECTED]> > > cc: > > > > Subject: RE: table-header with (Con't) > > > > Does anyone have an answer to this question? I need to do > > the same thing. > > > > Thanks, > > Jim > > > > -Original Message- > > From: Matt Savino [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 1:50 AM > > To: [EMAIL PROTECTED] > > Subject: table-header with (Con't) > > > > > > Is there anyway to get a table header to print differently after the > > first time/page? Namely I want to reprint the title above a > particular > > table everytime the page breaks, but I want to add '(Con't)' > > to the end > > of the title. I'm already using a page header and then a > table header > > within that. These blocks are sub-tables with their own > headers within > > that master table. > > > > So far, thanks to your help I've managed to avoid counting > > rows. I hope > > there's a solution to this problem as well. > > > > Thanks a lot, > > Matt > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
At 08:37 AM 10/24/01 -0500, Jim Urban wrote: >Here is another thing I need to do. I have a single document which contains >reports for multiple locations. I need to reset the page number on a >location change. IE: Report contains 3 locations. The first location gets >3 pages, the second 2 pages and the third 4 pages. Currently FOP is >generating Page 1 of 9, Page 2 of 9 etc. I need to generate Page 1 of 3, >Page 2 of 3, Page 3 of 3, Page 1 of 2, Page 2 of 2, Page 1 of 4 etc. How >do I go this? Page numbers are associated with fo:page-sequence. So the reports for each location will have to be in separate page-sequences...just reset the "initial-page-number" to the desired starting integer value (1 in this case). Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Thanks, I kind of figured that. Still really hoping to see the page # into var example Louis spoke of. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 7:54 PM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > > NO! FOP does not understand xsl:xxx commands. FOP only > renders XSL:FO to > PDF. How you generate FO is up to you, you can use XSLT or > a java program > or type it by hand. > > If you input XML & XSL into FOP the transformation is done > prior to and > independently of the FO formatting. > > > > > > > "Savino, Matt C" > > "'[EMAIL PROTECTED]'" > stics.com> > <[EMAIL PROTECTED]> > cc: > > 24/10/2001 08:50 AM Subject: > RE: table-header with (Con't) > Please respond to fop-dev > > > > > > > > > > I'd love to see that too. I can't figure out how you get the > fo:page-number > to be a condition in your XSLT stylesheet. Does FOP understand xsl:xxx > commands? > > > -Original Message- > > From: Jim Urban [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 8:39 AM > > To: [EMAIL PROTECTED] > > Subject: RE: table-header with (Con't) > > > > > > Lou, > > > > Would you please see if you can find the code. I need to be > > able to change > > the contents of the header on the fly. This will give me a > > starting point. > > > > Thanks, > > Jim > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 9:29 AM > > To: [EMAIL PROTECTED] > > Subject: RE: table-header with (Con't) > > > > > > > > Jim: > > > > We did something a while back using the following archaic procedure: > > 1. get current page # into var > > 2. use xsl:if to determine whether to put out "Cont" > > > > I don't have the code readily available, but if you really > > need it I can > > take a look. > > > > -Lou > > > > > > > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM > > > > Please respond to [EMAIL PROTECTED] > > > > To: <[EMAIL PROTECTED]> > > cc: > > > > Subject: RE: table-header with (Con't) > > > > Does anyone have an answer to this question? I need to do > > the same thing. > > > > Thanks, > > Jim > > > > -Original Message- > > From: Matt Savino [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 1:50 AM > > To: [EMAIL PROTECTED] > > Subject: table-header with (Con't) > > > > > > Is there anyway to get a table header to print differently after the > > first time/page? Namely I want to reprint the title above a > particular > > table everytime the page breaks, but I want to add '(Con't)' > > to the end > > of the title. I'm already using a page header and then a > table header > > within that. These blocks are sub-tables with their own > headers within > > that master table. > > > > So far, thanks to your help I've managed to avoid counting > > rows. I hope > > there's a solution to this problem as well. > > > > Thanks a lot, > > Matt > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > &g
RE: table-header with (Con't)
Sorry. I guess I misunderstood your question. "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 11:39:10 AM Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: RE: table-header with (Con't) Lou, Would you please see if you can find the code. I need to be able to change the contents of the header on the fly. This will give me a starting point. Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: RE: table-header with (Con't) Jim: We did something a while back using the following archaic procedure: 1. get current page # into var 2. use xsl:if to determine whether to put out "Cont" I don't have the code readily available, but if you really need it I can take a look. -Lou "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: RE: table-header with (Con't) Does anyone have an answer to this question? I need to do the same thing. Thanks, Jim -Original Message- From: Matt Savino [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:50 AM To: [EMAIL PROTECTED] Subject: table-header with (Con't) Is there anyway to get a table header to print differently after the first time/page? Namely I want to reprint the title above a particular table everytime the page breaks, but I want to add '(Con't)' to the end of the title. I'm already using a page header and then a table header within that. These blocks are sub-tables with their own headers within that master table. So far, thanks to your help I've managed to avoid counting rows. I hope there's a solution to this problem as well. Thanks a lot, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Here is another thing I need to do. I have a single document which contains reports for multiple locations. I need to reset the page number on a location change. IE: Report contains 3 locations. The first location gets 3 pages, the second 2 pages and the third 4 pages. Currently FOP is generating Page 1 of 9, Page 2 of 9 etc. I need to generate Page 1 of 3, Page 2 of 3, Page 3 of 3, Page 1 of 2, Page 2 of 2, Page 1 of 4 etc. How do I go this? Thanks, Jim -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 5:50 PM To: '[EMAIL PROTECTED]' Subject: RE: table-header with (Con't) I'd love to see that too. I can't figure out how you get the fo:page-number to be a condition in your XSLT stylesheet. Does FOP understand xsl:xxx commands? > -Original Message- > From: Jim Urban [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 8:39 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > Lou, > > Would you please see if you can find the code. I need to be > able to change > the contents of the header on the fly. This will give me a > starting point. > > Thanks, > Jim > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 9:29 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > > Jim: > > We did something a while back using the following archaic procedure: > 1. get current page # into var > 2. use xsl:if to determine whether to put out "Cont" > > I don't have the code readily available, but if you really > need it I can > take a look. > > -Lou > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: > > Subject: RE: table-header with (Con't) > > Does anyone have an answer to this question? I need to do > the same thing. > > Thanks, > Jim > > -Original Message- > From: Matt Savino [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 1:50 AM > To: [EMAIL PROTECTED] > Subject: table-header with (Con't) > > > Is there anyway to get a table header to print differently after the > first time/page? Namely I want to reprint the title above a particular > table everytime the page breaks, but I want to add '(Con't)' > to the end > of the title. I'm already using a page header and then a table header > within that. These blocks are sub-tables with their own headers within > that master table. > > So far, thanks to your help I've managed to avoid counting > rows. I hope > there's a solution to this problem as well. > > Thanks a lot, > Matt > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
NO! FOP does not understand xsl:xxx commands. FOP only renders XSL:FO to PDF. How you generate FO is up to you, you can use XSLT or a java program or type it by hand. If you input XML & XSL into FOP the transformation is done prior to and independently of the FO formatting. "Savino, Matt C" <[EMAIL PROTECTED]> cc: 24/10/2001 08:50 AM Subject: RE: table-header with (Con't) Please respond to fop-dev I'd love to see that too. I can't figure out how you get the fo:page-number to be a condition in your XSLT stylesheet. Does FOP understand xsl:xxx commands? > -Original Message- > From: Jim Urban [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 8:39 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > Lou, > > Would you please see if you can find the code. I need to be > able to change > the contents of the header on the fly. This will give me a > starting point. > > Thanks, > Jim > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 9:29 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > > Jim: > > We did something a while back using the following archaic procedure: > 1. get current page # into var > 2. use xsl:if to determine whether to put out "Cont" > > I don't have the code readily available, but if you really > need it I can > take a look. > > -Lou > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: > > Subject: RE: table-header with (Con't) > > Does anyone have an answer to this question? I need to do > the same thing. > > Thanks, > Jim > > -Original Message- > From: Matt Savino [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 1:50 AM > To: [EMAIL PROTECTED] > Subject: table-header with (Con't) > > > Is there anyway to get a table header to print differently after the > first time/page? Namely I want to reprint the title above a particular > table everytime the page breaks, but I want to add '(Con't)' > to the end > of the title. I'm already using a page header and then a table header > within that. These blocks are sub-tables with their own headers within > that master table. > > So far, thanks to your help I've managed to avoid counting > rows. I hope > there's a solution to this problem as well. > > Thanks a lot, > Matt > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
I'd love to see that too. I can't figure out how you get the fo:page-number to be a condition in your XSLT stylesheet. Does FOP understand xsl:xxx commands? > -Original Message- > From: Jim Urban [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 8:39 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > Lou, > > Would you please see if you can find the code. I need to be > able to change > the contents of the header on the fly. This will give me a > starting point. > > Thanks, > Jim > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 9:29 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't) > > > > Jim: > > We did something a while back using the following archaic procedure: > 1. get current page # into var > 2. use xsl:if to determine whether to put out "Cont" > > I don't have the code readily available, but if you really > need it I can > take a look. > > -Lou > > > > > > "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: > > Subject: RE: table-header with (Con't) > > Does anyone have an answer to this question? I need to do > the same thing. > > Thanks, > Jim > > -Original Message- > From: Matt Savino [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 1:50 AM > To: [EMAIL PROTECTED] > Subject: table-header with (Con't) > > > Is there anyway to get a table header to print differently after the > first time/page? Namely I want to reprint the title above a particular > table everytime the page breaks, but I want to add '(Con't)' > to the end > of the title. I'm already using a page header and then a table header > within that. These blocks are sub-tables with their own headers within > that master table. > > So far, thanks to your help I've managed to avoid counting > rows. I hope > there's a solution to this problem as well. > > Thanks a lot, > Matt > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Lou, Would you please see if you can find the code. I need to be able to change the contents of the header on the fly. This will give me a starting point. Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: RE: table-header with (Con't) Jim: We did something a while back using the following archaic procedure: 1. get current page # into var 2. use xsl:if to determine whether to put out "Cont" I don't have the code readily available, but if you really need it I can take a look. -Lou "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: RE: table-header with (Con't) Does anyone have an answer to this question? I need to do the same thing. Thanks, Jim -Original Message- From: Matt Savino [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:50 AM To: [EMAIL PROTECTED] Subject: table-header with (Con't) Is there anyway to get a table header to print differently after the first time/page? Namely I want to reprint the title above a particular table everytime the page breaks, but I want to add '(Con't)' to the end of the title. I'm already using a page header and then a table header within that. These blocks are sub-tables with their own headers within that master table. So far, thanks to your help I've managed to avoid counting rows. I hope there's a solution to this problem as well. Thanks a lot, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Jim: We did something a while back using the following archaic procedure: 1. get current page # into var 2. use xsl:if to determine whether to put out "Cont" I don't have the code readily available, but if you really need it I can take a look. -Lou "Jim Urban" <[EMAIL PROTECTED]> on 10/23/2001 10:12:21 AM Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: RE: table-header with (Con't) Does anyone have an answer to this question? I need to do the same thing. Thanks, Jim -Original Message- From: Matt Savino [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:50 AM To: [EMAIL PROTECTED] Subject: table-header with (Con't) Is there anyway to get a table header to print differently after the first time/page? Namely I want to reprint the title above a particular table everytime the page breaks, but I want to add '(Con't)' to the end of the title. I'm already using a page header and then a table header within that. These blocks are sub-tables with their own headers within that master table. So far, thanks to your help I've managed to avoid counting rows. I hope there's a solution to this problem as well. Thanks a lot, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Does anyone have an answer to this question? I need to do the same thing. Thanks, Jim -Original Message- From: Matt Savino [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:50 AM To: [EMAIL PROTECTED] Subject: table-header with (Con't) Is there anyway to get a table header to print differently after the first time/page? Namely I want to reprint the title above a particular table everytime the page breaks, but I want to add '(Con't)' to the end of the title. I'm already using a page header and then a table header within that. These blocks are sub-tables with their own headers within that master table. So far, thanks to your help I've managed to avoid counting rows. I hope there's a solution to this problem as well. Thanks a lot, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]