Changeset 250f2393 in sasview for src/sas/sasgui/guiframe
- Timestamp:
- Feb 17, 2018 4:41:05 PM (7 years ago)
- Children:
- ee4a2bb
- Parents:
- 45eddeb7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/report_dialog.py
r45eddeb7 r250f2393 22 22 PANEL_WIDTH = 530 23 23 PANEL_HEIGHT = 700 24 FONT_VARIANT = 124 FONT_VARIANT = 0 25 25 ISPDF = True 26 26 … … 127 127 try: 128 128 from xhtml2pdf import pisa 129 data = "<html><body><p>To PDF or not to PDF</p></body></html>"130 129 # open output file for writing (truncated binary) 131 130 resultFile = open(filename, "w+b")
Note: See TracChangeset
for help on using the changeset viewer.