Static Public Member Functions | Private Member Functions | Static Private Member Functions

ODe_ManifestWriter Class Reference

Class holding 1 static member. More...

#include <ODe_ManifestWriter.h>

List of all members.

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.

Detailed Description

Class holding 1 static member.

Its sole duty is to create the OpenDocument manifest file


Constructor & Destructor Documentation

ODe_ManifestWriter::ODe_ManifestWriter (  )  [private]

Member Function Documentation

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]

The documentation for this class was generated from the following files: