parameters: (self)
return_statement: return None
docstring: Walk through months dict and call monthly sheet
docstring_summary: Walk through months dict and call monthly sheet
docstring_tokens: Walk through months dict and call monthly sheet
function: def createCalendar(self):
          """ Walk through months dict and call monthly sheet """
          if not newDocDialog():
              return 'Create a new document first, please'
          createParagraphStyle(name=self.pStyleDate, alignment=ALIGN_RIGHT)
          createParagraphStyle(name=self.pStyleWeekday, alignment=ALIGN_CENTERED)
  #        createParagraphStyle(name=self.pStyleWeekday, alignment=ALIGN_RIGHT) # original alignment
          createParagraphStyle(name=self.pStyleMonth)
          createParagraphStyle(name=self.pStyleWeekNo, alignment=ALIGN_RIGHT)
          originalUnit = getUnit()
          setUnit(UNIT_POINTS)
          self.setupDocVariables()
          if self.drawSauce:
              createLayer(self.layerImg)
          createLayer(self.layerCal)
          self.setupMasterPage()
          run = 0
          for i in self.months:
              run += 1
              progressSet(run)
              cal = self.mycal.monthdatescalendar(self.year, i + 1)
              self.createMonthCalendar(i, cal)
          setUnit(originalUnit)
          return None
function_tokens: def createCalendar ( self ) : if not newDocDialog ( ) : return 'Create a new document first, please' createParagraphStyle ( name = self . pStyleDate , alignment = ALIGN_RIGHT ) createParagraphStyle ( name = self . pStyleWeekday , alignment = ALIGN_CENTERED ) #        createParagraphStyle(name=self.pStyleWeekday, alignment=ALIGN_RIGHT) # original alignment createParagraphStyle ( name = self . pStyleMonth ) createParagraphStyle ( name = self . pStyleWeekNo , alignment = ALIGN_RIGHT ) originalUnit = getUnit ( ) setUnit ( UNIT_POINTS ) self . setupDocVariables ( ) if self . drawSauce : createLayer ( self . layerImg ) createLayer ( self . layerCal ) self . setupMasterPage ( ) run = 0 for i in self . months : run += 1 progressSet ( run ) cal = self . mycal . monthdatescalendar ( self . year , i + 1 ) self . createMonthCalendar ( i , cal ) setUnit ( originalUnit ) return None