SD command description


Description: This command defines the beginning of the definition of a style sheet. All the following commands will be saved and inserted in the style sheet. To end the definition, use the [sf] command. For InDesign version, if the style already exists, the attributes specified between SD and SF will update the corresponding attributes in the stylesheet.


Syntax: [ SD =  Style#  ;  "Style Name"  ;  NextStyle  ;  BasedOn  ;  IsParaStyle    ]


Style#
Integer
  Affects an internal number to the style sheet.
     
"Style Name"
String
  Allows to name the style sheet (32 characters max).
     
NextStyle
Integer
  Number of paragraph style applied to next paragraph. 0 = Same style InDesign : -1 = No paragraph style
     
BasedOn
Integer
  Number of paragraph style this style is based on. InDesign : 0 = Basic paragraph (default style of documents) -1 = No paragraph style 0 :
     
IsParaStyle
Boolean
  InDesign version only : TRUE -> Force the style to be defined as a paragraph style even if it doesn't contain any paragraph attribute. FALSE -> Command keeps its normal behavior
     


Note: There must be no text between the beginning and the end of the definition of the style sheet.


Example: [SD=15; "TopTitle"] [tp= "Hevetica"] [pt=3; 5; 2] . . [sf]


See also: [sf] End Define Style


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.