What has to happen for the President to get line-item veto power?

Answer :

within five days (excluding Sundays) after signing a bill, to cancel in whole three types of revenue provisions within the bill. The cancellation would take effect upon receipt by Congress of a special message from the President.