7.6

Table Of Contents
leading
Measure value specifying the amount of vertical space, in inches, between each line of the paragraph.
opt
Optional boolean value used internally. Default value is false.
forcedwordwrap
Optional boolean value that forces wordwrap at the defined paragraph size. Default value is false.
Code Sample Examples
Example that displays a paragraph aligned to the right.
Example 1
beginparagraph(1,3,0,'right',0.16)
setstyle(&Default)
show('This long line of text should wrap around')
show('This long line of text should wrap around')
endparagraph()
Example that shows how to include a variable within a formatted paragraph.
Example 2
define(&var,string,'very')
beginparagraph(1,3,0,'left',0.16)
setstyle(&Default)
show('This ')
show(&var)
show(' long line of text should wrap around')
endparagraph()
BeginUTF8Paragraph EndUTF8Paragraph (procedure)
Delimits a paragraph of formatted UTF8 text.
This procedure is based on BeginParagraph EndParagraph (procedure), with the following differences:
l ShowUTF8 (procedure)must be used instead of show()
l SetStyleExt (procedure) must use a style that has been associated with the True Type Font "TTHost UTF8Arabic".
l Only UTF8 text can be displayed in a PlanetPress Talk object defined using the beginUTF8paragraph
endUTF8paragraph structure. Non-UTF8 static text should therefore be converted to its UTF8 reference using the
Ansi/UTF8 Converter (place the cursor within the string and press CTRL+N). Variable text should be converted using
MapUTF8 (function).
Syntax
beginUTF8paragraph( lmargin, rmargin, firstindent, align, leading, majormode, [forcedwordwrap] )
%Your Paragraph data here
endUTF8paragraph()
©2010 Objectif Lune Inc - 582 -