--- a/src/internfile/internfile.h
+++ b/src/internfile/internfile.h
@@ -160,6 +160,11 @@
* should be called again to get the following one(s).
*/
Status internfile(Rcl::Doc& doc, const string &ipath = "");
+
+ /** Extract subdoc defined by ipath in idoc to file. See params for
+ idocToFile() */
+ bool interntofile(TempFile& otemp, const string& tofile,
+ const string& ipath, const string& mimetype);
/** Return the file's (top level object) mimetype (useful for
* creating the pseudo-doc for container files)