[cl-pdf-devel] Embedding several PDF files in one document

Marc Battyani marc.battyani at fractalconcept.com
Fri Apr 23 17:26:48 UTC 2004


"Klaus Weidner" <kw at w-m-p.com> wrote:

> On Fri, Apr 23, 2004 at 12:42:46PM +0200, Marc Battyani wrote:
> > You will need to parse the pdf files. I have a crude pdf file parser but
as
> > I didn't used it for some time it probably need some work to be
operational
> > again. I didn't published it because it's not portable as it uses the
parser
> > generator of Lispworks. The lexer should also be replaced by a cl-ppcre
one.
>
> I also have a PDF file parser in CL, which I use to extract text from
> documents. The language parsing is complete, but I haven't implemented
> more operators than the few I needed.
>
> It doesn't use any cl-pdf code, but a wrapper layer could probably take
> care of feeding the parsed code back to it for output.

May be we should merge the two parsers. (that is take 90% of yours ;-)

I don't parse the stream content because I just needed to write over (or
under) existing pages, not modify them. So I have a macro like:
(with-existing-page (page-number before)...)

> It's not currently open sourced, but I could ask my boss about that. It's
> not exactly our core business area ;-)

:)

Marc





More information about the cl-pdf-devel mailing list