Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1826 > unrolled thread
| Started by | "Kevin" <kevin@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:35 +0000 |
| Last post | 2011-04-27 15:35 +0000 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.java.gui
controllable java HTML re "Kevin" <kevin@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
Re: controllable java HTM "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
Re: controllable java HTM "Kevin" <kevin@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
Re: controllable java HTM "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
| From | "Kevin" <kevin@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | controllable java HTML re |
| Message-ID | <1181745066.175232.78980@g37g2000prf.googlegroups.com> |
To: comp.lang.java.gui Does anyone know any good "controllable" java HTML render? By "controllable", what I want is: 1) I may not need to "physically" output the render result on screen, render it in memory is all I need. 2) but I want to know each item's location after render! For example, for this page, I want to know the relative (with respect to the upper left (0,0)) location of the "My Groups", "Sign In", "Sign Out", the location of the header of this post, etc. In another words, I want to know: Item/tag with value "My Groups" locates at pixel (600, 10) on the screen after render. Item/tag with value "New post" locates at pixel (700, 250) on the screen after render. etc. Any idea of it? Thanks. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | Re: controllable java HTM |
| Message-ID | <73a45693bae3a@uwe> |
| In reply to | #1826 |
To: comp.lang.java.gui Kevin wrote: >Does anyone know any good "controllable" java HTML render? > >By "controllable", what I want is: > >1) I may not need to "physically" output the render result on screen, >render it in memory is all I need. >2) but I want to know each item's location after render! Why?* >For example, for this page, I want to know the relative (with respect >to the upper left (0,0)) location of the "My Groups", "Sign In", "Sign >Out", the location of the header of this post, etc. >In another words, I want to know: >Item/tag with value "My Groups" locates at pixel (600, 10) on the >screen after render. >Item/tag with value "New post" locates at pixel (700, 250) on the >screen after render. etc. > >Any idea of it? * I know of pages where all these values would change according not only to the user's screen size/resolution and default font size, but also according to how much of the screen area (width/height) the user is willing to provide to the *rendering* *component* that displays it, at that particular instant. (As well as stylesheets that the user might use to overide the default look of pages, and a bazillion other things..) What are these pages? Are they all controlled by you? Are they all known in advance (e.g. off one site)? -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200706/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Kevin" <kevin@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | Re: controllable java HTM |
| Message-ID | <1181751692.065664.51060@i13g2000prf.googlegroups.com> |
| In reply to | #1827 |
To: comp.lang.java.gui We are doing some other processings, which needs to know the locations of each tag/item. Yes, I agree the locations will be based on font size, design, screen size, etc. We can assume these values are known in advance (or use whatever default values), and the pages are known (say, saved on disk already). Any idea of how to get the location information? --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | Re: controllable java HTM |
| Message-ID | <46710645$0$30331$fa0fcedb@news.zen.co.uk> |
| In reply to | #1828 |
To: comp.lang.java.gui Kevin wrote: > We are doing some other processings, which needs to know the locations > of each tag/item. Presumably you render the HTML to a bitmap, discard the HTML and further process the bitmap. > Yes, I agree the locations will be based on font size, design, screen > size, etc. We can assume these values are known in advance (or use > whatever default values), and the pages are known (say, saved on disk > already). > > Any idea of how to get the location information? > > Sorry no, but this link *might* help ... http://www.perlmonks.org/index.pl?node_id=542341 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web