Factor out OutlinerParaObject::dumpAsXml() from SwDoc::dumpAsXml()

Change-Id: I5e805aa98f643b5a034cdeadb4718af528af022c