convert Libreoffice soffice.exe/bin to Windows DLL for use in C# -- 2
Budget: $30 – $250 USD
Hello,
I need the Libreoffice componet "soffice.exe/bin" into a DLL that I can use with a C# application.
Especially I need access to the "--convert-to pdf" function.
With commandline I use soffice like this:
soffice.exe --convert-to pdf --nologo c:\Word\MyDocument.docx
But I can not use commandline in my application, I need a windows DLL that I can integrate into my C# application in Visual Studio and that gives me access to "--convert-to pdf" function.
So you have to find the source code for soffice (available on Git) and compile it to DLL that I can use like this:
[DllImport("soffice.dll")]
public static extern int ConvertToPDF(DOCXFile);
Usage in C#:
int result = ConvertToPDF ("c:\Word\MyDocument.docx")
I need the Libreoffice componet "soffice.exe/bin" into a DLL that I can use with a C# application.
Especially I need access to the "--convert-to pdf" function.
With commandline I use soffice like this:
soffice.exe --convert-to pdf --nologo c:\Word\MyDocument.docx
But I can not use commandline in my application, I need a windows DLL that I can integrate into my C# application in Visual Studio and that gives me access to "--convert-to pdf" function.
So you have to find the source code for soffice (available on Git) and compile it to DLL that I can use like this:
[DllImport("soffice.dll")]
public static extern int ConvertToPDF(DOCXFile);
Usage in C#:
int result = ConvertToPDF ("c:\Word\MyDocument.docx")