Re: table: column-width
Mathy, To do the variable number of columns, you'll have to use a range function like this To do the column and row spanning, use number-columns-spanned and number-rows-spanned Chuck Mathy V Arumugam wrote: I need a table looking like this :))) *** * TEXT*Some text * *** ** Col 2 * Col3* Col4 * Col N * *** * 0* 2*3* 4*5* *** * 6 * 7*8* 9*10 * *** The number of columns is not a fixed number. I am able to create the table but, having trouble with the column-width. The table should expand to fit the page. The total-column-number is defined in TABLE attribute. Thanks Mathy
Re: table: column-width
Apologies for the previous request! A better looking table is attached! > > The number of columns is not a fixed number. I am able to create the > table but, having trouble with the column-width. The table should > expand to fit the page. The total-column-number is defined in TABLE > attribute. > > Thanks > Mathy Title: Column 1 Column 1 Title for the for The first ROW Column 2 Column 3 Column 4 Column N (0,0) (0,1) (0,2) (0,3) (0,N) (1,0) (1,1) (1,2) (1,3) (1,N) (2,0) (2,1) (2,2) (2,3) (2,N) (3,0) (3,1) (3,2) (3,3) (3,N)
table: column-width
I need a table looking like this :))) *** * TEXT*Some text * *** ** Col 2 * Col3* Col4 * Col N * *** * 0* 2*3* 4*5* *** * 6 * 7*8* 9*10 * *** The number of columns is not a fixed number. I am able to create the table but, having trouble with the column-width. The table should expand to fit the page. The total-column-number is defined in TABLE attribute. Thanks Mathy
Re: Page Layout
You can try to work with the "number-columns-spanned" attribute on table-cell. On 14.03.2002 17:57:23 Balaji Loganathan wrote: > Hi, > I'm trying to design a Paper document using > XSL:FO,PDF so that I can retrive and put the data from > XML into PDF as if like filling Paper document in > hand. > Please see the attachment. > I would to create a PDF with 210x 297mm as page width > and height,and table's in it with different height and > width(later i will put data in it). > Please tell me how to create a table with specified > height and width,so that I can put tables inside table > and build a page like the attachment shown. > Really getting mad,I guess i need more lateral > thinking. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - 6002 Luzern Fon +41 (0)41 317 2020 - Fax +41 (0)41 317 2029 Internet http://www.outline.ch
Re: insert a PDF file into another PDF
http://www.etymon.com/pj/ may help you. FOP can't do that for you. On 14.03.2002 19:28:46 Mathy V Arumugam wrote: > I need to insert one PDF file into another PDF file, say, insert page 7 > in another pdf file or insert page 7-12 into another. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - 6002 Luzern Fon +41 (0)41 317 2020 - Fax +41 (0)41 317 2029 Internet http://www.outline.ch
Re: SV: PNG Images
The Jimi Image library which provides PNG support for FOP has been taken out of the distribution for licence reasons. You can download it at Sun (I think). On 14.03.2002 17:47:50 Klosa Uwe wrote: > Which version are you using. For me don't png files work in 0.20.3. > > Uwe > > -Ursprungligt meddelande- > Från: Chris Faulkner [mailto:[EMAIL PROTECTED] > Skickat: den 14 mars 2002 17:43 > Till: [EMAIL PROTECTED] > Ämne: Re: PNG Images > > > PNG works just fine - I'm using them now as external graphics. > > Chris > > >Is there any way to use png graphics with fop, or do I have to pre-process > >them all to gif :( > > > >Kevin Pearcey > > > > > > > Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - 6002 Luzern Fon +41 (0)41 317 2020 - Fax +41 (0)41 317 2029 Internet http://www.outline.ch
Re: DocBook patch for FOP
Nope. It's almost useless. Jeff - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 13, 2002 12:34 PM Subject: Re: DocBook patch for FOP | Does the document look somewhat like what you wanted? The warnings indicate | that the properties is not supported. | | Carlos | | On 03/13/02 6:10, "Jeff Rancier" <[EMAIL PROTECTED]> wrote: | | > Thanks. At least this time it ran. Here's what the output looks like now: | > | > [INFO]: building formatting object tree | > [INFO]: [1] | > [WARN]: table-layout=auto is not supported, using fixed! | > [INFO]: [2] | > [WARN]: table-layout=auto is not supported, using fixed! | > [INFO]: [3] | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [INFO]: [4] | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [INFO]: [5] | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [INFO]: [6] | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "linefeed-treatment" is not implemented yet. | > [WARN]: property - "linefeed-treatment" is not implemented yet. | > [WARN]: property - "linefeed-treatment" is not implemented yet. | > [INFO]: [7] | > [WARN]: table-layout=auto is not supported, using fixed! | > [WARN]: current implementation of tables requires a table-column for each | > column | > , indicating column-width | > [INFO]: [8] | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "last-line-end-indent" is not implemented yet. | > [WARN]: property - "linefeed-treatment" is not implemented yet. | >
Re: DocBook patch for FOP
Does the document look somewhat like what you wanted? The warnings indicate that the properties is not supported. Carlos On 03/13/02 6:10, "Jeff Rancier" <[EMAIL PROTECTED]> wrote: > Thanks. At least this time it ran. Here's what the output looks like now: > > [INFO]: building formatting object tree > [INFO]: [1] > [WARN]: table-layout=auto is not supported, using fixed! > [INFO]: [2] > [WARN]: table-layout=auto is not supported, using fixed! > [INFO]: [3] > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [INFO]: [4] > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [INFO]: [5] > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [INFO]: [6] > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [INFO]: [7] > [WARN]: table-layout=auto is not supported, using fixed! > [WARN]: current implementation of tables requires a table-column for each > column > , indicating column-width > [INFO]: [8] > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "last-line-end-indent" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "linefeed-treatment" is not implemented yet. > [WARN]: property - "li
insert a PDF file into another PDF
I need to insert one PDF file into another PDF file, say, insert page 7 in another pdf file or insert page 7-12 into another. Thanks in advance Mathy
Page Layout
Hi, I'm trying to design a Paper document using XSL:FO,PDF so that I can retrive and put the data from XML into PDF as if like filling Paper document in hand. Please see the attachment. I would to create a PDF with 210x 297mm as page width and height,and table's in it with different height and width(later i will put data in it). Please tell me how to create a table with specified height and width,so that I can put tables inside table and build a page like the attachment shown. Really getting mad,I guess i need more lateral thinking. Regards Balaji http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool.<>
SV: PNG Images
Which version are you using. For me don't png files work in 0.20.3. Uwe -Ursprungligt meddelande- Från: Chris Faulkner [mailto:[EMAIL PROTECTED] Skickat: den 14 mars 2002 17:43 Till: [EMAIL PROTECTED] Ämne: Re: PNG Images PNG works just fine - I'm using them now as external graphics. Chris >Is there any way to use png graphics with fop, or do I have to pre-process >them all to gif :( > >Kevin Pearcey > > >
Re: PNG Images
PNG works just fine - I'm using them now as external graphics. Chris >Is there any way to use png graphics with fop, or do I have to pre-process >them all to gif :( > >Kevin Pearcey > > >
Difference between odd and even page...
Hi, I'm currently using fop to produce pdf after a transformation from xhtml to xsl:fo with an XSLT. Well, I have a problem with even pages. I don't get any footer nor header. There is no difference between the odd and the even pages for the static content in the header/footer. Here is the log: [DEBUG]: Input mode: [DEBUG]: FO [DEBUG]: fo input file: docs\result.xml [DEBUG]: Output mode: [DEBUG]: pdf [DEBUG]: output file: toto.pdf [DEBUG]: OPTIONS [DEBUG]: no user configuration file is used [default] [DEBUG]: debug mode on [DEBUG]: dump configuration [DEBUG]: quiet mode on [DEBUG]: base directory: file:/f:/Temp/Fop-0.20.3rc/docs/ [INFO]: FOP 0.20.3 [DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser [INFO]: building formatting object tree [DEBUG]: setting up fonts [INFO]: [1] [WARN]: table-layout=auto is not supported, using fixed! [WARN]: table-layout=auto is not supported, using fixed! [WARN]: table-layout=auto is not supported, using fixed! [WARN]: Some static content could not fit in the area. [WARN]: Some static content could not fit in the area. [INFO]: [2] [WARN]: table-layout=auto is not supported, using fixed! [WARN]: table-layout=auto is not supported, using fixed! [INFO]: [3] [WARN]: Some static content could not fit in the area. [WARN]: Some static content could not fit in the area. [INFO]: [4] [INFO]: [5] [WARN]: Some static content could not fit in the area. [WARN]: Some static content could not fit in the area. [INFO]: [6] [INFO]: [7] [WARN]: Some static content could not fit in the area. [WARN]: Some static content could not fit in the area. [DEBUG]: Last page-sequence produced 7 pages. [INFO]: Parsing of document complete, stopping renderer [DEBUG]: Initial heap size: 638Kb [DEBUG]: Current heap size: 1481Kb [DEBUG]: Total memory used: 843Kb [DEBUG]: Memory use is indicative; no GC was performed [DEBUG]: These figures should not be used comparatively [DEBUG]: Total time used: 3646ms [DEBUG]: Pages rendererd: 7 [DEBUG]: Avg render time: 520ms/page Can you help? Thanks. Bruno, France http://www.w3.org/1999/xhtml"; xmlns:fo="http://www.w3.org/1999/XSL/Format";> COUCOU GOUNY / FIN DU GOUNY!!! / __LIBALE__ __NOVOALE__ __NOMRUALE__ __BP__ __BPALE__ __CDPALE__ __LIBPOSALE__ Le __JJ__/__MM__/____ Tel : __TELALE__ __ENSEIGNE__ A l'attention de __CIVICORRES__ __CORRES__ __CPLADRET1__ __CPLADRET2__ __NOVOET__ __TYPVOET__ __LIBVOET__ __DISPEC__ __CDPOSET__ __LIBPOSET__ __AGENT__ __CIVIAGENT__ __CORRALE__ Tel : __TELCORR__ Poste : __POSTTEL__ Fax : __FAXALE__ Objet : Recrutement __CIVICORRESLG__, Vous avez confié à l'ANPE le recrutement de : __INTOFA__ et je vous en remercie. Je serai votre interlocuteur pour ce recrutement. Je vous adresse le descriptif de votre offre d'emploi référencée sous le numéro __NUMOFRA__. Si vous souhaitez apporter une précision ou une modification, n'hésitez pas à me contacter. Comme convenu, je diffuse immédiatement votre offre d'emploi avec vos coordonnées par les moyens adaptés (affichage, 36 14 ANPE, ...). Vous serez contacté__GENRE__ directement par les candidats intéressés. Je vous téléphonerai le __DATECTT__ pour faire le point. Merci de bien vouloir m'informer dès que vous aurez retenu un candidat. Je vous prie d'agréer, __CIVICORRESLG__, mes sincères salutations. __CIVIAGENT__ __CORRALE__ __CONSEILLER__
Page orientation with postscript
I am having a nightmare using the new javax.print api. When I print out fop documents as postscript, they come out in portrait when they should be in landscape. Can anyone help? thanks! Tom
RE: FOP Performance Limitations?
I have a sinking feeling another xalan/xerces combination is somewhere in my classpath. The problem? I don't have a classpath env. variable set. I wonder where that list of places the 1.4JVM looks for classes on win32 is? On Thu, 14 Mar 2002, Peter Jacobs wrote: > Strange, the difference was very noticeable, in the XSL-transforms (to > HTML,Excel,FO) as well as in de FOP-PDF generation step. > Like XML->FO->PDF in 10 seconds instead of 50!! > Other people reported the same thing > e.g. see the thread "Re: FOP performance on Win98/JRE 1.3.1" on FOP-DEV. > > > > That's interesting that it made a difference for you. On our XML/XSL, it > > didn't make much difference - maybe it shaved 1-2 seconds of a 60 second > > rendering. > > > > -David > > > > On Wed, 13 Mar 2002, Peter Jacobs wrote: > > > > > > > > Are you using the included Xalan and Xerces.jar? I replaced > > them with Xalan > > > 2.2 and Xerces 1.4.2 and got big improvement in speed (on > > Win2000 and Sun > > > Solaris). > > > > > > >
PNG Images
Is there any way to use png graphics with fop, or do I have to pre-process them all to gif :( Kevin Pearcey
Checking please delete
Checking please delete http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool.
Re: external-graphic src syntax
First it tries to load the given url directly using URL. If the url string is invalid then it tries with "file:" in front. This means that if you image url is a relative path (ie. "image.jpg") then it will find that file (automatically in java) if it is relative to the current directory. The current directory is the "user.dir" java system property which is the directory that the jvm was run in. If this url cannot be loaded then it tries to get the file using the base directory if specified. This is how you can specify the base directory: String baseDir = "url path to base"; Configuration.put("baseDir", baseDir); This will change in the future as it is static and therefore bad. On 2002.03.13 21:10 Michael Engelhart wrote: I have the same setup but I'm calling FOP from an embedded application (NOT a web application - no tomcat or other server). Here's the code from my render() method: ByteArrayOutputStream out = new ByteArrayOutputStream(); DOMResult xslFODomResult = transformPDF("/some/pathto/a/stylesheet/pdf.xsl"); Driver driver = new Driver(); driver.setRenderer(driver.RENDER_PDF); driver.setOutputStream(out); org.w3c.dom.Document foDoc =(org.w3c.dom.Document) xslFODomResult.getNode(); driver.render(foDoc); return (out.toByteArray()); That's why I'm trying to figure out where FOP is getting the directory path to "image.jpg" from. It doesn' t work in this situation. Is FOP using some kind of classpath directory???
Re: multi-page PDF creation using the PDFDocumentGraphics2D class
This is not supported. The PDFDocumentGraphics2D is simply meant to render a single svg to a single page. You could probably get what you want by extending the class and adding some extra methods to create a new page and so on. On 2002.03.14 04:24 Daniel Cardin wrote: I have managed to use the PDFDocumentGraphics2D class to create a PDF document from my application. I have not seen anywhere how I could instruct the renderer to create a new PDF page. Has anyone done this? Thanks in advance, Daniel
multi-page PDF creation using the PDFDocumentGraphics2D class
I have managed to use the PDFDocumentGraphics2D class to create a PDF document from my application. I have not seen anywhere how I could instruct the renderer to create a new PDF page. Has anyone done this? Thanks in advance, Daniel
table-cell content justify
Hello all, Is it possible to text-align="justify" <><> in a table-cell? It seems like text by itself can be justified, but when a fo:leader is inserted between text is displayed, leader fills the rest of the cell and the remaining text hangs off to the right. Is there a way to keep it all within the boundaries of the cell, or is it necessary to calculate how much space the text occupies in the cell and then make a good estimate of, i.e. calculate by, the length of the leader? Any suggestions? thank you in advance, Matthew L. Avizinis Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606 (352)-375-0772 ext. 101 www.gleim.com
RE: FOP Performance Limitations?
Strange, the difference was very noticeable, in the XSL-transforms (to HTML,Excel,FO) as well as in de FOP-PDF generation step. Like XML->FO->PDF in 10 seconds instead of 50!! Other people reported the same thing e.g. see the thread "Re: FOP performance on Win98/JRE 1.3.1" on FOP-DEV. > That's interesting that it made a difference for you. On our XML/XSL, it > didn't make much difference - maybe it shaved 1-2 seconds of a 60 second > rendering. > > -David > > On Wed, 13 Mar 2002, Peter Jacobs wrote: > > > > > Are you using the included Xalan and Xerces.jar? I replaced > them with Xalan > > 2.2 and Xerces 1.4.2 and got big improvement in speed (on > Win2000 and Sun > > Solaris). > > >