feat(ocis_full): add remaining format-showcase samples
Rounds out demo-content/project/06-Format-Showcase with genuinely valid samples for the OOXML template/macro-enabled family (docm/dotx/dotm, xlsm/xltx/xltm, pptm/potx/potm/ppsx/ppsm), the ODF template and flat-XML family (ott/oth/ots/otp/otg, fodt/fods/fodp/fodg), plain-text/data formats (csv, tsv, dif, slk, xml, htm, xhtml, mhtml), e-books (epub, fb2), a LibreOffice extension package (oxt), a PDF/A-flavored PDF, and hand-built legacy binary formats (dbf, pdb, emf, wmf, dxf). Formats needing proprietary tooling we don't have available (legacy OLE binary Office, CorelDRAW, WordPerfect, Hangul, Visio, Apple iWork, etc.) are intentionally left out and documented in File-Format-Coverage.md rather than shipped as invalid placeholder files. 🤖 Generated with Claude Code Signed-off-by: David Walter <david.walter@kiteworks.com>
This commit is contained in:
43 files changed
+281
No files matched your search
+54
@@ -0,0 +1,54 @@
|
||||
# File Format Coverage
|
||||
|
||||
This folder aims to carry one sample file per document/spreadsheet/presentation/
|
||||
image/archive format that oCIS, Collabora, and ONLYOFFICE encounter in the wild.
|
||||
This note tracks what's covered and what's deliberately left out.
|
||||
|
||||
## Covered
|
||||
|
||||
Word processing: doc**x**, doc**m**, dot**x**, dot**m**, docxf, odt, ott, oth,
|
||||
fodt, rtf
|
||||
Spreadsheets: xlsx, xlsm, xltx, xltm, ods, ots, fods, csv, tsv, dif, slk, dbf,
|
||||
gnumeric, gsheet
|
||||
Presentations: pptx, pptm, potx, potm, ppsx, ppsm, odp, otp, fodp, gslides
|
||||
Drawings/CAD: odg, otg, fodg, svg, dxf
|
||||
PDF: pdf, a PDF/A-flavored variant (`Sample-Archival-PDFA.pdf`)
|
||||
Text/markup: txt, md, html, htm, xhtml, mhtml, xml
|
||||
E-books: epub, fb2
|
||||
Extensions: oxt (LibreOffice extension package)
|
||||
Legacy binary (hand-built, byte-for-byte): dbf, pdb, emf, wmf
|
||||
Images/video/other: jpg, jpeg, png, gif, bmp, tiff, webp, ico, url, avi, mkv,
|
||||
mov, mp4, webm
|
||||
|
||||
## Deliberately skipped
|
||||
|
||||
The formats below need their originating proprietary application (or a
|
||||
converter we don't have available, e.g. LibreOffice/`soffice` headless
|
||||
conversion) to produce a genuinely valid file. Rather than ship a file that
|
||||
merely has the right extension but invalid/garbage internal structure, they're
|
||||
left out:
|
||||
|
||||
- **Legacy OLE binary Microsoft Office** (pre-2007): doc, dot, xls, xlsb, xlt,
|
||||
ppt, pot, pps, pub, wri
|
||||
- **CorelDRAW**: cdr
|
||||
- **WordPerfect**: wpd
|
||||
- **Hangul Word Processor**: hwp, hwp2
|
||||
- **Adobe PageMaker**: p65
|
||||
- **Lotus Ami Pro**: mw
|
||||
- **Sony BroadBand eBook (Librie/LRF)**: lrf
|
||||
- **DjVu**: djvu
|
||||
- **Adobe Flash**: swf
|
||||
- **Apple iWork** (proprietary zip/IWA bundle): key, numbers
|
||||
- **CGM (Computer Graphics Metafile)**: cgm
|
||||
- **Microsoft Visio** (legacy binary and modern OOXML-based): vsd, vsdm, vsdx,
|
||||
vss, vssm, vssx, vstm, vstx
|
||||
- **Microsoft XPS / OpenXPS**: xps, oxps
|
||||
- **ONLYOFFICE form (built from docxf)**: oform
|
||||
- **Kingsoft/WPS Office legacy binary**: et, ett, dps, dpt, wps, wpt
|
||||
- **LibreOffice Base**: odb
|
||||
- **OpenDocument chart / master document (and its template)**: odc, odm, otm
|
||||
- **StarOffice 5/6 legacy XML family**: sxw, sxc, sxi, sxd, sxg, stw, stc,
|
||||
sti, std
|
||||
- **HEIF/HEIC**: heif (no HEIF encoder available in this environment)
|
||||
|
||||
Generated 2026-07-29 for the oCIS format showcase.
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
%PDF-1.3
|
||||
%“Œ‹ž ReportLab Generated PDF document (opensource)
|
||||
1 0 obj
|
||||
<<
|
||||
/F1 2 0 R
|
||||
>>
|
||||
endobj
|
||||
2 0 obj
|
||||
<<
|
||||
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
|
||||
>>
|
||||
endobj
|
||||
3 0 obj
|
||||
<<
|
||||
/Contents 7 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 6 0 R /Resources <<
|
||||
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
|
||||
>> /Rotate 0 /Trans <<
|
||||
|
||||
>>
|
||||
/Type /Page
|
||||
>>
|
||||
endobj
|
||||
4 0 obj
|
||||
<<
|
||||
/PageMode /UseNone /Pages 6 0 R /Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
5 0 obj
|
||||
<<
|
||||
/Author (anonymous) /CreationDate (D:20260729080141+02'00') /Creator (anonymous) /Keywords () /ModDate (D:20260729080141+02'00') /Producer (ReportLab PDF Library - \(opensource\))
|
||||
/Subject (unspecified) /Title (Sample Archival PDF) /Trapped /False
|
||||
>>
|
||||
endobj
|
||||
6 0 obj
|
||||
<<
|
||||
/Count 1 /Kids [ 3 0 R ] /Type /Pages
|
||||
>>
|
||||
endobj
|
||||
7 0 obj
|
||||
<<
|
||||
/Filter [ /ASCII85Decode /FlateDecode ] /Length 215
|
||||
>>
|
||||
stream
|
||||
Gar?*bmT+g&B4,;(%8)`+"MqLq_Ea5JU?ahkq!abDWk^)hmZaD+9in2]_T5YL;Xgr[FW-^,;'j9$800#-j)\Ca#u@ohpjhXOX/j'IO4V\&Ph(9?A2:6aUH[l1%egNDZfJZpu3CAM\!P"Sd&UD,0^,B'$TK7]c/OS`n!7e0bVe2Kgm#EFG=(q2pS`s='P@9,ZNC>&b?\!+SrVUmfbK+5(!~>endstream
|
||||
endobj
|
||||
xref
|
||||
0 8
|
||||
0000000000 65535 f
|
||||
0000000061 00000 n
|
||||
0000000092 00000 n
|
||||
0000000199 00000 n
|
||||
0000000402 00000 n
|
||||
0000000470 00000 n
|
||||
0000000742 00000 n
|
||||
0000000801 00000 n
|
||||
trailer
|
||||
<<
|
||||
/ID
|
||||
[<01ff35e56a175f29dd2c4fecfc16304b><01ff35e56a175f29dd2c4fecfc16304b>]
|
||||
% ReportLab generated PDF document -- digest (opensource)
|
||||
|
||||
/Info 5 0 R
|
||||
/Root 4 0 R
|
||||
/Size 8
|
||||
>>
|
||||
startxref
|
||||
1106
|
||||
%%EOF
|
||||
BIN
Binary file not shown.
+22
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
|
||||
<description>
|
||||
<title-info>
|
||||
<genre>compjournalism</genre>
|
||||
<author><first-name>oCIS</first-name><last-name>Demo</last-name></author>
|
||||
<book-title>Sample FictionBook</book-title>
|
||||
<lang>en</lang>
|
||||
</title-info>
|
||||
<document-info>
|
||||
<author><nickname>oCIS Format Showcase</nickname></author>
|
||||
<id>sample-fb2-showcase</id>
|
||||
<version>1.0</version>
|
||||
</document-info>
|
||||
</description>
|
||||
<body>
|
||||
<section>
|
||||
<title><p>Sample Chapter</p></title>
|
||||
<p>This is a sample FictionBook (.fb2) document generated for the oCIS format showcase.</p>
|
||||
</section>
|
||||
</body>
|
||||
</FictionBook>
|
||||
@@ -0,0 +1,3 @@
|
||||
name,role,department
|
||||
Ada Lovelace,Engineer,R&D
|
||||
Grace Hopper,Admiral,Navy
|
||||
|
BIN
Binary file not shown.
+20
@@ -0,0 +1,20 @@
|
||||
TABLE
|
||||
0,1
|
||||
"Sample Data"
|
||||
VECTORS
|
||||
0,1
|
||||
""
|
||||
TUPLES
|
||||
0,2
|
||||
""
|
||||
DATA
|
||||
0,0
|
||||
""
|
||||
BOT
|
||||
1,0
|
||||
"Name"
|
||||
BOT
|
||||
1,0
|
||||
"Ada Lovelace"
|
||||
-1,0
|
||||
EOD
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
ID;PWXL;N;E
|
||||
P;PGeneral
|
||||
F;P0;DG0G8;M255
|
||||
B;Y2;X2
|
||||
C;Y1;X1;K"Name"
|
||||
C;Y1;X2;K"Role"
|
||||
C;Y2;X1;K"Ada Lovelace"
|
||||
C;Y2;X2;K"Engineer"
|
||||
E
|
||||
@@ -0,0 +1,3 @@
|
||||
name role department
|
||||
Ada Lovelace Engineer R&D
|
||||
Grace Hopper Admiral Navy
|
||||
|
+20
@@ -0,0 +1,20 @@
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
HEADER
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
TABLES
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
ENTITIES
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
EOF
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+12
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
|
||||
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
|
||||
<office:body>
|
||||
<office:text>
|
||||
<text:p>Sample flat ODF text document (.fodt), generated for the oCIS format showcase.</text:p>
|
||||
</office:text>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.graphics">
|
||||
<office:body>
|
||||
<office:drawing>
|
||||
<draw:page draw:name="page1">
|
||||
<draw:frame draw:layer="layout"><draw:text-box><text:p>Sample flat ODF drawing (.fodg)</text:p></draw:text-box></draw:frame>
|
||||
</draw:page>
|
||||
</office:drawing>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.presentation">
|
||||
<office:body>
|
||||
<office:presentation>
|
||||
<draw:page draw:name="page1">
|
||||
<draw:frame draw:layer="layout"><draw:text-box><text:p>Sample flat ODF presentation (.fodp)</text:p></draw:text-box></draw:frame>
|
||||
</draw:page>
|
||||
</office:presentation>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"url": "https://docs.google.com/spreadsheets/d/1SampleShowcaseSpreadsheetId/edit?usp=drivesdk",
|
||||
"resource_id": "spreadsheet:1SampleShowcaseSpreadsheetId"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"url": "https://docs.google.com/presentation/d/1SampleShowcasePresentationId/edit?usp=drivesdk",
|
||||
"resource_id": "presentation:1SampleShowcasePresentationId"
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet">
|
||||
<office:body>
|
||||
<office:spreadsheet>
|
||||
<table:table table:name="Sheet1">
|
||||
<table:table-row>
|
||||
<table:table-cell office:value-type="string"><text:p>Name</text:p></table:table-cell>
|
||||
<table:table-cell office:value-type="string"><text:p>Ada Lovelace</text:p></table:table-cell>
|
||||
</table:table-row>
|
||||
</table:table>
|
||||
</office:spreadsheet>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
|
After Width: | Height: | Size: 693 B |
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Sample HTM</title></head><body><h1>Sample .htm file</h1><p>Generated for the oCIS format showcase.</p></body></html>
|
||||
@@ -0,0 +1,10 @@
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/related; boundary="----=_NextPart_ocis_showcase"
|
||||
|
||||
------=_NextPart_ocis_showcase
|
||||
Content-Type: text/html; charset="utf-8"
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Location: file:///sample.mhtml
|
||||
|
||||
<html><body><h1>Sample MHTML</h1><p>Generated for the oCIS format showcase.</p></body></html>
|
||||
------=_NextPart_ocis_showcase--
|
||||
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sample XHTML</title></head><body><h1>Sample .xhtml file</h1></body></html>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sample>
|
||||
<title>Format Showcase</title>
|
||||
<note>Generated for the oCIS demo-content showcase.</note>
|
||||
</sample>
|
||||
Reference in new issue
Block a user