Exemplo n.º 1
0
 def write(self, viewer, settings, selectionOnly=False, separateCSS=False, columns=None):
     cssFilename = os.path.basename(self.__cssFilename) if separateCSS else ''
     htmlText, count = generator.viewer2html(viewer, settings, cssFilename, 
                                             selectionOnly, columns)
     self.__fd.write(htmlText)
     if separateCSS:
         self._writeCSS()
     return count
Exemplo n.º 2
0
 def write(self, viewer, settings, selectionOnly=False, separateCSS=False, columns=None):
     cssFilename = os.path.basename(self.__cssFilename) if separateCSS else ''
     htmlText, count = generator.viewer2html(viewer, settings, cssFilename, 
                                             selectionOnly, columns)
     self.__fd.write(htmlText)
     if separateCSS:
         self._writeCSS()
     return count
Exemplo n.º 3
0
 def write(self, viewer, selectionOnly=False):
     htmlText = generator.viewer2html(viewer, selectionOnly)
     self.__fd.write(htmlText)
Exemplo n.º 4
0
 def write(self, viewer, settings, selectionOnly=False):
     cssFilename = os.path.basename(self.__cssFilename)
     htmlText, count = generator.viewer2html(viewer, settings, cssFilename, selectionOnly)
     self.__fd.write(htmlText)
     self._writeCSS()
     return count