FOP - Table Column-Headers
Title: Message Joshua - It is not based on page numbers. Its actually based on the resulting no of rows for a query - eg - Table Header 1 Row 1_1 Row 1_2 Row 1_3 Page Break (automatic because page runs out) Table Header 1 Row 1_4 Row 1_5 Page Break (forced by user) Table Header 2 Row 2_1 Row 2_2 Row 2_3 Row 2_4 Page Break (automatic because page runs out) Table Header 1 Row 2_5 Row 2_6 A typical example is that - Show all Customers and their Orders. The table header is the customer name If the orders for the customer span more than one page, I want to display their name on each page Kunal Mittal Senior Consultant, i R i s e Bus: (510) 757-6145 eFax: (413) 460-5823 [EMAIL PROTECTED] [EMAIL PROTECTED]
RE: Table Column-Headers
Sorry, what I said applies to f:table-header, which I am using. Don't know about table-caption. -Original Message- From: Shkuro, Yuri Sent: Monday, October 29, 2001 9:42 AM To: '[EMAIL PROTECTED]' Subject: RE: Table Column-Headers Chris, I am using fo:table-caption successfully. Not sure what kind of feedback you are looking for. BTW, I don't know what you mean by "fo:table-caption can host a table" - it should contain row definitions, just as fo:table-body, with the same number of columns (the columns widths will be defined prior to that, as usual for fo:table-body). The only difference between caption and body is that the latter will be repated if the table spans multiple pages. Yuri. -Original Message- From: West, Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 7:50 PM To: '[EMAIL PROTECTED]' Subject: Table Column-Headers I'm dynamically generating a table that can have a variable number of rows. In the situation where the table spans multiple pages, I would like to have the first row contain the column labels. I've been able to do this using a style sheet, but it requires that the height of each row be fixed (which I would like to avoid). From the documentation, fo:table-caption can host a table, which could be set up to be a one-row table that contains the column headers. From what I've read, this caption can be made to repeat after crossing a page boundary. Before trying this, I'd like to get some feed back from those more experienced with FOP regarding this approach. I'm using the latest version, 20.2. Thanks in advance, Chris W. - 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 Column-Headers
Chris, I am using fo:table-caption successfully. Not sure what kind of feedback you are looking for. BTW, I don't know what you mean by "fo:table-caption can host a table" - it should contain row definitions, just as fo:table-body, with the same number of columns (the columns widths will be defined prior to that, as usual for fo:table-body). The only difference between caption and body is that the latter will be repated if the table spans multiple pages. Yuri. -Original Message- From: West, Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 7:50 PM To: '[EMAIL PROTECTED]' Subject: Table Column-Headers I'm dynamically generating a table that can have a variable number of rows. In the situation where the table spans multiple pages, I would like to have the first row contain the column labels. I've been able to do this using a style sheet, but it requires that the height of each row be fixed (which I would like to avoid). From the documentation, fo:table-caption can host a table, which could be set up to be a one-row table that contains the column headers. From what I've read, this caption can be made to repeat after crossing a page boundary. Before trying this, I'd like to get some feed back from those more experienced with FOP regarding this approach. I'm using the latest version, 20.2. Thanks in advance, Chris W. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Table Column-Headers
Title: Table Column-Headers Hi Chris, Have you looked at fo:table-header? This should do what you want. ... content for the column headings ... ... content for the body of the table ... HTHs,Joshua -Original Message-From: West, Chris [mailto:[EMAIL PROTECTED]]Sent: Thursday,25 October 2001 9:50To: '[EMAIL PROTECTED]'Subject: Table Column-Headers I'm dynamically generating a table that can have a variable number of rows. In the situation where the table spans multiple pages, I would like to have the first row contain the column labels. I've been able to do this using a style sheet, but it requires that the height of each row be fixed (which I would like to avoid). From the documentation, fo:table-caption can host a table, which could be set up to be a one-row table that contains the column headers. From what I've read, this caption can be made to repeat after crossing a page boundary. Before trying this, I'd like to get some feed back from those more experienced with FOP regarding this approach. I'm using the latest version, 20.2. Thanks in advance, Chris W. -- This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
Table Column-Headers
Title: Table Column-Headers I'm dynamically generating a table that can have a variable number of rows. In the situation where the table spans multiple pages, I would like to have the first row contain the column labels. I've been able to do this using a style sheet, but it requires that the height of each row be fixed (which I would like to avoid). From the documentation, fo:table-caption can host a table, which could be set up to be a one-row table that contains the column headers. From what I've read, this caption can be made to repeat after crossing a page boundary. Before trying this, I'd like to get some feed back from those more experienced with FOP regarding this approach. I'm using the latest version, 20.2. Thanks in advance, Chris W.