SX command description


Description: This command assigns a style sheet to the following text.


Syntax: [ SX =  "StyleName"  ;  Para    ]


"StyleName"
String
Name of the style sheet to assign.
     
Para
Boolean
Boolean indicating if the style applies to the paragraph (true) or to the following characters (false). When Para = true, the program assigns the paragraph and character style sheets.
     


Note: This function must be used during import of text in a story. If an additional string has been defined in the [dx] command, the string is inserted automatically.


Example: [sx = "Text"; true] Assigns the "Text" style sheet to the paragraph. Depending on the assignment of the style sheet to a block, the program searches for block in the story to put the following text. [sx = "Text"; true][sx = "Bullet" ; false][sx = "Text" ; false] The first [sx] assigns the style sheet to the paragraph (i.e. paragraph and character style sheets). The second [sx] assigns the character style sheet, and eventually inserts the characters defined in the [dx] command. The third [sx] reassigns the character style sheet for the text remaining in the paragraph.


See also:


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.