Both as I recall. But that was on the 3.4 altho I would expect it to be the same for the 3.5.As a side note- if the transmission has to be dropped, then I will also have the small oil pan leak done at the same time, since the way I understand it the Trans covers part of the pan access and you either need to jack the engine or take the transmission out of the way??
For oil pan work, you usually have to jack up the engine off the subframe a few inches on the passenger end, and separate but not remove the transmission from the engine block. The latter part is done by removing the torque converter bolts and loosening the bell housing bolts to allow a gap of ¼-⅜" between them.
That's all moot since they will be removing the transmission. And for that, they will be dropping the subframe, so doing the oil pan ought to be pretty easy at that point.