-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename inputfilesexcel to inputfilesxl * update testfiles * Output file list * debug log info and standardise logging of file conversion * Fix bug where XL files are not converted to pdf because of from and to not specified. * new test file
- Loading branch information
Showing
16 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file renamed
BIN
+52.5 KB
test/inputfilesexcel/Week 2 Test.xlsx → test/inputfilesxl/Week 1 Test.xls
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
REM Explanation | ||
REM Test runs to check docto scenarios | ||
REM execute docto inserting variables | ||
REM %~d0 and %~p0 together give the full directory this batch file is executing in. | ||
|
||
|
||
REM Remove all generated files from output directory that may exist. | ||
del GeneratedFiles\*.* /q | ||
|
||
|
||
REM Output Help Text | ||
"../exe/docto.exe" -h | ||
|
||
|
||
REM Try on Single | ||
"../exe/docto.exe" -wd -f "%~d0%~p0Inputfiles\pie3.doc" -o "%~d0%~p0GeneratedFiles\Pie3Single.pdf" -T wdFormatPDF | ||
|
||
REM Try on Single no output file with Verbose Logging | ||
"../exe/docto.exe" -WD -f "%~d0%~p0Inputfiles\pie3.doc" -o "%~d0%~p0GeneratedFiles\SingleDir\" -T wdFormatText | ||
|
||
|
||
REM try xl | ||
"../exe/docto.exe" -XL -f "%~d0%~p0Inputfilesxl\Week 1 Test.xls" -o "%~d0%~p0GeneratedFiles\Week1.pdf" -T XLPDF | ||
|
||
REM try xl | ||
"../exe/docto.exe" -XL -f "%~d0%~p0Inputfilesxl\Week 1 Test.xls" -o "%~d0%~p0GeneratedFiles\Week1.csv" -T XLcsv | ||
|
||
REM try xl | ||
"../exe/docto.exe" -PP -f "%~d0%~p0Inputfilespp\Presentation1.ppt" -o "%~d0%~p0GeneratedFiles\pres1.pdf" -T ppSaveasPDF | ||
|
||
REM try xl | ||
"../exe/docto.exe" -PP -f "%~d0%~p0Inputfilespp\Presentation1.ppt" -o "%~d0%~p0GeneratedFiles\pres1.rtf" -T ppSaveasRTF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
REM Load xls from a relative path and convert to csv | ||
"../exe/docto.exe" -XL -f "inputfilesexcel\Week 1 Test.xls" -o "GeneratedFiles\Week1.csv" -T xlCSV -l 10 | ||
"../exe/docto.exe" -XL -f "inputfilesxl\Week 1 Test.xls" -o "GeneratedFiles\Week1.csv" -T xlCSV -l 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
REM Load csv files convert to xls | ||
"../exe/docto.exe" -XL -f "C:\dev\github\docto\test\inputfilesexcel\Week 1 Test.xls" -o "C:\dev\github\docto\test\GeneratedFiles" -T xlPDF -l 10 | ||
"../exe/docto.exe" -XL -f "C:\dev\github\docto\test\inputfilesxl\Week 1 Test.xls" -o "C:\dev\github\docto\test\GeneratedFiles" -T xlPDF -l 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
REM Load csv files convert to xls | ||
"../exe/docto.exe" -XL -f "C:\dev\github\docto\test\inputfilesexcel\Book1 with password.xls" -o "C:\dev\github\docto\test\GeneratedFiles" -T xlpdf -l 10 | ||
"../exe/docto.exe" -XL -f "C:\dev\github\docto\test\inputfilesxl\Book1 with password.xls" -o "C:\dev\github\docto\test\GeneratedFiles" -T xlpdf -l 10 |