Changeset 8b79cc0 in sasview


Ignore:
Timestamp:
Feb 26, 2018 2:40:34 PM (6 years ago)
Author:
wojciech
Children:
0a413bb
Parents:
bd32230
Message:

And one more..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/report_dialog.py

    rbd32230 r8b79cc0  
    130130        resultFile = open(filename, "w+b") 
    131131        # 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>' 
    133135        pisaStatus = pisa.CreatePDF(data, dest=resultFile) 
    134136        # close output file 
Note: See TracChangeset for help on using the changeset viewer.