Home       About Genii       Products       Downloads       News & Events       Support       Weblog   
February, 2010
SMTWTFS
 01 02 03 04 05 06
07 08 09 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28
January, 2010
December, 2009
November, 2009
October, 2009
September, 2009
August, 2009

Show all 81 months


Search the weblog

Ben Langhinrichs
E-mail address - Ben Langhinrichs

Photograph of Ben Langhinrichs



©2003-2009 Genii Software Ltd. All rights reserved. The rights to all logos, images, etc. are owned by their respective owners.

The views expressed in this weblog are mine alone, but since I am President and Owner, they necessarily also reflect the views of Genii Software, Ltd.
Genii Weblog
Genii Weblog

Rounded table corners in Notes client

Mon 10 Oct 2005, 06:22 PM

Julian posted an interesting post today called Rounded Tables in Notes.  I had seen the border image option, but I had never realized how it worked for something like rounded table borders.  Of course, once I saw it, I had to add the ability to create these to our Midas Rich Text LSX.  I create a little gif image:



and then I added it as an image resource to a test database.  After adding a bit of capability to Midas, I wrote the following script.

Sub Initialize
   Dim session As New NotesSession
   Dim db As NotesDatabase
   Dim doc As NotesDocument
   Dim rtitem As New GeniiRTItem
   
   Set doc = session.DocumentContext
   Call rtitem.ConnectBackend(doc.Handle, "Body")
   
   Set rtchunk = rtitem.DefineChunk("Everything")
   Call rtitem.Everything.AppendTable(1, 1, |
BorderStyle="Image" 
BorderImage="rounded1.gif" 
BorderThickness="5" 
CellBorder="NNNN"|, "Table created by Midas using border image")
   rtitem.Save
End Sub

I have included the look of the table created in the Notes client, but, alas, the Domino HTML renderer does not show the border image.  I'm not sure why not, since I think CSS would allow it.  Ah well, I guess I can add that to the HTML rendering engine tomorrow.



Looks pretty snazzy.  Thanks, Julian!

Copyright © 2005 Genii Software Ltd.

What has been said:

No documents found

Have your say:

Name *:
E-mail:
e-mail addresses will not be displayed on this site
Comment *:


<HTML is not allowed>
Linking: Add links as {{http://xxx|title}}, and they will be activated once approved
Blocked? Unable to post a comment? Please read this for a possible explanation...

Copyright © 1996-2009 Genii Software Ltd. All Rights Reserved. Some images courtesy of BigFoto.com  Nedstat