ooxml

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2026-07-31
17:13
Support building outside the source directory and ignore binary-extension configure options leaf check-in: 46b02fe02d user: alex tags: trunk
16:57
Support building outside the source directory and ignore binary-extension configure options - Makefile.in - make the build rules VPATH-safe by reading their inputs from $(srcdir) and creating the doc output directory, so the package can be built from a separate build directory; install and archive take the Tcl sources and license.terms from $(srcdir) while keeping the generated manifest.txt and pkgIndex.tcl from the build directory - configure.ac - accept and ignore --enable-shared and --enable-threads so a central build script passing these does not warn about unknown options; configure regenerated accordingly - tools/mkversion.tcl - cd into the source tree relative to the script location so manifest, manifest.uuid and configure.ac are always read from the source, independent of the build directory closed check-in: 92d14ec2af user: alex tags: vpath-build
2026-07-25
15:50
Fixed the error message of tkimage in case of wrong nr of arguments. check-in: 383f1d2cfe user: rolf tags: trunk
2026-07-24
17:09
Added the docx object method tkimage which works like the image method but uses a Tk photo image as source. Requires TK. check-in: ae515cb4e5 user: rolf tags: trunk
08:38
Updated the copyright holders in license.terms: added Miguel Bañón and Steve Landers, extended the years for Alexander Schoepe and Rolf Ade and fixed the spelling of Harald Oehlmann. The license is now shipped with the packages as well: make release puts it into the binary archives and make install into the package directory. Ticket [3dd92325d5a8a3da] check-in: ca34a074da user: alex tags: trunk
06:01
Version-1.13.2 check-in: ab274d0bd7 user: alex tags: trunk, release, version-1.13.2
05:54
Merge drop_exec_unzip: the docx tests and the ecma376 validator no longer need the external unzip command, so they also run on Windows. check-in: 1605f61a2c user: alex tags: trunk
01:52
If the initial docx to start from is the emtpy string then start with the same empty document as without the optional "start from" document. check-in: 42d2cf3489 user: rolf tags: trunk
2026-07-23
19:10
Make the docx tests run without the external unzip command, which is unavailable on Windows and made all zip-inspecting and ECMA-validation tests fail there. The test helpers ziplist and zipread and the ecma376 validator now read the generated .docx packages through ooxml's built-in, backend independent zip reader (ZipOpen/ZipMembers/ZipReadBinaryFile/ZipReadParse/ZipClose) instead of exec unzip. Added a zipdoc helper returning a parsed tdom document and used it in the two tests that inspect document.xml via DOM. Verified on Tcl 8.6.18, 9.0.4 and 9.1b0 macOS. closed check-in: 5d87bc23a2 user: alex tags: drop_exec_unzip
17:54
Make xlsx-simple.test and xlsx-formula.test backend independent by using the ::ooxml::Zip* helpers instead of mounting the archive directly, so the suite also runs on plain Tcl+tdom without tclvfs/tcllib. Verified on Tcl 8.6.18, 9.0.4 and 9.1b0. check-in: d41a4b6934 user: alex tags: trunk
17:45
Merge stevel_fixes: dedupe hyperlink rIds for duplicate URLs (one relationship per unique URL per sheet, cells reuse the rId), set the sharedStrings sst count to the total number of references while uniqueCount stays the unique entries, and make the tests locale independent (xlsx-simple compares core-property dates via clock scan/format, xlsx-readerror matches the zlib-reader invalid-UTF8 message). Verified on Tcl 8.6.18, 9.0.4 and 9.1b0 in several timezones. Thanks to Steve Landers. check-in: 2dcdf091e1 user: alex tags: trunk
01:50
Dedupe hyperlink rIds for duplicate URLs, fix shared-strings sst count, adjust tests for locale-independent date/error checks - worksheet writer: build a cellRid map keyed by sheet reusing rIds for repeated hyperlink URLs, instead of assigning a new rId per cell - shared strings: track sharedStringsCount separately from uniqueCount so <sst count> reflects total references, not just unique entries - tests: xlsx-simple compares core-properties dates via clock scan/format instead of hardcoded strings; xlsx-readerror matches the updated Tcl 9 invalid-UTF8 error message closed check-in: 8f234f51dd user: steve tags: stevel_fixes
2026-07-22
05:21
Create new branch named "stevel_fixes" check-in: 043beef623 user: steve tags: stevel_fixes
2026-07-03
07:54
Version-1.13.1 check-in: 8f9305b374 user: alex tags: trunk, release, version-1.13.1
07:49
Built-in zip reader: cap the zlib inflate buffer size hint to its allowed range 16-65536; parts larger than 64 KB failed to read. Added a regression test. Thanks to Miguel Bañón. Fixes ticket [a308a654f0]. check-in: 6eda274d5f user: alex tags: trunk
2026-07-02
21:41
Version-1.13 check-in: 69f65b1acd user: alex tags: trunk, release, version-1.13
21:39
Added regression tests for the activeTab handling and the presetsheets hyperlink transfer (ticket [3933595861]). check-in: 3334c3638f user: alex tags: trunk
21:36
Fixed the activeTab handling: the bookViews guard in write compared the zero based tab index against the sheet count as a one-element list, resetting every valid value to 0 while letting the one invalid value (activeTab == sheet count) through - which is what corrupted files after arrayDeleteSheet + presetsheets (ticket [3933595861]). Now clamp to the valid range. arrayDeleteSheet keeps the active tab pointing to the same sheet. Also fixed presetsheets erroring out on workbooks with hyperlinks (wrong dict key). check-in: 7fc8da3ca2 user: alex tags: trunk
21:20
configure: make --prefix work. TEA_PREFIX overwrote the exec_prefix with the one from tclConfig.sh whenever --exec-prefix was not given, even when --prefix was - the package then always installed into the Tcl tree. Remember whether the user gave --prefix and restore his choice after TEA_PREFIX. Documented the install locations in the README. Fixes ticket [1a64a34982]. check-in: 0f3a071c76 user: alex tags: trunk
21:13
xlsx-benchmark.test: use floating point division and a real 10 percent tolerance instead of integer division with int-truncated threshold, which made the test fail on 1 usec of machine noise. Label the measurement correctly as usec. check-in: 4570222360 user: alex tags: trunk
21:03
Added a built-in zip reader based on the core zlib command and use it as the preferred backend for reading xlsx and docx files on all platforms - reading needs no external package anymore. The former backends (Tcl 9 zipfs, tcllib zipfile::decode, tclvfs vfs::zip) remain as fallback for archives the built-in reader cannot handle (ZIP64, encrypted, exotic compression). This also fixes ticket [0da3bc4b65] (invalid command name "zip" from tcllib's Trf path). Updated the dependency documentation accordingly. check-in: ea5f9c1230 user: alex tags: trunk
20:06
make publish: upload the release artifacts with plain names via fossil uv add --as, so they no longer land under a uv/ prefix in the unversioned namespace. check-in: 8e8b85da45 user: alex tags: trunk
19:53
Version-1.12 check-in: 9841d9431e user: alex tags: trunk, release, version-1.12
19:49
pageSetup: add correctly spelled -horizontalDpi and -paperWidth (emitting spec-valid attributes) next to the misspelled aliases, which are kept for backward compatibility but dropped from the docs. Reading recognizes both spellings. check-in: 54bac3b85c user: alex tags: trunk
19:15
Updated README for the docx subsystem, its tdom 0.9.6 requirement and the contributors. check-in: 4c679e4c2f user: alex tags: trunk
19:11
Rewrote doc/ooxml.md as a complete reference in the style of doc/ooxml-docx.md: documented the so far missing xl_read options and result array, xl_sheets, tablelist_to_xl, the helper commands and the methods printarea, merge and rowheight, filled all empty method entries, added the missing style/pageSetup options and moved the value lists into an OPTION VALUE TYPES section. Render doc/ooxml.html with the same pandoc template and css as doc/ooxml-docx.html. check-in: 5c03597198 user: alex tags: trunk
18:28
Added make targets 'release' (builds the uv download packages with all prerequisites resolved: configure/Makefile/pkgIndex.tcl regeneration on version bump, manifest.txt) and 'publish' (fossil uv add/sync). Fixed archive.sh dropping all but the first Tcl source file, so the docx sources were missing from the packages; the script now aborts on errors and with a usage message if called without arguments. Documented the release workflow in tools/BUILD-PACKAGE.md. check-in: eda4c467fd user: alex tags: trunk
2026-06-29
12:31
Added a helper script to create docx type check procs from xsd enumeraton types. check-in: 002f15130a user: rolf tags: trunk
2026-06-25
23:01
Version-1.11 check-in: c7ad036e83 user: rolf tags: trunk, release, version-1.11
2026-06-21
23:43
Switch to tclsh which should work for Tcl 9 only systems as well. check-in: 7a00b49e67 user: rolf tags: trunk
2026-06-14
22:48
How does the ooxml.html documentation looks with the ooxml-docx css. leaf check-in: d1445d79db user: rolf tags: doc-creation
22:40
Better error message in case of invalid option value to the -conditional table styling option. check-in: 1017409f58 user: rolf tags: trunk
2026-06-13
16:08
Prepare ooxml for the upcomming tdom 0.9.7 release. check-in: 6abfc4d9a9 user: rolf tags: trunk
15:34
Made the example scripts work even if not called from inside the examples directory. Added the pandoc html template used to create ooxml-docx.html (missed that so far). Bit tweak of the generated html. Added short notes about the covered features at the start of the example files. check-in: 5fba1d9872 user: rolf tags: trunk
2026-06-12
23:13
More doucmentation changes releated to appendTo. check-in: b3c140563b user: rolf tags: trunk
22:38
Added method appendTo. check-in: 04c32588c7 user: rolf tags: trunk
22:37
Added documentation for apppendTo. closed check-in: 6d706b1635 user: rolf tags: appendTo
11:37
Fixes and enhanced example document. check-in: 8145123eaf user: rolf tags: appendTo
01:28
Scribbled an approach to later one add content to tables (new rows), rows (new cells), cells (append to content), footer, header, footnotes, comments, tectboxes etc. check-in: e01194bca8 user: rolf tags: appendTo
2026-06-10
10:21
Added generation of ECMA-376 Office Open XML WordprocessingML documents. check-in: 42d8945c29 user: rolf tags: trunk
2026-06-09
23:43
Documentation fixes and a bit editorial work.xs leaf check-in: aaddb1fa47 user: rolf tags: docx
23:16
Some editorial documentation clean up. check-in: 93ab7d8d92 user: rolf tags: docx
2026-06-04
23:23
More option handling infrastructure tests. check-in: 3a41a99cd8 user: rolf tags: docx
13:17
Added the same -option value tests for math methods. check-in: 0edfe7832b user: rolf tags: docx
2026-06-03
23:56
More normalized method syntac check and tests for that. check-in: b4260e1e15 user: rolf tags: docx
15:56
wip check-in: 32512a7355 user: rolf tags: docx
2026-05-13
00:36
Added a much better css file (courtesy by Thorsten Berg). Some doc formatting changes. check-in: b328514286 user: rolf tags: docx
2026-05-12
22:09
Much enhanced documentation. Credits go to Miguel. check-in: f4c0254162 user: rolf tags: docx
2026-05-03
23:31
Some naming changes to the test suite and other minor changes to follow usual expectations. check-in: 5e6510800e user: rolf tags: docx
22:27
Restored the -background tests. check-in: d13adebff3 user: rolf tags: docx