From fop-user-return-4891-apmail-xml-fop-user-archive=xml.apache.org@xml.apache.org Wed Sep 04 18:49:20 2002 Return-Path: Delivered-To: apmail-xml-fop-user-archive@xml.apache.org Received: (qmail 85550 invoked by uid 500); 4 Sep 2002 18:49:20 -0000 Mailing-List: contact fop-user-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: fop-user@xml.apache.org Delivered-To: mailing list fop-user@xml.apache.org Received: (qmail 85538 invoked from network); 4 Sep 2002 18:49:19 -0000 Message-ID: <3D7655FB.1030703@yahoo.de> Date: Wed, 04 Sep 2002 20:50:35 +0200 From: "J.Pietschmann" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: fop-user@xml.apache.org Subject: Re: pdf/ps References: <3D764592.1030705@introspect.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Michael Welter wrote: > Does anyone know of a utility which translates a PDF or PS file to > XSL-FO? I have a bunch of government PDF forms that I would like to > generate from FOP. Well, uncompressed PDF and PS can be viewed at with an arbitrary text editor, try it. There is basically no higher level structure, just instructions to place strings and lines and other stuff here and there. It is very hard to derive the structure needed for building FOs from arbitrary PDF or PS. Your best bet is probably to print the forms, take a ruler and use the measurements to construct a FO file with some tables or absolutely positioned block-containers. The docs/examples directories have some examples of exactly this. J.Pietschmann