How to create/generate .docx files in iphone sdk - iphone

I am working on Editing of .docx & .doc files & for editing I am using webview.When user complete his editing I picked-up all HTML content from webview & try to replace html tags with .docx tag.Now this is not good way to generate .docx/.doc files from Webview.Does any one has any idea except above how I generate .docx files ???

Related

VSCode pdf-editor extension

I would like to develop an extension to VSCode that would auto-detect *.pdf files (By PDF filename extension or by reading magic bytes)
The extension will then know the PDF file format and will allow the opening the "binary" pdf file and allow for simple text editing
What is the way in vs code to "auto-detect" file by types?
And, Once detected what is the proper way to open a binary file for editing purposes?

what is the simplest way to check if a .pdf file is a valid pdf document using itext?

what is the simplest way to check if a .pdf file is a valid pdf document using itext?
I have written some code to open a .pdf using the itextsharp.dll, and if i try to open a bad .pdf (one that I have edited in notepad++ to corrupt it) then i get a PDFInvalid exception - which is all good (as opposed to no exception if the pdf is valid).
However, I was wondering if there is another way to check for issues with pdf files.
I am about to extract a very large number of pdf documents from a database, and ideally would like to check that they are all valid pdf files - ie at least that they can be open.
Thanks for any replies in advance.

Create/Edit .doc .xls files on the iPhone/iPad

I know .doc and .xls can be viewed using UIWebView but I want to make an App that will edit .doc and .xls files. could anyone enlighten me on how should I do this? or a library I can use or buy.
I believe you can utilize Googls docs api.
http://code.google.com/apis/documents/
http://code.google.com/apis/spreadsheets/

creating a full html file out of webloc in a batch mode

I've got over 400 bookmarks saved as .webloc files. I'd like to move them to the iPhone's goodReader app. goodReader cannot open webloc files. It can sork with pdf, html but not webloc.
Do you know of a way or a program that would take a folder as its input, and convert every single .webloc file in it into a PDF version or a html version - so I can grab the converted files and move them onto iPhone.
Thank you
Try this, it should be able to convert the files to pdf http://files.macscripter.net/joy/files/webloc2pdf.zip

Can .DOC and .XLS files be converted to PDF on the iPhone?

How can I convert .DOC and .XLS files to PDF?
You could make a detour. If you can copy the files to your PC from iphone, use PrimoPDF. It installs as a printer in your system (Windows Platform) and gives the output file as PDF.
Whatever be the type of document, it will get converted to PDF if it can be printed.
Then re-transfer the files to your iphone.
Best of Luck!!