[ENH]HtmlTableMorph (pre alpha)

Karl Ramberg karl.ramberg at chello.se
Sat Apr 13 16:49:28 UTC 2002

Here is a work in progress report on the HtmlTableMorph I'm 
slowly putting together.

File in the change set in a 3.3a image. 
Beware! Saving the image will renderer Scamper in a state of flux!

Open Scamper.
Point it to a webpage with html tables. 
A cyanish morph representing the table will show up in Scamper.
Open a Inspector/Explorer on the Scamper system window and Doit:

self allMorphsDo:[:i| (i isKindOf:TableMorph) ifTrue:[i makeATable]]

Note: The tables are rendered in cyan color so they are easier to 
see and debug. 

If you want to look at the code the most notable stuff happens 
in TableMorph.

Known issues:
-Nested tables do not render the way they should.
-Scampers TextForEditView morph needs to release it's paragraph
and change layout after the table is rendered.
-Issues with row and colspan when they exeed width/heigth of 
the extent sum of other cells.
-Background images

-------------- next part --------------
A non-text attachment was scrubbed...
Name: HTMLTableMorph.1.cs.gz
Type: application/octet-stream
Size: 4361 bytes
Desc: Unknown Document
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020413/c9038919/HTMLTableMorph.1.cs.obj

More information about the Squeak-dev mailing list