The conversion factor from compound to element is actually just based on the number of elements in the compound itself.
From the compound C12H22O11, we can say that there are 12 C, 22 H and 11 O, therefore the conversion factors are:
1 mol C12H22O11=12 moles of C
1 mol C12H22O11=22 moles of H
1 mol C12H22O11= 11 moles of O