RE: How to get the text be flowed to the next column
-Original Message- From: Susanta Dash [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 6:54 AM I appreciate your honest replies. This is for Pascal: As a workaround, you can try to play with fo:block-container in absolute position, but you have to cut the flow-text yourself. When you say cut the flow-text yourself, do you mean that I've to figure out the column breaks and explicitly move the text to the next column(s)? Yes Pascal If yes, this is what I'm trying now, which is not impossible, but is close to that as my text has formatting objects embedded in it like say part of the text is BOLD/ITALIC or have different font size. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Rounded Table Corners
a little FO Question. Ist there a way to draw rounded table corners in fo using fop 0.20.5 As far as I know you can't define rounded borders with XSL-FO. But if the size of your table is static, you can set a backround image containing the rounded corners to the table (with the attribute background-image on the fo:table element). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
keep-with-next causes last row of previous table to come along
Hello all I find this odd: When I use keep-with-next on the first row of a table, what happens ist that the last row of the table before to come along onto the next page. What I have: Table A with 5 rows Table B with 2 rows What I'd like to achieve: I want the two rows of table B to stay together, if they don't fit on the first page anymore, they should move to the next page First attempt: Table B, Row2: keep-with-previous=always Result: nothing happens, Row2 is printed separately from Row1 at beginning of 2nd page Second attempt: Table B, Row1: keep-with-next=always Result: The two rows are keeping together as wished, BUT: Row5 of Table A comes along too, being printed on top of page 2. Any idea what's going on here? I appreciate any suggestions, corrections, work-arounds. I'm also interested in learning, why the first attempt doesn't show any changes. cheers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Keeping tables together with FOP 0.92b
Hi I'm not an experienced user, but have you tried keep-with-next? It did work for me, although with other undesired side-effects (see my post with the superlong title keep-with-next causes last row of previous table to come along. regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
€ Sign
Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 Viele Grüße / Best RegardsChristian LoockJunior Software Engineer_Phone +49 (0) 28 21 / 9 78 56-16Fax +49 (0) 28 21 / 9 78 56-77E-Mail [EMAIL PROTECTED]Headquarterdb-central gmbhDienstleistungszentrum am Weißen TorGocher Landstrasse 2D-47551 Bedburg-HauSubsidiarydb-central gmbhFilm- und MedienzentrumKönigsallee 43D-71638 Ludwigsburg (Stuttgart)visit www.db-central.com_
Re: € Sign
On Thu, Sep 14, 2006 at 01:22:10PM +0200, Christian Loock wrote: Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 € is not in iso-8859-1, how about you try to you use utf-8 or iso-8859-15? -Andreas Viele Grüße / Best Regards Christian Loock Junior Software Engineer _ Phone +49 (0) 28 21 / 9 78 56-16 Fax +49 (0) 28 21 / 9 78 56-77 E-Mail [EMAIL PROTECTED] Headquarter db-central gmbh Dienstleistungszentrum am Weißen Tor Gocher Landstrasse 2 D-47551 Bedburg-Hau Subsidiary db-central gmbh Film- und Medienzentrum Königsallee 43 D-71638 Ludwigsburg (Stuttgart) visit www.db-central.com _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ? Sign
Hey, iso-8859-1 doesn't contain the € character. You'll need iso-8859-15 (where € replaced ¤) - or use UTF-8 (at least that's my experience). /Mikael Christian Loock [EMAIL PROTECTED] 14-09-2006 13:25 Please respond to fop-users@xmlgraphics.apache.org To fop-users@xmlgraphics.apache.org cc Subject € Sign Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 Viele Grüße / Best Regards Christian Loock Junior Software Engineer _ Phone +49 (0) 28 21 / 9 78 56-16 Fax +49 (0) 28 21 / 9 78 56-77 E-Mail [EMAIL PROTECTED] Headquarter db-central gmbh Dienstleistungszentrum am Weißen Tor Gocher Landstrasse 2 D-47551 Bedburg-Hau Subsidiary db-central gmbh Film- und Medienzentrum Königsallee 43 D-71638 Ludwigsburg (Stuttgart) visit www.db-central.com _
Re: € Sign
Hi Christian, Christian Loock wrote: Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 I think this problem is not caused by FOP but by the character set you chose. If you want to use the Euro-sign you should choose ISO-8859-15 instead of ISO-8859-1. That's at least what solved similar problems for me when using HTML. Cheers Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Rounded Table Corners
How about the old HTML trick: rounded corner images on the upper left, upper right, lower left and lower right cells of the table. -Lou Christian Loock [EMAIL PROTECTED] 09/14/2006 04:21 AM Please respond to fop-users@xmlgraphics.apache.org To fop-users@xmlgraphics.apache.org cc Subject Rounded Table Corners Hi there, a little FO Question. Ist there a way to draw rounded table corners in fo using fop 0.20.5 Viele Grüße / Best Regards Christian Loock Junior Software Engineer _ Phone +49 (0) 28 21 / 9 78 56-16 Fax +49 (0) 28 21 / 9 78 56-77 E-Mail [EMAIL PROTECTED] Headquarter db-central gmbh Dienstleistungszentrum am Weißen Tor Gocher Landstrasse 2 D-47551 Bedburg-Hau Subsidiary db-central gmbh Film- und Medienzentrum Königsallee 43 D-71638 Ludwigsburg (Stuttgart) visit www.db-central.com _
Re: € Sign
We use utf-8 and the following template to print the Euro sign: xsl:template name=printEuro fo:inline white-space-collapse=false xsl:text#x20AC; /xsl:text /fo:inline /xsl:template Christian Loock [EMAIL PROTECTED] 09/14/2006 07:22 AM Please respond to fop-users@xmlgraphics.apache.org To fop-users@xmlgraphics.apache.org cc Subject € Sign Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 Viele Grüße / Best Regards Christian Loock Junior Software Engineer _ Phone +49 (0) 28 21 / 9 78 56-16 Fax +49 (0) 28 21 / 9 78 56-77 E-Mail [EMAIL PROTECTED] Headquarter db-central gmbh Dienstleistungszentrum am Weißen Tor Gocher Landstrasse 2 D-47551 Bedburg-Hau Subsidiary db-central gmbh Film- und Medienzentrum Königsallee 43 D-71638 Ludwigsburg (Stuttgart) visit www.db-central.com _
RE: Keeping tables together with FOP 0.92b
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 9:15 PM I' recently back to working with FOP. I have a document that consists of a number of tables with widely-varying numbers of rows. Sometimes several tables will fit entirely onto a single page, with others will span several pages. The problem I'm having involves those cases where a table almost fits onto a page, but one or two rows flow over onto the next page. I'd like to start a new page if the table won't fit onto the current one. I've tried some keep-with-previous tacks, but when a very long table won't fit onto a single page FOP errors out. Hi, keep-with-previous property doesn't work for table list (see [1]) And this is not yet done in FOP_TRUNK (see [2]) Does anyone have a sure-fire method for causing a table to start on a new page if all the rows won't fit on the current page? If you know rows height, you can add an explicit page break when needed, for example using the XPATH sequence position() mod XXX, where XXX is the number of rows per page. Thanks. Charles Knell [1] http://xmlgraphics.apache.org/fop/knownissues.html [2] http://xmlgraphics.apache.org/fop/changes.html HTH, Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: € Sign
-Original Message- From: Andreas Reuleaux [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 1:31 PM To: fop-users@xmlgraphics.apache.org Subject: Re: € Sign On Thu, Sep 14, 2006 at 01:22:10PM +0200, Christian Loock wrote: Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 € is not in iso-8859-1, how about you try to you use utf-8 or iso-8859-15? -Andreas Hi, You can use character entity, witch is not encoding dependant: Euro symbol can be represented by either #x20ac;, or #8366; That can be done with any Unicode character. Pascal
RE: Keeping tables together with FOP 0.92b
Pascal Sancho [EMAIL PROTECTED] wrote on 09/14/2006 07:47:09 AM: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 9:15 PM I' recently back to working with FOP. I have a document that consists of a number of tables with widely-varying numbers of rows. Sometimes several tables will fit entirely onto a single page, with others will span several pages. The problem I'm having involves those cases where a table almost fits onto a page, but one or two rows flow over onto the next page. I'd like to start a new page if the table won't fit onto the current one. I've tried some keep-with-previous tacks, but when a very long table won't fit onto a single page FOP errors out. Hi, keep-with-previous property doesn't work for table list (see [1]) And this is not yet done in FOP_TRUNK (see [2]) Does anyone have a sure-fire method for causing a table to start on a new page if all the rows won't fit on the current page? If you know rows height, you can add an explicit page break when needed, for example using the XPATH sequence position() mod XXX, where XXX is the number of rows per page. We use the position() mod XXX technique to break page sequences and release memory, but there is one major issue we always run in to: when a cell wraps and the row height increases, your row counts are now off and the breaks no longer occur at predicted intervals. This can be minimized if you have _very_ predictable data in your cells. -Lou Thanks. Charles Knell [1] http://xmlgraphics.apache.org/fop/knownissues.html [2] http://xmlgraphics.apache.org/fop/changes.html HTH, Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: € Sign
Thank you very much :) -Original Message- From: Pascal Sancho [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 1:55 PM To: fop-users@xmlgraphics.apache.org Subject: RE: € Sign -Original Message- From: Andreas Reuleaux [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 1:31 PM To: fop-users@xmlgraphics.apache.org Subject: Re: € Sign On Thu, Sep 14, 2006 at 01:22:10PM +0200, Christian Loock wrote: Hello, i have the problem that the € sign is not displayed in my PDF. I Generate the PDF using FOP 0.20.5. THe Font is Arial and the encoding iso-8859-1 € is not in iso-8859-1, how about you try to you use utf-8 or iso-8859-15? -Andreas Hi, You can use character entity, witch is not encoding dependant: Euro symbol can be represented by either #x20ac;, or #8366; That can be done with any Unicode character. Pascal
Re: keep-with-next causes last row of previous table to come along
ok, why first attempt doesn't work is clear now, it's not implemented yet my workaround for the moment: Between Table A and Table B I insert an empty Block. Now everything works as I'd like it to. So maybe this is a BUG??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get the text be flowed to the next column
Susanta Dash wrote: Hey guys, I can't wait for XSL-FO 1.1 and can't see any alternative. Can you guys just guide me to accomplish my need; I'm trying to get the exact point where to break the text, so that I can just move the rest of the text to the next column. I'm thinking to use AWT renderer and pick the font metrics by using Rectangle2D and JPEGEncoder, etc. etc. Now, what I'm afraid of is, the co-ordinates I'll generate from this, will it be the same or will be fit for FOP or Can I use some FOP thing that helps me doing this? Thanks. Sorry, I personally cannot help or advise you at this stage--this goes well beyond my capabilities. Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Extra fo:inline introduces extra new lines
On Thursday 14 September 2006 21:05, Florent Georges wrote: Hi I discovered the following issue with FOP 0.92beta (but I'm not sure it is an issue). With the following two blocks, I get two different results: fo:block text-align=left padding-bottom=0pt padding-top=0pt start-indent=3pt end-indent=3pt linefeed-treatment=preserve fo:inline linefeed-treatment=preserveBMW modele Date de mise en circulation: 1/9/1979 fo:inlineKm: /fo:inline27000/fo:block fo:block text-align=left padding-bottom=0pt padding-top=0pt start-indent=3pt end-indent=3pt linefeed-treatment=preserve fo:inline linefeed-treatment=preserveBMW modele fo:inlineDate de mise en circulation: /fo:inline1/9/1979 fo:inlineKm: /fo:inline27000/fo:block As far as I can tell neither of the two examples above is valid XSL-FO. In both cases a /fo:inline appears to be missing. Which makes me suspicious that this is not really the exact input given to FOP to produce the output you attached, You can see the result in attachment (the second block is the one with extra newlines in the result). Is it the expected behaviour? Regards, --drkm Manuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Extra fo:inline introduces extra new lines
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi In both blocks one closing /fo:inline is missing. How you generate the FO file? Stefan Florent Georges schrieb: Hi I discovered the following issue with FOP 0.92beta (but I'm not sure it is an issue). With the following two blocks, I get two different results: fo:block text-align=left padding-bottom=0pt padding-top=0pt start-indent=3pt end-indent=3pt linefeed-treatment=preserve fo:inline linefeed-treatment=preserveBMW modele Date de mise en circulation: 1/9/1979 fo:inlineKm: /fo:inline27000/fo:block fo:block text-align=left padding-bottom=0pt padding-top=0pt start-indent=3pt end-indent=3pt linefeed-treatment=preserve fo:inline linefeed-treatment=preserveBMW modele fo:inlineDate de mise en circulation: /fo:inline1/9/1979 fo:inlineKm: /fo:inline27000/fo:block You can see the result in attachment (the second block is the one with extra newlines in the result). Is it the expected behaviour? Regards, --drkm ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFCVitirQ0Ts08AdMRAilGAJ943VHsDoiDgLoB0+AErwU1g52vfACgmp7A 6zCw31Xc3QX85JVSSIDPWEE= =i4eN -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Extra fo:inline introduces extra new lines
-Original Message- From: Florent Georges [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 3:05 PM Hi I discovered the following issue with FOP 0.92beta (but I'm not sure it is an issue). With the following two blocks, I get two different results: fo:block text-align=left padding-bottom=0pt padding-top=0pt start-indent=3pt end-indent=3pt linefeed-treatment=preserve fo:inline linefeed-treatment=preserveBMW modele Date de mise en circulation: 1/9/1979 fo:inlineKm: /fo:inline27000/fo:block fo:block text-align=left padding-bottom=0pt padding-top=0pt start-indent=3pt end-indent=3pt linefeed-treatment=preserve fo:inline linefeed-treatment=preserveBMW modele fo:inlineDate de mise en circulation: /fo:inline1/9/1979 fo:inlineKm: /fo:inline27000/fo:block You can see the result in attachment (the second block is the one with extra newlines in the result). Is it the expected behaviour? Regards, Tested on both FOP 0.92 (works badly) and FOP_TRUNK (works fine), this has been corrected in latest code Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Keeping tables together with FOP 0.92b
I know that if a table has 20 or more rows, it won't fit on a single page. I deal with such large tables in my XSLT like this: xsl:template match=table xsl:variable name=page-break-flag xsl:choose xsl:when test=count(child::column) gt; 19page/xsl:when xsl:otherwiseauto/xsl:otherwise /xsl:choose /xsl:variable ... fo:table-row keep-with-next=always break-before={$page-break-flag} fo:table-cellfo:block/fo:block/fo:table-cell ... /xsl:template Here I am dealing with a situation where the number of rows on a particular table may not be very large, but because other tables appear on the page before it, the page breaks in the middle of the table, like this.: Page Break Table 1 row row row row Table 2 row row row row row row row row Table 3 row row row row Page Break row row row row Table 4 row row row row In my case, the row heights are always the same, so Louis' warning is not applicable. In order to know if I should start a new page before beginning to print Table 3, I would have to know the number of rows that already appear on the page (or some other more clever work-around), but I can't think of a way to get that information. Does this suggest a solution to anyone? Thanks. -- Charles Knell [EMAIL PROTECTED] - email ÿþ <