I am trying to get a view in the Notes client and a browser to display documents like an outline with many levels. But I am not sure there is a way to get multiple lines of text to wrap at the proper margin indentation. In my examples below I use * to represent an empty space.
A example of a normal outline in MS Word
A. Text line 1
***second line of text that wraps
***1. Text line 1
*****second line of text that wraps
*****a. Text line 1
********second line of text that wraps
B. Text line 1
***second line of text that wraps
In the database each level from the example above is a seperate document. I can use hidden columns to put the documents in the correct order but I am having trouble getting the text in lower levels to wrap at the proper indentation. I can only approximate it in two different ways.
Method 1
Have a formula that indents the first line of a document properly but all other lines wrap too far to the left. The formula in the column just adds more spaces to the begining depending on the level and the same column adds the question number and question text fields. Such as @If( level1; " "; level2; " "; level3; " ") + question Number + questionTextField. Allowing only one line to display would work but I need to show multiple lines.
A. Text line 1
second line of text that wraps
***1. Text line 1
second line of text that wraps
******a. Text line 1
second line of text that wraps
B. Text line 1
second line of text that wraps
Method 2
Have a column for each level of the question number and the last column for the question text field. This method puts too much space between the question number and the question text for all levels except the lowest level.
A.******Text line 1
********second line of text that wraps
**1.****Text line 1
********second line of text that wraps
*****a.*Text line 1
********second line of text that wraps
B.******Text line 1
********second line of text that wraps
Any suggestions would be appreciated, thanks.