ds_GetStyleSheets


Because stylesheets have new formats starting with 4D 6.8.1 (to handle Mac OS X and Windows XP) the routine accepts 2 differents syntaxes, changing only by the number of expected parameters:

Under 4D 6.7:
ds_GetStyleSheets (names; macFontNames; macFontSizes; macFontFaces; ntFontNames; ntFontSizes; ntFontFaces; winFontNames; winFontSizes; winFontFaces) <- errorCode
Parameter Type Description
<- Names Text Array Style sheets names
<- macFontNames Text Array Mac fonts names
<- macFontSizes Numeric Array Mac fonts sizes
<- macFontFaces Numeric Array Mac fonts faces
<- ntFontNames Text Array WinNT fonts names
<- ntFontSizes Numeric Array WinNT fonts sizes
<- ntFontFaces Numeric Array WinNT fonts faces
<- winFontNames Text Array Win98 fonts names
<- winFontSizes Numeric Array Win98 fonts sizes
<- winFontFaces Numeric Array Win98 fonts faces
<- errorCode Long Integer Error Code (0 = no error)


Under 4D 6.8:
ds_GetStyleSheets (names; macFontNames; macFontSizes; macFontFaces; ntFontNames; ntFontSizes; ntFontFaces; osxFontNames; osxFontSizes; osxFontFaces; xpFontNames; xpFontSizes; xpFontFaces) <- errorCode
Parameter Type Description
<- Names Text Array Style sheets names
<- macFontNames Text Array Mac fonts names
<- macFontSizes Numeric Array Mac fonts sizes
<- macFontFaces Numeric Array Mac fonts faces
<- ntFontNames Text Array WinNT fonts names
<- ntFontSizes Numeric Array WinNT fonts sizes
<- ntFontFaces Numeric Array WinNT fonts faces
<- osxFontNames Text Array Mac OS X fonts names
<- osxFontSizes Numeric Array Mac OS X fonts sizes
<- osxFontFaces Numeric Array Mac OS X fonts faces
<- xpFontNames Text Array Windows XP fonts names
<- xpFontSizes Numeric Array Windows XP fonts sizes
<- xpFontFaces Numeric Array Windows XP fonts faces
<- errorCode Long Integer Error Code (0 = no error)


Get all Style sheets and their specifications. Arrays are synchronised, one line = one style sheet. Style sheets has been modified startting with 4D 681 (to be used with Mac OS X and Windows XP).