py::qo::ext::OpenDocument::spreadsheet::Manifest Class Reference

Inheritance diagram for py::qo::ext::OpenDocument::spreadsheet::Manifest:

Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def file_entry

Public Attributes

 doc
 root


Member Function Documentation

def py::qo::ext::OpenDocument::spreadsheet::Manifest::__init__ (   self  ) 

00060                              :
00061                 self.doc = DOM_IMPL.createDocument( "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0", "manifest:manifest", None )
00062                 self.root = self.doc.documentElement
00063                 self.root.setAttribute( "xmlns:manifest", "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" )
00064                 self.file_entry( "/", "application/vnd.oasis.opendocument.spreadsheet" )
00065         
        def file_entry( self, full_path, media_type ) :

def py::qo::ext::OpenDocument::spreadsheet::Manifest::file_entry (   self,
  full_path,
  media_type 
)

00066                                                       :
00067                 manifest = self.doc.createElement( "manifest:file-entry" )
00068                 manifest.setAttribute( "manifest:media-type", media_type )
00069                 manifest.setAttribute( "manifest:full-path", full_path )
00070                 self.root.appendChild( manifest )
00071 
00072 
class Content( DOMHandler ) :


Member Data Documentation

py::qo::ext::OpenDocument::spreadsheet::Manifest::doc

py::qo::ext::OpenDocument::spreadsheet::Manifest::root


The documentation for this class was generated from the following file:
Generated on Tue Oct 9 20:40:32 2007 for Qomics by  doxygen 1.5.3