ST command description


Description: This command creates a new table of content's style in the current document.


Syntax: [ ST =  StyleName  ;  Title  ;  TitleStyle  ;  IncludeHidLayer  ;  RunIn  ;  IncludeBookMarks  ;  ParaStyleEntryN  ;  FormatEntryN  ;  FormatNumEntryN  ;  LevelN  ;  SortN  ;  PageNumPosN  ;  SeparatorN  ;  SeparatorFormatStyleN    ]


StyleName
String
TOC style name
     
Title
String
  TOC title
     
TitleStyle
Integer
  Reference of paragraph style to use for TOC title, -1 for "[No Paragraph Style]"
     
IncludeHidLayer
Boolean
  Specifies whether to include text on hidden layers or not for the TOC
     
RunIn
Boolean
  Specifie whether to display all entries in a single paragraph or not
     
IncludeBookMarks
Boolean
  Specifies whether to create PDF bookmarks or not
     
ParaStyleEntryN
Integer
  Reference of Nth paragraph style entry to insert in the TOC, -1 for "[No Paragraph Style]"
     
FormatEntryN
Integer
  Reference of paragraph style to apply to the Nth entry, -1 for "[No Paragraph Style]", -2 for "[Same Style]"
     
FormatNumEntryN
Integer
  Reference of character style to apply to the page number for Nth entries, -1 for "[None]"
     
LevelN
Integer
  Level in the TOC for Nth entrie (between 1 and 10)
     
SortN
Boolean
  Specifies whether to sort Nth entries in alphabetical order or not
     
PageNumPosN
Integer
  Page Number position for Nth entries : 0 -> After Entry, 1 -> Before Entry, 2 -> No Page Number
     
SeparatorN
String
  Separator string for Nth entries
     
SeparatorFormatStyleN
Integer
  Reference of character style to apply to the separator for Nth entries, -1 for "[None]"
     


Note:


Example:


See also: [MT]


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.