Has anyone at all look at uploading a file to/using an existing SPFile in the PublishingPageCollection.Add() method?
I'm referring to this override specifically: http://msdn.microsoft.com/en-us/library/ms495757.aspx
The docs just say "File to convert to get the Page content" - how does it convert it? Does it take an existing Publishing Page just full of the mso: meta tags filled with content and bung it into the specified layout or?
But James, Why!?
Got a requirement where I'd like to be able to very quickly knock up a site structure, including sticking in some pre-created Publishing Pages into the site as test data (saves me creating lots of "testarticles").