Server-based Microsoft Office to PDF Converters? - linux

I'm looking to convert our library of MS Office files into PDFs on a Linux server. What I'm looking for is similar to this.
Anyone know of one not so costly?

unoconv is free, it uses OpenOffice to do the conversion. Unfortunately OpenOffice doesn't import MS Office files perfectly so YMMV. Another option is to use OfficeToPDF, this is however an Windows application that requires Office to be installed. You could probably solve this by running Windows in a virtual machine on your server and remotely control it.

You may consider Aspose.Words for Java, Aspose.Cells for Java, Aspose.Slides for Java; these components can convert Microsoft Word, Excel and Powerpoint files to PDF on Linux.
Disclosure: I work as developer evangelist at Aspose.

Related

Submit an add-in only for Excel Online

I want to submit an add-in only for Excel Online (no Excel for Mac, no Excel for Windows).
Could anyone tell me if it is possible and how to configure the manifest xml file?
The Office store requires that the add-in works for Mac, Windows and Online with optional iPad support. It is not possible to select only some of the required platform. The same code that works on one platform should also work on the other with the addition effort being in the testing area.

Example for Office Add-Ins for Mac?

I would like to develop Add-in for office Word for Mac (2011 and later). But I cannot find any manuals about Add-Ins development.
Can anybody know how to develop Add-Ins for Office for Mac?
It will be good if anybody suggest me link of Example. I have tried but didn't get any sample.
The good news is that you can use almost all the APIs documented here for MAC as well!
You also want to read this article about how to try your add-ins in MAC or iOS.
Finally make sure you are on the latest possible build! (15,22 as of right now).
Happy coding!!!
The process for building JavaScript add-ins for Mac is pretty much the same as building them for other platforms. There are some specific instructions for debugging on Mac.
However, Office Add-Ins for Mac are only supported starting with Office for Mac 2016 (and even then I believe it needs to be a recent update).

What is office runtime? Where is it useful?

I have a .net solution for converting word/excel to pdf developed in MS Visual Studio .Net 2003.I added references i.e., Microsoft.Office.Interop.Excel, Microsoft.Office.Interop.Word in my project. It is working fine in my local system where MS Office is installed but when I tried to execute in the server where MS Office is not installed, I face some Class ID errors 00024500-0000-0000-c000-000000000046 and 000209FF-0000-0000-c000-000000000046 with respect to Word and excel. So i told my client to install MS Office on server but he wants me to use Office runtime 2010 to convert MS office documents? So what is office runtime actually? Was it helpful in my case? Does MS Office installation is required if I am using VSTO?
I am new here. Kindly help.
Thanks,
Praveen.
There is no "Office runtime".
I added references i.e., Microsoft.Office.Interop.Excel, Microsoft.Office.Interop.Word in my project.
Interop assemblies are used to marshal your calls into unmanaged environment. There is no actual COM servers installed that may handle your calls (i.e. no endpoints).
Anyway, Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution. You can read more about that in the Considerations for server-side Automation of Office article.
If you deal only with open XML documents you can use the Open XML SDK. See Welcome to the Open XML SDK 2.5 for Office for more information.
But if you need to deal with binary file formats you have to look for third-party components that are designed for the server-side execution.

Is MS Office necessary when using Microsoft.Jet.OLEDB provider?

I am trying to read an excel file an can do it using ADO.
My question is, do I need to have office installed when reading an excel file using the Jet.OLEDB Provider?
Currently I'm only testing on pcs that have office installed, that's why I'm asking.Programming language in concern is VB6.
Thanks.
No, you won't need to have office installed, but you will need to have MDAC/WDAC (which contains Jet) installed. On newer operating systems, this is part of the OS. On older OS's (Win 95/98/possibly even 2000), you needed to run an MDAC installer.
No - The Jet driver is used for reading any form of DB files from text files to Excel to Access and is offered my Microsoft independantly of Office.

Method '~' of object '~' failed in vb6 with Excel

We are facing a issue with one of our VB 6.0 application.
There is line of code which convert a text file to excel file through Excel.Workbook.
This code works fine when we run through windows application.
But if we run the same exe from a windows service developed in C#.Net then it gives this error on this line
oWB.SaveAs FileName, XlFileFormat.xlExcel8
I have tried to search on google but didn't get any success.
Any suggestion will be very much helpful.
Thanks in Advance.
Regards
AR
While not an answer to your specific question, you might consider:
Considerations for server-side Automation of Office
Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
The bold text is bold in the article.
Basically you aren't supposed to even attempt what you are doing.

Resources