DMFO
DMFO copied to clipboard
Diff and Merge for Office
updates: - [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v6.0.0) - [github.com/pre-commit/mirrors-prettier: v2.5.1 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.1...v4.0.0-alpha.8) - [github.com/asottile/setup-cfg-fmt: v1.20.0 → v3.1.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.0...v3.1.0) - [github.com/asottile/pyupgrade: v2.31.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v2.31.0...v3.21.2) - [github.com/PyCQA/isort: 5.10.1 → 7.0.0](https://github.com/PyCQA/isort/compare/5.10.1...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror...
Currently throws an error: ``` PS C:\...\repo> git diff --staged Resolve-Path : Cannot find path 'C:\...\repo\nul' because it does not exist. At C:\...\DMFO\dmfo-diff.ps1:28 char:18 + $FileName = (Resolve-Path $FileNames[$key]).Path +...
Instead of defining all enumerations, use them from the system, like: ``` [Microsoft.Office.Core.MsoTriState]::msoFalse ``` Looks like this has to be activated: https://stackoverflow.com/questions/5932794/microsoft-office-core-reference-missing Can this be done from the script? Otherwise,...
Use OpenXML? https://docs.microsoft.com/en-us/office/open-xml/open-xml-sdk?view=openxml-2.8.1 https://stackoverflow.com/questions/27697408/interop-powerpoint-equivalent-of-interop-word-application-visiblity-off