How Generate .fo file from PDF?

2004-02-04 Thread Robert Paris
Can I generate a .fo file from a pdf file? Essentially going backwards? If not, does anyone know of a good source for doing that with Java? _ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/

Re: How Generate .fo file from PDF?

2004-02-04 Thread John Austin
On Tue, 2004-02-03 at 20:52, Robert Paris wrote: Can I generate a .fo file from a pdf file? Essentially going backwards? Probably not in any realistically useful way. People on this list can point you to software that can read the text in a PDF. From that point you could start to construct XML

Re: How Generate .fo file from PDF?

2004-02-04 Thread M. Sean Gilligan
You could use Adobe Illustrator to read PDF and save as SVG. I have not tried this and would recommend trying it yourself before buying a copy. -- Sean -- --- M. Sean Gilligan: Catalla Systems, Inc.

Re: Footnotes on the following page

2004-02-04 Thread Peter B. West
Chris Bowditch wrote: Readman, Devon wrote: Here is the block of the stylesheet that is used to generate footnotes...it first tests if the current element has an attribute (id) and if a child elements exist (name note...note is the element to be placed in the footnote): Looks like youve defined

Re: How Generate .fo file from PDF?

2004-02-04 Thread Robert Paris
Probably not in any realistically useful way. People on this list can point you to software that can read the text in a PDF. From that point you could start to construct XML files, but this is probably not something you want to undertake lightly. Thanks, I would like to hear about those other

Re: How Generate .fo file from PDF?

2004-02-04 Thread John Austin
On Wed, 2004-02-04 at 13:21, Robert Paris wrote: Probably not in any realistically useful way. People on this list can point you to software that can read the text in a PDF. From that point you could start to construct XML files, but this is probably not something you want to undertake

Re: PDF Forms

2004-02-04 Thread Chris Pratt
J. Pietschmann wrote: Chris Pratt wrote: I'm using FOP 0.20.5 and I've coded myself into a corner. We generate some rather large PDF files using fop (lists of every eye doctor in California for example), which can be very processor and very memory intensive. To limit the overhead I

request for java code snippet to XML- XSL-FO - PDF

2004-02-04 Thread Robert . Walker
hi all, on the command line I am doing a java org.apache.fop.apps.Fop -xsl billing_reports.xsl -xml billing_reports.xml -pdf billing_reports.pdf to transform xml to pdf. can someone send a java code snippet on how to do this from within a java app thanks

error = id already exists

2004-02-04 Thread Mark Williams
Hi, I've searched the mailing lists for info on the above error, but couldn't find anything much on the subject. Basically, we have a largeish xslt stylesheet (produces roughly a 12 page document), which contains a table with rows that repeat for however many times a particular node appears in

Re: request for java code snippet to XML- XSL-FO - PDF

2004-02-04 Thread John Austin
http://xml.apache.org/fop/embedding.html#render-with-xslt On Wed, 2004-02-04 at 15:57, [EMAIL PROTECTED] wrote: hi all, on the command line I am doing a java org.apache.fop.apps.Fop -xsl billing_reports.xsl -xml billing_reports.xml -pdf billing_reports.pdf to transform xml to pdf.

Re: error = id already exists

2004-02-04 Thread Chris Pratt
You probably have to id=value with the same value. Remember, id values must be unique across the whole document, not just the element they are used on. (*Chris*) - Original Message - From: Mark Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 11:32

Re: PDF Forms

2004-02-04 Thread J.Pietschmann
Chris Pratt wrote: I have had no luck in locating the extension, but it got me thinking about how it might be implemented. How hard would it be (taking in mind that I am an experienced Java coder, but have never looked at the FOP source) to add an fo:instream-foreign-object implementation

Re: error = id already exists

2004-02-04 Thread J.Pietschmann
Mark Williams wrote: Hi, I've searched the mailing lists for info on the above error, but couldn't find anything much on the subject. Basically, we have a largeish xslt stylesheet (produces roughly a 12 page document), which contains a table with rows that repeat for however many times a

Re: PDF Forms

2004-02-04 Thread Chris Pratt
J.Pietschmann wrote: Doing XForms is ambitious, start with a subset (a *small* subset). Yet, I urge you to track down the performance problems with your FO first. I usually get 2 pages per second on a Pentium 166 and an old SDK, and up to 15 pages per second on a more modern machine. Some

Re: How Generate .fo file from PDF?

2004-02-04 Thread Robert Paris
http://nagoya.apache.org/eyebrowse/BrowseList?listId=64by=threadfrom=486484 The conclusion seems to be 'don't even think about it'. Of course - it didn't dawn on me that PDF's have everything absolutely positioned - basically as though it were an image (of course with vector graphics). Yikes.

Re: How Generate .fo file from PDF?

2004-02-04 Thread J.Pietschmann
Robert Paris wrote: The problem is I don't know of any Word reader that's really working (Apache's POI Word is not working), and from what you're telling me, reverse engineering a PDF is pretty much impossible. Does anyone have a solution? What about OpenOffice? The save file is gzipped XML.