can any one give a a code which can extract a pdf file to an html one..
i have done in converting pdf to text file and also done images extraction in it..
but thats not it.
i need to get the css from the pdf and also the output must be a like the original pdf
The long answer is: Check out the PDFRenderer library. Since it can render PDFs on screen, it must somehow be able to extract formatting information. Since it's open source, you can study it to find out how it does it. Once you have the formatting information, you can generate CSS from it. I'd estimate it to be a week's worth of time before this works for even simple documents, much less for random documents.