Did I find the right examples for you? yes no

All Samples(24)  |  Call(0)  |  Derive(12)  |  Import(12)
Base class for all Pyth writers.

Writers must implement these methods.

src/p/y/pyth-0.5.6/pyth/plugins/xhtml/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
class XHTMLWriter(PythWriter):
 
    @classmethod
    def write(klass, document, target=None, cssClasses=True, pretty=False):
        if target is None:

src/p/y/pyth-0.5.6/pyth/plugins/rtf15/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
class Rtf15Writer(PythWriter):
 
    # Calibri is the default font in Office2007.
    # So we'll use that for swiss, and let it fall back
    # to Arial everywhere else.

src/p/y/pyth-0.5.6/pyth/plugins/rst/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
 
 
class RSTWriter(PythWriter):

src/p/y/pyth-0.5.6/pyth/plugins/plaintext/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
 
class PlaintextWriter(PythWriter):

src/p/y/pyth-0.5.6/pyth/plugins/pdf/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from reportlab.platypus import SimpleDocTemplate, Paragraph
class PDFWriter(PythWriter):
 
    @classmethod
    def write(klass, document, target=None, paragraphStyle=None):
        writer = PDFWriter(document, paragraphStyle)

src/p/y/pyth-0.5.6/pyth/plugins/latex/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
from pyth.plugins.rst.writer import RSTWriter
 
 
class LatexWriter(PythWriter):

src/p/y/pyth-HEAD/pyth/plugins/xhtml/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
class XHTMLWriter(PythWriter):
 
    @classmethod
    def write(klass, document, target=None, cssClasses=True, pretty=False):
        if target is None:

src/p/y/pyth-HEAD/pyth/plugins/rtf15/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
class Rtf15Writer(PythWriter):
 
    # Calibri is the default font in Office2007.
    # So we'll use that for swiss, and let it fall back
    # to Arial everywhere else.

src/p/y/pyth-HEAD/pyth/plugins/rst/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
 
 
class RSTWriter(PythWriter):

src/p/y/pyth-HEAD/pyth/plugins/plaintext/writer.py   pyth(Download)
 
from pyth import document
from pyth.format import PythWriter
 
from cStringIO import StringIO
 
class PlaintextWriter(PythWriter):

  1 | 2  Next