MS Word support on iOS [duplicate] - ios

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Reading a .doc (MSWord) file in ObjectiveC?
I am writing a printing application that supports to select image and send over Internet for ePrinting.
My client is asking whether it is possible to open MS Word and select/extract some image for above printing method
Is there any way to open MS Word document in my application ? OR is there any third-party (paid is not a problem) for opening and extracting pages in MS Word ?
Thanks.

Take a look at the QuickLook.framework. That can read all MS Office formats. Also can print from a supported AirPrint printer.

Your best bet would be to export to PDF, and utilise some image extraction from there.
Useful libraries for this (check which work on iOS)
Ghostscript
MuPDF
Poppler

There is an open source library called wordview, which you might want to take a look at. It is for MS Word formats up to Word 2000. The newer ones are XML-ish anyway, so you can probably parse them yourself using any XML reader you like.
Update: Notice that the license for this library is GPL. Not sure if that is compatible with your requirements.
Update 2: The wv2 branch seems to be LGPL, so it should fit all purposes.

Related

angular 7 with viewer having signature feature

I work with angular 7
I'm looking for a viewer which open the most extension files like : pdf,image,word,powerpoint...
and the most important thing this viewer contain the signature feature.
I try to use pdftron viewer but it has a problem with signature feature ( can not be saved ) ad has problem with word document
I try also with pspdfkit but it open only pdf document.
can someone help me to find a viewer which open more than
one extension and has a signature feature
I’m part of the PSPDFKit for Web team. Our solution supports signatures and we have an online demo available to try at https://web-examples.pspdfkit.com/signatures. We are actively working on and will be supporting server side conversion of MS Office files to PDF this year, so you would be able to handle those files as well when launched.
We will be happy to answer any question you have at https://support.pspdfkit.com/hc/en-us/requests/new

Tools to help me learning Apple Quick time file format?

When I was learning Portable Executable (PE) file format for windows, tools like PE-Explorer and PEView helped me in learning things quickly and nicely. Now, I need to learn and understand the apple quick time file format. Are there any
Tools with which I can browse the quick time format?
Export sections of the file?
Any additional resources other than the specifications?
PS: I'm on windows and I don't have mac/macOS
Tools with which I can browse the quick time format?
On Windows you can use MP4 Explorer, and since it is open source you can also learn from it. Since MP4 uses a similar structure to QuickTime you can use it for both.
There is also the old Dumpster tool from Apple. There is an old version of this tool for Windows, but I could not find it in the Apple developer site. This forum post has a copy that you can try. This is very old though, I'm not sure if it'll work with recent QT files.
If you can obtain access to a Mac running OS X, then you can use Dumpster or Atom Explorer.
Export sections of the file?
I don't know of any public tool for this. Your best bet is to extend MP4 Explorer to do this, or write your own parser. Parsing the atoms is actually pretty simple, things start to get complicated when you need to interpret the content of the atoms and cross-reference them to, for example, locate where the frame data is.
Any additional resources other than the specifications?
The QuickTime file format specification is the best resource for Apple generated QuickTime files, but you may need to do some reverse engineering, as the spec is not very complete in some areas, like the handling of MPEG-2 and MPEG-4 video. If you have access to ISO specs, then ISO/IEC 14496-12 is a standardized version of the QuickTime format (or better said, of a subset of it). The ISO/IEC 14496-15 specification builds on top of 14496-12 and defines a specific implementation of this format for the H.264 format. This is the so called MP4 format.
With the above three documents you should be pretty good in terms of documentation.
The MPEG4 (.MP4) file format is based on the QuickTime file format. You should be able to use the MPEG4IP tools to examine .MOV files. You can find windows binaries here.
Media Box Viewer does exactly this and much more. In addition to Quicktime, it can also open mp4, 3gp, etc. It runs on all platforms, Windows, Mac, Linux, etc.
It can be downloaded from www.jdxsoftware.org.

How to convert ODT to DOC/RTF without openoffice.org

Is there any way to convert odt documents to doc or rtf on linux without openoffice or any library that relies on having openoffice installed ?
OpenOffice.org and its derivatives (LibreOffice, Symphony, etc) currently have one of the best converters between ODF and the Microsoft formats (besides the ODF support built into MS Office).
If those converters are not an option for you, you can choose between some alternatives: Foremost you might want to check out the KOffice project which also offers command line tools for file conversion:
KOffice - File Filters
Then there is another open source project with a free BSD license available on SourceForge:
OpenXML/ODF Translator
This project offers not only add-ins for Microsoft Office, but also a stand-alone command line version which also runs on Linux.
Then there would also be a different approach: You can automate Google Docs using command line tools:
googlecl: Command line tools for the Google Data APIs
Google Docs file conversion have internally been based on the OpenOffice.org file filters, but as far as I know they have been replaced by Aspose, a library for document formats.
Aspose is available in several versions, and as you have a Linux dependency you might want to check out their Java version.
Aspose.Words for Java
The library has its price, but you won't find another library that is not a full office suite with that quality.
If you don't want to use OpenOffice, Google Docs is your best bet. Cross-platform, web-based, and free, it takes about 2 minutes. You would upload the file, and check convert, then redownload as a doc or pdf (depends on what you want).
http://docs.google.com/
You could try this freeware (Docx2Rtf) and run it under WINE.
Checkout unoconv. It relies on OpenOffice.org its core, but it doesn't rely on any GUI packages. I assume this is what you want?
Use http://zamzar.com/ It has great support for all those formats. And is not reliant on any other installed program.
And of course, being a web page, it will work on any OS.

view pdf in program(delphi) by use free library(not activeX)

Is there are any open source or free-ware library to display PDF file in my Delphi program?
I had looked for one, but most of them are commercial or not fully functional.
PS: this solution need to be cross platform by using wine.
One possible solution might be to include the open source SumatraPDF viewer with your program and use it to display the pdf's.
http://blog.kowalczyk.info/software/sumatrapdf/index.html
One nice thing about SumatraPDF, other than it being open source, is that it doesn't require an install. It consists solely of a single .exe, so you could just stick the .exe in your app's folder and call it to display pdf's. SumatraPDF is a pretty bare-bones viewer, so it may be one of the ones you've already looked at and rejected as "not fully functional", but I'm not sure whether you're going to find any perfect open source solution.
As others brought up in the similar thread that was linked from this one, you might consider using the Gnostice library or the WPCubed wpdfviewer component. You have to purchase a developer's license for those, but then can incorporate them in your app and deploy as many as you want with no runtime licensing fees.
My answer to this question discusses the Adobe API.
I missed the PS. Some other answers to the same question may help.

Suggestions on how to add the functionality to import Finale music files on an application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm working on a music writing application and would like to add the functionality to import Finale music files. Right now, the only thing I know is that they are enigma binary files.
Does anyone have any suggestions on where I could start so that I could be able to parse through these types of files?
Finale files are not just binary files, but compressed, encrypted binary files. ETF files are text files and do have some documentation in older versions of the Finale plug-in developer kit. But ETF export was removed from Finale several versions ago.
As was previously suggested, your best bet is to import MusicXML files instead. This will give you higher-quality imports in much less development time. MusicXML support is built into Finale since 2006, PrintMusic since 2006, Allegro and Songwriter since 2007, and will be coming to NotePad and Reader in 2009. Plug-ins are available that export MusicXML files from Finale all the way back to 2000 on Windows, 2004 on Mac OS X PPC, and 2007 on Mac OS X Intel. The MusicXML support in Finale has been under development for nearly 10 years and provides a near-lossless export of Finale files into an open, standard, royalty-free format.
MusicXML is supported by over 150 programs, so by adding MusicXML support you not only get Finale file support, but support for files originally created with Sibelius, capella, Encore, or (via PDFtoMusic Pro) any program that can print a PDF version of a musical score.
There is lots of information about MusicXML at http://www.makemusic.com/musicxml. This includes the MusicXML DTD and XSD, a tutorial,sample files, and more. There is also a MusicXML developer mailing list available for signup at http://www.makemusic.com/musicxml/mailing-list.
MusicXML has a lot of features, so do not try to tackle all of it at once. Start off supporting the basics of pitches and rhythms, then add more and more features over time based on what your customers need.
Get a good hex editor and start looking inside some files. Look for common structure. Do some detective work. Look for fields that might be counts, sizes or offsets within the file. Make trivial changes in Finale and observe the changes in the file. Make changes with the hex editor, then load the changed file back into Finale and see if the change does what you thought it would.
So this is a completely unhelpful answer, but the best way to reverse the file-format is to jump in and just do it. You're probably in for a very long process BTW, but at least it's fun.
Oh, and pray the file-format isn't compressed...
I don't know about the older .mus files, but the newer .eft files are partially described here:
http://www.lilypond.org/web/devel/misc/etfformat.
I would look into the MusicXml format, http://www.recordare.com/xml.html.
Finale should have the ability to export to MusicXml. (I think it is with a plug-in shipped with newer versions of Finale). From there, it should be relatively straightforward, because it is xml, after all.

Resources