Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(0)  |  Derive(4)  |  Import(5)

src/g/r/gramps-3.4.2/src/plugins/docgen/ODFDoc.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.plug.docgen import (BaseDoc, TextDoc, DrawDoc, graphicstyle,
                    FONT_SANS_SERIF, SOLID, PAPER_PORTRAIT,
                    INDEX_TYPE_TOC, PARA_ALIGN_CENTER, PARA_ALIGN_LEFT, 
class ODFDoc(BaseDoc, TextDoc, DrawDoc):
    """
    The ODF document class
    """
 

src/g/r/gramps-3.4.2/src/plugins/lib/libcairodoc.py   Gramps(Download)
#
#------------------------------------------------------------------------
from gen.plug.docgen import (BaseDoc, TextDoc, DrawDoc, ParagraphStyle,
                        TableCellStyle, SOLID, FONT_SANS_SERIF, FONT_SERIF,
                        FONT_MONOSPACE, PARA_ALIGN_CENTER, PARA_ALIGN_LEFT)
class CairoDoc(BaseDoc, TextDoc, DrawDoc):
    """Act as an abstract document that can render onto a cairo context.
 
    Maintains an abstract model of the document. The root of this abstract
    document is self._doc. The model is build via the subclassed BaseDoc, and

src/g/r/gramps-3.4.2/src/plugins/docgen/PSDrawDoc.py   Gramps(Download)
#-------------------------------------------------------------------------
from gen.plug.report import utils as ReportUtils
from gen.plug.docgen import BaseDoc, DrawDoc, FONT_SERIF, PAPER_PORTRAIT, SOLID
from gen.plug.utils import gformat
import Errors
class PSDrawDoc(BaseDoc, DrawDoc):
 
    def __init__(self, styles, type):
        BaseDoc.__init__(self, styles, type)
        self.file = None

src/g/r/gramps-3.4.2/src/plugins/docgen/SvgDrawDoc.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.plug.docgen import BaseDoc, DrawDoc, SOLID, FONT_SANS_SERIF
import Errors
 
class SvgDrawDoc(BaseDoc, DrawDoc):
 
    def __init__(self, styles, type):
        BaseDoc.__init__(self, styles, type)
        self.f = None

src/g/r/gramps-3.4.2/src/gen/plug/_docgenplugin.py   Gramps(Download)
 
from gen.plug import Plugin
from gen.plug.docgen import TextDoc, DrawDoc
 
class DocGenPlugin(Plugin):