0

is there any library or PHP project to manipulate pdf and change it into chm format ?

justjoe
  • 5,454
  • 9
  • 44
  • 64

1 Answers1

1

I'd say very hardly. PDF is a document format that can contain all sorts of things. CHM is a structured help documentation format. Correct me if I'm mistaken, but I don't think these two mix at all, at least not in a way that you run a converter on a file and get a finished result.

What exactly are you trying to do?

Pekka
  • 442,112
  • 142
  • 972
  • 1,088
  • i'm trying to convert pdf consist of css reference (mostly texts) into chm. and learn how the library do it – justjoe Apr 18 '10 at 21:24
  • 1
    @justjoe I think CHM is just a bunch of HTML files essentially, so maybe the first step is to get the PDF contents into HTML and then into CHM? – Pekka Apr 18 '10 at 21:27
  • @pekka, that's a software...i prefer do it via PHP or code something ;) by the way, today is my holiday. i would like do it using PHP. if it's help ;) – justjoe Apr 18 '10 at 21:27
  • @justjoe as I said, I think you are best off taking the HTML detour, these are pretty complex things. Otherwise, start by grabbing the content from the PDF, that might already be work enough for a holiday :) – Pekka Apr 18 '10 at 21:29
  • @justjoe Good reading: http://stackoverflow.com/questions/1276028/extracting-text-from-a-pdf-file http://stackoverflow.com/questions/1091700/how-to-extract-data-from-a-pdf – Pekka Apr 18 '10 at 21:30
  • @pekka : yeah, i think you're right. btw, thanks for the links – justjoe Apr 18 '10 at 21:40