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

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/g/r/gramps-3.4.2/src/cli/plug/__init__.py   Gramps(Download)
import Utils
from gen.plug import BasePluginManager
from gen.plug.docgen import (StyleSheet, StyleSheetList, PaperStyle,
                             PAPER_PORTRAIT, PAPER_LANDSCAPE, graphdoc)
from gen.plug.menu import (FamilyOption, PersonOption, NoteOption, 
        self.options_help['papero'][2] = [
            "%d\tPortrait" % PAPER_PORTRAIT,
            "%d\tLandscape" % PAPER_LANDSCAPE ]
 
        self.options_help['css'][2] = os.path.join(const.USER_HOME,

src/g/r/gramps-3.4.2/src/plugins/docgen/LaTeXDoc.py   Gramps(Download)
#
#------------------------------------------------------------------------
from gen.plug.docgen import BaseDoc, TextDoc, PAPER_LANDSCAPE, FONT_SANS_SERIF, URL_PATTERN
from gen.plug.docbackend import DocBackend
import Image
        options = "12pt"
 
        if self.paper.get_orientation() == PAPER_LANDSCAPE:
            options = options + ",landscape"
 

src/g/r/gramps-3.4.2/src/gui/plug/report/_papermenu.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.plug.docgen import PaperStyle, PAPER_PORTRAIT, PAPER_LANDSCAPE
from gen.plug.report._paper import paper_sizes
from glade import Glade
            return PAPER_PORTRAIT
        else:
            return PAPER_LANDSCAPE
 
#-------------------------------------------------------------------------