RE: Absolute position of original text in final PDF

2010-01-12 Thread Igor Rosenberg
Hello, Within the rendering classes, I understand that each Object within the AreaTree gets rendered individually. I hope that assumption's correct... Especially org.apache.fop.render.pdf.PDFRenderer.renderBlock (org.apache.fop.area.Block block) Within this method, I have discovered that

AW: Absolute position of original text in final PDF

2010-01-12 Thread Georg Datterl
Hi Igor, since you already work with the area tree, try this: Don't autogenerate the id but give each text in your XML a unique id. Set this id as the block id. Now in the area tree you can find the block which contains your text (prod-id is your id). This block has a width (ipd) and a height

Re: Absolute position of original text in final PDF

2010-01-12 Thread Peter Hancock
Hi Igor, Is there more information on what Traits are? A defintion can be infered here http://www.w3.org/TR/2001/REC-xsl-20011015/slice4.html#area-common And a brief relation to fop here http://xmlgraphics.apache.org/fop/dev/design/areas.html#traits Am I right in thinking that when defined,

Re: hypenation of numbers in fop

2010-01-12 Thread lexa2009
thx i make 200b between all letters and numbers and all ok -- View this message in context: http://old.nabble.com/hypenation-of-numbers-in-fop-tp27109660p27125476.html Sent from the FOP - Users mailing list archive at Nabble.com.

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-12 Thread lexa2009
or another example ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:m=http://www.w3.org/1998/Math/MathML; xsl:template match=/ fo:root xmlns:m=http://www.w3.org/1998/Math/MathML;

Re: Using/Embedding fonts with FOP

2010-01-12 Thread Chris Bowditch
Ari Army wrote: Hi Here is my whole font file: I mean the font's section of my userConfig.xml file Also wanted to add, that all options, even the automatic ones not specifying an embed url (options 1 and 2) embedded the font so worked on others computers. Yes fonts are always embedded by

RE: Absolute position of original text in final PDF

2010-01-12 Thread Igor Rosenberg
Hello, Does anyone know how to go down the Area Tree, looking for specific elements (in my case Blocks), and managing to infer the element's x and y coordinates? The Area Tree is truly complicated - it's hierarchical, is there any way of going down all the nodes, without having to know

RE: Absolute position of original text in final PDF

2010-01-12 Thread Igor Rosenberg
Hello, Thanks Peter for the pointers… I’ve kept up the hread through Georg’s answer Cheers Igor From: Peter Hancock [mailto:peter.hanc...@gmail.com] Sent: martes, 12 de enero de 2010 11:00 To: fop-users@xmlgraphics.apache.org Subject: Re: Absolute position of original text in final PDF

FOP generate Barcode 128 subset C ?

2010-01-12 Thread Magdikova
How can I set the fop to generate barcode 128 subset C subset a: 038914200731150100030803102113 subset c: 03 80 00 00 00 09 00 00 14 20 07 30 00 01 15 01 00 03 08 00 00 03 10 21 13 It is possible? -- View this message in context:

AW: Absolute position of original text in final PDF

2010-01-12 Thread Georg Datterl
Hi Igor, I get the area tree as a DOM Node and get the nodes I'm interest in by XPath expressions. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert

Re: AFP Form Defs example

2010-01-12 Thread Venkat Reddy
Hi Jeremias, Thanks for your input source. The Form Defs sample working for me and I will be able to go through the source code with the current sample. I have used the following sample to understand Form Defs/Maps AFP extension... Sample: ?xml version=1.0 encoding=UTF-8? fo:root

RE: Absolute position of original text in final PDF

2010-01-12 Thread Igor Rosenberg
Hello, My original problem was: how can I know the position in the final PDF of the original text? I've just discovered the following method: org.apache.fop.render.pdf.PDFRenderer.saveBlockPosIfTargetable(Block) The javadoc says: * id + absolute position will be saved. The