Is there any open source .doc reader available(other than openoffice)?
i am looking for a light weight office doc reader written in C.
Thanks in advance!
If it's just for reading and printing files Microsoft has it on their site.
Related
I'm new and have a question. Hoping that someone can help. I have received an Excel Document with embedded PDF Objects (first picture).
Embedded Adobe Acrobat PDF:
I can't open it, because Acrobat Reader isn't installed and i have not the rights to install software.
Error message in German:
I want to change the related program to pdf-xchange editor. Can anyone give me suggestions how to do that?
Embedded pdf which is working:
By the way: pdf-xchange editor is not listed in the object type list.
Object list:
I don't want to save them on disc, just have the possibility to permanently open them, when I need it.
I hope you understand my Problem. Thanks in advance.
Patrik
I want to take a .DOC or .DOCX file and convert it to another file format; e.g. PDF or HTML, etc. I don't have MS Word loaded on the local machine nor do I have an Office 365 account.
Will Microsoft Graph provide a way to do this programmatically, or am I barking up the wrong tree?
Thanks in advance for any insight or ideas!
You can do this in various ways in Office365/Graph:
Do a http GET to the drives API in MS Graph. Example:
GET /drive/items/{item-id}/content?format={format}
This also works for files in SharePoint.
See:
https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get_content_format
Via the Convert File action in Microsoft Flow. See John Liu's blog on this.
Essential DocIO is an option to consider. The library can convert from Doc and Docx to PDF and doesn't rely on Microsoft Office.
The entire product is available for free with no limitations through the community license if you qualify (less than 1 million US$ in revenue per year).
Note: I work for Syncfusion
Today the Microsoft Graph doesn't provide this functionality, but it's a reasonable request. You might want to raise it over at uservoice here.
Microsoft Graph (https://graph.microsoft.io/) can't be used to convert your .DOC or .DOCX files into another format, especially if you don't have MS Word or Office365. Microsoft Graph is basically 'just' an interface to access your data/objects stored in your Office365 tennant.
Without MS Word your only option (besides third party tooling) to convert would be to use Office Open XML, but even so that wouldn't suit your need as .DOC files are not based on the open XML standard. Also rendering to PDF is also not part of the Office Open XML specifications so you need to find another service to do that if you don't want MS Word to do that for you.
So in short, to answer your question ... no you can't use Microsoft Graph to convert MSWord documents to other formats.
i am reading PDF files using CGPDFDocumentRef but now i want to save that PDF file in my iPhone, how to do it, what to use ? if any example is giving it will be highly appreciated. Thanks :)
Check out the way Apple does it in their Quartz 2D Programming Guide (specifically Listing 13-4).
I have a document library in Sharepoint 2010. Is it possible to click on the check boxes next to a document name and convert the documents to pdf? I can't seem to find an option to do this. If not can I programmatically generate the pdf's and add them to the library.
Actually, if you have some programming skills you can create your own EventReceiver for every item added/updated to convert a word document to a PDF. By using Word Automation Services.
check this out:
http://msdn.microsoft.com/en-us/library/office/ff181518.aspx
You'll need a third party product as PDF Conversion doesn't come with SharePoint, unless you count the very basic MS-Word only conversion that is available in some editions of SharePoint 2010.
Have a look at this product, it does exactly what you want, including the checkboxes in SP2010, and can be used via workflows and web service calls as well.
Additional information as well as real world examples can be found here.
Disclaimer, I work for this vendor so it is a shameless plug. Yet it answers your question :-)
Alice,
Or you can use dynamic PDF documents, which can be integrated with Document Library as content types. Have a look at this product: it allows submitting Pdf forms using Adobe Reader (no Reader Extensions are necessary).
Disclaimer: I am using this product and happy with it. It has some limitations but nothing drastic.
Robert
MS Word provides the convert function, you can open the Word document and save as PDF format in the document library.
Also, there are some third-part tools can help you to solve this issue, such as BoostSolutions PDF Converter.
Does anyone know of resources that can help me export simple contents of a GridView to a native Excel 2007 format (i.e. the OpenOfficeXML format).
I've already seen solutions like Matt Berseth's, and in fact I have been using that for a while, but it comes with an annoying warning produced by Excel 2007 as documented here stemming from the fact that a native Excel file is not generated; rather it is HTML.
My initial research shows that, at the core, xlsx files are zip files, but I have no idea how to produce these or what goes in them.
Any suggestions (or tutorials) would be greatly appreciated.
CarlosAg has an ExcelXML writer which works really well. It isn't a native excel 2007 formatted file, but it will be readable in excel 2007.
You will need to write a little method to do the exporting manually, the API is very straight forward though. You will create a sheet object, then a row object, then a cell object. You can just loop through your data and output it. The examples on the site are pretty decent.
I prefer using Microsoft's own Open XML Format SDK. It is free, it is released by Microsoft and it creates real .xlsx files.
You can find the reference documentation here, as you can see, it is pretty straightforward to use.
SpreadsheetGear for .NET can read and write native xls and xlsx files and is easier to use (takes less of your time) than other solutions because it has an Excel like API so you don't have to learn anything about Open XML.
You can see some live ASP.NET (C# and VB) Excel Reporting examples here and download an evaluation version here.
Disclaimer: I own SpreadsheetGear LLC