This commit is contained in:
2026-04-22 21:09:54 +02:00
parent 99782b5b0e
commit 4458871423
7 changed files with 452 additions and 1 deletions

328
modules/stock/coo.fodt Normal file
View File

@@ -0,0 +1,328 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:document
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:ooow="http://openoffice.org/2004/writer"
xmlns:oooc="http://openoffice.org/2004/calc"
xmlns:dom="http://www.w3.org/2001/xml-events"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
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"
style:punctuation-wrap="hanging"
style:line-break="strict"
style:writing-mode="lr-tb"/>
<style:text-properties fo:font-size="8pt"
fo:font-family="Arial, Helvetica, sans-serif"
style:font-size-asian="8pt"
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"
fo:margin-top="1.0cm" fo:margin-bottom="1.0cm"
fo:margin-left="1.2cm" fo:margin-right="1.2cm"
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>
<style:style style:name="ColLeft" style:family="table-column">
<style:table-column-properties style:column-width="9.3cm"/>
</style:style>
<style:style style:name="ColRight" style:family="table-column">
<style:table-column-properties style:column-width="9.3cm"/>
</style:style>
<style:style style:name="ColNarrow" style:family="table-column">
<style:table-column-properties style:column-width="3.5cm"/>
</style:style>
<style:style style:name="ColWide" style:family="table-column">
<style:table-column-properties style:column-width="11.6cm"/>
</style:style>
<style:style style:name="ColNoNum" style:family="table-column">
<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"
style:vertical-align="top"/>
</style:style>
<style:style style:name="CellBorderCenter" style:family="table-cell">
<style:table-cell-properties fo:padding="0.15cm"
fo:border="0.05cm solid #000000"
style:vertical-align="middle"/>
</style:style>
<style:style style:name="CellNoBorderTop" style:family="table-cell">
<style:table-cell-properties fo:padding="0.15cm"
fo:border-left="0.05cm solid #000000"
fo:border-right="0.05cm solid #000000"
fo:border-bottom="0.05cm solid #000000"
fo:border-top="none"
style:vertical-align="top"/>
</style:style>
<style:style style:name="CellTall" style:family="table-cell">
<style:table-cell-properties fo:padding="0.15cm"
fo:border="0.05cm solid #000000"
style:vertical-align="top"
style:min-row-height="6cm"/>
</style:style>
<style:style style:name="CellTallRight" style:family="table-cell">
<style:table-cell-properties fo:padding="0.15cm"
fo:border="0.05cm solid #000000"
style:vertical-align="bottom"
style:min-row-height="6cm"/>
</style:style>
<style:style style:name="CellSignature" style:family="table-cell">
<style:table-cell-properties fo:padding="0.15cm"
fo:border="0.05cm solid #000000"
style:vertical-align="bottom"
style:min-row-height="3.5cm"/>
</style:style>
</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"/>
</style:style>
<style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center"/>
</style:style>
<style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center"/>
<style:text-properties fo:font-size="7pt" fo:font-style="italic"/>
</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>
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_exporter or &apos;&apos;&gt;</text:placeholder></text:p>
<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">&lt;records[0].report_coo_number or &apos;&apos;&gt;</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>
<text:p text:style-name="DocTitle">CERTIFICATO D'ORIGINE</text:p>
<text:p text:style-name="DocTitle">CERTIFICATE OF ORIGIN</text:p>
</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>
<text:p text:style-name="CellSubLabel">Empfänger / Destinatario / Consignee</text:p>
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_consignee or &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
</table:table-cell>
<table:table-cell table:style-name="CellBorderCenter" office:value-type="string">
<text:p text:style-name="ConfTitle">CONFÉDÉRATION SUISSE</text:p>
<text:p text:style-name="ConfTitle">SCHWEIZERISCHE EIDGENOSSENSCHAFT</text:p>
<text:p text:style-name="ConfTitle">CONFEDERAZIONE SVIZZERA</text:p>
<text:p text:style-name="ConfTitle">SWISS CONFEDERATION</text:p>
</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>
<text:p text:style-name="CellSubLabel">Angaben über die Beförderung (Ausfüllung freigestellt)</text:p>
<text:p text:style-name="CellSubLabel">Informazioni riguardanti il trasporto (indicazione facoltativa)</text:p>
<text:p text:style-name="CellSubLabel">Particulars of transport (optional declaration)</text:p>
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_transport or &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"> </text:p>
</table:table-cell>
<table:table-cell table:style-name="CellBorder" office:value-type="string">
<text:p text:style-name="CellLabel">Pays d'origine</text:p>
<text:p text:style-name="CellSubLabel">Ursprungsland / Paese d'origine / Country of origin</text:p>
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_origin_country or &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="CellLabel">Observations</text:p>
<text:p text:style-name="CellSubLabel">Bemerkungen / Osservazioni / Observations</text:p>
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_observations or &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
</table:table-cell>
</table:table-row>
</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>
<text:p text:style-name="CellSubLabel">Zeichen, Nummern, Anzahl und Art der Packstücke; Warenbezeichnung</text:p>
<text:p text:style-name="CellSubLabel">Marche, numeri, numero e natura dei colli; designazione delle merci</text:p>
<text:p text:style-name="CellSubLabel">Marks, numbers, number and kind of packages; description of the goods</text:p>
</table:table-cell>
<table:table-cell table:style-name="CellBorder" office:value-type="string">
<text:p text:style-name="CellLabel">Poids net</text:p>
<text:p text:style-name="CellSubLabel">Nettogewicht</text:p>
<text:p text:style-name="CellSubLabel">Peso netto</text:p>
<text:p text:style-name="CellSubLabel">Net weight</text:p>
<text:p text:style-name="CellSubLabel">kg, l, m², etc.</text:p>
</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">&lt;records[0].report_coo_goods_description or &apos;&apos;&gt;</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">&lt;records[0].report_coo_net_weight or &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"><text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_gross_weight or &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="CellLabel">Poids brut</text:p>
<text:p text:style-name="CellSubLabel">Bruttogewicht</text:p>
<text:p text:style-name="CellSubLabel">Peso lordo</text:p>
<text:p text:style-name="CellSubLabel">Gross weight</text:p>
</table:table-cell>
</table:table-row>
</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>
<text:p text:style-name="CellSubLabel">Die unterzeichnete Handelskammer bescheinigt den Ursprung oben bezeichneter Ware</text:p>
<text:p text:style-name="CellSubLabel">La sottoscritta Camera di commercio certifica l'origine delle merci summenzionate</text:p>
<text:p text:style-name="CellSubLabel">The undersigned Chamber of commerce certifies the origin of the above mentioned goods</text:p>
</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>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="CellLabel">Genève, le <text:placeholder text:placeholder-type="text">&lt;records[0].report_coo_issue_date or &apos;&apos;&gt;</text:placeholder></text:p>
</table:table-cell>
<table:table-cell table:style-name="CellSignature" office:value-type="string">
<text:p text:style-name="FooterText">Chambre de commerce, d'industrie et des services de Genève</text:p>
<text:p text:style-name="FooterText">Genfer Industrie-, Dienstleistungs- und Handelskammer</text:p>
<text:p text:style-name="FooterText">Camera di commercio, dell'industria e dei servizi di Ginevra</text:p>
<text:p text:style-name="FooterText">Chamber of commerce, industry and services of Geneva</text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
<text:p text:style-name="Standard"> </text:p>
</table:table-cell>
</table:table-row>
</table:table>
</office:text>
</office:body>
</office:document>