Table of Contents

Class: TextFile ../HappyDoc-r2_1/happydoclib/formatter/openoffice.py

OpenOffice Text File

Base Classes   
zipfile.ZipFile
Methods   
__init__
_initRequiredManifest
close
getStyleCatalog
writeDataToNameInFile
  __init__ 
__init__ (
        self,
        filename,
        mode='a',
        templateFileName=None,
        )

Initialize the OpenOffice TextFile

  _initRequiredManifest 
_initRequiredManifest ( self )

Intialize the contents of a ZipFile that are required for a TextFile.

  close 
close ( self )

Close the archive file and ensure it contains enough pieces to be valid.

  getStyleCatalog 
getStyleCatalog ( self )

Returns the style definitions for the TextFile.

  writeDataToNameInFile 
writeDataToNameInFile (
        self,
        arcname,
        data,
        compress_type=None,
        )

Write data buffer to the archive under the name arcname.


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:36 2002 by HappyDoc version 2.1