fo:table begin on current page

2010-01-11 Thread Matthias Müller
Hi there, if i draw a table that doesn't fit to the current page, fo will draw it on the next page automatically. but i need to draw that table starting at the current position (current page) and ending somewhere on the next page. how can i enforce that? thanks, matthias

AW: table begin on current page

2010-01-11 Thread Georg Datterl
Hi Matthias, check your fo-file table for keeps. keep-together, keep-with-next, keep-with-previous. Usually a table starts on the first page and then breaks to the next page. Mit freundlichen Grüßen Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh

[Fwd: AFP Form Defs example]

2010-01-11 Thread Venkat Reddy
Hi, Can someone please look into this? I could see the code snippets in fop trunk regarding this feature, but without a right example I cannot test this feature. I have to understand this feature inorder to continue my work, please give me an idea how to test this one... Thanks, Venkat.

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

2010-01-11 Thread lexa2009
thx for help. here is my fo ( i cut it to show the problem): ?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;

AW: AW: table begin on current page

2010-01-11 Thread Matthias Müller
Hi Georg, i didn't had any keep arguments in the table. i added keep-with-previous and now it works. thanks, matthias - Ursprüngliche Mail Von: Georg Datterl georg.datt...@geneon.de An: fop-users@xmlgraphics.apache.org Gesendet: Montag, den 11. Januar 2010, 11:52:17 Uhr Betreff: AW:

AW: AW: table begin on current page

2010-01-11 Thread Georg Datterl
Hi Matthias, That does not sound like a good solution. Either I misunderstood your initial problem or you are just masking your fo error. keep-with-previous keeps (start of) the table on the same page as the last previous content (or, in other words, pulls the last content to the next page,

hypenation of numbers in fop

2010-01-11 Thread lexa2009
hello, i use fo:table-cellfo:block text-indent=0cm hyphenate=true language=ruxyz/fo:block/fo:table-cell if xyz - any text on english all worls good, but if xyz - a number(1) or some text like 1000-2000 it overflows my table. how to fix it? i do not need a good hyphenation, it may wrap on

Re: hypenation of numbers in fop

2010-01-11 Thread Venkat Reddy
Hi, Please send the following information for the quick resolution of this issue... 1. The sample XSL:FO file (simplified one) 2. The FOP source/binary version you are using Cheers, Venkat. lexa2009 wrote: hello, i use fo:table-cellfo:block text-indent=0cm hyphenate=true

AW: AW: AW: table begin on current page

2010-01-11 Thread Matthias Müller
Hi Georg, i slightly changed my fo file. now i have the result i wanted to have ( a prevention from having page breaks before tables). my documents consists of a list of tables with a headline above each. at the headline's block i added the keep-with-next=always argument, that's all. matthias

AW: AW: AW: table begin on current page

2010-01-11 Thread Georg Datterl
Hi Matthias, That's ok, since the headline indeed should always be kept with the next element. But you did not find the reason why the table did not break before. Depending on how dynamically your fo is generated, this could come back to haunt you later in a more complex case... Regards,

Re: hypenation of numbers in fop

2010-01-11 Thread lexa2009
hi. sorry, i forget to do this :) fop 0.95, here fo ?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;

Re: hypenation of numbers in fop

2010-01-11 Thread Venkat Reddy
Hi, Please check this following text and the link to get the solution... Since the overflow property doesn't apply to table-cell, you can wrap the cell content in a block-container and specify overflow=hidden there. Alternatively, if you have long words overflowing table cells, try to get

Re: hypenation of numbers in fop

2010-01-11 Thread Pascal Sancho
Hi, FOP relies on Unicode UAX #29 [1] for break opportunities. It is said there: /Do not break within sequences of digits, or digits adjacent to letters (“3a”, or “A3”) If you want to have a break opportuniy in such sequence of digits (or mixed letters+digits), you should insert yourself

Re: Using/Embedding fonts with FOP

2010-01-11 Thread Ari Army
hey all, So still having problems making other fonts work ... Getting warning trying to use normal Arial Black: WARNING: Font Arial Black,normal,400 not found. Substituting with any,normal,400. I tried doing something like this: I tried creating font metric files with fonts Im using like Arial

OpenType fonts

2010-01-11 Thread Jonathan Levinson
Does FOP support OpenType fonts? Best Regards, Jonathan Levinson

Re: OpenType fonts

2010-01-11 Thread Ari Army
Hey Jonathan, I did some googling on this today after I couldnt get an .otp/opentype font to work with trunk version. I dont think so currently. http://markmail.org/message/ur5uuafxojsx2ep6#query:opentype%20fonts%20fop+page:1+mid:r7f6y6mvox4shjzz+state:results

Absolute position of original text in final PDF

2010-01-11 Thread Igor Rosenberg
Dear FOP mailinglist readers, I’ve been fighting with the Apache FOP source for a week, but I can’t solve my problem alone… One of the features of the application I’m writing produces a PDF, based on an XML that follows a simple schema (header info, tables, images and text, but nothing

Re: Absolute position of original text in final PDF

2010-01-11 Thread Peter Hancock
Hi Igor, It is not clear to me how these text elements are defined - in your xml input? If so how do you transform them to fo whilst retaining the id attribute? Could you provide a small example of the xml and the corresponding xsl that you wish to be input of fop. Thanks, Pete On Mon, Jan

RE: Absolute position of original text in final PDF

2010-01-11 Thread Igor Rosenberg
Hi, The ids get generated on the fly during the XML to FO transformation, for the original text tags, and get output in the FO format as fo:block id=… . This is expressed as fo:block id=#{generate-id()} in the XSL document. See generate-id() in

Re: Using/Embedding fonts with FOP

2010-01-11 Thread J.Pietschmann
On 11.01.2010 16:13, Ari Army wrote: metrics-url=file://C:/dev/fop/config/font-metric-files/arial_black_ttf.xml embed-url=file://C:/dev/fop/config/fonts/ariblk.ttf Technically, these are not valid file URLs. Try metrics-url=file:///C:/dev/fop/config/font-metric...

Re: Using/Embedding fonts with FOP

2010-01-11 Thread Ari Army
Hey J.Pietschmann, Yes, I did notice that today as i was working on the xml file... one tutorial on internet had 2 slashes, doh. Also directory unusually doesn't seem to take filenames like file:///c:/fop but just c:/fop. Looks like it was my problem of trying to do the xml file from scratch,

Re: Using/Embedding fonts with FOP

2010-01-11 Thread Ari Army
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. Thanks all!, Ari

Re: AFP Form Defs example

2010-01-11 Thread Jeremias Maerki
We don't currently have any code in FOP to create form maps. Usually, someone creates a form map using some third-party AFP tool. I don't have any myself and I've never generated one myself. I've just received some test files from a colleague to test with. You can use the f1samp.fde that is

fo-block white space how to?

2010-01-11 Thread Magdikova
fo:block xsl:value-of select=city_code/ !!!white space here!!! xsl:value-of select=city_name/ /fo:block I would like the following result: 1000 Berlin -- View this message in context: http://old.nabble.com/%3Cfo-block-white-space--how-to--tp27123064p27123064.html Sent from the FOP -

Re: fo-block white space how to?

2010-01-11 Thread Magdikova
I found 1 solution: xsl:text#x20;/xsl:text Magdikova wrote: fo:block xsl:value-of select=city_code/ !!!white space here!!! xsl:value-of select=city_name/ /fo:block I would like the following result: 1000 Berlin -- View this message in context:

Re: fo-block white space how to?

2010-01-11 Thread Domenico Macri
fo:block xsl:value-of select=concat(city_code, ' ', city_name)/ /fo:block njko On Tue, Jan 12, 2010 at 7:02 AM, Magdikova kov.ma...@gmail.com wrote: fo:block xsl:value-of select=city_code/ !!!white space here!!! xsl:value-of select=city_name/ /fo:block I would like the