Xlstat and Pearson correlation coefficient: how are p-values calculated?

Someone asked me questions about his outcomes from Xlstat. Since I do not know this software at all, here is the question:

How are p-values for Pearson correlation coefficients calculated ($H_1: \rho \neq 0$)? Does Xlstat just calculate Steiger's z-test?

I can not find this info. The Xlstat help does not say anything about that.

EDIT: Or does it do a permutation test? I guess not??? EDIT2: The question is the same for Spearman correlation

• Ups, thanks @Nick Cox for correcting my numerous typos! :-| Maybe I had too much coffee :-( – Michael Mar 4 '14 at 10:45
• Note that the correlation being non-zero is usually the alternative hypothesis. I edited that. – Nick Cox Mar 4 '14 at 11:24
• @ Nick: Yeah, another typo... Sorry for being so sloppy :-( – Michael Mar 4 '14 at 13:08