|
a/src/internfile/mh_text.cpp |
|
b/src/internfile/mh_text.cpp |
|
... |
|
... |
79 |
m_offs = m_text.length();
|
79 |
m_offs = m_text.length();
|
80 |
}
|
80 |
}
|
81 |
|
81 |
|
82 |
string md5, xmd5;
|
82 |
string md5, xmd5;
|
83 |
MD5String(m_text, md5);
|
83 |
MD5String(m_text, md5);
|
84 |
m_metaData["md5"] = MD5HexPrint(md5, xmd5);
|
84 |
m_metaData[cstr_md5] = MD5HexPrint(md5, xmd5);
|
85 |
m_havedoc = true;
|
85 |
m_havedoc = true;
|
86 |
return true;
|
86 |
return true;
|
87 |
}
|
87 |
}
|
88 |
|
88 |
|
89 |
bool MimeHandlerText::set_document_string(const string& otext)
|
89 |
bool MimeHandlerText::set_document_string(const string& otext)
|
90 |
{
|
90 |
{
|
91 |
m_text = otext;
|
91 |
m_text = otext;
|
92 |
string md5, xmd5;
|
92 |
string md5, xmd5;
|
93 |
MD5String(m_text, md5);
|
93 |
MD5String(m_text, md5);
|
94 |
m_metaData["md5"] = MD5HexPrint(md5, xmd5);
|
94 |
m_metaData[cstr_md5] = MD5HexPrint(md5, xmd5);
|
95 |
m_havedoc = true;
|
95 |
m_havedoc = true;
|
96 |
return true;
|
96 |
return true;
|
97 |
}
|
97 |
}
|
98 |
|
98 |
|
99 |
bool MimeHandlerText::skip_to_document(const string& ipath)
|
99 |
bool MimeHandlerText::skip_to_document(const string& ipath)
|