Changeset 8b79cc0 in sasview for src/sas/sasgui
- Timestamp:
- Feb 26, 2018 2:40:34 PM (7 years ago)
- Children:
- 0a413bb
- Parents:
- bd32230
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/report_dialog.py
rbd32230 r8b79cc0 130 130 resultFile = open(filename, "w+b") 131 131 # convert HTML to PDF 132 data = '<html><head><meta http-equiv=Content-Type content=text/html; charset=windows-1252><meta name=Generator ></head><body lang=EN-US>Just a test text</body></html>' 132 data = '<html><head><meta http-equiv=Content-Type content=text/html; charset=windows-1252><meta name=Generator ></head><body lang=EN-US>' \ 133 '<div class=WordSection1><p class=MsoNormal><b><span ><center><font size=4 >cyl_400_40.txt [Feb 26 2018 12:04:42]</font></center></span></center></b></p>' \ 134 '</div></body></html>' 133 135 pisaStatus = pisa.CreatePDF(data, dest=resultFile) 134 136 # close output file
Note: See TracChangeset
for help on using the changeset viewer.