| 134 | img2.save(x) |
| 135 | |
| 136 | def createCSS(self): |
| 137 | # Create CSS file |
| 138 | os.chdir(self.dirName) |
| 139 | self.CSSFile = "styles.css" |
| 140 | os.mkdir(self.slideName) |
| 141 | os.chdir(self.slideName) |
| 142 | fp = open(self.CSSFile,"w") |
| 143 | temp = """ |
| 144 | body {font-family:Verdana, Arial, Trebuchet MS; font-size:10pt; margin-left:0px; margin-right:0px; margin-top:0px} |
| 145 | td {font-family:Verdana, Arial, Trebuchet MS; font-size:8pt} |
| 146 | h2 {font-family: Trebuchet MS, Arial, Verdana; background:#000000; color:#FFFFFF; padding:10px} |
| 147 | h4 {font-family: Trebuchet MS, Arial, Verdana; color:#CCCCCC} |
| 148 | a {font-family:Verdana, Arial, Trebuchet MS; font-size:10pt; font-weight:bold; text-decoration:underline} |
| 149 | a:visited{color:#FF0000} |
| 150 | a:hover {font-family:Verdana, Arial, Trebuchet MS; font-size:10pt; font-weight:bold; text-decoration:none; background:#CCCCFF;} |
| 151 | .no_go {font-family:Verdana, Arial, Trebuchet MS; font-size:10pt; color:#CCCCCC} |
| 152 | img {border:#000000 solid 1px} |
| 153 | """ |
| 154 | fp.write(temp) |
| 155 | fp.close() |
| 156 | |
| 157 | def createIndex(self): |
| 158 | # Create the index file |