The line ratios R and G of the three main lines of He-like ions (triplet: r
esonance, intercombination, forbidden lines) are calculated for C V, N VI,
O VII, Ne IX, Mg XI, and Si XIII. These ratios can be used to derive electr
on density ne and temperature T-e of hot late-type stellar coronae and O, B
stars from high-resolution spectra obtained with Chandra (LETGS, HETGS) an
d XMM-Newton (RGS). All excitation and radiative processes between the leve
ls and the effect of upper-level cascades from collisional electronic excit
ation and from dielectronic and radiative recombination have been considere
d. When possible the best experimental values for radiative transition prob
abilities are used. For the higher-Z ions (i.e. Ne IX, Mg XI, Si XIII) poss
ible contributions from blended dielectronic satellite lines to each line o
f the triplets were included in the calculations of the line ratios R and G
for four specific spectral resolutions: RGS, LETGS, HETGS-MEG, HETGS-HEG.
The influence of an external stellar radiation field on the coupling of the
2(3)S (upper level of the forbidden line) and 2(3)P levels (upper levels o
f the intercombination lines) is taken into account. This process is mainly
important for the lower-Z ions (i.e. C V, N VI, O VII) at moderate radiati
on temperature (T-rad). These improved calculations were done for plasmas i
n collisional ionization equilibrium, but will be later extended to photo-i
onized plasmas and to transient ionization plasmas. The values for R and G
are given in extensive tables, for a large range of parameters, which could
be used directly to compare to the observations.