Scribus
Open source desktop publishing at your fingertips
CalendarWizard.ScCalendar Class Reference
Inheritance diagram for CalendarWizard.ScCalendar:

Public Member Functions

def __init__
 
def setupDocVariables (self)
 
def goldenMean (self, aSize)
 
def applyTextToFrame (self, aText, aFrame)
 
def createCalendar (self)
 
def createLayout (self)
 
def createPage (self)
 

Public Attributes

 drawSauce
 
 year
 
 months
 
 lang
 
 dayOrder
 
 mycal
 
 layerImg
 
 layerCal
 
 pStyleDate
 
 pStyleWeekday
 
 pStyleMonth
 
 pStyleWeekNo
 
 masterPage
 
 sepMonths
 
 firstPage
 
 pagex
 
 pagey
 
 margint
 
 marginl
 
 marginr
 
 marginb
 
 width
 
 height
 

Detailed Description

Parent class for all calendar types 

Constructor & Destructor Documentation

def CalendarWizard.ScCalendar.__init__ (   self,
  year,
  months = [],
  firstDay = calendar.SUNDAY,
  drawSauce = True,
  sepMonths = '/',
  lang = 'English' 
)
Setup basic things 

Member Function Documentation

def CalendarWizard.ScCalendar.applyTextToFrame (   self,
  aText,
  aFrame 
)
Insert the text with style. 
def CalendarWizard.ScCalendar.createCalendar (   self)
Walk through months dict and call monthly sheet 
def CalendarWizard.ScCalendar.createLayout (   self)
Create the page and optional bells and whistles around 
def CalendarWizard.ScCalendar.createPage (   self)
Wrapper to the new page with layers 
def CalendarWizard.ScCalendar.goldenMean (   self,
  aSize 
)
Taken from samples/golden-mean.py.
def CalendarWizard.ScCalendar.setupDocVariables (   self)
Compute base metrics here. Page layout is bordered by margins and
virtually divided by golden mean 'cut' in the bottom. The calendar is
in the bottom part - top is occupied with empty image frame. 

The documentation for this class was generated from the following file: