Releases: tobya/DocTo
V1.16 - Excel Multisheet and Disabled Macros
Docto 1.16
What's Changed
- Many more tests by @tobya in #226
- Bump laravel/framework from 10.43.0 to 10.48.23 in /companion by @dependabot[bot] in #230
- Bump league/commonmark from 2.5.3 to 2.6.0 in /companion by @dependabot[bot] in #231
- apply copy edits to help text by @mojavelinux in #233
- Set correct fileext for PP file conversions by @tobya in #235
- [1.16] Move Documentation generation to Companion by @tobya in #236
- [1.16]Excel multi sheet by @tobya in #239
- [1.16] Disable Excel Macros #241
New Contributors
- @dependabot[bot] made their first contribution in #230
- @mojavelinux made their first contribution in #233
Full Changelog: v1.15...v1.16
Announcing Docto.Works
I have put up a conversion website Docto.Works that uses DocTo.exe in the backend to convert documents to pdf, html, txt.
Currently version of the website only allows basic conversion of Word Documents to pdf, html or txt however I am working on adding Excel conversion and adding in parameters to allow for most of the conversions you would do with DocTo.
Once you have signed up for an account on https://Docto.Works you can create an API key and convert from command line like this
Windows
curl.exe -f "http://docto.works/api/v1/{apikey}/docto/pdf" -F "file=@C:\Folder\salad.docx" -o "c:\output\Salad.pdf"
As long as apikey is valid, this request should download a pdf to c:\output\Salad.pdf
Mac and Linux
The real interest comes with Mac and Linux where DocTo.exe doesnt work.
curl -f "http://docto.works/api/v1/{apikey}/docto/pdf" -F "file=@
/Folder/salad.docx" -o "/output/Salad.pdf"
There is also a .sh script you can download to make it even easier to convert.
Sign up and check it out.
When you sign up to docto.works you get 250 tokens for free. I would love feedback about the site and whether you find it useful. You can provide feedback to this repo or to info@docto.works
Extra Tokens to get started.
Send me an email to info@docto.works with the email address you registered with and i will add 1000 tokens to your account.
Breaking Changes
Excel Macros
Previously I switched off autorun of Word Macros #205 . This release now also switches off Excel Macros by Default. As with word macros it is possible to switch on if you wish
--enable-macroautorun
--enable-wordvbaauto
--enable-xlvbaauto
By Default any autorun vba will not run, use this parameter if you wish vba to Autorun. Word / Excel Only.
This is a Breaking Change. If you were relying on a macro running in an excel spreadsheet on opening you will need to update your command line to include --enable-xlvbaauto
Virus False Positive
The whole point of Docto is that it manipulates Word and Excel using OLE Components on windows. Additionally since 1.14 it has switched off Auto run of macros when loading Word Documents and with this release the same for Excel Workbooks. Unfortunately heuristics in the various Virus Scanners see these various aspects of DocTo as possibly being a virus. DocTo is not a virus, but it is marked as such by many of the Virus Scanners.
I will try to submit updates to the various scanners, but at the end of the day you need to decide if you are happy to run the executable.
Thanks for using DocTo and check out Docto.Works
v1.15 - Tests and Bug Fix
Fix Bug for incorrect output dir
Add a bug fix that had been introduced in 1.14 that prepended the .ext of the file to the directory name. This is now fixed and correctly uses the specified output directory.
Tests added via PHP.
Now using a PHP Laravel project with Pest Tests to provide Functional testing of outputs. Obviously not going to test the Delphi code but will test the .exe outputs and changes as much as it can. If you are a php dev please feel free to add tests.
Hide Temp Files
Temp word files if found are now ignored. ~$filename.doc , .~filename.doc
If for some odd reason you want to convert a temp file you can still do so by specifying individual filenames.
Breaking Change
In the small chance that you have written scripts to rely on this behaviour eg you output files going to
c:\myfiles\output\.pdf\
instead of
c:\myfiles\output\
You will need to change your scripts as all files will now be output to the last directory.
What's Changed
- add companion php laravel files for testing. by @tobya in #222
- Provide fix for 221 - incorrect directory name by @tobya in #223
- Clarify output directory for EXE by @tobya in #224
- Hide Temp Files #191 by @tobya in #225
Full Changelog: v1.14...v1.15
v1.14
Version 1.14
This has been built now on a clean machine so hopefully is clean and straightforward.
ps. I'm not superstitious!
Full Changelog: v1.11...v1.14
Use 1.8 for the time being.
Recommendation to use 1.8
It appears that newer versions have an issue, so suggest you install 1.8
v1.12
This release is the same a v1.11 however I have fixed some issues with version displayed with -v
What's Changed
- Do not save original active document. by @tobya in #210
- change name of disableautomacros by @tobya in #215
- Ensure Files are deleted even when input folder by @tobya in #216
Full Changelog: v1.10...v1.12
v1.11
This release provides a fix for #216 to allow deletion of input files when providing a folder.
I also tried to make some changes to see if it might not be listed as a virus, but probably to no avail.
Breaking Change....
- --enable-macroautorun
has been renamed
- --enable-wordvbaauto
What's Changed
- Do not save original active document. by @tobya in #210
- change name of disableautomacros by @tobya in #215
- Ensure Files are deleted even when input folder by @tobya in #216
Full Changelog: v1.10...v1.11
v1.10
v1.9
What's Changed
- add --inputfilter as alias for --inputextension by @tobya in #201
- AutoMacroRun now disabled by default, new parameter (--enable-macroautorun) to switch on by @tobya in #205
Breaking Change
On the very small chance that you were relying on macros to autorun when opened and before conversion you will need to add the --enable-macroautorun parameter to your command line otherwise macros will not run.
Full Changelog: v1.8...v1.9
V1.8
What's Github says has Changed
- Add visio to docto by @tobya in #174
- Implement setting ExportOptimisefor fixes #177 by @tobya in #179
- implement no-includedocproperties flag by @tobya in #180
- Implement KeepIRM parameter by @tobya in #181
- Create parameter --PDF-No-DocStructureTags by @tobya in #182
- add --PDF-NO-BITMAPMISSINGFONTS param by @tobya in #184
- Include link to powerpoint save as formats by @Darthmineboy in #187
New Contributors
- @Darthmineboy made their first contribution in #187
Full Changelog: V1.7...v1.8
V1.7
Changes made in this release
Issue Fixes
- #102
- Provide a better Error Message when file conversion type mismatch.
- #170
- If Word Options->Trust Center->Privacy Options-> "Warn before printing, saving or sending a file that contains tracked changes or comments" is set to true, it will be set to false for duration of run and then reset. There is a possibility of docto crashes that this value will remain set to false.
- #163
- Now possible to ask docto not to recurse subdir with the
--no-subdirsparam
= #161 - Fix issue with relative paths not being expanded properly.
- Now possible to ask docto not to recurse subdir with the
- #167
- Add option to output word pdf as ISO-19005-1
--use-iso190051or--use-iso19005-1
- Add option to output word pdf as ISO-19005-1
- Open Document without showing Repair Dialog by @tobya in #169
Minor Fixes
- fixed issue where --help parameter did not work (fa7bfd7)
- added alternative option --no-overwrite
- caches Office Version info for faster
--help#98
What's Changed according to Github
- Rename Master Branch DocTo by @tobya in #131
- Formathelp by @tobya in #130
- chagne to reduce space by @tobya in #133
- Show in log if version of word does not support PDF by @tobya in #141
- Test for -fx should convert all .rtf files by @tobya in #142
- Make -Q quiet by @tobya in #149
- Implement code to look at #147 writing to Stdout by @tobya in #150
- Allow Comments to be output to Pdf by @tobya in #160
- Option to Warn before printing, saving or sending a file that contains tracked changes or comments by @tobya in #168
- Fix issue with relative paths by @tobya in #161
- Open Document without showing Repair Dialog by @tobya in #169
- only set global value once by @tobya in #170
Full Changelog: 1.2.29...V1.7
Update
Sorry this fixes issue with new parameters that dont require a value. In 1.6 if they dont appear at the end they may cause unexpected behaviour. This is fixed now.
1.7 is correct version to use.