Create swcdocument.cpp