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

2010-01-22 Thread lexa2009
hi, thx for help. if i use sometext1 st2 sometext2 images still overflow my page. there is an example http://old.nabble.com/file/p27270558/name.pdf name.pdf Vincent Hennebert-2 wrote: > > > I think you can get rid of fo:inline altogether: >

How to: Hello World

2010-01-22 Thread Magdikova
I would like to set html content in fo block like this: Hello World How it is possible? -- View this message in context: http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd%3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135p27272135.html Sent from th

RE: How to: Hello World

2010-01-22 Thread Stuart Scott
Hello World
Kind regards Stuart Scott -Original Message- From: Magdikova [mailto:kov.ma...@gmail.com] Sent: 22 January 2010 11:54 To: fop-users@xmlgraphics.apache.org Subject: How to: Hello World I would like to set html content in fo block

RE: How to: Hello World

2010-01-22 Thread Magdikova
Thanks but the pdf output will be : "
Hello World
" instead of Hello world Have you got any solution? Stuart Scott-3 wrote: > >
Hello > World
> > Kind regards > > Stuart Scott > > -Original Message

RE: XSL caching question

2010-01-22 Thread tamugrg
Hi, I am facing exactly the same issue. The first time the XSL gets used, it takes quite a bit of time to do the transformation. After that the transformations happen much faster. I am using templates as described in this thread & assume the style sheet should be cached. But from the behaviour th

RE: How to: Hello World

2010-01-22 Thread Stuart Scott
Sorry, I misunderstood, I thought you wanted to output the HTML to the PDF. I do not believe it is possible to render HTML inline inside FO. You would need to convert the HTML to FO before outputting to the PDF through FOP. Kind regards Stuart Scott -Original Message- From: Magdikova [

Re: Help me please! How to FOP + barcode4j + Code128 set C?

2010-01-22 Thread Magdikova
Thank you everyone for your help. It works fine Magdikova wrote: > > I read about "Added support for restricting Code128 codesets to A, B, C or > a combination." > in this page: http://barcode4j.sourceforge.net/changes.html > > I have to generate Code128 codeset C with FOP. > > How can I use

RE: XSL caching question

2010-01-22 Thread SGRIFFIN
Tamu, Based simply on the code sample that Brian provided in his original post over a year ago, the XSL will only be "compiled" when the class containing that static initializer is loaded. That class won't be loaded until it's used, so your first run is always going to include both compilation

Invalid ICC Profile

2010-01-22 Thread Stuart Scott
I am getting the following error: SEVERE: Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data I am using FOP 0.93 I have looked up this error and it states a problem with JPEG images that have ICC Pro

Create damaged PDF file

2010-01-22 Thread Hu, Zemin
I am new here and have a question. I am creating PDF on the fly for a web application. A PDF file is supposed to open when user clicks on a link. Occasionally the created PDF file cannot be opened and the error message says: "File is damaged and could not be repaired". When I read log file, I

Re: Invalid ICC Profile

2010-01-22 Thread Peter Hancock
Hi Stuart, It might be that you have an Invalid ICC profile :-) but it would be hard for us to confirm this without taking a look at the input you supplied to fop 0.93. If you do not want to post the input , please provide another example that also leads to this error. Is there any reason why you

Re: Create damaged PDF file

2010-01-22 Thread Peter Hancock
Hi Zemin, Are you able to extract a snippet of the fo that is supposedly missing this child element? If you can show that the fo is indeed well formed it would support the argument that the problem is in FOP. Thanks, Pete On Fri, Jan 22, 2010 at 5:05 PM, Hu, Zemin wrote: > I am new here and

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

2010-01-22 Thread Vincent Hennebert
Hi, lexa2009 wrote: > hi, thx for help. if i use > sometext1 >scaling="uniform" content-width="80mm"/> > st2 >scaling="uniform" content-width="80mm"/> >scaling="uniform" content-width="80mm"/> >scaling="uniform" content-width="80mm"/> > sometext

RE: Create damaged PDF file

2010-01-22 Thread Hu, Zemin
The template file is huge, it involves around 30 tables(many complicated tables), and the error message does not indicate line numbers in the template (could this be improved so we can have clue?), so it is very hard to guess which table is causing problem, also it may well not be the cause of t

disable-output-escaping in Apache FOP

2010-01-22 Thread Aish
Hi, I need to create pdf file for xml. I did it through xsl. when i transformed xml to fo using saxon processor, i had no problem in disable-output-escaping="yes" attribute. But when i executed the file using FOP.bat in command prompt(say Fop -xml sample.xml -xsl sample.xsl -pdf sample.pdf) its t