About 184,000 results
Open links in new tab
  1. How do I render a Word document (.doc, .docx) in the browser …

    Jan 15, 2015 · I have successfully done code to display a PDF file in the browser instead of the "Open/Save" dialog. Now, I'm stuck trying to display a Word document in the browser. I want …

  2. What is a correct MIME type for .docx, .pptx, etc.?

    Feb 11, 2021 · For older *.doc documents, this was enough: header ("Content-Type: application/msword"); What MIME type should I use for new .docx documents? Also, for pptx …

  3. Automation: how to automate transforming .doc to .docx?

    Use the application object to perform SaveAs by supplying to it the format and output filename Close the current document Loop through the above till you finish with all documents …

  4. ms office - How can doc/docx files be converted to markdown or ...

    May 5, 2013 · Is there a program or workflow to convert .doc or .docx files to Markdown or similar text? PS: Ideally, I would welcome the option that a specific font (e.g. consolas) in the MS …

  5. multiple .doc to .docx file conversion using python

    Jul 20, 2016 · I want to convert all the .doc files from a particular folder to .docx file. I tried using the following code, import subprocess import os for filename in os.listdir(os.getcwd()): if filename.

  6. How do I extract data from a doc/docx file using Python

    Mar 31, 2014 · I know there are similar questions out there, but I couldn't find something that would answer my prayers. What I need is a way to access certain data from MS-Word files …

  7. url - open google doc by id - Stack Overflow

    Feb 1, 2013 · open google doc by id Asked 12 years, 5 months ago Modified 6 years, 1 month ago Viewed 32k times

  8. How do you display code snippets in MS Word preserving format …

    Dec 23, 2008 · Starting with Office 365, I don't know maybe even for Word 2013 or 2016. It has Online Addin called "Code Format" . Install that Office Addin and in your word doc you can just …

  9. Read .doc file with python - Stack Overflow

    Nov 29, 2017 · And, for some reason antiword also fails to read the '.doc' files and gives an error: 'filename.doc' is not a word document. # This happens when the file wasn't generated via MS …

  10. How to use python-docx to replace text in a Word document and …

    Jul 18, 2014 · doc.save('result1.docx') To iterate over dictionary: for word, replacement in dictionary.items(): word_re=re.compile(word) docx_replace_regex(doc, word_re , …