Arbortext Command Language > Functions by Alphabetical Listing > stylesheet_export_fosi
  
stylesheet_export_fosi
stylesheet_export_fosi([path[, doc]])
This function writes the current editor Arbortext Styler stylesheet (.style) to path. If path is not specified, the Export FOSI Stylesheet dialog box is launched to let the user specify the path. When no doc is specified, Arbortext Editor defaults to the document returned by current_doc. The function returns 1 if the stylesheet is successfully exported, and 0 if there is any error. An error is returned if the current editor stylesheet can not be modified by Arbortext Styler.