! Unzip \a document to a temporary folder, and write path of "index.html" to \a strFullPathFileName variable. */
| 4664 | \a strFullPathFileName variable. |
| 4665 | */ |
| 4666 | bool WizDatabase::documentToTempHtmlFile(const WIZDOCUMENTDATA& document, |
| 4667 | QString& strFullPathFileName) |
| 4668 | { |
| 4669 | QString strTempFolder = Utils::WizPathResolve::tempPath() + document.strGUID + "/"; |
| 4670 | ::WizEnsurePathExists(strTempFolder); |
| 4671 | |
| 4672 | if (!documentToHtmlFile(document, strTempFolder)) |
| 4673 | return false; |
| 4674 | |
| 4675 | strFullPathFileName = strTempFolder + "index.html"; |
| 4676 | return WizPathFileExists(strFullPathFileName); |
| 4677 | } |
| 4678 | |
| 4679 | /*! |
| 4680 | Unzip \a document to a given folder of \a strPath. |
no test coverage detected