|
a/src/internfile/internfile.h |
|
b/src/internfile/internfile.h |
|
... |
|
... |
158 |
* @return FIError and FIDone are self-explanatory. If FIAgain is returned,
|
158 |
* @return FIError and FIDone are self-explanatory. If FIAgain is returned,
|
159 |
* this is a multi-document file, with more subdocs, and internfile()
|
159 |
* this is a multi-document file, with more subdocs, and internfile()
|
160 |
* should be called again to get the following one(s).
|
160 |
* should be called again to get the following one(s).
|
161 |
*/
|
161 |
*/
|
162 |
Status internfile(Rcl::Doc& doc, const string &ipath = "");
|
162 |
Status internfile(Rcl::Doc& doc, const string &ipath = "");
|
|
|
163 |
|
|
|
164 |
/** Extract subdoc defined by ipath in idoc to file. See params for
|
|
|
165 |
idocToFile() */
|
|
|
166 |
bool interntofile(TempFile& otemp, const string& tofile,
|
|
|
167 |
const string& ipath, const string& mimetype);
|
163 |
|
168 |
|
164 |
/** Return the file's (top level object) mimetype (useful for
|
169 |
/** Return the file's (top level object) mimetype (useful for
|
165 |
* creating the pseudo-doc for container files)
|
170 |
* creating the pseudo-doc for container files)
|
166 |
*/
|
171 |
*/
|
167 |
const string& getMimetype() {return m_mimetype;}
|
172 |
const string& getMimetype() {return m_mimetype;}
|