sl@0: sl@0:

sl@0: This is the first piece of "PML" code used to test the Rich Text sl@0: component of the Editable Text hierarchy. sl@0:

sl@0: First off, each paragraph is specified with a different paragraph sl@0: format attribute. sl@0:

sl@0: The idea is that using this tool we can quickly and easily build up sl@0: large complex rich text documents with lots of complex formatting. sl@0: This paragraph, for example, has its left margin set to 1". sl@0:

sl@0: ...whilst this paragraph has a right margin of 1" also. However, we sl@0: are currently in the process of making each paragraph inherit sl@0: attributes from the preceeding one, so this paragraph may also have sl@0: the one inch left margin, though currently it may not. sl@0:

sl@0: This next paragraph should be long enough to word wrap to enable the sl@0: viewer to observe the attribute set here. This paragraph has a first sl@0: line indent set to 2". The appearance should be that the first line sl@0: is indented further than the following lines, a sort of hanging sl@0: indent if you like. sl@0:

sl@0: Now we move onto line spacing. The line spacing for this paragraph sl@0: has been set to one half inch. (This is stores in its twips platinum sl@0: bar value of 720 twips. One twip is a twentieth of a point, and sl@0: there are seventy-two points to the inch. Therefore, 20*72=1440. sl@0:

sl@0: This paragraph sets the line spacing control to 'exactly' 360 twips, sl@0: or one quarter of an inch. Here's some rubbish to fill a couple of sl@0: lines---->jfdjkf kfj kl jlsdkfjdlsfjwoifj iojf lkfj ldkfjdslkfj sl;kj sl@0: fklsjlfjk fjkj flkdfj slfk klf jlskjlkdj flkdjflskjf lk fjlkdfj sl@0: lskfslk lksd fjkls fjklsdj flsfjskdfldsj fksdj fklj j fls fs ks lfks sl@0: jlskd jflsdkfjlsdkfjklsdjfklsdj fsldfjlsfjslfj lsfjlsj flsdfj sl@0: lsfjlsdfjlsdjflsdjflsdfjlsdkfjsldkfjlsdjflsdkjflsdkjflksdjflsdkfjlsdfj sl@0: lsdsdlk l. Hope this worked !!!!! sl@0:

sl@0: This paragraph has the keep together flag set, and the keep with next sl@0: flag also set. sl@0:

sl@0: ...whilst this paragraph is formatted to start on a new page and has sl@0: widow/orphan control enabled. sl@0:

sl@0: And there you have it...... sl@0:

sl@0: ...the last paragraph. THE END. sl@0: