Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: NotesRichTextStyle.PassThruHTML Issue
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Application development
Platform: Windows XP client
Release: 8.0.1
Reproducible: Unknown

I'm having an issue with NotesRichTextStyle.PassThruHTML = True. It seems that this isn't being passed as the rendered rich text isn't marked as Pass-Thru HTML. No errors are returned, the field is being populated with the correct values and the NotesRichTextStyle.Bold = False is working properly which is called right before NotesRichTextStyle.PassThruHTML = True. Any ideas on what I'm doing wrong?

Here's the sub from the class I'm using:
Public Sub addAllData(valArray As Variant)
Dim i As Integer
Dim cell As Integer
'Check if a table exists in the field
If Me.tableExists = False Then
If Me.addTable = False Then
Msgbox "Table does not exist and cannot be added!",0,"E R R O R"
Exit Sub
End If
End If

'Set the text style
rtStyle.Bold = False
rtStyle.PassThruHTML = Me.passthru
Call rtItem.AppendStyle(rtStyle)

'Loop thru each value of the array and populate each cell of the table
For i = Lbound(valArray) To Ubound(valArray)
If i = Lbound(valArray) Then
'Get the first column
Call rtNav.FindFirstElement(RTELEM_TYPE_TABLECELL)
'Get the next column
Call rtNav.FindNextElement(RTELEM_TYPE_TABLECELL)
End If
'Populate each column with the values from the array
Call rtItem.BeginInsert(rtNav)
Call rtItem.AppendText(Cstr(valArray(i)))
Call rtItem.EndInsert
End Sub

Feedback number KSTD7NWKZ2 created by Keith Strickland on 02/03/2009


Search this forum

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite