Dyeing and sizing in one process