-Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir,
- bool includeall) const
-{
- string result_file;
- // (1) export with all included children (omit \includeonly)
- if (includeall) {
- ExportStatus const status =
- doExport(target, put_in_tempdir, true, result_file);
- if (status != ExportSuccess)
- return status;
- }
- // (2) export with included children only
- return doExport(target, put_in_tempdir, false, result_file);
-}
-
-