Space betweens columns
Hi, is it possible to control the space / margin between columns in multi-column documents? I can control the margins at the outside of the content, but not the margin _between_ the colums. -- thx, soenke. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Space betweens columns
Sönke Ruempler wrote: Hi, is it possible to control the space / margin between columns in multi-column documents? specify column-gap on region-body. snip/ Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multi-columns Layout problems
Pascal Sancho wrote: 3. When I declare an ID (using generate-id() function xpath), I get an error if the element is not spanned over the 2 columns (error says that ID cannot be used twice). That's a known but hard to fix bug. Avoid IDs in multi-column layouts with block spanning all columns or footnotes. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multi-columns Layout problems
Hi there, While trying multi-columns with fop, I've found some strange behaviours: 1. When I specifie block/span="all", a block/@break-before is not taken into account for the same block. 2. If there is not enough place for a block image in 1 column, sometimes FOP crashes, invoking an infinite loop -- I resolved this problem by inserting some empty blocks before 3. When I declare an ID (using generate-id() function xpath), I get an error if the element is not spanned over the 2 columns (error says that ID cannot be used twice). I suppose that intermediate xml file include a copy of the 1st column (I have not checked it yet), because fo file is *perfect*! I need to span the element over all columns in order to bypass this problem. Cordialement,Pascal SANCHOTakoma, Information Mapping t : +334 90 59 82 90 m : +336 74 94 66 04e : [EMAIL PROTECTED]
Tables and Columns Question
Hi, I want to create a three column document. In this document there are tables, that are generated from an XML file. I want the tables in that order Column 1 | Column 2 | Column 3 Table 1 | Table 2 | Table 3 Table 4 ... I don't want to create a Nx3 Table and put 1 table in one cell, is there a more elegant solution? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tables and Columns Question
In your 3 columns document, You can use a block with a span=all attribute between 3rd 4th tables. This should resolve your demand. Bye, Pascal -Message d'origine- De : Michael Sachau [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 août 2004 13:56 À : [EMAIL PROTECTED] Objet : Tables and Columns Question Hi, I want to create a three column document. In this document there are tables, that are generated from an XML file. I want the tables in that order Column 1 | Column 2 | Column 3 Table 1 | Table 2 | Table 3 Table 4 ... I don't want to create a Nx3 Table and put 1 table in one cell, is there a more elegant solution? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tables and Columns Question
Michael Sachau wrote: I don't want to create a Nx3 Table and put 1 table in one cell, is there a more elegant solution? Why don't you want to create an outer table? It's the way it is supposed to be done (the XSLFO table should have really be named grid-layout or something like this). J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I manage columns
Hi I have a problem with columns : How can I tell the XSL parser to forward to an other page the columns wich overflow the width of the page. thanx. Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I manage table columns
Hi I have a problem with columns : How can I tell the XSL parser to forward to an other page the columns wich overflow the width of the page. thanx. Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I manage table columns
On Aug 10, 2004, at 3:19 AM, ELFELAH Tarek wrote: I have a problem with columns : How can I tell the XSL parser to forward to an other page the columns wich overflow the width of the page. thanx. Without knowing more about your task, it's hard to come up with a solution. For one thing, we don't know if your content is IMAGE-based or TEXT-based. As for overflow, I don't think the overflow (as it relates to fo:table-cell fo:table-column) is well-developed in FOP. I think you need to come up with some sort of XSL solution where you count the number of characters (or determine the width of an image at run-time) or something. This would be a process external to FOP and would be better discussed on an XSL/XSLT list: http://xml.apache.org/fop/maillist.html If you come up with a solution, please let us know so others may benefit from your experience. p.s. Thanks for moving this thread to fop-user. As you must've surmised, fop-dev is for development issues only. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I manage table columns
Clay Leeds wrote: As for overflow, I don't think the overflow (as it relates to fo:table-cell fo:table-column) is well-developed in FOP. There is no mechanism to overflow columns of a too-wide-a-table onto another page in XSLFO (might get into XSLFO 1.1. or 2.0.) J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: table spanned over a 2 columns page
Pascal Sancho wrote: snip/ fo:flow flow-name=xsl-region-body ... fo:table span=all ... /fo:table ... /fo:flow FOP doesnt support span=all on fo:table, only on fo:block elements that are direct descendents of fo:flow. snip/ I wonder wether it is a normal behaviour (I've checked the xsl rec, and I have understood that fo:table should be handled as a fo:block) or not. In the 2nd case, this should be a bug. Why should this be a bug? span=all works on a block, and you get the result you want. I dont see the problem? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to keep the table`s columns description on the next page?
Chris Bowditch wrote: Milen Dimitrov wrote: Hi, can somebody help me with this issue: I have a very long tables that spreads on more than 1 page, and I want to have the columns titles on every page. I cannot put the columns titles in fo:region-before because the tables are different. 10x This is straight forward. You just need to define a header row. This is done as follows: fo:table fo:table-column column-number=1 width=2cm/ fo:table-column column-number=2 width=2cm/ fo:table-column column-number=3 width=2cm/ fo:table-header fo:table-row fo:table-cellHeading 1/fo:table-cell fo:table-cellHeading 2/fo:table-cell fo:table-cellHeading 3/fo:table-cell /fo:table-row /fo:table-header fo:table-body .. /fo:table-body /fo:table Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks this solved the problem :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to keep the table`s columns description on the next page?
On Jun 22, 2004, at 4:36 AM, Milen Dimitrov wrote: Hi, can somebody help me with this issue: I have a very long tables that spreads on more than 1 page, and I want to have the columns titles on every page. I cannot put the columns titles in fo:region-before because the tables are different. Have you tried using the fo:table-header? I believe the purpose of this element (and similarly fo:table-footer) is to print the information on every page. Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: spanning columns
On May 25, 2004, at 14:42, Chris Bowditch wrote: A.M. wrote: Hi List- I am relatively new to FO. I am trying to create a 2-column page with text that wraps into the next column at a position on the page. I can see it is possible by putting a leader in as shown in one of the Apache FOP examples, however I need to balance the text in the columns. do you mean; fo:block span=allfo:leader//fo:block Exactly. I've been toying with this and I don't understand how FOP decides where to place the leader- making the break. Is there some attribute to shift it up or down without adding unnecessary attributes to the leading block ?(I guess I could mark half the text as keep in column but I'd rather have more control over the leader.) Imagine that each column's text would then touch the bottom border. I would try this with tables but then I would have to know exactly where to break the text. Here's some ASCII art of what I need: |---| |Title1 | | |paragraph text1|t1 continue| |text1 text1 tex|d from prev| |t1 text1 text1 |ious column| |text1 text1 tex|balanced. | | | | |Title2 | | |paragraph text2|t2 continue| |text2 text2 tex|d+balance. | |---| Column balancing isnt implemented properly in FOP 0.20.5 I'm afraid. You can experiment by adding some white space after the first lot of text. Oy. ¬¬¬ AgentM [EMAIL PROTECTED] ¬¬¬ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
spanning columns
Hi List- I am relatively new to FO. I am trying to create a 2-column page with text that wraps into the next column at a position on the page. I can see it is possible by putting a leader in as shown in one of the Apache FOP examples, however I need to balance the text in the columns. Imagine that each column's text would then touch the bottom border. I would try this with tables but then I would have to know exactly where to break the text. Here's some ASCII art of what I need: |---| |Title1 | | |paragraph text1|t1 continue| |text1 text1 tex|d from prev| |t1 text1 text1 |ious column| |text1 text1 tex|balanced. | | | | |Title2 | | |paragraph text2|t2 continue| |text2 text2 tex|d+balance. | |---| I would appreciate any tips. Thanks. ¬¬¬ AgentM [EMAIL PROTECTED] ¬¬¬ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: spanning columns
A.M. wrote: Hi List- I am relatively new to FO. I am trying to create a 2-column page with text that wraps into the next column at a position on the page. I can see it is possible by putting a leader in as shown in one of the Apache FOP examples, however I need to balance the text in the columns. do you mean; fo:block span=allfo:leader//fo:block Imagine that each column's text would then touch the bottom border. I would try this with tables but then I would have to know exactly where to break the text. Here's some ASCII art of what I need: |---| |Title1 | | |paragraph text1|t1 continue| |text1 text1 tex|d from prev| |t1 text1 text1 |ious column| |text1 text1 tex|balanced. | | | | |Title2 | | |paragraph text2|t2 continue| |text2 text2 tex|d+balance. | |---| Column balancing isnt implemented properly in FOP 0.20.5 I'm afraid. You can experiment by adding some white space after the first lot of text. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fop bug with fo:footnote and 2 columns documents
When I use footnotes and 2 columns documents, the first column sometimes enter inside de area of the footnote. I can't find similiar behaviour in fop bugzilla, but i'm not a fop expert. Does anybody have the same problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how can I add a border to my columns
how can I add a border to my columns ? if you've got a block, you might use border-left-style and border-left-width attributes : fo:block font-size=100% border-left-style=solid border-left-width=thin Mat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how can I add a border to my columns
no all my document is with two columns fo:region-body region-name=xsl-region-body column-count=2 how can L do to add a border to my columns? I want to have a line from the top to the bottom of all page at the left of all columns someone has an idee? thanks a lot jf - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 6:47 PM Subject: RE: how can I add a border to my columns how can I add a border to my columns ? if you've got a block, you might use border-left-style and border-left-width attributes : fo:block font-size=100% border-left-style=solid border-left-width=thin Mat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with two columns document and fo:table-row keep-with-next=always
thanks keep-together=always combined with keep-with-next solve my problem - Original Message - From: Chris Pratt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 06, 2004 6:51 PM Subject: RE: problem with two columns document and fo:table-row keep-with-next=always Are you trying to keep everything in the table-row together, or keep the contents of the table-row from being broken between itself and the next table-row? If you want everything in the table-row together in the same column, use keep-together=always, not keep-with-next. Remember, you're acting on the row, not it's contents. Keep-together keeps the contents together. Keep-with-next keeps the row together with the next row. (*Chris*) -Original Message- From: Selber Jean-François [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 9:39 am To: [EMAIL PROTECTED] Subject: Re: problem with two columns document and fo:table-row keep-with-next=always There is a small fragment of my xsl-fo code: keep-with-next=always on the first column it doesnt works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS SCIENTIFIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.3cm font-weight=boldAffiliation à des associations professionnelles et scientifiques:/fo:block /fo:block /fo:table-cell /fo:table-row keep-with-next=always on the second column it works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS ACADÉMIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.8cmDate d'entrée au Groupe HEC: 1973/fo:block /fo:block /fo:table-cell /fo:table-row the complet sample: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:ofcR=http://www.oxymel.com/ofc/reporting; xmlns:fox=http://xml.apache.org/fop/extensions; xmlns:xhtml=http://www.w3.org/1999/xhtml; fo:layout-master-set fo:simple-page-master master-name=*_* margin-left=2.5cm margin-right=2.5cm page-width=21cm margin-bottom=2.5cm margin-top=2.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body/ fo:region-before region-name=xsl-region-before-*_*/ fo:region-after region-name=xsl-region-after-*_*/ fo:region-start region-name=xsl-region-start-*_*/ fo:region-end region-name=xsl-region-end-*_*/ /fo:simple-page-master fo:simple-page-master master-name=CV_* margin-left=1cm margin-right=1cm page-width=21cm margin-bottom=0.5cm margin-top=0.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body column-count=2 margin-bottom=2cm margin-top=2.5cm/ fo:region-before region-name=xsl-region-before-CV_* extent=1cm/ fo:region-after region-name=xsl-region-after-CV_* extent=1cm/ fo:region-start region-name=xsl-region-start-CV_*/ fo:region-end region-name=xsl-region-end-CV_*/ /fo:simple-page-master fo:page-sequence-master master-name=* fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=*_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master fo:page-sequence-master master-name=CV fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=CV_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=CV fo:static-content flow-name=xsl-region-before-CV_firstOdd fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_firstEven fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_first fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline
problem with two columns document and fo:table-row keep-with-next=always
Hello, I used fop 0.20.5 I make a document with two columns I have a table and I want to keep row together; I used fo:table-row keep-with-next="always" but it work onlyat the end of thesecond columns of the document and it doesn't work when the row I want to keep with next is placed at end of first column how can I have the same result that I have onthe second column? thanks Jean-Francois Selber
Re: problem with two columns document and fo:table-row keep-with-next=always
There is a small fragment of my xsl-fo code: keep-with-next=always on the first column it doesnt works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS SCIENTIFIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.3cm font-weight=boldAffiliation à des associations professionnelles et scientifiques:/fo:block /fo:block /fo:table-cell /fo:table-row keep-with-next=always on the second column it works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS ACADÉMIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.8cmDate d'entrée au Groupe HEC: 1973/fo:block /fo:block /fo:table-cell /fo:table-row the complet sample: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:ofcR=http://www.oxymel.com/ofc/reporting; xmlns:fox=http://xml.apache.org/fop/extensions; xmlns:xhtml=http://www.w3.org/1999/xhtml; fo:layout-master-set fo:simple-page-master master-name=*_* margin-left=2.5cm margin-right=2.5cm page-width=21cm margin-bottom=2.5cm margin-top=2.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body/ fo:region-before region-name=xsl-region-before-*_*/ fo:region-after region-name=xsl-region-after-*_*/ fo:region-start region-name=xsl-region-start-*_*/ fo:region-end region-name=xsl-region-end-*_*/ /fo:simple-page-master fo:simple-page-master master-name=CV_* margin-left=1cm margin-right=1cm page-width=21cm margin-bottom=0.5cm margin-top=0.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body column-count=2 margin-bottom=2cm margin-top=2.5cm/ fo:region-before region-name=xsl-region-before-CV_* extent=1cm/ fo:region-after region-name=xsl-region-after-CV_* extent=1cm/ fo:region-start region-name=xsl-region-start-CV_*/ fo:region-end region-name=xsl-region-end-CV_*/ /fo:simple-page-master fo:page-sequence-master master-name=* fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=*_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master fo:page-sequence-master master-name=CV fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=CV_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=CV fo:static-content flow-name=xsl-region-before-CV_firstOdd fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_firstEven fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_first fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_odd fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_even fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_left fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block
Re: problem with two columns document and fo:table-row keep-with-next=always
Selber Jean-François wrote: There is a small fragment of my xsl-fo code: keep-with-next=always on the first column it doesnt works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS SCIENTIFIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.3cm font-weight=boldAffiliation à des associations professionnelles et scientifiques:/fo:block /fo:block /fo:table-cell /fo:table-row keep-with-next=always on the second column it works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS ACADÉMIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.8cmDate d'entrée au Groupe HEC: 1973/fo:block /fo:block /fo:table-cell /fo:table-row I'm not certain if this is causing the problem, but including number-rows-spanned=1 number-columns-spanned=1 in your table-cell items doesn't appear to 'do' anything. Other than that, perhaps someone else has some insight? Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with two columns document and fo:table-row keep-with-next=always
Are you trying to keep everything in the table-row together, or keep the contents of the table-row from being broken between itself and the next table-row? If you want everything in the table-row together in the same column, use keep-together=always, not keep-with-next. Remember, you're acting on the row, not it's contents. Keep-together keeps the contents together. Keep-with-next keeps the row together with the next row. (*Chris*) -Original Message- From: Selber Jean-François [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 9:39 am To: [EMAIL PROTECTED] Subject: Re: problem with two columns document and fo:table-row keep-with-next=always There is a small fragment of my xsl-fo code: keep-with-next=always on the first column it doesnt works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS SCIENTIFIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.3cm font-weight=boldAffiliation à des associations professionnelles et scientifiques:/fo:block /fo:block /fo:table-cell /fo:table-row keep-with-next=always on the second column it works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS ACADÉMIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.8cmDate d'entrée au Groupe HEC: 1973/fo:block /fo:block /fo:table-cell /fo:table-row the complet sample: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:ofcR=http://www.oxymel.com/ofc/reporting; xmlns:fox=http://xml.apache.org/fop/extensions; xmlns:xhtml=http://www.w3.org/1999/xhtml; fo:layout-master-set fo:simple-page-master master-name=*_* margin-left=2.5cm margin-right=2.5cm page-width=21cm margin-bottom=2.5cm margin-top=2.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body/ fo:region-before region-name=xsl-region-before-*_*/ fo:region-after region-name=xsl-region-after-*_*/ fo:region-start region-name=xsl-region-start-*_*/ fo:region-end region-name=xsl-region-end-*_*/ /fo:simple-page-master fo:simple-page-master master-name=CV_* margin-left=1cm margin-right=1cm page-width=21cm margin-bottom=0.5cm margin-top=0.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body column-count=2 margin-bottom=2cm margin-top=2.5cm/ fo:region-before region-name=xsl-region-before-CV_* extent=1cm/ fo:region-after region-name=xsl-region-after-CV_* extent=1cm/ fo:region-start region-name=xsl-region-start-CV_*/ fo:region-end region-name=xsl-region-end-CV_*/ /fo:simple-page-master fo:page-sequence-master master-name=* fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=*_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master fo:page-sequence-master master-name=CV fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=CV_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=CV fo:static-content flow-name=xsl-region-before-CV_firstOdd fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_firstEven fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_first fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_odd fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content
Re: problem with two columns document and fo:table-row keep-with-next=always
I want only to keep the row together with the next row . it is why I used keep-with-next - Original Message - From: Chris Pratt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 06, 2004 6:51 PM Subject: RE: problem with two columns document and fo:table-row keep-with-next=always Are you trying to keep everything in the table-row together, or keep the contents of the table-row from being broken between itself and the next table-row? If you want everything in the table-row together in the same column, use keep-together=always, not keep-with-next. Remember, you're acting on the row, not it's contents. Keep-together keeps the contents together. Keep-with-next keeps the row together with the next row. (*Chris*) -Original Message- From: Selber Jean-François [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 9:39 am To: [EMAIL PROTECTED] Subject: Re: problem with two columns document and fo:table-row keep-with-next=always There is a small fragment of my xsl-fo code: keep-with-next=always on the first column it doesnt works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS SCIENTIFIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.3cm font-weight=boldAffiliation à des associations professionnelles et scientifiques:/fo:block /fo:block /fo:table-cell /fo:table-row keep-with-next=always on the second column it works: fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=15px space-after=0.5cm font-weight=boldACTIVITÉS ACADÉMIQUES/fo:block /fo:block /fo:table-cell /fo:table-row fo:table-row keep-with-next=always fo:table-cell number-rows-spanned=1 number-columns-spanned=1 fo:block fo:block font-size=12px space-after=0.8cmDate d'entrée au Groupe HEC: 1973/fo:block /fo:block /fo:table-cell /fo:table-row the complet sample: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:ofcR=http://www.oxymel.com/ofc/reporting; xmlns:fox=http://xml.apache.org/fop/extensions; xmlns:xhtml=http://www.w3.org/1999/xhtml; fo:layout-master-set fo:simple-page-master master-name=*_* margin-left=2.5cm margin-right=2.5cm page-width=21cm margin-bottom=2.5cm margin-top=2.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body/ fo:region-before region-name=xsl-region-before-*_*/ fo:region-after region-name=xsl-region-after-*_*/ fo:region-start region-name=xsl-region-start-*_*/ fo:region-end region-name=xsl-region-end-*_*/ /fo:simple-page-master fo:simple-page-master master-name=CV_* margin-left=1cm margin-right=1cm page-width=21cm margin-bottom=0.5cm margin-top=0.5cm page-height=29.7cm fo:region-body region-name=xsl-region-body column-count=2 margin-bottom=2cm margin-top=2.5cm/ fo:region-before region-name=xsl-region-before-CV_* extent=1cm/ fo:region-after region-name=xsl-region-after-CV_* extent=1cm/ fo:region-start region-name=xsl-region-start-CV_*/ fo:region-end region-name=xsl-region-end-CV_*/ /fo:simple-page-master fo:page-sequence-master master-name=* fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=*_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master fo:page-sequence-master master-name=CV fo:repeatable-page-master-alternatives fo:conditional-page-master-reference odd-or-even=any page-position=any master-reference=CV_*/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=CV fo:static-content flow-name=xsl-region-before-CV_firstOdd fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_firstEven fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003/fo:inline /fo:block /fo:block /fo:static-content fo:static-content flow-name=xsl-region-before-CV_first fo:block fo:block font-size=12px text-align=center fo:inline font-weight=boldC/fo:inline o r p sfo:inline font-weight=boldP/fo:inline r o f e s s o r a lfo:inline font-weight=boldP/fo:inline e r m a n e n tfo:inline font-weight=bold2003
RE: problem with two columns document and fo:table-row keep-with-next=always
-Original Message- From: Selber Jean-François [mailto:[EMAIL PROTECTED] I want only to keep the row together with the next row . it is why I used keep-with-next Hi, Have you tried using the property components: keep-with-next.within-line keep-with-next.within-column keep-with-next.within-page Not sure if these are fully implemented yet... but there's a remote possibility that plain 'keep-with-next' just uses the page as context. HTH! Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with two columns document and fo:table-row keep-with-next=always
Hi, try keep-with-next.within-page=always instead of only keep-with-next=always. This worked for me. Bye, Bernd On Thursday 06 May 2004 18:56, Selber Jean-François wrote: I want only to keep the row together with the next row . it is why I used keep-with-next - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
columns and images
Hi all, I'm developing and xsl to render documents in two columns. These documents usually have tables and i like to span they to see it better. I'm wirting the table inside a block with the span=all attribute, but the table still be attached to one column. Does fop support this feature? Regards, Enrique. code: . . . fo:block space-after.optimum=4pt space-after.maximum=6pt space-after.minimum=2pt space-before.optimum=4pt space-before.maximum=6pt space-before.minimum=2pt font-size=8pt span=all fo:table margin-right=2mm margin-left=2mm table-layout=fixed width=100% . . . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: columns and images
Hi, if you want to span a table (table B) inside a table (Table A), you must set the table-row's number-columns-spanned attribut of table A to a value matching the number of columns you want to have spanned by table B. Jan -Ursprüngliche Nachricht- Von: Enrique Rodriguez Lasterra [mailto:[EMAIL PROTECTED] Gesendet: Montag, 5. April 2004 03:13 An: [EMAIL PROTECTED] Betreff: columns and images Hi all, I'm developing and xsl to render documents in two columns. These documents usually have tables and i like to span they to see it better. I'm wirting the table inside a block with the span=all attribute, but the table still be attached to one column. Does fop support this feature? Regards, Enrique. code: . . . fo:block space-after.optimum=4pt space-after.maximum=6pt space-after.minimum=2pt space-before.optimum=4pt space-before.maximum=6pt space-before.minimum=2pt font-size=8pt span=all fo:table margin-right=2mm margin-left=2mm table-layout=fixed width=100% . . . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: columns and images
Enrique Rodriguez Lasterra wrote: Hi all, I'm developing and xsl to render documents in two columns. These documents usually have tables and i like to span they to see it better. I'm wirting the table inside a block with the span=all attribute, but the table still be attached to one column. span=all only works on a block if the block is a direct descendent of fo:flow. Test to see if span=all is working using text rather than a table in the block. Text placed inside a block with span=all is known to work, but there may well be a bug with tables. If the Text inside the spanning block does span both columns but the table does not, please report back and ill make a note on the compliance page. Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: columns and images
Excuse me, I explained it bad. The document (see above) has two columns, and I want to show the tables using all the page. fo:simple-page-master master-name=pagina-impar page-height=29.7cm page-width=21cm margin-top=1.2cm margin-bottom=0.5cm margin-left=2cm margin-right=2cm fo:region-before extent=1cm/ fo:region-after extent=2cm/ fo:region-body margin-top=1.1cm margin-bottom=2.5cm *column-count*=2 / /fo:simple-page-master Jan Kohnert wrote: Hi, if you want to span a table (table B) inside a table (Table A), you must set the table-row's number-columns-spanned attribut of table A to a value matching the number of columns you want to have spanned by table B. Jan -Ursprüngliche Nachricht- Von: Enrique Rodriguez Lasterra [mailto:[EMAIL PROTECTED] Gesendet: Montag, 5. April 2004 03:13 An: [EMAIL PROTECTED] Betreff: columns and images Hi all, I'm developing and xsl to render documents in two columns. These documents usually have tables and i like to span they to see it better. I'm wirting the table inside a block with the span=all attribute, but the table still be attached to one column. Does fop support this feature? Regards, Enrique. code: . . . fo:block space-after.optimum=4pt space-after.maximum=6pt space-after.minimum=2pt space-before.optimum=4pt space-before.maximum=6pt space-before.minimum=2pt font-size=8pt span=all fo:table margin-right=2mm margin-left=2mm table-layout=fixed width=100% . . . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: columns and images
Thank you Chriss... My tables are inside two blocks so i will change to test it. Chris Bowditch wrote: Enrique Rodriguez Lasterra wrote: Hi all, I'm developing and xsl to render documents in two columns. These documents usually have tables and i like to span they to see it better. I'm wirting the table inside a block with the span=all attribute, but the table still be attached to one column. span=all only works on a block if the block is a direct descendent of fo:flow. Test to see if span=all is working using text rather than a table in the block. Text placed inside a block with span=all is known to work, but there may well be a bug with tables. If the Text inside the spanning block does span both columns but the table does not, please report back and ill make a note on the compliance page. Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Misaligned text columns
[EMAIL PROTECTED] wrote: I'm trying to set a document in two columns using fop (0.20.5). Unfortunately, when the two columns do not have exactly the same amount of material, the baselines of the first lines of the two columns do not align. They can be as much as 1.5 lines off. fop does not seem to have implemented .minimum and .maximum (or .conditionality or .precedence) in space-before and space-after, so the vertical spaces in the columns are constant rather than mutable. This seems to be at least part of the problem; leastwise, mucking about with 'stretch' and 'shrink' values doesn't seem to help.. Correct. However, I wonder why you get the effect. There is a bug which prevents FOP from discarding display space at the edge of a reference area, i.e. at the column top, however, unless the new column also starts a new block with some non-zero space-before, the text should be aligned. BTW the spec is rather hazy about alignment in multi-column layout. There are alignment options for lists and tables, but I don't remember there was much said about aligning the first lines of neighboring columns. Aligning the last lines would be great too. There are, however, more pressing issues with the code. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Misaligned text columns
[EMAIL PROTECTED] wrote: I'm trying to set a document in two columns using fop (0.20.5). Unfortunately, when the two columns do not have exactly the same amount of material, the baselines of the first lines of the two columns do not align. They can be as much as 1.5 lines off. I cant think of a workaround in the general sense. You could try placing your content into a table, starting a new row for each paragraph and using keep-together=always on the rows. That way the top of each column would always start with a new paragraph and the baseline alignment may be improved. Another technique is to try to guess when a column has been filled and place break-after=column at appropriate places in the XSL-FO during XSLT processing. Very messy I know... fop does not seem to have implemented .minimum and .maximum (or .conditionality or .precedence) in space-before and space-after, so the vertical spaces in the columns are constant rather than mutable. This seems to be at least part of the problem; leastwise, mucking about with 'stretch' and 'shrink' values doesn't seem to help.. Neither does giving a value to display-align in the region-body make any difference. display-align is only implemented in block-containers and table cells. I'm rather mystified, since my reading of the XSL spec and Pawson's book gives me no clue how I could achieve this effect if I wanted to. They wouldnt give you any pointers to solve this problem, because they are written in general XSL-FO terms, with a fully compliant XSL-FO formatter in mind. In other words they are not written specifically for FOP users. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table columns with custom font incorrectly aligned
Hi again. I use FOP to generate PDF documents from XSL-FO documents. The resulting PDF documents contains a big table, and it uses a custom font (called Signa). The font files needed are embedded in the document. I used the PFMReader utility to generate XML metrics files from these 3 different font metrics files (PFM files). The table in the PDF document typically uses right aligned cells. My problem is, the columns are not properly aligned, a right aligned column gets to look something like this: 12363474 43382 39 93 9393 64484505 38483 I tested with a base 14 font, no problems. Could it be that the generated font metrics is incorrect? Regards, Dennis JD Myrén Developer Oslo Kode Bureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no
Re: Table columns with custom font incorrectly aligned
Dennis Myrén wrote: snip/ I used the PFMReader utility to generate XML metrics files from these 3 different font metrics files (PFM files). snip/ My problem is, the columns are not properly aligned, a right aligned column gets to look something like this: snip/ I tested with a base 14 font, no problems. Could it be that the generated font metrics is incorrect? Yes, I believe the current PFMReader ignores the PFB file which has some parts of the font metrics in them. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Table columns with custom font incorrectly aligned
Could it be that the generated font metrics is incorrect? Yes, I believe the current PFMReader ignores the PFB file which has some parts of the font metrics in them. Ok. Is there any workaround? Any advises? Thank you. Regards, Dennis JD Myrén Developer Oslo Kode Bureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: 17. desember 2003 12:11 To: [EMAIL PROTECTED] Subject: Re: Table columns with custom font incorrectly aligned Dennis Myrén wrote: snip/ I used the PFMReader utility to generate XML metrics files from these 3 different font metrics files (PFM files). snip/ My problem is, the columns are not properly aligned, a right aligned column gets to look something like this: snip/ I tested with a base 14 font, no problems. Could it be that the generated font metrics is incorrect? Yes, I believe the current PFMReader ignores the PFB file which has some parts of the font metrics in them. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table columns with custom font incorrectly aligned
Nope. You're confusing things, I'm afraid. It's correct that some metric information needed by FOP is not present in PFM files, only in PFB (but which are currently not parsed). The problem here is most probably kerning. We've had that problem before. I just can't find the right thread right now. I think Jörg had an explanation (but I don't remember it). I used to propose to manually remove the kerning elements in the generated XML font metric file. This disables kerning for this font but normally solves the alignment problem. On 17.12.2003 12:10:36 Chris Bowditch wrote: Could it be that the generated font metrics is incorrect? Yes, I believe the current PFMReader ignores the PFB file which has some parts of the font metrics in them. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table columns with custom font incorrectly aligned
I used to propose to manually remove the kerning elements in the generated XML font metric file. This disables kerning for this font but normally solves the alignment problem. I like that proposal. Works like a charm. Thank you! Regards, Dennis JD Myrén Developer Oslo Kode Bureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 17. desember 2003 13:09 To: [EMAIL PROTECTED] Subject: Re: Table columns with custom font incorrectly aligned Nope. You're confusing things, I'm afraid. It's correct that some metric information needed by FOP is not present in PFM files, only in PFB (but which are currently not parsed). The problem here is most probably kerning. We've had that problem before. I just can't find the right thread right now. I think Jörg had an explanation (but I don't remember it). I used to propose to manually remove the kerning elements in the generated XML font metric file. This disables kerning for this font but normally solves the alignment problem. On 17.12.2003 12:10:36 Chris Bowditch wrote: Could it be that the generated font metrics is incorrect? Yes, I believe the current PFMReader ignores the PFB file which has some parts of the font metrics in them. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: number-columns-spanned ignored
It might help to know the version, platform, etc. but I'm guessing there 0.20.4, Java 1.4.2, XP. is something wrong with your XSL-FO somewhere else (perhaps you do not have consistent table-cell counts for the table or something?). Hmm, no I think everything's correct. But it might be the fault of jfor (which apparently still has lots of bugs). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: number-columns-spanned ignored
From: Psi Aushilfe3 [EMAIL PROTECTED] It might help to know the version, platform, etc. but I'm guessing there 0.20.4, Java 1.4.2, XP. is something wrong with your XSL-FO somewhere else (perhaps you do not have consistent table-cell counts for the table or something?). Hmm, no I think everything's correct. But it might be the fault of jfor (which apparently still has lots of bugs). Does number-columns-spanned attribute work when you generate a PDF? It works fine for me. Chris _ Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: number-columns-spanned ignored
Psi Aushilfe3 wrote: Does number-columns-spanned attribute work when you generate a PDF? It works Yes. ...as I mentioned, jfor is _very_ buggy :-(( I am confused. AFAIK, FOP 0.20.5 is not related to jfor at all. Did you send your original inquiry to the wrong list? Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bug: number-columns-spanned ignored
Title: Bug: number-columns-spanned ignored Hi! fo:tabel-cell number-columns-spanned=2 / The span attribute is just ignored.
Re: Bug: number-columns-spanned ignored
Psi Aushilfe3 wrote: fo:tabel-cell number-columns-spanned=2 / The span attribute is just ignored. I use number-columns-spanned throughout my markup, which works great in fop-0.20.5 and fop-0.20.4 (and every other version of fop I've tried). It might help to know the version, platform, etc. but I'm guessing there is something wrong with your XSL-FO somewhere else (perhaps you do not have consistent table-cell counts for the table or something?). Good luck! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Balancing columns in a 2 column region
Hi All, The main flow of my xsl:fo document has a column-count=2. By using the attribute span=none or span=all on fo:block's in my document, I can make the block area use or not use the 2 columns. So by toggling that span attribute, I can get output that looks either like: (span=all) xxx xxx xxx xxx xxx or: (span=none) xxx xxx xxx xxx xxx The question I have concerns the balancing of the columns in the span=none case. I've noticed that fop always puts about 2x as much data into the first column as the second. I'd like the balancing to be closer to 1-1. Is that possible? Is there an attribute that can be set on the flow? Any guidance on this would be greatly appreciated! Thanks, -V Vincent Illiano Senior Programmer/Analyst Duke University Heart Center - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Columns
Hi, it's possible to use an tag or property to divide in column my text,except column-count on body-region?? Ex: Original: BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB as i want: blablablablablablablablablabla blablablablablablablablablabla blablablablablablablablablabla blablablablablablablablablabla blablablablablablablablablabla Any trick? Marco Scotoni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Columns
marco scotoni wrote: it's possible to use an tag or property to divide in column my text,except column-count on body-region?? What's wrong with column-count? Original: BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB as i want: blablablablablablablablablabla blablablablablablablablablabla blablablablablablablablablabla blablablablablablablablablabla blablablablablablablablablabla Any trick? You can emulate it with list or blind table, but you cannot get the behaviour of flowing content into columns. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fo:table-cell number-columns-spanned: Is this property working at all?
Are there any limitations to the number-columns-spanned-property? I tried this to fill a 5-columns table with 2 cells, but it doesn't seem to work: xsl:template match=soustitre3 fo:table-row fo:table-cellfo:block xsl:value-of select=./ /fo:block/fo:table-cell fo:table-cell number-colums-spanned=4 text-align=centerfo:block xsl:value-of select=../soustitre3_intitule/ /fo:block/fo:table-cell /fo:table-row /xsl:template I'm using this same property in another rule in the same XSL-file, and it does what I want (e.g. span several colums with just one cell). But in this case, the text from xsl:value-of select=../soustitre3_intitule/,. which is actually rather long, is squeezed in the second cell, (with appr. 1 word per line, since the second column is rather narrow). Any ideas? Kurt
RE: block question in multi columns area
Hi, Xavier Part of this I can speak about...when I put in an algorithm for column rebalancing (the equilibration you refer to, on other words) it was very crude, really nothing more than a placeholder. I meant to go back to it but never did, and as far as I know no one else has ever put in a better one. Your blocks have very little content, so it may not look like they break across columns. But that they already do. It's just that the break is not quite in the right place. I'll take a quick look and see if we can't do somewhat better than what we have at the moment. Regards, Arved Sandstrom -Original Message- From: Xavier DAMAY [mailto:[EMAIL PROTECTED] Sent: April 25, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: block question in multi columns area Hello, I've got a presentation problem, when i use the block below in a two column body region. * I would like to equilibrate the two columns : Is it possible to force fop to cut a block to do that ? * I use blocks to simulate carriage return : Is there another solution ? * In the first sub-block (Le temps), I would like to place this piece of text lower than it does. It's placed in the top of the blue box, and I would like to place it in the middle. *I would like to have an italic and bold piece of text : what's the corresponding font-style ? fo:block font-size=10pt font-family=Times Roman line-height=14pt space-after.optimum=3pt text-align=justify background-color=white span=none fo:block background-color=darkblue text-align=center color=white font-size=20 LE TEMPS /fo:block fo:block font-style=italic text-align=left Bla bla bla bla /fo:block fo:block Bla bla bla bla /fo:block fo:block Bla bla bla bla /fo:block fo:block Bla bla bla bla /fo:block /fo:block I thank you for your help ! Xavier DAMAY
Re: block question in multi columns area
Thank you Arved :) In the case of arbitrary contents on a cocoon plateform, it would be very very interesting to equilibrate the bloks, mine are small because of the carriage return : it's not confortable to make blocks just to simulate carriage return. I'm not enough confortable with this project, to help you, but I would like to help the french community, by translating a part of the documentation. Sincerly Xavier DAMAY Arved Sandstrom wrote: Hi, Xavier Part of this I can speak about...when I put in an algorithm for column rebalancing (the equilibration you refer to, on other words) it was very crude, really nothing more than a placeholder. I meant to go back to it but never did, and as far as I know no one else has ever put in a better one. Your blocks have very little content, so it may not look like they break across columns. But that they already do. It's just that the break is not quite in the right place. I'll take a quick look and see if we can't do somewhat better than what we have at the moment. Regards, Arved Sandstrom -Original Message- From: Xavier DAMAY [mailto:[EMAIL PROTECTED] Sent: April 25, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: block question in multi columns area Hello, I've got a presentation problem, when i use the block below in a two column body region. * I would like to equilibrate the two columns : Is it possible to force fop to cut a block to do that ? * I use blocks to simulate carriage return : Is there another solution ? * In the first sub-block (Le temps), I would like to place this piece of text lower than it does. It's placed in the top of the blue box, and I would like to place it in the middle. *I would like to have an italic and bold piece of text : what's the corresponding font-style ? fo:block font-size=10pt font-family=Times Roman line-height=14pt space-after.optimum=3pt text-align=justify background-color=white span=none fo:block background-color=darkblue text-align=center color=white font-size=20 LE TEMPS /fo:block fo:block font-style=italic text-align=left Bla bla bla bla /fo:block fo:block Bla bla bla bla /fo:block fo:block Bla bla bla bla /fo:block fo:block Bla bla bla bla /fo:block /fo:block I thank you for your help ! Xavier DAMAY
Re: Multi columns for a text
Thank you very much for your response, I understood and succeeded with multi-column body region, but it didn't fit my needs. In fact I need multi column in block containers or tables, because i need two columns on the left and a third one completly independant in the right in a page and i need a two columns area and a third columns area in the same page. Do you have simple examples or urls to manage multi columns in block-containers or tables ? Thank you for your help Xavier J.Pietschmann wrote: Xavier DAMAY wrote: I want to generate dynamically a multicolumn area for a press-like Pdf. Does a solution exist ? I tried fo:block and i'm not confortable with tables. I will appriciate any help, You can create a multi-column body region by specifying the column-count property: http://www.w3.org/TR/xsl/slice6.html#fo_region-body You can have only one multi-column-area. There is a possibility to put a span=all for blocks which you want to have to span all columns (mainly intended for headlines). This would give you a layout as in a multi-column book. If you want to have a complex newspaper-like layout, with a grid with various possibly multi-column articles, you have to do it manually, either by using a blind table for the grid, or by using block-containers on absolute positions. J.Pietschmann
Re: Multi columns for a text
Xavier DAMAY wrote: I understood and succeeded with multi-column body region, but it didn't fit my needs. In fact I need multi column in block containers or tables, because i need two columns on the left and a third one completly independant in the right in a page and i need a two columns area and a third columns area in the same page. As far as i have understood the spec, you can't define an arbitrary area and have multi-column flowing text in it in XSLFO. Study it yourself, maybe i've overlooked something. Do you have simple examples or urls to manage multi columns in block-containers or tables ? If you mean text flowing automatically from column to column, there aren't any. Block containers can't have multiple columns for itself. The purpose of block containers is mainly changing block progression direction, for example having text flow from bottom to top in an otherwise top-to bottom text, although they are also often used simply to group blocks for positioning and similar tasks. In tables, you can have multiple columns, but you have to distribute the text across columns by yourself, it won't flow automatically, and there are no mechanisms to make balanced columns easily. You can try to produce balanced columns at the XSLT level. J.Pietschmann
Multi columns for a text
Hello, I want to generate dynamically a multicolumn area for a press-like Pdf. Does a solution exist ? I tried fo:block and i'm not confortable with tables. I will appriciate any help, Thank you Xavier
Drawing a line between two region-body columns
I have divided the region-body in two. I would now like to draw a single line separating the two columns, can this be done ? Is there any way to write something in the column-gap ? Alternatively, since I am having a block flowing from one column to another could I have the right column block's left border to appear but not the left column block's left border to appear. I.e. right column of block ... | ... left column of block and not the usual | right column of block ... | ... left column of block which is easy to get with block border-left=1pt I see no way for this to work, but I would really like it to. Patrick Andries
Re: Drawing a line between two region-body columns
J.Pietschmann wrote: Patrick Andries wrote: I have divided the region-body in two. I would now like to draw a single line separating the two columns, can this be done ? Is there any way to write something in the column-gap ? Alternatively, since I am having a block flowing from one column to another could I have the right column block's left border to appear but not the left column block's left border to appear. You can use static content in a region overlapping the region-body with the text flow. Use an empty block or table with absolute positioning and height settings. Yes, as often the solutions proposed assume absolute positions, I would much prefer to be able to do this sort of thing starting after a number of arbitrary blocks (spanned here). I think that the region-body should not indicate the number of columns, but one or several flow-body (let's say) which could have varying number of columns (1,2,3...). A model superior to what is available today (one can only indicate a fixed number of columns or span them). Would also be nice if this flow-body could then have decoration attributes for the column gap or for the different borders of the columns defined. Just an idea. BTW please post this kind of questions only to fop-user. In general, avoid cross posting to both lists. Ok. P. Andries
2 coliumns * 4 columns table
I need to implement tables that seem to me to be difficult (or impossible) to render with XSL FO. The difficulty involves a table made of two columns (left/right) themselves divided into 4 further columns (a,b,c,d). The content should flows from the left four columns (a,b,c,d) on a page to the right four columns (a,b,c,d) of the same page before going on to the next pages, themselves divided in the same way. The page header on the next pages is slightly different from the one found on the first page containing the table. Is this possible with your XEP ? Could you give me an rough idea how to implement it and test it ? P. Andries
Re: 2 coliumns * 4 columns table
Patrick Andries wrote: The difficulty involves a table made of two columns (left/right) themselves divided into 4 further columns (a,b,c,d). The content should flows from the left four columns (a,b,c,d) on a page to the right four columns (a,b,c,d) of the same page before going on to the next pages, themselves divided in the same way. The page header on the next pages is slightly different from the one found on the first page containing the table. Is this possible with your XEP ? This is the FOP list. Could you give me an rough idea how to implement it and test it ? You have to explicit assign the text to the columns in tables. You can try to use columns in the region-body fo:region-body column-count=2/ If you can use this, you can probably also use static content in the region-before for your slightly different headers. J.Pietschmann
Re: 2 coliumns * 4 columns table
Patrick Andries wrote: I'm not sure that declaring 2 columns in the region-body can help me on the first page, since it is preceded by single-column text (of arbitrary length) before the table split into 2 * 4 columns appears. You can put the text in a block and use span=all http://www.w3.org/TR/xsl/slice7.html#span J.Pietschmann
Re: 2 coliumns * 4 columns table
Yes good idea. J.Pietschmann wrote: Patrick Andries wrote: I'm not sure that declaring 2 columns in the region-body can help me on the first page, since it is preceded by single-column text (of arbitrary length) before the table split into 2 * 4 columns appears. You can put the text in a block and use span=all http://www.w3.org/TR/xsl/slice7.html#span J.Pietschmann
Two columns
Hi folks, I haven't seen an example for this but is it possible to have one or more blocks in which text flows into the next column, as in a newspaper for example. I am trying to do a two column A4 newsletter and don't want to worry about inserting column breaks Alex Mc
Re: Two columns
Alex, You need to include a column-count in your fo:region-body like this: fo:root fo:layout-master-set fo:simple-page-master master-name =page-first page-height =8.5in page-width =11in fo:region-body margin-top =5cm margin-bottom=.5in margin-left =.5in margin-right =.5in column-count =3/ fo:region-before extent=6cm/ /fo:simple-page-master /fo:layout-master-set . . . Chuck Paussa alex wrote: Hi folks, I haven't seen an example for this but is it possible to have one or more blocks in which text flows into the next column, as in a newspaper for example. I am trying to do a two column A4 newsletter and don't want to worry about inserting column breaks Alex Mc
Re: Columns
At 01:41 PM 10/4/01 +0200, Sam Prokop wrote: Hi folks, I´ve got the following Problem, i want to create a page, that has a different number of columns, for example it starts with 2 columns than only one and than 4. But i can only define columns in region-body and there can be only one region-body in a simple-page-master. I don´t want to give an absolute value for the height of the multicolumn-block. So is there another way to do multicolumns? If you are relying on 'column-count' on 'region-body', no, you are stuck with that one figure, as you surmised. This is an XSL limitation. So on one page you can have areas with one column and 'column-count' columns, depending on how you set 'span', but that is it - 2 choices. You might be able to do something clever if you also introduce tables. Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia
Columns
Hi folks, I´ve got the following Problem, i want to create a page, that has a different number of columns, for example it starts with 2 columns than only one and than 4. But i can only define columns in region-body and there can be only one region-body in a simple-page-master. I don´t want to give an absolute value for the height of the multicolumn-block. So is there another way to do multicolumns? thanx in anticipation -- Sam Prokop 4Tek Gesellschaft für angewandte Tel. +49 (0) 69 697688-137Informationstechnologien mbH Fax. +49 (0) 69 697688-111 http://www.4tek.de/