RE: Problems with images (scaling)...
Put the external graphic inside of a properly-sized block container. Skip the scaling, content-height, and content-width stuff. .png and .gif files work fine with this approach. DPI is increased appropriately as image is scaled down, which helps make high-resolution .gifs out of low-res ones. Hope that helps! jw -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 4:51 AM To: Fop-liste (E-Mail) Subject: Problems with images (scaling)... I want to put a logo on a letter using FOP. The logo is quite big, but it shall be scaled to fit into 25mm x 85mm. I tried the following code: - fo:external-graphic width=25mm height=85mm src={CompanyLogo/@src} scaling=uniform content-height=scale-to-fit content-width=scale-to-fit/ - but FOP says: - Error in content-height property value 'scale-to-fit': org.apache.fop.fo.expr.PropertyException: No conversion defined - the XSL-Dokumentation says: - [...] 7.13.2. content-height XSL Definition: Value:auto | scale-to-fit | length | percentage | inherit Initial: auto Applies to: fo:external-graphic, fo:instream-foreign-object Inherited:no Percentages: intrinsic height Media:visual Values have the following meanings: auto The content-height should be the intrinsic content-height. scale-to-fit A size of the content-height equal to the height of the viewport. This value implies a certain scaling factor to be applied onto the content. [...] - So if I doesn't use the content-height/width attributes, the logo is printed in the requested width but its original height!! That doesn't look very nice! ;-) Please help me! Thanks in advance Christian __ DIRON Wirtschaftsinformatik GmbH Co. KG Christian Beer ([EMAIL PROTECTED]) Daimlerweg 39-41Tel. : +49(251)979-200 48163 Muenster Fax : +49(251)979-2020 Germany 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 Column-Headers
Title: Table Column-Headers Hi Chris, Have you looked at fo:table-header? This should do what you want. fo:table fo:table-header fo:table-row ... content for the column headings ... /fo:table-row /fo:table-header fo:table-body ... content for the body of the table ... /fo:table-body /fo: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.
AW: Problems with images (scaling)...
Hi Jim! That worked if the image was too wide! But if it is too tall the image isn't rendered! It is just gone! Ist that a bug in fop? Christian -Ursprüngliche Nachricht- Von: Jim Wright [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 26. Oktober 2001 00:41 An: [EMAIL PROTECTED] Betreff: RE: Problems with images (scaling)... Put the external graphic inside of a properly-sized block container. Skip the scaling, content-height, and content-width stuff. .png and .gif files work fine with this approach. DPI is increased appropriately as image is scaled down, which helps make high-resolution .gifs out of low-res ones. Hope that helps! jw -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 4:51 AM To: Fop-liste (E-Mail) Subject: Problems with images (scaling)... I want to put a logo on a letter using FOP. The logo is quite big, but it shall be scaled to fit into 25mm x 85mm. I tried the following code: - fo:external-graphic width=25mm height=85mm src={CompanyLogo/@src} scaling=uniform content-height=scale-to-fit content-width=scale-to-fit/ - but FOP says: - Error in content-height property value 'scale-to-fit': org.apache.fop.fo.expr.PropertyException: No conversion defined - the XSL-Dokumentation says: - [...] 7.13.2. content-height XSL Definition: Value:auto | scale-to-fit | length | percentage | inherit Initial: auto Applies to: fo:external-graphic, fo:instream-foreign-object Inherited:no Percentages: intrinsic height Media:visual Values have the following meanings: auto The content-height should be the intrinsic content-height. scale-to-fit A size of the content-height equal to the height of the viewport. This value implies a certain scaling factor to be applied onto the content. [...] - So if I doesn't use the content-height/width attributes, the logo is printed in the requested width but its original height!! That doesn't look very nice! ;-) Please help me! Thanks in advance Christian __ DIRON Wirtschaftsinformatik GmbH Co. KG Christian Beer ([EMAIL PROTECTED]) Daimlerweg 39-41Tel. : +49(251)979-200 48163 Muenster Fax : +49(251)979-2020 Germany 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 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: xsl:template match=report fo:page-sequence master-name=report initial-page-number=1 fo:static-content flow-name=xsl-region-after fo:block text-align=end xsl:textPage /xsl:text fo:page-number/ xsl:text of /xsl:text fo:page-number-citation ref-id=endofflow-{generate-id()}/ /fo:block /fo:static-content fo:flow flow-name=xsl-region-body xsl:apply-templates/ fo:block id=endofflow-{generate-id()}/ /fo:flow /fo:page-sequence /xsl:template HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE:Making PDFby combining different XML files???
sunitha nair [EMAIL PROTECTED] wrote In the commandline i'm using java -cp org.apache.fop.apps.Fop -xsl rajeev.xsl -xml rajeev.xml -pdf rajeev.pdf that is rajeev.xml is the final xml file which contain lot of chapter xml files.I need chapter files because i want to make pdf of individual chapter other than pdf of entire book as user demands. so my question is how i combine all that chapter files into a single xml file so that i can use the above command line and make the book pdf. as per the above commandline i'm inputting .xml and .xsl(eventhough using the xsl-fo tags). how i make pdf of a book ,if there are two chapter xml files...chapter1.xml chapter2.xml using fop with the There are several posibilities. A pure XSLT solution would be to create a control file rajeev.xml ?xml version=1.0 files filechapter1.xml/file filechapter2.xml/file /files then set up your XSL file rajeev.xsl roughly as follows: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xsl:template match=files fo:root !-- setup your page masters, page-sequence, static content etc. here -- fo:flow !-- get the content now -- xsl:apply-templates select=document(file,'.')/ /fo:flow /fo:root /xsl:template !-- templates from your XSL here -- /xsl:stylesheet then invoke FOP as you wrote in your mail. This will put all your chapters in the same flow, if you want to put chapter dependant info in the static content, you'll have to fiddle with it a bit. The core is the document(file,'.') part, which will pull in all the files named in your control file. Get more infos about it from any XSL book, the XSLT-FAQ http://www.dpawson.co.uk/xsl/ or the XSLT spec http://www.w3.org/TR/xslt If you have difficulties adapting the example code to your needs ou'll have to ask on the XSL list as this are not FO questions. same .xsl file for styling. I don't quite understand this. You don't have individual XSL files for each chapter, do you? HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: XML-file on an other webserver
Egmont Ritter [EMAIL PROTECTED] wrote: I must create a PDF-file with FOP. My XML-File is on another webserver. Can FOP handle this? Basically yes, if invoked from java code. The command line FOP application requires files. I tried it with a servlet running on the Tomcat-server but I became ^^^ use got. You don't ever want to become an error :-) (see http://dict.leo.org/?search=became) an error like file not found. [...] The error was: SystemId Unknown; Line 0; Column 0; File file:/d:/okprg/okweb/jakarta-tomcat/http:/pc-11-rittere:789/xml/fee.xml not found. You either invoked FOP from the command line or you tried something like new StreamSource(new File(http:/pc-11-rittere:789/xml/fee.xml)) in your Java code. Use new StreamSource(http://pc-11-rittere:789/xml/fee.xml;) instead, without creating a file. This is not a FOP but a Java question. HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/svg PDFDocumentGraphics2D.java
keiron 01/10/26 02:30:40 Modified:src/org/apache/fop/svg PDFDocumentGraphics2D.java Log: updated for changed pdf interface Revision ChangesPath 1.12 +3 -3 xml-fop/src/org/apache/fop/svg/PDFDocumentGraphics2D.java Index: PDFDocumentGraphics2D.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/PDFDocumentGraphics2D.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- PDFDocumentGraphics2D.java2001/08/14 14:50:30 1.11 +++ PDFDocumentGraphics2D.java2001/10/26 09:30:40 1.12 @@ -1,5 +1,5 @@ /* - * $Id: PDFDocumentGraphics2D.java,v 1.11 2001/08/14 14:50:30 keiron Exp $ + * $Id: PDFDocumentGraphics2D.java,v 1.12 2001/10/26 09:30:40 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -31,7 +31,7 @@ * ttPDFGraphics2D/tt. * * @author a href=mailto:[EMAIL PROTECTED];Keiron Liddle/a - * @version $Id: PDFDocumentGraphics2D.java,v 1.11 2001/08/14 14:50:30 keiron Exp $ + * @version $Id: PDFDocumentGraphics2D.java,v 1.12 2001/10/26 09:30:40 keiron Exp $ * @see org.apache.fop.svg.PDFGraphics2D */ public class PDFDocumentGraphics2D extends PDFGraphics2D { @@ -130,7 +130,7 @@ pdfStream.add(getString()); PDFResources pdfResources = this.pdfDoc.getResources(); PDFPage currentPage = this.pdfDoc.makePage(pdfResources, pdfStream, - width, height, null); + width, height); if(currentAnnotList != null) { currentPage.setAnnotList(currentAnnotList); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: vertical align in a block
I tried this sample code, but it doesn't work (CVS Version from last week)!! Did that work earlier? -Ursprüngliche Nachricht- Von: Giannetti, Fabio [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Oktober 2001 14:54 An: '[EMAIL PROTECTED]' Betreff: RE: vertical align in a block Hi Marc, it isn't possible inside a block, but you can define a block-container, specify the dimensions and then define the display-align property, so for example: fo:block-container width=2cm height=4cm display-align=center fo:blockMy text/fo:block /fo:block-container will produce an area, inside the flow with the specified dimensions and will render the inner text block in the middle, the subsequent block will be rendered at the end of the area delimited by the block container Hope this helps, Fabio -Original Message- From: Marc Jenzer [mailto:[EMAIL PROTECTED]] Sent: 11 October 2001 13:46 To: [EMAIL PROTECTED] Subject: vertical align in a block Hello How can I define the vertical align (i.e. top / bottom..) from a text in a fo:block Thx Marc - 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]
[GUMP] Build Failure - Fop
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2001-10-26/xml-fop.html Buildfile: build.xml init-avail: init-filters-xalan1: init-filters-xalan2: [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen init: [echo] --- Fop 0.20.1 [1999-2001] prepare: [echo] Preparing the build directories [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf codegen: [echo] Resetting codegen directory [copy] Copying 35 files to /home/rubys/jakarta/xml-fop/build/src/codegen [echo] Generating the java files from xml resources [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/allprops.xml [xslt] style: ./build/src/codegen/genconst.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/Constants.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/foproperties.xml [xslt] style: ./build/src/codegen/properties.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/fo_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/foproperties.xml [xslt] style: ./build/src/codegen/propmap.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/FOPropertyMapping.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/foproperties.xml [xslt] style: ./build/src/codegen/enumgen.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/foenums_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/extproperties.xml [xslt] style: ./build/src/codegen/properties.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/ext_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/extproperties.xml [xslt] style: ./build/src/codegen/propmap.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/ExtensionPropertyMapping.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/extproperties.xml [xslt] style: ./build/src/codegen/enumgen.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/extenums_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/charlist.xml [xslt] style: ./build/src/codegen/code-point-mapping.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/CodePointMapping.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/Courier.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier-Oblique.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/CourierOblique.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier-Bold.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/CourierBold.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier-BoldOblique.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/CourierBoldOblique.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Helvetica.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/Helvetica.java [xslt] [xslt] [xslt] xslt [xslt] in:
Re: [vote] merging FOP and jfor
Stefano Mazzocchi at [EMAIL PROTECTED] wrote: Arved Sandstrom wrote: At 11:16 AM 10/24/01 +0200, Stefano Mazzocchi wrote: In order to do this, Bertrand will receive active developer status and will volunteer to perform the merging with the rest of the dev community. Just to make sure things don't fall through the cracks, _someone_ somewhere _is_ making sure that Bertrand gets set up as a FOP committer, correct? :-) AFAIK, it's the PMC's responsibility to take this further. So, PMC, is anybody taking care of this or we should inform [EMAIL PROTECTED] to do it? Errr... Wrong PMC :) Pier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Problems with images (scaling)...
Hey Christian: You have to scale the box appropriately for the image. In other words, set width and height proportionately to the image's width and height. This pretty much always works for me. Btw, if the image exceeds the preset page margins, problems can sometimes occur. See if that helps. jw -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 2:30 AM To: '[EMAIL PROTECTED]' Subject: AW: Problems with images (scaling)... Hi Jim! That worked if the image was too wide! But if it is too tall the image isn't rendered! It is just gone! Ist that a bug in fop? Christian -Ursprüngliche Nachricht- Von: Jim Wright [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 26. Oktober 2001 00:41 An: [EMAIL PROTECTED] Betreff: RE: Problems with images (scaling)... Put the external graphic inside of a properly-sized block container. Skip the scaling, content-height, and content-width stuff. .png and .gif files work fine with this approach. DPI is increased appropriately as image is scaled down, which helps make high-resolution .gifs out of low-res ones. Hope that helps! jw -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 4:51 AM To: Fop-liste (E-Mail) Subject: Problems with images (scaling)... I want to put a logo on a letter using FOP. The logo is quite big, but it shall be scaled to fit into 25mm x 85mm. I tried the following code: - fo:external-graphic width=25mm height=85mm src={CompanyLogo/@src} scaling=uniform content-height=scale-to-fit content-width=scale-to-fit/ - but FOP says: - Error in content-height property value 'scale-to-fit': org.apache.fop.fo.expr.PropertyException: No conversion defined - the XSL-Dokumentation says: - [...] 7.13.2. content-height XSL Definition: Value:auto | scale-to-fit | length | percentage | inherit Initial: auto Applies to: fo:external-graphic, fo:instream-foreign-object Inherited:no Percentages: intrinsic height Media:visual Values have the following meanings: auto The content-height should be the intrinsic content-height. scale-to-fit A size of the content-height equal to the height of the viewport. This value implies a certain scaling factor to be applied onto the content. [...] - So if I doesn't use the content-height/width attributes, the logo is printed in the requested width but its original height!! That doesn't look very nice! ;-) Please help me! Thanks in advance Christian __ DIRON Wirtschaftsinformatik GmbH Co. KG Christian Beer ([EMAIL PROTECTED]) Daimlerweg 39-41Tel. : +49(251)979-200 48163 Muenster Fax : +49(251)979-2020 Germany 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: [GUMP] Build Failure - Fop
Keiron Liddle wrote: I would like to raise an issue about this. I am not complaining, just pointing out some things. Remember - the point of Gump is to encourage people to communicate. Are the fop and batik people communicating, or is the gump nags the only form of communication for these changes between the two projects? I Fop is updated to comply with the api in the current batik cvs then fop will only work with that cvs build. So for example if a release of fop is made in the meantime (eg. 0.20.1 and 0.20.2) then they will only work with the batik version that comes with the build. It is not possible for the user to get the latest version of batik, for example batik 1.1, when it comes out and use that. It might be possible to release a new version of fop but this is a bit more difficult and time consuming in our current situation. This gets worse when another project is using fop and batik (eg. cocoon) and may also be updating the jars at various times. Absolutely correct. Realistically a proper version of fop can only be released along with a stablised api version of batik. It seems that keeping up to date with cvs of other libs doesn't always solve any problems and may actually create some. Agreed. My stated preference is that batik provide backwards compatible APIs, perhaps deprecated. Failing that, it would be nice if they could tell you once and for all, this is what the new API is going to be, instead of you having to discover a new change that impacts you every week or so. It may also be possible with reflection tricks or ant tricks (I can point out plenty of examples of each) to write a single source base that either can work with each, or at least can compile against each. But failing that, the options as I see it are: 1) try to stay up, and hope that batik releases first. 2) revert to the last release, but keep the gump runs and nags as informational. 3) revert to the last releaes, keep the gump runs, but discontinue the nags 4) drop xml-fop from gump entirely at the moment. You are right to be thinking about these issues in the way that you are. I probably should start a FAQ for gump as too many people assume that any reported compilation error should be fixed, but that is not always the correct solution. - Sam Ruby P.S. In a prior time where one project was routinely breaking another, I took the step of adding a notification to the culprit if their project's name was found in any of the error messages in the compilation of the victims project. My goal is to do whatever it takes to get the projects talking. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Bug in SCG Path
SVG cannot handle zero angles. The following path instruction produces a NAN error in the PDF itself. svg:path d=M80 80 L160 80 A80.0 80 0 0,0 160 80 z style=fill:rgb(251,231,92);stroke:white;stroke-width:1/-- /svg:svg - 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 'xxx Continued' piece as the header and simply print xxx 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 ( fo:block id=last-csr-page/fo:block) 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]
DO NOT REPLY [Bug 3497] - id already exists error when using span=all attribute
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497 id already exists error when using span=all attribute --- Additional Comments From [EMAIL PROTECTED] 2001-10-26 12:26 --- I have just run into this bug when there is a span=1. Prior to this week I did not use span in my block tags. Adding them (spans) this week has resulted some docs failing with the id already exists error. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]