<office:scripts/>
<office:font-face-decls>
<style:font-facestyle:name="Arial"svg:font-family="Arial"style:font-family-generic="roman"style:font-pitch="variable"/>
<style:font-facestyle:name="Arial Unicode MS"svg:font-family="'Arial
Unicode
MS'"style:font-family-generic="swiss"style:font-pitch="variable"/>
<style:font-facestyle:name="Arial1"svg:font-family="Arial"style:font-family-generic="swiss"/>
<style:font-facestyle:name="Arial2"svg:font-family="Arial"style:font-family-generic="swiss"style:font-pitch="variable"/>
<style:font-facestyle:name="Arial3"svg:font-family="Arial"style:font-family-generic="system"style:font-pitch="variable"/>
<style:font-facestyle:name="Arial4"svg:font-family="Arial,
sans-serif"/>
<style:font-facestyle:name="Helvetica"svg:font-family="Helvetica"style:font-family-generic="swiss"style:font-pitch="variable"/>
<style:font-facestyle:name="Liberation
Mono"svg:font-family="'Liberation
Mono'"style:font-family-generic="modern"style:font-pitch="fixed"/>
<style:font-facestyle:name="Liberation
Sans"svg:font-family="'Liberation
Sans'"style:font-family-generic="swiss"style:font-pitch="variable"/>
<style:font-facestyle:name="Liberation
Serif"svg:font-family="'Liberation
Serif'"style:font-family-generic="roman"style:font-pitch="variable"/>
<style:font-facestyle:name="Microsoft YaHei"svg:font-family="'Microsoft
YaHei'"style:font-family-generic="system"style:font-pitch="variable"/>
<style:font-facestyle:name="NSimSun"svg:font-family="NSimSun"style:font-family-generic="modern"style:font-pitch="fixed"/>
<style:font-facestyle:name="NSimSun1"svg:font-family="NSimSun"style:font-family-generic="system"style:font-pitch="variable"/>
<style:font-facestyle:name="OpenSymbol"svg:font-family="OpenSymbol"style:font-charset="x-symbol"/>
<style:font-facestyle:name="Times New Roman"svg:font-family="'Times New
Roman'"style:font-family-generic="roman"/>
<style:font-facestyle:name="Times New Roman1"svg:font-family="'Times
New
Roman'"style:font-family-generic="roman"style:font-pitch="variable"/>
<style:font-facestyle:name="Trebuchet MS"svg:font-family="'Trebuchet
MS'"style:font-family-generic="swiss"style:font-pitch="variable"/>
</office:font-face-decls>
<office:automatic-styles>
<style:stylestyle:name="P1"style:family="paragraph"style:parent-style-name="Endnote">
<style:text-propertiesofficeooo:rsid="0165e43c"officeooo:paragraph-rsid="000f8faa"/>
</style:style>
<style:stylestyle:name="P2"style:family="paragraph"style:parent-style-name="Endnote">
<style:text-propertiesofficeooo:rsid="0165e43c"officeooo:paragraph-rsid="002d9d43"/>
</style:style>
<style:stylestyle:name="P3"style:family="paragraph"style:parent-style-name="Endnote">
<style:text-propertiesofficeooo:rsid="0165e43c"officeooo:paragraph-rsid="00f89309"/>
Le 21/11/2023 à 09:00, Stéphane Santon a écrit : Bonjour,
Ça, ça ressemble plus au fichier styles.xml, et non content.xml.
Bonne journée
Le 21/11/2023 à 00:51, Pierre-Jean Raugel a écrit : @ Stéphane Santon
Merci,
Après quelques tâtonnements (il y a apparemment plusieurs "content.xml"
dans le dossier dézippé), j'ai obtenu un fichier de 524 pages, dont je
copie un extrait:
<style:stylestyle:name="P153"style:family="paragraph"style:parent-style-name="Text_20_body">
<style:text-propertiesofficeooo:rsid="00435275"officeooo:paragraph-rsid="00ef7816"/>
</style:style>
<style:stylestyle:name="P154"style:family="paragraph"style:parent-style-name="Endnote">
<style:text-propertiesofficeooo:paragraph-rsid="00f3572f"/>
</style:style>
<style:stylestyle:name="P155"style:family="paragraph"style:parent-style-name="Endnote">
<style:text-propertiesofficeooo:paragraph-rsid="00f4fcf8"/>
</style:style>
<style:stylestyle:name="P156"style:family="paragraph"style:parent-style-name="Footnote">
<style:text-propertiesofficeooo:paragraph-rsid="00fc376b"/>
</style:style>
Il y a 447 "Endnote" et 446 "Footnote", mais jamais associés à "text",
alors que text est associé à ce qui ressemble à des polices de
caractères.
Je vais tester demain la procédure suivante:
* remplacer "Endnote" par "Footnote#1"
* remplacer "Footnote " par "Endnote "
* remplacer Footnote#1 par Footnote
Il ne me restera "plus qu"'à comprendre comment repasser du fichier xml
au fichier odt
Bonne nuit.
PJR
Le 20/11/2023 à 23:46, Stéphane Santon a écrit : Je viens de tester...
résultat sympa...
- Renommer le .odt en .zip
- Dézipper dans un dossier
- Ouvrir content.xml
on trouve :
<text:note text:note-class="footnote" text:id="ftn3">
<text:note-citation>2</text:note-citation>
<text:note-body>
<text:p text:style-name="Footnote">
D
<text:span text:style-name="T1">
euxième note de bas de page
</text:span>
</text:p>
</text:note-body>
</text:note>
et
<text:note text:note-class="endnote" text:id="ftn2">
<text:note-citation>i</text:note-citation>
<text:note-body>
<text:p text:style-name="P1">
Ici la note de fin...
</text:p>
</text:note-body>
</text:note>
Donc on inverse les
note-class="footnote"
et les
note-class="endnote"
Mes notes sont bien inversées.
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.