code styling
This commit is contained in:
parent
f780714a52
commit
ab61d39847
@ -11,4 +11,3 @@ from .listing import Listing
|
|||||||
from .richtext import RichText, R
|
from .richtext import RichText, R
|
||||||
from .subdoc import Subdoc
|
from .subdoc import Subdoc
|
||||||
from .template import DocxTemplate
|
from .template import DocxTemplate
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Created : 2021-07-30
|
|||||||
@author: Eric Lapouyade
|
@author: Eric Lapouyade
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class InlineImage(object):
|
class InlineImage(object):
|
||||||
"""Class to generate an inline image
|
"""Class to generate an inline image
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,7 @@ except ImportError:
|
|||||||
# cgi.escape is deprecated in python 3.7
|
# cgi.escape is deprecated in python 3.7
|
||||||
from cgi import escape
|
from cgi import escape
|
||||||
|
|
||||||
|
|
||||||
class Listing(object):
|
class Listing(object):
|
||||||
r"""class to manage \n and \a without to use RichText,
|
r"""class to manage \n and \a without to use RichText,
|
||||||
by this way you keep the current template styling
|
by this way you keep the current template styling
|
||||||
|
|||||||
@ -11,6 +11,7 @@ except ImportError:
|
|||||||
# cgi.escape is deprecated in python 3.7
|
# cgi.escape is deprecated in python 3.7
|
||||||
from cgi import escape
|
from cgi import escape
|
||||||
|
|
||||||
|
|
||||||
class RichText(object):
|
class RichText(object):
|
||||||
""" class to generate Rich Text when using templates variables
|
""" class to generate Rich Text when using templates variables
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user