An enzyme that catalyzes the transfer of glucose from ADPglucose to glucose-containing polysaccharides in 1,4-alpha-linkages. EC 2.4.1.21.