void File::save(lc::storage::Document_SPtr document, const std::string& path, File::Type type) { if(type >= LIBDXFRW_DXF_R12 && type <= LIBDXFRW_DXB_R2013) { DXFimpl* F = new DXFimpl(std::move(document)); F->writeDXF(path, type); } }
void CadMdiChild::exportDXF(std::string& str, DXF::version lcv) { DXFimpl* F = new DXFimpl(_document); F->writeDXF(str, lcv); }