|
a/src/internfile/internfile.h |
|
b/src/internfile/internfile.h |
|
... |
|
... |
117 |
* For multidocument files (ie: mail folder), this must be called multiple
|
117 |
* For multidocument files (ie: mail folder), this must be called multiple
|
118 |
* times to retrieve the subdocuments
|
118 |
* times to retrieve the subdocuments
|
119 |
* @param doc output document
|
119 |
* @param doc output document
|
120 |
* @param ipath internal path. If set by caller, the specified subdoc will
|
120 |
* @param ipath internal path. If set by caller, the specified subdoc will
|
121 |
* be returned. Else the next document according to current state will
|
121 |
* be returned. Else the next document according to current state will
|
122 |
* be returned, and ipath will be set on output.
|
122 |
* be returned, and doc.ipath will be set on output.
|
123 |
* @return FIError and FIDone are self-explanatory. If FIAgain is returned,
|
123 |
* @return FIError and FIDone are self-explanatory. If FIAgain is returned,
|
124 |
* this is a multi-document file, with more subdocs, and internfile()
|
124 |
* this is a multi-document file, with more subdocs, and internfile()
|
125 |
* should be called again to get the following one(s).
|
125 |
* should be called again to get the following one(s).
|
126 |
*/
|
126 |
*/
|
127 |
Status internfile(Rcl::Doc& doc, string &ipath);
|
127 |
Status internfile(Rcl::Doc& doc, const string &ipath = "");
|
128 |
|
128 |
|
129 |
/** Return the file's (top level object) mimetype (useful for
|
129 |
/** Return the file's (top level object) mimetype (useful for
|
130 |
* container files)
|
130 |
* container files)
|
131 |
*/
|
131 |
*/
|
132 |
const string& getMimetype() {return m_mimetype;}
|
132 |
const string& getMimetype() {return m_mimetype;}
|