Put printscreen in landscape

bzr revid: ced-aa6f4cd5700d534cdea4c4ce4e6740d3505d99b3
This commit is contained in:
ced 2007-10-04 05:58:40 +00:00
parent b5ae0a5ba8
commit 7b93077f0f
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<xsl:variable name="rightMargin">1cm</xsl:variable>
<xsl:variable name="topMargin">1cm</xsl:variable>
<xsl:variable name="bottomMargin">1cm</xsl:variable>
<xsl:variable name="pageSize">21cm,29.7cm</xsl:variable>
<xsl:variable name="pageSize">29.7cm,21cm</xsl:variable>
<xsl:variable name="page_format">a4_letter</xsl:variable>

View File

@ -81,7 +81,7 @@ class report_printscreen_list(report_int):
def _create_table(self, uid, ids, fields, fields_order, results, context, title=''):
pageSize=[210.0,297.0]
pageSize=[297.0,210.0]
impl = minidom.getDOMImplementation()
new_doc = impl.createDocument(None, "report", None)

View File

@ -82,7 +82,7 @@ class report_printscreen_list(report_int):
def _create_table(self, uid, ids, fields, fields_order, results, context, title=''):
pageSize=[210.0,297.0]
pageSize=[297.0, 210.0]
impl = minidom.getDOMImplementation()
new_doc = impl.createDocument(None, "report", None)