Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ To undo it, remove the entries in Windows Security → App & browser control →
| **Images**: JPG, PNG, WEBP, AVIF, TIFF, BMP, GIF, APNG, ICO, ICNS, JPEG XL, JPEG 2000, PSD/PSB, TGA, PPM, HEIC, QOI, DDS, PCX, MNG, CUR, …;<br>camera RAW (CR2, CR3, NEF, ARW, DNG, …), DICOM, OpenEXR, HDR, FITS, SRTM elevation tiles (HGT), JPEG XR (Windows), iPhone Live Photo (LIVP), Insta360 INSP, Windows program icons (EXE, DLL), Valve Texture VTF (Source engine, Garry's Mod), Blizzard Texture BLP (Warcraft III, World of Warcraft), animated cursor (ANI) read;<br>GIMP XCF and Paint.NET PDN (layers kept between XCF, PDN and PSD) | any of these (HEIC⁵), GIMP XCF, Paint.NET PDN, VTF, PDF, SVG (traced), resized, grayscale;<br>Live/Motion Photos (iPhone, Android) → their video (MP4, MOV⁵), and a video → Live Photo (iPhone) or Motion Photo (Android)⁵, experimental |
| **Vector**: SVG, SVGZ, EMF, WMF, AI<br>EPS, PS¹<br>CDR, VSD, CGM, ODG, FODG²<br>Obsidian Canvas (JSON Canvas), embroidery designs (Tajima DST, Janome JEF) read | PDF (vector), PNG and other images,<br>SVG ↔ SVGZ, SVG → DXF/DWG, PDF → EPS/PS¹, SVG → EMF, WMF, ODG²;<br>Obsidian Canvas → its text as Markdown |
| **PDF** | DOCX, XLSX (tables), HWPX, TXT, PNG, JPG, TIFF, CBZ, PPTX (a picture of each page), SVG², PDF/A¹;<br>merge (in an order you choose first), split (by pages, every N pages or into equal parts), page ranges, compress (smaller PDFs) |
| **Documents**: DOCX, DOCM, DOTX, EML, Outlook MSG;<br>OFD (Chinese e-invoices, official documents) read<br>DOC, ODT, FODT, OTT, RTF, WPS, WPD, Pages, ClarisWorks, MacWrite, T602, …² | PDF, DOCX, HWPX, EPUB, TXT, HTML;<br>DOCX, HTML tables → XLSX, ODS, CSV;<br>MSG → EML<br>ODT, FODT, OTT² |
| **Documents**: DOCX, DOCM, DOTX, EML, Outlook MSG;<br>OFD (Chinese e-invoices, official documents), Word backup (WBK: DOCX built in, DOC²) read<br>DOC, ODT, FODT, OTT, RTF, WPS, WPD, Pages, ClarisWorks, MacWrite, T602, …² | PDF, DOCX, HWPX, EPUB, TXT, HTML;<br>DOCX, HTML tables → XLSX, ODS, CSV;<br>MSG → EML<br>ODT, FODT, OTT² |
| **Spreadsheets**: XLSX, XLSM, XLS, XLT, ODS, CSV, TSV<br>OTS, FODS, Numbers, ET² | PDF, XLSX, ODS, CSV, TSV, JSON, HWPX, HTML<br>XLT, OTS² |
| **Presentations**: PPTX, PPTM, POTX, POTM, PPSX<br>PPT, ODP, OTP, FODP, Keynote² | PDF, PNG, JPG, DOCX, HWPX, Markdown (a section per slide, for reveal.js)<br>OTP² |
| **HWP**: HWP, HWPX | PDF, PNG, DOCX, HWPX ↔ HWP, TXT, Markdown, HTML |
Expand Down
17 changes: 17 additions & 0 deletions docs/ENGINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,23 @@ signed again is opened again, up to 8 deep. Envelopes over 512 MB are refused.
envelope (`error.p7m_encrypted`: EnvelopedData, only the recipient's key opens it) and anything that isn't a
SignedData (`error.p7m_unreadable`).

## Word backup copies (.wbk)

A `.wbk` (#1840) is the backup copy Microsoft Word keeps when "Always create backup copy" is enabled: either an
ordinary DOCX (a ZIP containing `word/document.xml`) or, when the original was a `.doc`, an OLE compound file
(`D0 CF 11 E0 A1 B1 1A E1`) holding a Word 97–2003 document. `Office/WordBackupConverter.cs` (engine id `word-backup`)
implements `IEnvelopeOpener` with edges `wbk → docx` and `wbk → doc`:

- **Format detection**: reads the first 8 bytes. `PK\x03\x04` with `word/document.xml` in the ZIP resolves to `docx`;
the OLE signature resolves to `doc`. Anything else (including empty files or non-Word ZIPs) is refused with
`error.wbk_not_word`.
- **The route**: `JobQueue` asks `InnerFormat` before planning and `RoutePlanner.PlanThrough` prepends the copy step
(`wbk → docx` or `wbk → doc`, written unchanged via a temp file and move) to the normal `docx` or `doc` route. DOCX
backups work out of the box through all built-in and optional DOCX engines; DOC backups convert through LibreOffice
(and report the missing `doc` route when LibreOffice is not installed).
- **Names**: `.wbk` is not in `FormatRegistry.Envelopes`, so `Backup of Report.wbk` becomes `Backup of Report.docx` (or
`.pdf`, etc.).

## Data (JSON, YAML, TOML, XML, CSV, vCard, iCalendar, property lists)

`Data/DataConverter.cs` (engine id `data`) reads every format into one tree (`Data/DataTree.cs`: objects with their
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"error.p7m_encrypted": "ملف .p7m هذا مشفّر وليس موقّعًا فقط: لا يفتحه إلا مفتاح المستلم",
"error.p7m_unknown_content": "الملف داخل ملف .p7m هذا من نوع لا يحوّله Filee",
"error.p7m_too_large": "الملف الموقّع أكبر من أن يُفتح",
"error.wbk_not_word": "ملف .wbk هذا لا يحتوي على مستند Word.",
"error.document_too_large": "يتوسّع هذا المستند إلى بيانات أكثر من اللازم أو أنه متداخل بعمق شديد بحيث لا يمكن فتحه بأمان",
"format_request.request": "طلب دعم هذه الصيغة",
"format_request.notice_title": "لا يستطيع Filee تحويل ملفات {0} بعد",
Expand Down Expand Up @@ -268,6 +269,8 @@
"engine.email.description": "تحويل رسائل البريد (EML وOutlook MSG) إلى HTML ونص مع المرسل والمستلمين والتاريخ والصور، وتجميع المرفقات في ZIP.\nتحويل MSG إلى EML، وصفحات الويب المحفوظة (MHTML) إلى ملف HTML واحد مع صورها.",
"engine.p7m.name": "Signed files (built-in)",
"engine.p7m.description": "يستخرج الملف الموقّع من ملف .p7m (CMS / PKCS #7: الفواتير الإلكترونية الإيطالية وملفات PDF الموقّعة) ثم يحوّله. لا يُتحقَّق من التوقيع ولا يبقى في الناتج: احتفظ بملف .p7m كإثبات.",
"engine.word-backup.name": "Word backups (built-in)",
"engine.word-backup.description": "يفتح نُسخ Word الاحتياطية (.wbk) بصيغة DOCX أو Word 97–2003 DOC التي بداخلها ثم يحوّلها.",
"engine.data.name": "Data (built-in)",
"engine.data.description": "التحويل بين JSON وJSON Lines وYAML وTOML وXML وCSV.\nتحويل جهات اتصال vCard وأحداث iCalendar إلى CSV والعكس.\nتُحذف التعليقات. تدعم CSV البيانات الجدولية فقط.",
"engine.vector.name": "Vector graphics (built-in)",
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/bn-BD.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"error.p7m_encrypted": "এই .p7m শুধু স্বাক্ষরিত নয়, এনক্রিপ্টও করা: কেবল প্রাপকের কী দিয়ে এটি খোলা যায়",
"error.p7m_unknown_content": "এই .p7m-এর ভেতরের ফাইলটি এমন ধরনের যা ফাইলি রূপান্তর করে না",
"error.p7m_too_large": "স্বাক্ষরিত ফাইলটি খোলার জন্য অতিরিক্ত বড়",
"error.wbk_not_word": "এই .wbk ফাইলটিতে কোনো Word নথি নেই।",
"error.document_too_large": "এই নথিটি খুললে অতিরিক্ত ডেটা তৈরি হয় বা এটি অতিরিক্ত গভীরভাবে নেস্ট করা, তাই নিরাপদে খোলা যাচ্ছে না",
"format_request.request": "এই ফরম্যাটের অনুরোধ করুন",
"format_request.notice_title": "ফাইলি এখনও {0} ফাইল রূপান্তর করতে পারে না",
Expand Down Expand Up @@ -282,6 +283,8 @@
"engine.email.description": "ই-মেইল (EML, Outlook MSG) থেকে প্রেরক, প্রাপক ও তারিখসহ এইচটিএমএল এবং টেক্সটে রূপান্তর, ছবিসহ; সংযুক্ত ফাইলগুলো একটি ZIP-এ।\nMSG থেকে EML। সংরক্ষিত ওয়েব পেজ (Mএইচটিএমএল) ছবিসহ একটি একক এইচটিএমএল ফাইলে।",
"engine.p7m.name": "স্বাক্ষরিত ফাইল (বিল্ট-ইন)",
"engine.p7m.description": ".p7m (CMS / PKCS #7: ইতালীয় ই-ইনভয়েস, স্বাক্ষরিত PDF) থেকে স্বাক্ষরিত ফাইলটি বের করে রূপান্তর করে। স্বাক্ষর যাচাই করা বা রাখা হয় না: প্রমাণ হিসেবে .p7m ফাইলটি রেখে দিন।",
"engine.word-backup.name": "Word ব্যাকআপ (বিল্ট-ইন)",
"engine.word-backup.description": "Word ব্যাকআপ কপি (.wbk) ভেতরের DOCX বা Word 97–2003 DOC হিসেবে খুলে রূপান্তর করে।",
"engine.data.name": "উপাত্ত/ডেটা (বিল্ট-ইন)",
"engine.data.description": "JSON, JSON Lines, YAML, TOML, XML এবং CSV একে অপরে রূপান্তর।\nvCard পরিচিতি ও iCalendar ইভেন্ট CSV-তে এবং বিপরীতে।\nমন্তব্য বাদ দেওয়া হয়। CSV কেবল সারণি ধারণ করে।",
"engine.vector.name": "ভেক্টর গ্রাফিক্স (বিল্ট-ইন)",
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"error.p7m_encrypted": "Diese .p7m ist verschlüsselt, nicht nur signiert: Nur der Schlüssel des Empfängers öffnet sie",
"error.p7m_unknown_content": "Die Datei in dieser .p7m hat ein Format, das Filee nicht konvertiert",
"error.p7m_too_large": "Die signierte Datei ist zu groß zum Öffnen",
"error.wbk_not_word": "Diese .wbk-Datei enthält kein Word-Dokument.",
"error.document_too_large": "Dieses Dokument entpackt sich zu zu vielen Daten oder ist zu tief verschachtelt, um es sicher zu öffnen",
"format_request.request": "Dieses Format vorschlagen",
"format_request.notice_title": "Filee kann {0}-Dateien noch nicht konvertieren",
Expand Down Expand Up @@ -268,6 +269,8 @@
"engine.email.description": "E-Mails (EML, Outlook MSG) in HTML und Text mit Absender, Empfängern, Datum und Bildern; Anhänge in eine ZIP-Datei.\nMSG in EML. Gespeicherte Webseiten (MHTML) in eine HTML-Datei mit ihren Bildern.",
"engine.p7m.name": "Signierte Dateien (integriert)",
"engine.p7m.description": "Holt die signierte Datei aus einer .p7m (CMS / PKCS #7: italienische E-Rechnungen, signierte PDFs) und konvertiert sie weiter. Die Signatur wird weder geprüft noch übernommen: Behalte die .p7m als Nachweis.",
"engine.word-backup.name": "Word-Sicherungen (integriert)",
"engine.word-backup.description": "Öffnet Word-Sicherungskopien (.wbk) als das enthaltene DOCX oder Word 97–2003 DOC und konvertiert sie weiter.",
"engine.data.name": "Daten (integriert)",
"engine.data.description": "Konvertiert JSON, JSON Lines, YAML, TOML, XML und CSV untereinander.\nvCard-Kontakte und iCalendar-Termine in CSV und zurück.\nKommentare werden entfernt. CSV speichert nur Tabellen.",
"engine.vector.name": "Vektorgrafiken (integriert)",
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"error.p7m_encrypted": "This .p7m is encrypted, not only signed: only the recipient's key opens it",
"error.p7m_unknown_content": "The file inside this .p7m is of a type Filee doesn't convert",
"error.p7m_too_large": "The signed file is too large to open",
"error.wbk_not_word": "This .wbk file doesn't hold a Word document.",
"error.document_too_large": "This document unpacks to too much data or is nested too deeply to open safely",
"format_request.request": "Request this format",
"format_request.notice_title": "Filee can't convert {0} files yet",
Expand Down Expand Up @@ -275,6 +276,8 @@
"engine.email.description": "E-mails (EML, Outlook MSG) to HTML and text with sender, recipients and date, pictures included; attachments into a ZIP.\nMSG to EML. Saved web pages (MHTML) to one HTML file with their pictures.",
"engine.p7m.name": "Signed files (built-in)",
"engine.p7m.description": "Takes the signed file out of a .p7m (CMS / PKCS #7: Italian e-invoices, signed PDFs) and converts it on. The signature isn't checked or kept: keep the .p7m as proof.",
"engine.word-backup.name": "Word backups (built-in)",
"engine.word-backup.description": "Opens Word backup copies (.wbk) as the DOCX or Word 97–2003 DOC inside and converts them on.",
"engine.data.name": "Data (built-in)",
"engine.data.description": "JSON, JSON Lines, YAML, TOML, XML and CSV into each other.\nvCard contacts and iCalendar events to CSV and back.\nComments are dropped. CSV holds tables only.",
"engine.vector.name": "Vector graphics (built-in)",
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"error.p7m_encrypted": "Este .p7m está cifrado, no solo firmado: solo lo abre la clave del destinatario",
"error.p7m_unknown_content": "El archivo dentro de este .p7m es de un tipo que Filee no convierte",
"error.p7m_too_large": "El archivo firmado es demasiado grande para abrirlo",
"error.wbk_not_word": "Este archivo .wbk no contiene un documento de Word.",
"error.document_too_large": "Este documento se descomprime en demasiados datos o está anidado a demasiada profundidad para abrirlo de forma segura",
"format_request.request": "Solicitar este formato",
"format_request.notice_title": "Filee aún no puede convertir archivos {0}",
Expand Down Expand Up @@ -268,6 +269,8 @@
"engine.email.description": "Correos electrónicos (EML, Outlook MSG) a HTML y texto con remitente, destinatarios y fecha, imágenes incluidas; los adjuntos van a un ZIP.\nMSG a EML. Páginas web guardadas (MHTML) a un solo archivo HTML con sus imágenes.",
"engine.p7m.name": "Signed files (built-in)",
"engine.p7m.description": "Saca el archivo firmado de un .p7m (CMS / PKCS #7: facturas electrónicas italianas, PDF firmados) y sigue la conversión. La firma no se comprueba ni se conserva: guarda el .p7m como prueba.",
"engine.word-backup.name": "Word backups (built-in)",
"engine.word-backup.description": "Abre copias de seguridad de Word (.wbk) como el DOCX o DOC de Word 97–2003 que contienen y sigue la conversión.",
"engine.data.name": "Data (built-in)",
"engine.data.description": "JSON, JSON Lines, YAML, TOML, XML y CSV entre sí.\nContactos vCard y eventos de iCalendar a CSV y viceversa.\nLos comentarios se descartan. CSV solo admite tablas.",
"engine.vector.name": "Vector graphics (built-in)",
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"error.p7m_encrypted": "این فایل .p7m رمزگذاری شده است و فقط امضا ندارد: تنها با کلید گیرنده باز می‌شود",
"error.p7m_unknown_content": "فایل داخل این .p7m از نوعی است که Filee تبدیل نمی‌کند",
"error.p7m_too_large": "فایل امضاشده برای باز شدن بیش از حد بزرگ است",
"error.wbk_not_word": "این فایل .wbk حاوی سند Word نیست.",
"error.document_too_large": "داده‌های استخراج‌شده از این سند بیش از حد مجاز است یا ساختار آن برای باز شدن ایمن بیش از حد تودرتو است",
"format_request.request": "درخواست این فرمت",
"format_request.notice_title": "Filee هنوز نمی‌تواند فایل‌های {0} را تبدیل کند",
Expand Down Expand Up @@ -282,6 +283,8 @@
"engine.email.description": "تبدیل ایمیل‌ها (EML، Outlook MSG) به HTML و متن با مشخصات فرستنده، گیرندگان و تاریخ، شامل تصاویر؛ پیوست‌ها در یک فایل ZIP قرار می‌گیرند.\nتبدیل MSG به EML. صفحات وب ذخیره‌شده (MHTML) به یک فایل HTML با تصاویر آن‌ها.",
"engine.p7m.name": "فایل‌های امضاشده (داخلی)",
"engine.p7m.description": "استخراج فایل امضاشده از .p7m (CMS / PKCS #7: فاکتورهای الکترونیکی ایتالیا، PDFهای امضاشده) و تبدیل آن. امضا بررسی یا نگهداری نمی‌شود: فایل .p7m را به عنوان مدرک نگه دارید.",
"engine.word-backup.name": "نسخه‌های پشتیبان Word (داخلی)",
"engine.word-backup.description": "باز کردن نسخه‌های پشتیبان Word (.wbk) به عنوان فایل DOCX یا Word 97–2003 DOC داخل آن‌ها و ادامه تبدیل.",
"engine.data.name": "داده (داخلی)",
"engine.data.description": "تبدیل متقابل JSON، JSON Lines، YAML، TOML، XML و CSV.\nمخاطبین vCard و رویدادهای iCalendar به CSV و برعکس.\nتوضیحات حذف می‌شوند. CSV فقط جداول را نگه می‌دارد.",
"engine.vector.name": "گرافیک برداری (داخلی)",
Expand Down
3 changes: 3 additions & 0 deletions src/Filee.App/Assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"error.p7m_encrypted": "Ce .p7m est chiffré, pas seulement signé : seule la clé du destinataire peut l'ouvrir",
"error.p7m_unknown_content": "Le fichier contenu dans ce .p7m est d'un type que Filee ne convertit pas",
"error.p7m_too_large": "Le fichier signé est trop volumineux pour être ouvert",
"error.wbk_not_word": "Ce fichier .wbk ne contient pas de document Word.",
"error.document_too_large": "Ce document se décompresse en trop de données ou est imbriqué trop profondément pour être ouvert en toute sécurité",
"format_request.request": "Demander ce format",
"format_request.notice_title": "Filee ne sait pas encore convertir les fichiers {0}",
Expand Down Expand Up @@ -275,6 +276,8 @@
"engine.email.description": "E-mails (EML, MSG Outlook) en HTML et texte avec expéditeur, destinataires et date, images comprises ; pièces jointes dans un ZIP.\nMSG en EML. Pages web enregistrées (MHTML) en un seul fichier HTML avec leurs images.",
"engine.p7m.name": "Signed files (built-in)",
"engine.p7m.description": "Extrait le fichier signé d'un .p7m (CMS / PKCS #7 : factures électroniques italiennes, PDF signés) puis le convertit. La signature n'est ni vérifiée ni conservée : gardez le .p7m comme preuve.",
"engine.word-backup.name": "Word backups (built-in)",
"engine.word-backup.description": "Ouvre les copies de sauvegarde Word (.wbk) en tant que DOCX ou DOC Word 97–2003 contenu à l'intérieur, puis les convertit.",
"engine.data.name": "Data (built-in)",
"engine.data.description": "JSON, JSON Lines, YAML, TOML, XML et CSV entre eux.\nContacts vCard et événements iCalendar en CSV et inversement.\nLes commentaires sont supprimés. Le CSV ne contient que des tableaux.",
"engine.vector.name": "Vector graphics (built-in)",
Expand Down
Loading
Loading