src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSitePDF.fo
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 6701 690d2af86089
permissions -rw-r--r--
Removed old frame parameter of windowTableId
carlos@0
     1
<?xml version="1.0" encoding="UTF-8"?>
carlos@0
     2
<!--
carlos@0
     3
 *************************************************************************
carlos@0
     4
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     5
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     7
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     8
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    11
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    12
 * under the License. 
carlos@0
    13
 * The Original Code is Openbravo ERP. 
carlos@0
    14
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    15
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
carlos@0
    16
 * All Rights Reserved. 
carlos@0
    17
 * Contributor(s):  ______________________________________.
carlos@0
    18
 ************************************************************************
carlos@0
    19
-->
carlos@0
    20
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
carlos@0
    21
	<fo:layout-master-set>
carlos@0
    22
		<fo:simple-page-master master-name="first" margin-left="1cm" page-height="29.7cm" page-width="21cm" margin-top="1.5cm" margin-right="1cm" margin-bottom="0.25cm">
carlos@0
    23
			<fo:region-body margin-left="0cm" margin-right="0cm" margin-bottom="3cm" margin-top="2cm"/>
carlos@0
    24
		</fo:simple-page-master>
carlos@0
    25
	</fo:layout-master-set>
carlos@0
    26
	<fo:page-sequence master-reference="first" initial-page-number="1" force-page-count="no-force">
carlos@0
    27
		<fo:flow font-size="10pt" flow-name="xsl-region-body" font-family="Helvetica">
carlos@0
    28
			<fo:block text-align="center" font-weight="bold">WORK REPORT<fo:inline id="paramTitle">xx</fo:inline>
carlos@0
    29
			</fo:block>
carlos@0
    30
			<DIVFO id="sectionPartner">
carlos@0
    31
				<fo:table table-layout="fixed" space-before.optimum="20pt">
carlos@0
    32
					<fo:table-column column-width="0.5cm"/>
carlos@0
    33
					<fo:table-column column-width="0.5cm"/>
carlos@0
    34
					<fo:table-column column-width="6cm"/>
carlos@0
    35
					<fo:table-column column-width="4cm"/>
carlos@0
    36
					<fo:table-column column-width="3cm"/>
carlos@0
    37
					<fo:table-column column-width="4cm"/>
carlos@0
    38
					<fo:table-column column-width="0.5cm"/>
carlos@0
    39
					<fo:table-column column-width="0.5cm"/>
carlos@0
    40
					<fo:table-body>
carlos@0
    41
						<fo:table-row keep-with-next="always">
carlos@0
    42
							<fo:table-cell number-columns-spanned="8" border-style="solid" border-width="0.5pt">
carlos@0
    43
								<fo:block font-weight="bold" padding-top="2pt" padding-bottom="2pt" start-indent="2pt">Business Partner:<fo:inline id="fieldBpartnername">xx</fo:inline>
carlos@0
    44
								</fo:block>
carlos@0
    45
							</fo:table-cell>
carlos@0
    46
						</fo:table-row>
carlos@0
    47
						<DIVFO id="sectionProject">
carlos@0
    48
							<fo:table-row keep-with-next="always">
carlos@0
    49
								<fo:table-cell number-columns-spanned="8">
carlos@0
    50
									<fo:block id="fieldBlankSpace"/>
carlos@0
    51
								</fo:table-cell>
carlos@0
    52
							</fo:table-row>
carlos@0
    53
							<fo:table-row keep-with-next="always">
carlos@0
    54
								<fo:table-cell>
carlos@0
    55
									<fo:block/>
carlos@0
    56
								</fo:table-cell>
carlos@0
    57
								<fo:table-cell number-columns-spanned="6" border-style="solid" border-width="0.5pt">
carlos@0
    58
									<fo:block font-weight="bold" padding-top="2pt" padding-bottom="2pt" start-indent="2pt">Project:<fo:inline id="fieldProjectname">xx</fo:inline>
carlos@0
    59
									</fo:block>
carlos@0
    60
								</fo:table-cell>
carlos@0
    61
								<fo:table-cell>
carlos@0
    62
									<fo:block font-size="0.1pt" id="fieldMark"/>
carlos@0
    63
								</fo:table-cell>
carlos@0
    64
							</fo:table-row>
carlos@0
    65
							<fo:table-row keep-with-next="always">
carlos@0
    66
								<fo:table-cell number-columns-spanned="2">
carlos@0
    67
									<fo:block/>
carlos@0
    68
								</fo:table-cell>
carlos@0
    69
								<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    70
									<fo:block text-align="left" font-weight="bold" padding-top="2pt" padding-bottom="2pt" start-indent="2pt">Product</fo:block>
carlos@0
    71
								</fo:table-cell>
carlos@0
    72
								<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    73
									<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">Quantity(m2)</fo:block>
carlos@0
    74
								</fo:table-cell>
carlos@0
    75
								<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    76
									<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">Price(_/m2)</fo:block>
carlos@0
    77
								</fo:table-cell>
carlos@0
    78
								<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    79
									<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">Amount(_)</fo:block>
carlos@0
    80
								</fo:table-cell>
carlos@0
    81
								<fo:table-cell number-columns-spanned="2">
carlos@0
    82
									<fo:block/>
carlos@0
    83
								</fo:table-cell>
carlos@0
    84
							</fo:table-row>
carlos@0
    85
							<DIVFO id="sectionDetail">
carlos@0
    86
								<fo:table-row keep-with-next="always">
carlos@0
    87
									<fo:table-cell number-columns-spanned="2">
carlos@0
    88
										<fo:block/>
carlos@0
    89
									</fo:table-cell>
carlos@0
    90
									<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    91
										<fo:block text-align="left" padding-top="2pt" padding-bottom="2pt" start-indent="2pt" id="fieldProductname">Product</fo:block>
carlos@0
    92
									</fo:table-cell>
carlos@0
    93
									<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    94
										<fo:block text-align="end" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldPlannedqty">Quantity</fo:block>
carlos@0
    95
									</fo:table-cell>
carlos@0
    96
									<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    97
										<fo:block text-align="end" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldPlannedprice">Price</fo:block>
carlos@0
    98
									</fo:table-cell>
carlos@0
    99
									<fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   100
										<fo:block text-align="end" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldPlannedpoprice">Amount</fo:block>
carlos@0
   101
									</fo:table-cell>
carlos@0
   102
									<fo:table-cell number-columns-spanned="2">
carlos@0
   103
										<fo:block/>
carlos@0
   104
									</fo:table-cell>
carlos@0
   105
								</fo:table-row>
carlos@0
   106
							</DIVFO>
carlos@0
   107
						</DIVFO>
carlos@0
   108
						<fo:table-row>
carlos@0
   109
							<fo:table-cell number-columns-spanned="3">
carlos@0
   110
								<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">Total business partner:</fo:block>
carlos@0
   111
							</fo:table-cell>
carlos@0
   112
							<fo:table-cell>
carlos@0
   113
								<fo:block text-align="end" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldSubtotalQty"/>
carlos@0
   114
							</fo:table-cell>
carlos@0
   115
							<fo:table-cell number-columns-spanned="2">
carlos@0
   116
								<fo:block text-align="end" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldSubtotalImp"/>
carlos@0
   117
							</fo:table-cell>
carlos@0
   118
							<fo:table-cell number-columns-spanned="2">
carlos@0
   119
								<fo:block/>
carlos@0
   120
							</fo:table-cell>
carlos@0
   121
						</fo:table-row>
carlos@0
   122
					</fo:table-body>
carlos@0
   123
				</fo:table>
carlos@0
   124
			</DIVFO>
carlos@0
   125
			<fo:table space-before.optimum="2cm">
carlos@0
   126
				<fo:table-column column-width="3.75cm"/>
carlos@0
   127
				<fo:table-column column-width="1.25cm"/>
carlos@0
   128
				<fo:table-column column-width="4.5cm"/>
carlos@0
   129
				<fo:table-column column-width="2.5cm"/>
carlos@0
   130
				<fo:table-column column-width="4cm"/>
carlos@0
   131
				<fo:table-column column-width="3cm"/>
carlos@0
   132
				<fo:table-body>
carlos@0
   133
					<fo:table-row>
carlos@0
   134
						<fo:table-cell>
carlos@0
   135
							<fo:block font-weight="bold" text-align="end" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">TOTAL PROJETS:</fo:block>
carlos@0
   136
						</fo:table-cell>
carlos@0
   137
						<fo:table-cell>
carlos@0
   138
							<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldTotalProject">XXTOTAL PROYECTO:</fo:block>
carlos@0
   139
						</fo:table-cell>
carlos@0
   140
						<fo:table-cell>
carlos@0
   141
							<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">TOTAL QUANTITY(m2):</fo:block>
carlos@0
   142
						</fo:table-cell>
carlos@0
   143
						<fo:table-cell>
carlos@0
   144
							<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldTotalQty">xxTOTAL PROYECTO:</fo:block>
carlos@0
   145
						</fo:table-cell>
carlos@0
   146
						<fo:table-cell>
carlos@0
   147
							<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt">TOTAL AMOUNT(_):</fo:block>
carlos@0
   148
						</fo:table-cell>
carlos@0
   149
						<fo:table-cell>
carlos@0
   150
							<fo:block text-align="end" font-weight="bold" padding-top="2pt" padding-bottom="2pt" end-indent="2pt" id="fieldTotalImp">xx</fo:block>
carlos@0
   151
						</fo:table-cell>
carlos@0
   152
					</fo:table-row>
carlos@0
   153
				</fo:table-body>
carlos@0
   154
			</fo:table>
carlos@0
   155
		</fo:flow>
carlos@0
   156
	</fo:page-sequence>
carlos@0
   157
</fo:root>