Re: How Generate .fo file from PDF?

2004-02-05 Thread John Austin
On Wed, 2004-02-04 at 18:26, Robert Paris wrote:
 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.

There are a lot of PDF resources out there. Planet PDF comes to mind.

http://www.planetpdf.com/

It sounds like you are going to live in the Adobe Acrobat world for a
while.

If your users are stuck in the Microsoft world, you won't be able to 
save them from themselves. There are alternatives to going from PDF
to XSL-FO (which is what you asked).

I find this a bit amusing in a Dilbertian sense. 

Our astronauts know how to drive to the office in a minivan. So we will
be sending them to land on Mars in a spaceship shaped like a minivan.
They can pull in to MacDonalds or Chili's to eat. So we'd better start
developing an interplanetary fast-food drive-through restaurant.

Will a Motel 6 fit in the Shuttle's cargo bay ?
-- 
John Austin [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How Generate .fo file from PDF?

2004-02-05 Thread Chris Bowditch
J.Pietschmann wrote:
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. Have a look
at forrest for samples on how to deal with it.
M$ Word 2003 can save WordML, which a few people seem to be getting 
excited about. You may be able to transform it to XSL-FO. But I dont 
know if that helps, as your user base will likely be working with older 
versions of M$ Word.

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How Generate .fo file from PDF?

2004-02-05 Thread Thorbjørn Ravn Andersen
Robert Paris wrote:
Here's the problem/need. I have users who know how to create PDFs and 
MS Word documents (only by using MS Word though). 

I have seen a pdf2svg tool that can convert your PDF to SVG, which FOP 
can read.  Then put your information on top of that.

I have only tested this as a proof-of-concept in case we needed to do 
the same.

--
 Thorbjoern Ravn Andersen  ...plus...Tubular Bells!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How Generate .fo file from PDF?

2004-02-05 Thread Robert Paris
Do you know the name of that tool?

From: Thorbjørn Ravn Andersen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: How Generate .fo file from PDF?
Date: Thu, 05 Feb 2004 10:23:18 +0100
Robert Paris wrote:
Here's the problem/need. I have users who know how to create PDFs and MS 
Word documents (only by using MS Word though).

I have seen a pdf2svg tool that can convert your PDF to SVG, which FOP can 
read.  Then put your information on top of that.

I have only tested this as a proof-of-concept in case we needed to do the 
same.

--
 Thorbjoern Ravn Andersen  ...plus...Tubular Bells!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Find high-speed ‘net deals — comparison-shop your local providers here. 
https://broadband.msn.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How Generate .fo file from PDF?

2004-02-05 Thread John Austin
On Thu, 2004-02-05 at 12:33, Robert Paris wrote:
 Do you know the name of that tool?
 


http://s.teoma.com/search?q=pdf2svgqcat=1qsrc=0Search.x=0Search.y=0Search=submit

John Austin [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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 files, but this is probably
not something you want to undertake lightly.

[Would it be unkind for me to say: Yes, but you have to type it in
first. ?]


John Austin [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.   : 831-439-9568 x11
---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 options from people.
Can you also tell me why you think it's unlikely to be useful? Why is it so 
hard to go back to fo or XML from PDF if the PDF structure fits so well 
with fo/xml?

_
High-speed users—be more efficient online with the new MSN Premium Internet 
Software. http://join.msn.com/?pgmarket=en-uspage=byoa/premST=1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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 lightly.


 
 Thanks, I would like to hear about those other options from people.
 

I thought somebody would. There are libraries that help you read from
PDF. As an example, Google search results for PDF files usually have
an option to view the file as a PDF. That conversion is half the battle.
You can convert the HTML to XHTML (if necessary) and that is easily
transformed to XSL-FO according to another thread of this week.

Of course, your document won't be in a helpfully structured XML form.

 Can you also tell me why you think it's unlikely to be useful? Why is it so 
 hard to go back to fo or XML from PDF if the PDF structure fits so well 
 with fo/xml?

There was a thread about this last year:

http://nagoya.apache.org/eyebrowse/BrowseList?listId=64by=threadfrom=486484

The conclusion seems to be 'don't even think about it'.

Of course, you may have no choice.
-- 
John Austin [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.

Here's the problem/need. I have users who know how to create PDFs and MS 
Word documents (only by using MS Word though). They CANNOT use XML or 
anything remotely like they - they need buttons to click and boxes to fill 
out. However, they need to be able to create templates for future PDFs (to 
be run through my program) from the Word or PDF documents they created. In 
other words, they can tell me, This is what I want it to look like, only 
by showing me the actual Word or PDF document. Then they have every section 
of text as changeable (that part's not a problem). HOWEVER, they need to be 
able to do this in real time - without needing to have me create an XML file 
that does what their PDF/Word doc has.

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?


Of course, you may have no choice.
--
John Austin [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Check out the new MSN 9 Dial-up — fast  reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-uspage=dialup/homeST=1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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. Have a look
at forrest for samples on how to deal with it.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]