Skip to content
Open
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 @@ -176,7 +176,7 @@ To undo it, remove the entries in Windows Security → App & browser control →
| **Vector**: SVG, SVGZ, EMF, WMF, AI/AIT<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), 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² |
| **Spreadsheets**: XLSX, XLSM, XLS, XLT, ODS, CSV, TSV;<br>OMV (jamovi) read<br>OTS, FODS, Numbers, ET² | PDF, XLSX, ODS, CSV, TSV, JSON, HWPX, HTML<br>XLT, OTS² |
| **Presentations**: PPTX, PPTM, POTX, POTM, PPSX, PPSM<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 |
| **Text**: TXT, LOG (also CrossOver .cxlog), script source (PY, PAC, BAT, COMMAND, JSP; read, never run), Arduino and Processing sketches (INO, PDE), Markdown, HTML;<br>MHTML (saved web pages) read<br>reStructuredText, LaTeX, Org, AsciiDoc, Typst, MediaWiki, DocBook, Jupyter, Textile, man, OPML³ | UTF-8 TXT, PDF, DOCX, HWPX, EPUB<br>each other, PPTX slides³ |
Expand Down
7 changes: 4 additions & 3 deletions docs/ENGINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Filee chooses engines automatically. Settings → *Engines* shows their status,
| PDFium | built in (library) | PDF → images (multi-page TIFF/GIF supported); CMYK pages → CMYK JPG/TIFF through Ghostscript when it is installed |
| Unhwp | built in (library) | HWP/HWPX → TXT, Markdown, HTML (pictures in a `<name>_files` folder next to the Markdown, embedded in the HTML) |
| Text & Markdown (Markdig) | built in (library) | **Markdown → HTML, TXT**; **TXT, LOG, CXLOG, PY, PAC, BAT, CMD, COMMAND, LUA, CSS, PS1, SQL, AHK, INI, RSC, C, H, CPP, CC, CXX, HPP, HH, HXX, CS, DART, HQL, DBML, JAVA, INO, PDE, JSP → UTF-8 TXT**, preserving source text without running scripts (and → PDF / DOCX through the HWPX writer, rhwp or LibreOffice) |
| Spreadsheets (ExcelDataReader for XLS) | built in (library) | **XLSX, XLS, ODS, CSV, TSV → XLSX, ODS, CSV, TSV** (one CSV / TSV per sheet) |
| Spreadsheets (ExcelDataReader for XLS) | built in (library) | **XLSX, XLS, ODS, CSV, TSV, OMV (jamovi, read only) → XLSX, ODS, CSV, TSV** (one CSV / TSV per sheet) |
| Office Open XML | built in | **DOCM / DOTX / DOTM ↔ DOCX, XLSM / XLTX ↔ XLSX, PPTM / POTX / POTM / PPSX / PPSM ↔ PPTX** (macros removed for macro-free types) |
| Fonts | built in | **TTF, OTF, WOFF, WOFF2, EOT ↔ each other**; **FON (NE monochrome FNT v2/v3, supported single-byte charsets) → TTF, OTF, WOFF, WOFF2, EOT only**; CFF (PostScript) outlines become TrueType for TTF and EOT |
| **HWPX writer** | built in | **DOCX (+ DOCM/DOTX/DOTM), XLSX (+ XLSM/XLTX), XLS, ODS, CSV, TSV, PPTX (+ PPTM/POTX/POTM/PPSX/PPSM), PDF, OFD, HTML, MHTML, EPUB, MOBI/AZW3, FB2, HWPX, TXT, Markdown → HWPX** (and with rhwp → PDF and images); ODT, RTF, reStructuredText, LaTeX → HWPX with Pandoc |
Expand Down Expand Up @@ -697,8 +697,8 @@ which is also the equation's alternative text in HWPX.

## Spreadsheets

`SpreadsheetConverter` (engine id `spreadsheet`) converts between XLSX, XLS (and XLT templates, read only), ODS, CSV and TSV (also
`.tab`) in-process; every format goes through one in-memory workbook (`Office/Sheets/Workbook.cs`) whose cells keep
`SpreadsheetConverter` (engine id `spreadsheet`) converts between XLSX, XLS (and XLT templates, read only), ODS, CSV, TSV (also
`.tab`) and jamovi OMV (read only) in-process; every format goes through one in-memory workbook (`Office/Sheets/Workbook.cs`) whose cells keep
the text the spreadsheet shows, the value behind it and its Excel number format.

| Format | Read | Written |
Expand All @@ -707,6 +707,7 @@ the text the spreadsheet shows, the value behind it and its Excel number format.
| XLS (Excel 97–2003, also Excel 5/95) | ExcelDataReader (MIT): values, number formats, merges, horizontal / vertical alignment; widths, heights and hidden rows / columns from the BIFF records (`XlsLayout.cs`) | no (LibreOffice) |
| ODS | own reader (`content.xml`, `styles.xml`, `settings.xml`): repeated rows / columns (the empty repeats up to the end of the sheet are skipped), spans, every value type, the text Calc shows (`text:p`), data styles as Excel codes, cell styles, widths, heights, hidden rows / columns / sheets, frozen and header rows | every sheet, typed cells (float, percentage, currency, date, time, boolean) with data styles and the shown text, styles, merges, widths, heights, hidden rows / columns, frozen rows |
| CSV / TSV | delimiter (CSV: comma, semicolon or tab; TSV: tab) and encoding (UTF-8 / UTF-16 with BOM, CP949 when it looks Korean or on Korean Windows, else the PC's code page) | UTF-8 with BOM, CRLF, one file per sheet |
| OMV (jamovi, `.omv`, #1818) | own reader (`OmvReader.cs`): single sheet with column names on row 1 and data rows below (`meta` / `META-INF/MANIFEST.MF`, `metadata.json`, `xdata.json`, column-major `data.bin`, `strings.bin`); integer and decimal columns stay real numbers, nominal/ordinal text uses `xdata.json` labels, ID text reads UTF-8 strings from `strings.bin`, missing values stay blank; Filter columns, analyses and results are ignored (every row is kept) | no |

- Number formats: Excel codes and OpenDocument data styles are converted both ways (`OdsNumberStyles.cs`) for
digits, decimals, grouping, thousands scaling, percent, scientific, currency symbols, literal text, colours,
Expand Down
4 changes: 3 additions & 1 deletion src/Filee.Core/Formats/FormatFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ .. Enum.GetValues<FormatCategory>().Select(category => category.ToString().ToLow
[
"jp2", "psd", "psb", "ppm", "icns", "qoi", "dds", "cur", "xpm", "xbm", "pam", "pfm", "miff", "dcm",
"exr", "hdr", "fits", "hgt", "xcf", "kra", "pdn", "pal", "gpl", "act", "raw", "eps", "ps", "ai", "cdr", "cgm", "plt", "dst", "jef", "fodg",
"fodt", "fods", "fodp", "rst", "tex", "org", "adoc", "typ", "mediawiki", "dbk", "ipynb", "textile", "man",
"fodt", "fods", "fodp", "omv", "rst", "tex", "org", "adoc", "typ", "mediawiki", "dbk", "ipynb", "textile", "man",
"jsonl", "yaml", "toml", "har", "plist", "nex", "fasta", "phy", "htmlz", "txtz", "chm", "dv", "mxf", "cavs", "usm", "m4s", "dav", "nov", "bik",
"h265", "h264", "ac3", "caf", "mp2", "dss", "wv", "tta", "w64", "eac3", "ape", "tak", "dsf", "dff",
"dts", "tar", "tgz", "tbz2", "txz", "tar7z", "tlz", "tzst", "gz", "bz2", "xz", "lz", "lzma", "zst", "jar", "zxp", "nupkg", "apks",
Expand Down Expand Up @@ -112,6 +112,8 @@ .. Enum.GetValues<FormatCategory>().Select(category => category.ToString().ToLow
(["hgt"], ["geo"]),
// Sequence alignments: phylogenetics and bioinformatics.
(["nex", "fasta", "phy"], ["science"]),
// jamovi statistical data sets (statistics).
(["omv"], ["science"]),
// Software work: raw image formats of graphics tools, app icons and cursors, config and data files, flat XML
// ODF for version control, man pages, streaming segments, packages and compressed archives.
([
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.Core/Formats/FormatRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ public static class FormatRegistry
new("et", "ET", FormatCategory.Spreadsheet, ["et"], Writable: false),
new("numbers", "Numbers", FormatCategory.Spreadsheet, ["numbers"], Writable: false),
new("sdc", "SDC", FormatCategory.Spreadsheet, ["sdc"], Writable: false),
// jamovi statistical data sets (#1818): data columns read in-process; analyses and results are ignored.
new("omv", "OMV", FormatCategory.Spreadsheet, ["omv"], Writable: false),

// Presentations
new("pptx", "PPTX", FormatCategory.Presentation, ["pptx"]),
Expand Down
1 change: 1 addition & 0 deletions src/Filee.Core/Gallery/SharedPresetVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ internal static class SharedPresetVersions
["wbk"] = "2.6.0",
["3ds"] = "2.6.0",
["ppsm"] = "2.6.0",
["omv"] = "2.6.0",
};

/// <summary>Extensions added after <see cref="First"/> to a format it already knew (a new format's come with it).</summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Filee.Core/Presets/BuiltInData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@
];

/// <summary>
/// Sequence alignment targets (#1798): in the palette only, after the data presets, in the Science & medical field

Check warning on line 797 in src/Filee.Core/Presets/BuiltInData.cs

View workflow job for this annotation

GitHub Actions / metadata (linux-x64)

XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'

Check warning on line 797 in src/Filee.Core/Presets/BuiltInData.cs

View workflow job for this annotation

GitHub Actions / portable / portable (ubuntu-24.04-arm, linux-arm64)

XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'

Check warning on line 797 in src/Filee.Core/Presets/BuiltInData.cs

View workflow job for this annotation

GitHub Actions / portable / portable (ubuntu-24.04, linux-x64)

XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'

Check warning on line 797 in src/Filee.Core/Presets/BuiltInData.cs

View workflow job for this annotation

GitHub Actions / windows / build (win-arm64)

XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'

Check warning on line 797 in src/Filee.Core/Presets/BuiltInData.cs

View workflow job for this annotation

GitHub Actions / windows / build (win-x64)

XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
/// (off in a new install). No donut slice converts from an alignment, so these are the way from one to another.
/// </summary>
public static List<Preset> SequenceAlignmentPresets() =>
Expand Down Expand Up @@ -928,7 +928,7 @@
public static readonly IReadOnlyList<string> PdfDonutBefore18 =
["to-png", "to-jpg", "pdf-long-image", "to-docx", "to-txt", "to-md", "to-epub", "to-hwpx", "to-hwp", "to-tiff", "pdf-split", "merge-pdf"];

/// <summary>Excel, OpenDocument and CSV sheets (split from "office" in settings schema 5).</summary>
/// <summary>Excel, OpenDocument, CSV and jamovi OMV sheets (split from "office" in settings schema 5; OMV in schema 112).</summary>
public static ToolbarProfile SpreadsheetProfile() => new()
{
Id = "spreadsheets",
Expand Down
2 changes: 1 addition & 1 deletion src/Filee.Core/Settings/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static bool IsFlipKeyAllowed(string key, IEnumerable<TriggerGesture> gest
public sealed class AppSettings
{
/// <summary>Current schema version. Increase when the format changes and add a migration.</summary>
public const int CurrentSchemaVersion = 111;
public const int CurrentSchemaVersion = 112;

public int SchemaVersion { get; set; } = CurrentSchemaVersion;

Expand Down
3 changes: 3 additions & 0 deletions src/Filee.Core/Settings/UserDataStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,9 @@ public static bool ApplyToLibrary(int from, List<Preset> presets, List<ToolbarPr
// v111: macro-enabled PowerPoint slide shows (.ppsm, #1950) learn the presentations donut; custom claims stay put.
if (from < 111)
changed |= LearnExtensions(profiles, out _, ["ppsm"]);
// v112: jamovi data files (.omv, #1818) learn the spreadsheets donut; custom claims stay put.
if (from < 112)
changed |= LearnExtensions(profiles, out _, ["omv"]);
return changed;
}

Expand Down
Loading
Loading