Class holding 1 static member. More...
#include <ODe_ManifestWriter.h>
Static Public Member Functions | |
static bool | writeManifest (PD_Document *pDoc, GsfOutfile *pODT) |
Private Member Functions | |
ODe_ManifestWriter () | |
Static Private Member Functions | |
static void | ensureDirectoryManifest (PD_Document *pDoc, GsfOutput *manifest, const std::string &path, std::set< std::string > &pathsAlreadyWritten) |
Ensure that the manifest:file-entry XML elements exist for all the parent directories for path. |
Class holding 1 static member.
Its sole duty is to create the OpenDocument manifest file
ODe_ManifestWriter::ODe_ManifestWriter | ( | ) | [private] |
void ODe_ManifestWriter::ensureDirectoryManifest | ( | PD_Document * | pDoc, | |
GsfOutput * | manifest, | |||
const std::string & | path, | |||
std::set< std::string > & | pathsAlreadyWritten | |||
) | [static, private] |
Ensure that the manifest:file-entry XML elements exist for all the parent directories for path.
If such an element already has been written (according to pathsAlreadyWritten) then it will not be done again.
References ODe_gsf_output_write(), and UT_std_string_sprintf().
Referenced by writeManifest().
bool ODe_ManifestWriter::writeManifest | ( | PD_Document * | pDoc, | |
GsfOutfile * | pODT | |||
) | [static] |