Skip to content

Commit c6b49bb

Browse files
YousefEDareknawo
authored andcommitted
update styles
1 parent eb04674 commit c6b49bb

File tree

19 files changed

+1719
-605
lines changed

19 files changed

+1719
-605
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- `template blocknote.docx` is used as a source file to get the default styles that Word uses (created with Word on Mac)
2+
- the extracted files have been formatted (using vs code xml formatter) so we can see diffs across commits
3+
- the `styles.xml` file is the only file actually used by the docx exporter
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"><manifest:file-entry manifest:full-path="/" manifest:media-type="application/vnd.oasis.opendocument.text"/><manifest:file-entry manifest:full-path="content.xml" manifest:media-type="text/xml"/><manifest:file-entry manifest:full-path="styles.xml" manifest:media-type="text/xml"/><manifest:file-entry manifest:full-path="settings.xml" manifest:media-type="text/xml"/><manifest:file-entry manifest:full-path="meta.xml" manifest:media-type="text/xml"/></manifest:manifest>

packages/xl-odt-exporter/content.xml

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.

packages/xl-odt-exporter/meta.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.4"><office:meta><meta:generator>MicrosoftOffice/15.0 MicrosoftWord</meta:generator><dc:creator>Yousef El-Dardiry</dc:creator><meta:creation-date>2024-12-19T11:26:00Z</meta:creation-date><dc:date>2024-12-19T11:37:00Z</dc:date><meta:template xlink:href="Normal.dotm" xlink:type="simple"/><meta:editing-cycles>4</meta:editing-cycles><meta:editing-duration>PT60S</meta:editing-duration><meta:document-statistic meta:page-count="2" meta:paragraph-count="3" meta:word-count="285" meta:character-count="1910" meta:row-count="13" meta:non-whitespace-character-count="1628"/></office:meta></office:document-meta>

packages/xl-odt-exporter/mimetype

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
application/vnd.oasis.opendocument.text

packages/xl-odt-exporter/settings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<office:document-settings xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:db="urn:oasis:names:tc:opendocument:xmlns:database:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d: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:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.4"/>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
3+
manifest:version="1.3"
4+
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0">
5+
<manifest:file-entry manifest:full-path="/" manifest:version="1.3"
6+
manifest:media-type="application/vnd.oasis.opendocument.text" />
7+
<manifest:file-entry manifest:full-path="Configurations2/"
8+
manifest:media-type="application/vnd.sun.xml.ui.configuration" />
9+
<manifest:file-entry manifest:full-path="manifest.rdf" manifest:media-type="application/rdf+xml" />
10+
<manifest:file-entry manifest:full-path="settings.xml" manifest:media-type="text/xml" />
11+
<manifest:file-entry manifest:full-path="Pictures/100000000000014C0000014CDD284996.jpg"
12+
manifest:media-type="image/jpeg" />
13+
<manifest:file-entry manifest:full-path="meta.xml" manifest:media-type="text/xml" />
14+
<manifest:file-entry manifest:full-path="Thumbnails/thumbnail.png"
15+
manifest:media-type="image/png" />
16+
<manifest:file-entry manifest:full-path="styles.xml" manifest:media-type="text/xml" />
17+
<manifest:file-entry manifest:full-path="content.xml" manifest:media-type="text/xml" />
18+
</manifest:manifest>
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- `template blocknote.odt` is the demo docx export (https://www.blocknotejs.org/examples/interoperability/converting-blocks-to-docx), opened by libreoffice on mac and saved as odt
2+
- the extracted files have been formatted (using vs code xml formatter) so we can see diffs across commits
3+
- the `styles.xml` file is the only file actually used by the odt exporter
Loading

0 commit comments

Comments
 (0)