def drawLaterSpecialLandscape(canv, doc): """ This is the Template of any later drawn Landscape Oriented Page """ canv.saveState() frame, pagesize = doc.getFrame(doc.template_id) canv.setPageSize(pagesize) canv.setFont(ar.base_fonts()["normal"], doc.fontSize) canv.restoreState()
def drawFirstLandscape(canv, doc): """ This is the Title Page Template (Landscape Oriented) """ canv.saveState() frame, pagesize = doc.getFrame(doc.template_id) canv.setPageSize(pagesize) canv.setFont(ar.base_fonts()["normal"], doc.fontSize) canv.restoreState()
def drawFirstPage(canv, doc): """ This is the Title Page Template (Portrait Oriented) """ canv.saveState() #set Page Size frame, pagesize = doc.getFrame(doc.template_id) canv.setPageSize(pagesize) canv.setFont(base_fonts()["normal"], doc.fontSize) addPlugin(canv, doc, frame=frame, talkative=True) canv.restoreState()
def drawLaterPage(canv, doc): """ This is the Template of any following Portrait Oriented Page """ canv.saveState() #set Page Size frame, pagesize = doc.getFrame(doc.template_id) canv.setPageSize(pagesize) canv.setFont(base_fonts()["normal"], doc.fontSize) addPlugin(canv, doc, frame=frame) canv.restoreState()
def drawLaterSpecialPage(canv, doc): """ This is the Template of any later drawn Landscape Oriented Page """ canv.saveState() #set Page Size and #some variables frame, pagesize = doc.getFrame(doc.template_id) #print(pagesize[0],pagesize[1]) canv.setPageSize(pagesize) canv.setFont(base_fonts()["normal"], doc.fontSize) addPlugin(canv, doc, frame=frame) canv.restoreState()