Synthesis and study of various reactive oligomers and of poly(ester-imide-ether)S