Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85afb5a
commit df1ead3
Showing
14 changed files
with
23,051 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$rootFolder=$MyInvocation.MyCommand.Path | ||
$rootFolder=Split-Path $rootFolder | ||
|
||
$dllPath =Join-Path $rootFolder "libs" | ||
|
||
$dllExport =Join-Path $dllPath "ExportImplementation.dll" | ||
#Add-Type -LiteralPath "D:\github\Exporter\ExporterWordExcelPDF\lib\ExportImplementation.dll" | ||
Add-Type -LiteralPath $dllExport | ||
|
||
[string[]] $myArray=@("Name,WebSite,CV", "Andrei Ignat,http://msprogrammer.serviciipeweb.ro/,http://serviciipeweb.ro/iafblog/content/binary/cv.doc","you, http://yourwebsite.com/,cv.doc") | ||
$b=[ExportImplementation.ExportFactory]::ExportDataCsv( $myArray , [ExportImplementation.ExportToFormat]::Excel2007) | ||
$dest=Join-Path $rootFolder "a.xlsx" | ||
[System.IO.File]::WriteAllBytes($dest,$b) | ||
Start-Process -FilePath $dest | ||
|
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.