svg text and spacing

2005-03-23 Thread Pascal Sancho
Hi Jake, This seems to be a specific svg question. You should ask it in a svg list. However, You can use this: svg:text x=... y=... text-anchor=end.../svg:text In a left-to-right context, your x coordinate corresponds to the right edge of the text box. You can then easily locate your chart.

RE: JFOR for fo:external-graphic

2005-03-23 Thread Pascal Sancho
Hi, FOP 0.20.5 doesn't support content-xxx. Use 'height' and 'width' attributes instead. Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I use jfor but does not suppport content-height and content-width for external image. My problem is the on linux

RE: How to handle special characters?

2005-03-09 Thread Pascal Sancho
Hi, Sometime ago, I've tried this code (this applies font-familly='Symbol' when needed) xsl:template match=text() xsl:call-template name=testCaractres xsl:with-param name=texte select=./ /xsl:call-template /xsl:template xsl:template name=testCaractres

RE: fo:leader

2005-03-04 Thread Pascal Sancho
Other alternative is to set both block font-height and line-height to '0mm' (or more, depends on what you want). Pascal -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoyé : jeudi 3 mars 2005 22:38 Gang Li wrote: I want to insert a line in the table row to

RE: N xml, 1 PDF

2005-02-24 Thread Pascal Sancho
Hi, This seems to be a more specific XSLT question. You can do that (you will complete the code as you want): xsl:variable name=pathrelative_or_absolute_path_from_this_xsl_to_new_xml/xsl:vari able xsl:template match=Document|Exercises xsl:apply-templates select=document(concat($path,@uri))/

RE: xslt library

2005-02-24 Thread Pascal Sancho
You can follow that: www.exslt.org Pascal -Message d'origine- De : Peter Menzel [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 février 2005 13:55 I am looking for some kind of XSLT Library, which provides a set of standard components (HTML) for web applications, e.g. menus, form

RE: Bullets in FOP

2005-02-17 Thread Pascal Sancho
Hi, You can use: - either explicit character or character entity; - or glyph image (bitmap or svg). Characters that can replace wished bullets can be: #x2022; (filled circle); (this is part of standard font charsets) #x25a0; to #25f7; unicode page (geometric shapes) Caution: the used font

RE: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Pascal Sancho
Hi, You can find howto add your own fonts at http://xml.apache.org/fop/fonts.html. This can be summed up as follows: 1. get font files (type 1 or true type) 2. make metric file (using either PFMReader or TTFReader) 3. make your own config file 4. enjoy! Pascal -Message d'origine- De

RE: Declaring an entity for FOP to see

2005-01-13 Thread Pascal Sancho
Hi, I think that the public declaration is missing in you !DOCTYPE The right syntax should be: !DOCTYPE root_element PUBLIC DTD_name DTD_URI [ your own entities here ] Pascal -Message d'origine- De : Luke Shannon [mailto:[EMAIL PROTECTED] Envoyé : mercredi 12 janvier 2005 23:34

RE: How do I wrap a continuous string inside a block/table cell?

2005-01-07 Thread Pascal Sancho
Hi, You should use the hyphenate attribute : fo:block hyphenate=true.../fo:block Pascal -Message d'origine- De : Lawford, Mark : Enable [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 janvier 2005 15:33 I'm working on a report PDF export and I've come across a trivial problem

RE: Question about full page tables

2004-11-23 Thread Pascal Sancho
Hi Jon -Message d'origine- De : Jon Steeves [mailto:[EMAIL PROTECTED] fo:table-cell fo:block xsl:apply-templates select=item/ /fo:block /fo:table-cell fo:table-cell fo:block xsl:value-of

RE: [fop] linefeed-treatment=preserve doesn't preserve the linefeed

2004-11-23 Thread Pascal Sancho
Hi Gunter, -Message d'origine- De : Gunter D'Hondt [mailto:[EMAIL PROTECTED] Looking at the FAQ I think I don't do anything wrong in my code coz I'm placing the attrbute linefeed-treatment=preserve into it. The attr white-space-collapse I don't need or has nothing to do with

RE: text in vertical direction

2004-11-23 Thread Pascal Sancho
Hi You can use a foreing-object to embed svg, that works fine: fo:instream-foreign-objectsvg:svgxmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="7" height="250"svg:g transform="translate(5,250)"svg:g transform="rotate(-90)"svg:text x="0" y="0"

RE: [work] Re: Avery labels

2004-09-27 Thread Pascal Sancho
Hi, A very long time ago, I've tried the following code, witch could give you an answer (this is not very academic): xsl:if test=position() mod 3 =1 !-- new row -- xsl:text disable-output-escaping=yeslt;fo:table-rowgt;/xsl:text /xsl:if xsl:if test=position() mod 3 =1 xsl:text

RE: [work] Re: Avery labels

2004-09-27 Thread Pascal Sancho
Hi Jeremias Maerki wrote: This is not only not very academic, it's plain ugly, error-prone, violates XML concepts and works only if you don't connect XSLT and FOP using SAX. You should NEVER do something like that. I agree. Get a good XSLT book. The best for me is XSLT - Working with XML

RE: Error with multi-column page

2004-09-24 Thread Pascal Sancho
Hi, In my previous mail, the snipped FO was incomplete and did work fine. Here follows the right FO, witch generates the described error.. Pascal -Message d'origine- De : Pascal Sancho Envoyé : jeudi 23 septembre 2004 10:36 À : [EMAIL PROTECTED] Objet : Error with multi-column page

Error with multi-column page

2004-09-23 Thread Pascal Sancho
Hi there, When I try to generate a PDF with the following FO, I get an error: [ERROR] file:/E:/projets/peugeot/blueTeam/fop3/data.fo:12:35 No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. I use FOP 0.20.5. If I suppress either a

Multi-columns Layout problems

2004-09-21 Thread Pascal Sancho
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

RE: XSLT tag needed

2004-09-16 Thread Pascal Sancho
Hi, Probably your ns1 namespace is not defined in your XSLT. You sould add appropriate declaration in the stylesheet tag of your XSLT: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform xmlns:ns1=DbGMLPriceBusHdr Pascal De :

RE: How to write equations for FOP ?

2004-09-13 Thread Pascal Sancho
Hi, I think that a good way is to generate svg code embedded in a fo:instream-foreign-object. You can visit http://xml.apache.org/fop/graphics.html#svg-pdf-graphics. Pascal -Message d'origine- De : Vaclav PEROUTKA [mailto:[EMAIL PROTECTED] Envoyé : lundi 13 septembre 2004 14:24 À :

RE: How to write equations for FOP ?

2004-09-13 Thread Pascal Sancho
- De : Pascal Sancho Envoyé : lundi 13 septembre 2004 14:47 À : [EMAIL PROTECTED] Objet : RE: How to write equations for FOP ? Hi, I think that a good way is to generate svg code embedded in a fo:instream-foreign-object. You can visit http://xml.apache.org/fop/graphics.html#svg-pdf

RE: Pyjama stripes - for each 5 rows

2004-09-07 Thread Pascal Sancho
Hi, You can use a pattern like this: (position() div 5) mod 2 When the result is 0, apply background color #1, When the result is 1, apply background color #2. If you need to know an ancestor element position, you may replace position() with

RE: Error while building FOP dev1

2004-09-07 Thread Pascal Sancho
while building FOP dev1 Chris, have you tried under JDK 1.3? Because Pascal tries to compile under 1.3. Unfortunately, I'm at work on my notebook where I don't have a current FOP HEAD to try. I can check this out this evening. On 07.09.2004 11:26:08 Chris Bowditch wrote: Pascal Sancho

RE: Error while building FOP dev1

2004-09-07 Thread Pascal Sancho
I've just tried the latest SDK That works fine with J2 SDK 1.4.2_05 Thx to Jeremias Chris Pascal -Message d'origine- De : Chris Bowditch [mailto:[EMAIL PROTECTED] Envoyé : mardi 7 septembre 2004 15:25 À : [EMAIL PROTECTED] Objet : Re: Error while building FOP dev1 Jeremias

RE: Table-of-Contents Headlines

2004-08-30 Thread Pascal Sancho
: Pascal Sancho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 23, 2004 11:27 AM Subject: RE: Table-of-Contents Headlines Hi, You can find an example it the W3C XSL recommandation, at http://www.w3.org/TR/xsl/slice6.html#section-N13277-Inline-level-Formatting- Objects

RE: Table-of-Contents Headlines

2004-08-23 Thread Pascal Sancho
Hi, You can find an example it the W3C XSL recommandation, at http://www.w3.org/TR/xsl/slice6.html#section-N13277-Inline-level-Formatting-Objects. There is an example of table of content, with XML, XSLT XSLFO snips. Pascal -Message d'origine- De : Johannes Franz [mailto:[EMAIL

RE: Tables and Columns Question

2004-08-11 Thread Pascal Sancho
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

RE: tables not indented in lists

2004-08-10 Thread Pascal Sancho
Hi, I resolve this emdeding my table in a single cell table, and I compute the table-cell/@padding-left regarding ancestors lists. You can probably find an easier method using from-parent() method. Here follows my code: fo:table table-layout=fixed width=100% start-indent=0mm

RE: pdf document info

2004-06-23 Thread Pascal Sancho
Hi, You should probably find answer in the FAQ (http://xml.apache.org/fop/faq.html#pdf-doc-properties) or in the post-processing page (http://xml.apache.org/fop/output.html#pdf-postprocess). Tcho -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 22

RE: How to handle in fop

2004-06-10 Thread Pascal Sancho
Hi, following XML entities should be used when needed: amp; () lt; () gt; () apos; (') quot; () regards, Tcho -Message d'origine- De : Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED] Envoyé : jeudi 10 juin 2004 11:24 À : [EMAIL PROTECTED] Objet : Re: How to handle in fop [EMAIL

RE: OutOfMemoryError by large tables: Alternative solution?

2004-06-10 Thread Pascal Sancho
Hi, I wonder weither you can easily read a 1 rows table. Even in a pdf form. Probably you should crunch your source file in multiple subtables. Other engines than FOP could be have similar limitations... Beginning with human reader;) Regards, Tcho -Message d'origine- De : Peter B.

RE: Plase Help in solving wrap option

2004-06-10 Thread Pascal Sancho
Hi, wrap-option proprety only applies to fo:block, fo:inline, fo:page-number, or fo:page-number-citation elements (see FO rec). Regards Tcho -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 8 juin 2004 12:13 À : [EMAIL PROTECTED]; [EMAIL PROTECTED]

RE: Table Header problem

2004-05-28 Thread Pascal Sancho
Hi, The xsl:apply-templates/ in the xsl:template match=Report should be replaced with xsl:apply-templates select=R/. If not, extra text can be added to fo:table-body (due to default xslt rules) Tcho -Message d'origine- De : Kaustuva Narayan Sharma [mailto:[EMAIL PROTECTED] Envoyé :

RE: Table Header problem

2004-05-27 Thread Pascal Sancho
Hi, Your fo output seems to be correct (except that there is no fo:table-column, witch are required by fop to set column width) It could be a wrong transformation (ie there is no table-header or table-body markup in your xml source file). (I suppose that your example is expected result, but not

RE: Symbol ZapfDingats font doesn't render

2004-05-26 Thread Pascal Sancho
Hi,* I had a similar problem. These 2 special fonts are only available in a normal format (neither bold nor italic). You should check if inherited properties affect thes 2 traits. If this is the source problem, just add appropriate text-decoration=none and font-weight=normal. Tcho -Message

RE: Symbol ZapfDingats font doesn't render

2004-05-26 Thread Pascal Sancho
send you attached pdf file that shows the 14 default charsets (helvetica, courrier and times fonts needs 4 charsets each). By Tcho -Message d'origine- De : Pascal Sancho Envoyé : mercredi 26 mai 2004 05:00 À : [EMAIL PROTECTED] Objet : RE: Symbol ZapfDingats font doesn't render Hi,* I had