Hi LotusScript Gurus,
I am trying to create a tabbed table and a table inside of in RichText field using rich text classes.
I am able to create Tabbed tables separately and am able to create normal table separately.
But I want to create First a Tabbed table and inside of a Normal table… Can any one help me out … regarding this…
Thanks and Regards
Ravindra Babu A.
Subject: Creating table in Tabbed table using RichTextTable class
You can do it, but be forewarned, the standard classes have no way of accessing a table inside another table. I know that sounds absurd, since nested tables were introduced in R5, but the internal representation of an outer table is made up of SIG_CD_TABLEBEGIN … multiple SIG_CD_TABLECELL… SIG_CD_TABLEEND, plus all sorts of other records for the contents of the table. The representation of a nested table cell, no many how many nestings deep, is SIG_CD_NESTEDTABLEBEGIN … multiple SIG_CD_NESTEDTABLECELL… SIG_CD_NESTEDTABLEEND. When the NotesRichTextNavigator goes to find table cells, it only counts the SIG_CD_TABLECELL records, and when it goes to find tables, it only counts SIG_CD_TABLEBEGIN records.
Now, you may find that you can create a table inside a table and access it, but if the document is saved and opened again, the record signatures will be adjusted. In fact, even if the rich text field is inside a table cell on a form, the table inside the rich text will have the nested signatures.
If you need to do this, your best bets are either creating the document and then later accessing using DXL, or getting a third party product such as our Midas Rich Text LSX, which does let you acess nested tables. The former is more difficult, but free. The latter is easy and powerful, but is a commercial third party product, and while it is not expensive, some companies prohibit that. You will have to be the judge of what your company… or your client’s company if you are a consultant, finds acceptable.
Subject: RE: Creating table in Tabbed table using RichTextTable class
Hi Ben Langhinrichs ,Thank you very much for your information. right now my project is not having fund. I know about Midas Richtext earlier.
I am wondering why IBM is not implementing such a classes.funny…
can you kindly help me out give some sample code to create documents and accessing using DXL. casue i don’t know how to use xml in domino.
Thanks and Regards
Ravindra Babu A.
Subject: RE: Creating table in Tabbed table using RichTextTable class
The Designer Help entries for the following classes should be all you need:
NotesNoteCollection (uses a DXL sample in the examples)
NotesDXLExporter
NotesDOMParser
NotesDXLImporter
NotesDOMDocumentNode
NotesDOMNode
NotesDOMElementNode
NotesDOMTextNode
There are plenty of examples there to work with.
Subject: RE: Creating table in Tabbed table using RichTextTable class
Hi Stan ,Thank you…I was on leave …that is the reason late responce.
Thanks and Regards
Ravindra babu