Yes you can use this IC for variable output,
For mains step down transformer, rectifier & Filter capacitor design you will have to follow the same calculation as linear power supply , (although filter cap can be optimized if your lowest ripple tip is higher than your max output voltage i.e. for 15V output it can be 3V higher at full load).
Note here that the output ripple of this power supply will be higher than the linear solution.
According datasheet, is not possible to use that IC to perform this task, due input range must vary between 6V and 42V, that is out of your specifications.
**broken link removed**
thank you,
why I cant use?
i think its not necessary that input must vary.
my input is 20V dc and its between the range of 6 to 42V.
with some modification I can use this board for my purpose.
but I dont know exactly which components I should change for this purpose.