equal
deleted
inserted
replaced
1 from cubicweb.utils import can_do_pdf_conversion |
1 from cubicweb.utils import can_do_pdf_conversion |
2 assert can_do_pdf_conversion() |
2 assert can_do_pdf_conversion() |
3 |
3 |
4 from xml.etree.ElementTree import QName, fromstring |
4 from xml.etree.ElementTree import QName, fromstring |
5 from pyxmltrf.standard.xhtml_xslfo.transformer import XHTML2FOTransformer |
5 from pysixt.standard.xhtml_xslfo.transformer import XHTML2FOTransformer |
6 from pyxmltrf.utils.xslfo.standard import cm |
6 from pysixt.utils.xslfo.standard import cm |
7 from pyxmltrf.utils.xslfo import SimplePageMaster |
7 from pysixt.utils.xslfo import SimplePageMaster |
8 from pyxmltrf.standard.xhtml_xslfo.default_styling import default_styles |
8 from pysixt.standard.xhtml_xslfo.default_styling import default_styles |
9 from pyxmltrf.standard.xhtml_xslfo import XHTML_NS |
9 from pysixt.standard.xhtml_xslfo import XHTML_NS |
10 |
10 |
11 |
11 |
12 class ReportTransformer(XHTML2FOTransformer): |
12 class ReportTransformer(XHTML2FOTransformer): |
13 """ |
13 """ |
14 Class transforming an XHTML input tree into a FO document |
14 Class transforming an XHTML input tree into a FO document |