src/eric7/QScintilla/Exporters/ExporterPDF.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9487
78cb053591c9
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
8 """ 8 """
9 9
10 # This code is a port of the C++ code found in SciTE 1.74 10 # This code is a port of the C++ code found in SciTE 1.74
11 # Original code: Copyright 1998-2006 by Neil Hodgson <neilh@scintilla.org> 11 # Original code: Copyright 1998-2006 by Neil Hodgson <neilh@scintilla.org>
12 12
13 from PyQt6.Qsci import QsciScintilla
13 from PyQt6.QtGui import QFontInfo 14 from PyQt6.QtGui import QFontInfo
14 from PyQt6.Qsci import QsciScintilla 15
15 16 from eric7 import Preferences
17 from eric7.EricGui.EricOverrideCursor import EricOverrideCursor
16 from eric7.EricWidgets import EricMessageBox 18 from eric7.EricWidgets import EricMessageBox
17 from eric7.EricGui.EricOverrideCursor import EricOverrideCursor
18 19
19 from .ExporterBase import ExporterBase 20 from .ExporterBase import ExporterBase
20
21 from eric7 import Preferences
22 21
23 PDF_FONT_DEFAULT = 1 # Helvetica 22 PDF_FONT_DEFAULT = 1 # Helvetica
24 PDF_FONTSIZE_DEFAULT = 10 23 PDF_FONTSIZE_DEFAULT = 10
25 PDF_SPACING_DEFAULT = 1.2 24 PDF_SPACING_DEFAULT = 1.2
26 PDF_MARGIN_DEFAULT = 72 # 1.0" 25 PDF_MARGIN_DEFAULT = 72 # 1.0"

eric ide

mercurial