IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

I apologize for the long break between posts. We're up against a deadline for version 8.0 and hurrying to fix as many bugs as we can.

Here's a freebie to make up for it. It's nothing too fancy, just a little class for creating rich-text reports and displaying them in a few different ways. It includes code to deal with the problem of paragraphs getting too long, and conversely, the problem of having too many paragraphs. Basically, when you want to have a line break in your report, the class only starts a new paragraph if you specify it has to. Otherwise it uses line break, unless the paragraph is getting too long, in which case it starts a new paragraph.

Or to put it more succinctly, you get the longest possible report (functionality!) with the smallest possible number of paragraphs (performance!).

It's too bad we can't use this class for the design synopsis...

I'm going to build on this with more useful stuff in the coming days, so stay tuned.

Andre Guirard | 15 June 2007 02:28:32 PM ET | Plymouth, MN, USA | Comments (4)

Search this blog 

Disclaimer 

    About IBM Privacy Contact