well we were looking at this online news paper script

(just a reference)

any way we were trying to create something similar in php...
it does take standard pdf and coverts into text and then gives this form

other seems ok and easy...
some of our confusion
1)is there any standard classes and function to convert big pdf to xml or text...(whats about its accuracy)

and main question
it seems to give exact feeling of newspaper in screen ,may be by defining some areas...(which seems expandable,according to article size...) how do we achieve that...
hope that some experts can suggest a way for that...
(the newspaper screen size is fixed ...the news inside it can be of any size and they are separate..it is being highlighted on mouse over..)

so how to separate things and acheive this dynamic size but all ok(every thing looks fine) effect?
suggest us logic please..