Re: how to get page count when uploading files

From: Date: Tue, 19 Sep 2006 16:22:41 +0000
Subject: Re: how to get page count when uploading files
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-241955@lists.php.net to get a copy of this message
On Mon, September 18, 2006 3:18 pm, Børge Holen wrote: > Would php at all take precaution of the px size of the letters, if any > of the > above issues were to be resolved? That would be at document level for > starters, and probably should be resolved in the first place? The RTF parser may or may not attempt to account for font sizes... You're kind of asking a question like: Does the hammer take account of the size of the nail? Well, yeah, sort of, if you have the right hammer to match up with the nail you are trying to use... PHP is a general programming language, a hardware store full of hammers, not a specific hammer, and does not directly address fontsize in a Word document in and of itself. Individual RTF parsers or Word document handling software might, and might be written in PHP. Or they might be written in some other language, and you could use PHP to run those programs to figure out the page count within the documents and report that back to PHP. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#241955) next »