From kde-devel Sat Sep 24 22:04:00 2005 From: Kevin Krammer Date: Sat, 24 Sep 2005 22:04:00 +0000 To: kde-devel Subject: Re: Using KHTMLPart without a GUI Message-Id: <200509250004.01068.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-devel&m=112759952110128 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1173264151==" --===============1173264151== Content-Type: multipart/signed; boundary="nextPart1232218.vhMXYmICUh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1232218.vhMXYmICUh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 24 September 2005 09:56, Aaron D'Souza wrote: > Hi all, > > Forgive me for a newbie question, and please direct me to the > appropriate forum for this question if this list isn't the right one. > > I'd like to try the following: > * Instantiate and resize a KHTMLPart (say to 800x600) > * Load a URL > * Walk the DOM and determine the (x,y) coordinates at which each > element would be rendered. > > My question is whether this would be possible without using a GUI at > all, i.e. it should be possible to run this on a console session. If you mean console session in the sense of not running with an X server, y= ou=20 could use a headless X server like Xfake Cheers, Kevin =2D-=20 Kevin Krammer Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtforum.org --nextPart1232218.vhMXYmICUh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDNc1RnKMhG6pzZJIRAqfbAJwLqo1TnyjzT5zY5V1U0casikvdOQCfZWI7 Zfyi9NkKA+isONPcCrOLkP8= =o++a -----END PGP SIGNATURE----- --nextPart1232218.vhMXYmICUh-- --===============1173264151== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline = >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib= e << --===============1173264151==--