coo report
This commit is contained in:
@@ -27,10 +27,7 @@
|
||||
office:version="1.3"
|
||||
office:mimetype="application/vnd.oasis.opendocument.text">
|
||||
|
||||
<!-- ═══════════════════════════════ STYLES ═══════════════════════════════ -->
|
||||
<office:styles>
|
||||
|
||||
<!-- Default paragraph style -->
|
||||
<style:default-style style:family="paragraph">
|
||||
<style:paragraph-properties fo:hyphenation-ladder-count="no-limit"
|
||||
style:text-autospace="ideograph-alpha"
|
||||
@@ -43,40 +40,33 @@
|
||||
style:font-size-complex="8pt"/>
|
||||
</style:default-style>
|
||||
|
||||
<!-- Standard paragraph -->
|
||||
<style:style style:name="Standard" style:family="paragraph" style:class="text">
|
||||
<style:text-properties fo:font-size="8pt" fo:font-family="Arial"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Cell label style (small, bold, multilingual) -->
|
||||
<style:style style:name="CellLabel" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties fo:font-size="7pt" fo:font-weight="bold" fo:font-family="Arial"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Cell sublabel style (small italic, secondary languages) -->
|
||||
<style:style style:name="CellSubLabel" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties fo:font-size="6.5pt" fo:font-style="italic" fo:font-family="Arial"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Title style (big, bold) -->
|
||||
<style:style style:name="DocTitle" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:text-align="left"/>
|
||||
<style:text-properties fo:font-size="12pt" fo:font-weight="bold" fo:font-family="Arial"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Confederation title style -->
|
||||
<style:style style:name="ConfTitle" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:text-align="left"/>
|
||||
<style:text-properties fo:font-size="9pt" fo:font-weight="bold" fo:font-family="Arial"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Footer text style -->
|
||||
<style:style style:name="FooterText" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:text-align="center"/>
|
||||
<style:text-properties fo:font-size="7.5pt" fo:font-family="Arial"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Page layout -->
|
||||
<style:page-layout style:name="PageLayout">
|
||||
<style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm"
|
||||
style:print-orientation="portrait"
|
||||
@@ -85,10 +75,7 @@
|
||||
style:writing-mode="lr-tb"/>
|
||||
</style:page-layout>
|
||||
|
||||
<!-- Master page -->
|
||||
<style:master-page style:name="Standard" style:page-layout-name="PageLayout"/>
|
||||
|
||||
<!-- Table styles -->
|
||||
<style:style style:name="MainTable" style:family="table">
|
||||
<style:table-properties style:width="18.601cm" fo:margin-left="0cm"/>
|
||||
</style:style>
|
||||
@@ -109,7 +96,6 @@
|
||||
<style:table-column-properties style:column-width="2.1cm"/>
|
||||
</style:style>
|
||||
|
||||
<!-- Cell styles -->
|
||||
<style:style style:name="CellBorder" style:family="table-cell">
|
||||
<style:table-cell-properties fo:padding="0.15cm"
|
||||
fo:border="0.05cm solid #000000"
|
||||
@@ -149,7 +135,6 @@
|
||||
|
||||
</office:styles>
|
||||
|
||||
<!-- ═══════════════════════════════ AUTOMATIC STYLES ═══════════════════════════════ -->
|
||||
<office:automatic-styles>
|
||||
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:text-align="right"/>
|
||||
@@ -163,22 +148,12 @@
|
||||
</style:style>
|
||||
</office:automatic-styles>
|
||||
|
||||
<!-- ═══════════════════════════════ BODY ═══════════════════════════════ -->
|
||||
<office:body>
|
||||
<office:text>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════════════════
|
||||
MAIN TABLE — mirrors the official Swiss CoO layout
|
||||
══════════════════════════════════════════════════════════════ -->
|
||||
<table:table table:name="COO" table:style-name="MainTable">
|
||||
|
||||
<!-- Column definitions -->
|
||||
<table:table-column table:style-name="ColLeft"/>
|
||||
<table:table-column table:style-name="ColRight"/>
|
||||
|
||||
<!-- ─── ROW 1 : Exporter (left) | Title + No. (right) ─── -->
|
||||
<table:table-row>
|
||||
<!-- Exporter -->
|
||||
<table:table-cell table:style-name="CellBorder" office:value-type="string">
|
||||
<text:p text:style-name="CellLabel">Exportateur</text:p>
|
||||
<text:p text:style-name="CellSubLabel">Exporteur / Esportatore / Exporter</text:p>
|
||||
@@ -186,9 +161,7 @@
|
||||
<text:p text:style-name="Standard"> </text:p>
|
||||
<text:p text:style-name="Standard"> </text:p>
|
||||
</table:table-cell>
|
||||
<!-- Title block + No. -->
|
||||
<table:table-cell table:style-name="CellBorderCenter" office:value-type="string">
|
||||
<!-- No. line at top right -->
|
||||
<text:p text:style-name="P1"><text:span>No. / Nr. : <text:placeholder text:placeholder-type="text"><records[0].report_coo_number or ''></text:placeholder></text:span></text:p>
|
||||
<text:p text:style-name="DocTitle">CERTIFICAT D'ORIGINE</text:p>
|
||||
<text:p text:style-name="DocTitle">URSPRUNGSZEUGNIS</text:p>
|
||||
@@ -197,7 +170,6 @@
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
|
||||
<!-- ─── ROW 2 : Consignee (left) | Swiss Confederation (right) ─── -->
|
||||
<table:table-row>
|
||||
<table:table-cell table:style-name="CellBorder" office:value-type="string">
|
||||
<text:p text:style-name="CellLabel">Destinataire</text:p>
|
||||
@@ -214,7 +186,6 @@
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
|
||||
<!-- ─── ROW 3 : Transport info (left) | Country of origin + Observations (right, split) ─── -->
|
||||
<table:table-row>
|
||||
<table:table-cell table:style-name="CellBorder" office:value-type="string">
|
||||
<text:p text:style-name="CellLabel">Informations relatives au transport (mention facultative)</text:p>
|
||||
@@ -239,14 +210,9 @@
|
||||
|
||||
</table:table>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════════════════
|
||||
GOODS TABLE — 3 columns: Marks/goods | Net weight | Gross weight
|
||||
══════════════════════════════════════════════════════════════ -->
|
||||
<table:table table:name="Goods" table:style-name="MainTable">
|
||||
<table:table-column table:style-name="ColWide"/>
|
||||
<table:table-column table:style-name="ColNarrow"/>
|
||||
|
||||
<!-- Header row -->
|
||||
<table:table-row>
|
||||
<table:table-cell table:style-name="CellBorder" office:value-type="string">
|
||||
<text:p text:style-name="CellLabel">Marques, numéros, nombre et nature des colis ; désignation des marchandises</text:p>
|
||||
@@ -263,13 +229,11 @@
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
|
||||
<!-- Goods description rows — tall empty cells -->
|
||||
<table:table-row table:style-name="ro1">
|
||||
<table:table-cell table:style-name="CellTall" office:value-type="string">
|
||||
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text"><records[0].report_coo_goods_description or ''></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="CellTall" office:value-type="string">
|
||||
<!-- Poids brut at bottom of net weight column -->
|
||||
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text"><records[0].report_coo_net_weight or ''></text:placeholder></text:p>
|
||||
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text"><records[0].report_coo_gross_weight or ''></text:placeholder></text:p>
|
||||
<text:p text:style-name="Standard"> </text:p>
|
||||
@@ -285,14 +249,9 @@
|
||||
|
||||
</table:table>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════════════════
|
||||
CERTIFICATION BLOCK
|
||||
══════════════════════════════════════════════════════════════ -->
|
||||
<table:table table:name="Cert" table:style-name="MainTable">
|
||||
<table:table-column table:style-name="ColLeft"/>
|
||||
<table:table-column table:style-name="ColRight"/>
|
||||
|
||||
<!-- Certification statement -->
|
||||
<table:table-row>
|
||||
<table:table-cell table:number-columns-spanned="2" table:style-name="CellBorder" office:value-type="string">
|
||||
<text:p text:style-name="CellLabel">La Chambre de commerce soussignée certifie l'origine des marchandises désignées ci-dessus</text:p>
|
||||
@@ -302,7 +261,6 @@
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
|
||||
<!-- Signature row: date left | Chamber seal + signature right -->
|
||||
<table:table-row>
|
||||
<table:table-cell table:style-name="CellSignature" office:value-type="string">
|
||||
<text:p text:style-name="Standard"> </text:p>
|
||||
|
||||
Reference in New Issue
Block a user