Microsoft is making changes to the next versions of both Office and Windows as part of an effort to head off a legal challenge from Adobe Systems. Microsoft said that it expects an antitrust suit from Adobe after months of negotiations in which the companies failed to reach an accord.