Re: Image Resolution

2005-01-19 Thread J.Pietschmann
Luke Shannon wrote: If I specify one of the dimensions of an external image should this not ensure that the resolution used in the PDF will be the same as the orginal? I am trying to use a hi rez image as my header, however it looks like it is being written as 72dpi in the document, even though I s

Re: Image callback for each page?

2005-01-19 Thread J.Pietschmann
Irv Salisbury III wrote: I apologize if I came across as accusational. No problem, I just thought I should supply some background. I was trying to understand the code so I knew the ramifications of creating a REST style interface for my dynamically generated images. You have answered my questi

Different Renderers...

2005-01-19 Thread Aaron Rustad
My application currently renders a PDF document in the AWTRenderer. Often times, these documents are quite large and use more memory than is available to the client’s machine. One feature we must provide is this ability to save a PDF. My question is this, is there anyway to quickly and effi

RE: Query

2005-01-19 Thread Amit Chawla
thanks sai, yeah i feel the same.. but my problem is if user format text on editor it generates different tags and there attributes differently and if user cut and paste some text from word or any other aplication it generates different tags and with different attributes... And i will not

Re: Image Resolution

2005-01-19 Thread The Web Maestro
It worked in a pinch (if you call 300,000 PDFs/month for a couple of years a 'pinch' ;-)). Keep in mind that content-width & content-height are not implemented in FOP... At least not yet! On Jan 19, 2005, at 11:58 AM, Luke Shannon wrote: The shrinking idea is a good one. I'll give that a try. T

RE: Query

2005-01-19 Thread Amit Chawla
Dear Luke, hey buddy first of all let me convey that no one is best or bad .. everyone is gr8 and are good... so any help for anyone is helpful.. Tidy i feel is tool to clean up HTML and convert it into XML/XHTML and i feel it will not do that for FO ..or will does it... Secondly ur sceneri

Re: Image Resolution

2005-01-19 Thread Luke Shannon
The shrinking idea is a good one. I'll give that a try. Thanks, Luke - Original Message - From: "The Web Maestro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 19, 2005 2:55 PM Subject: Re: Image Resolution > Luke, > > Resolution is a tough nut. You can find mor

Re: Image Resolution

2005-01-19 Thread The Web Maestro
Luke, Resolution is a tough nut. You can find more info on the FOP Graphics page[1]. A couple of patient people have done tons of testing, which you can find in the archives from a year or two ago. The way I got high quality was to create a 300dpi logo image that was larger than I needed, t

Image Resolution

2005-01-19 Thread Luke Shannon
If I specify one of the dimensions of an external image should this not ensure that the resolution used in the PDF will be the same as the orginal? I am trying to use a hi rez image as my header, however it looks like it is being written as 72dpi in the document, even though I specify the width.

Re: Query

2005-01-19 Thread robert frapples
Here's an example that I wish I had when I started.: I'm creating the InputSources from files, you can create them from anything. In practice, I create them from DOM Documents. PdfServlet.java: package org.sbyrne.pdfservlet; import

RE: Query

2005-01-19 Thread saidulu . naini
I bet the dynamic XSL generation would be really a difficult thing if not impossible. Instead I would suggest to know all the HTML tags that FCKeditor generates. I am pretty sure it will be an almost equalent set of normal HTML tags. And once you know the those tags, write XSL templates to convert

Re: Query

2005-01-19 Thread Luke Shannon
I see. I am doing something similar. However, the XSL exists for me. I run this, getting an FO document in string form back. This string contains some HTML within the FO document, which needs to be further convert to FO objects (it is this department I am having my own trouble with). I tried to con

RE: Query

2005-01-19 Thread Amit Chawla
Hi Luke, Thanks for the email reply.. actually i have seen that and what i have understood from it i require XSL file which will transform the xml to XSL-FO... and what is happening in my requirement is that i have to generate HTML at run time and then convert this HTML doc using TIdy to XML/XH

Re: Query

2005-01-19 Thread The Web Maestro
Amit, I agree with Luke. That is a good way to get started. Another great place to look is the FOP Resources page[1] . Hopefully you'll look at the resources & FAQ[2] pages before you ask questions--cuts down on the chatter and lets the busy developers get FOP 1.0 out the door! ;-) You might fi

Re: Query

2005-01-19 Thread Luke Shannon
Hi Amit;   I am also a newbie. I can tell you that a good place to start is the examples section that comes with the FOP download.   Specifically the example ExampleXML2FO.java (fop-0.20.5\examples\embedding\java\embedding).   Hope that helps,   Luke - Original Message - From:

Query

2005-01-19 Thread Amit Chawla
Hi All,   I am a newbie to FOP and XML... I need to ask you guys that how to generate XSL for the XML created at run time.   and then to create XSL-FO at run time and then to pass it FOP and generate PDF..     If anybody could help me that will be gr8..   thanks in advance rgds amit  

Whether this is corret email address where i need to put my queries

2005-01-19 Thread Amit Chawla
Title: list in list Hello,   i m in doubt whether this is correct email address tu put my questions.. I had put my doubt on my previous emails and no one has replied or what... it seems to me that whether i am using the correct email address or not.   Thanks rgds amit From: Tommaso Tagli

tidy error

2005-01-19 Thread Luke Shannon
Hello; If this is not an appropriate forum for this please let me know. I would like to use tidy to clean up some input before I render my document with FOP. I am getting the following error: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:307) Any

list in list

2005-01-19 Thread Tommaso Taglioni
Hi all, I have to convert some XML in PDF using XSL-FO and FOP. I have a problem with some XML that have a structure like this: ... - a - - b ccc dd . I tried to consider it as simple li

Re: No space between characters

2005-01-19 Thread Michal Postupalski
>>> I have 2 almost identical Polish PDF documents created using FOP. >>> The difference between them is one word (this word is repeated >>> several times in different sections). These documents are created >>> from a template and based on to whom they are directed (M/F), they >>> have the word "p

Re: No space between characters

2005-01-19 Thread The Web Maestro
On Jan 19, 2005, at 5:19 AM, Michal Postupalski wrote: Nikos napisał(a): I have 2 almost identical Polish PDF documents created using FOP. The difference between them is one word (this word is repeated several times in different sections). These documents are created from a template and based on t

Re: No space between characters

2005-01-19 Thread Michal Postupalski
Nikos napisał(a): > I have 2 almost identical Polish PDF documents created using FOP. > The difference between them is one word (this word is repeated > several times in different sections). These documents are created > from a template and based on to whom they are directed (M/F), they > have the

No space between characters

2005-01-19 Thread Nikos
I have 2 almost identical Polish PDF documents created using FOP. The difference between them is one word (this word is repeated several times in different sections). These documents are created from a template and based on to whom they are directed (M/F), they have the word "pana" or "pani" inser