|
a/src/internfile/internfile.h |
|
b/src/internfile/internfile.h |
|
... |
|
... |
157 |
/** In case we see an html version while converting, it is set aside
|
157 |
/** In case we see an html version while converting, it is set aside
|
158 |
* and can be recovered
|
158 |
* and can be recovered
|
159 |
*/
|
159 |
*/
|
160 |
const string& get_html() {return m_html;}
|
160 |
const string& get_html() {return m_html;}
|
161 |
|
161 |
|
|
|
162 |
/** If we happen to be processing an image file and need a temp file,
|
|
|
163 |
we keep it around to save work for our caller, which can get it here */
|
|
|
164 |
TempFile get_imgtmp() {return m_imgtmp;}
|
|
|
165 |
|
162 |
/** Extract internal document into temporary file.
|
166 |
/** Extract internal document into temporary file.
|
163 |
* This is used mainly for starting an external viewer for a
|
167 |
* This is used mainly for starting an external viewer for a
|
164 |
* subdocument (ie: mail attachment).
|
168 |
* subdocument (ie: mail attachment).
|
165 |
* @return true for success.
|
169 |
* @return true for success.
|
166 |
* @param temp output reference-counted temp file object (goes
|
170 |
* @param temp output reference-counted temp file object (goes
|
|
... |
|
... |
196 |
RclConfig *m_cfg;
|
200 |
RclConfig *m_cfg;
|
197 |
string m_fn;
|
201 |
string m_fn;
|
198 |
string m_mimetype; // Mime type for [uncompressed] file
|
202 |
string m_mimetype; // Mime type for [uncompressed] file
|
199 |
bool m_forPreview;
|
203 |
bool m_forPreview;
|
200 |
string m_html; // Possibly set-aside html text for preview
|
204 |
string m_html; // Possibly set-aside html text for preview
|
|
|
205 |
TempFile m_imgtmp; // Possible reference to an image temp file
|
201 |
string m_targetMType;
|
206 |
string m_targetMType;
|
202 |
string m_reachedMType; // target or text/plain
|
207 |
string m_reachedMType; // target or text/plain
|
203 |
// m_tdir and m_tfile are used only for decompressing input file if needed
|
208 |
// m_tdir and m_tfile are used only for decompressing input file if needed
|
204 |
TempDir &m_tdir;
|
209 |
TempDir &m_tdir;
|
205 |
string m_tfile;
|
210 |
string m_tfile;
|