Changeset 110 for trunk/sancabase.py
- Timestamp:
- 04/04/09 22:07:18 (4 years ago)
- File:
-
- 1 edited
-
trunk/sancabase.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sancabase.py
r109 r110 2602 2602 # Temario 2603 2603 def OnTemario(self, evt): 2604 #f = open('./html/temario.html', 'w')2605 #f.write('<html>\n')2606 #f.write('<head>\n')2607 #f.write('<meta http-equiv="content-type" content="text/html; charset=UTF-8">\n')2608 #f.write('<title>Impresión de temario</title>\n')2609 #f.write('<body>\n')2610 #f.write('<font size="2">')2611 #f.write('<h2>Temario del mes de: </h2>\n')2612 #f.write('<h3>Curso:</h3>\n')2613 #f.write('<h3>Instructor:</h4>\n')2614 #f.write('<center>\n')2615 #f.write('<table width="609" border="2" cellspacing="0">\n' )2616 #f.write('<th>DÃa</th><th>Tema de la clase</th><th>Firma</th>')2617 #for n in range (22):2618 #f.write('<tr height="31"><td height="31" width="10%" border="1"> </td><td height="31" width="70%" border="1"> </td><td height="31" width="20%" border="1"> </td></tr>')2619 #f.write('</table>')2620 #f.close()2621 ##Una vez creado el html con el listado lo muestro en un frame como vista previa2622 #import wx.html as htm2623 #self.frame = wx.Frame(self, -1, u'Vista previa de la impresión', (20, 20), (800, 600))2624 #self.panel = wx.Panel(self.frame, -1)2625 #self.html = htm.HtmlWindow(self.panel, -1, (5,5), (790, 500))2626 #self.html.LoadPage('./html/temario.html')2627 #self.printer = htm.HtmlEasyPrinting()2628 #BtnImpresion = wx.Button(self.panel, wx.ID_PRINT, pos=(520, 540))2629 #BtnCancelarImp = wx.Button(self.panel, wx.ID_CANCEL, pos=(620, 540))2630 #self.Bind(wx.EVT_BUTTON, self.OnImp, BtnImpresion)2631 #self.Bind(wx.EVT_BUTTON, self.OnCanc, BtnCancelarImp)2632 #self.frame.Show()2633 2604 from reportlab.lib.pagesizes import legal 2634 2605 import temario
Note: See TracChangeset
for help on using the changeset viewer.
