Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [microsoft-word]

Interacting with Word, the word processor from the Microsoft Office suite. In particular, manipulating Word .doc and .docx files.

7
votes
3answers
5k views

How to replace a word inside a .DOCX file using Linux command line?

I want to change a word in a .docx file using a shell command. I tried using the sed command, but it is not working. Does anyone know a solution for this? For example, I want to change a word (e.g. ...
1
vote
0answers
417 views

Wine cannot simulate a system reboot after Microsoft Office configuration

I managed to install Microsoft's Office 2010 (32 bit) with WINE in Linux Mint 18 (Xfce, 32-bit) on an ASUS eeePC. So I tried to open freshly installed MS Office Word in Wine. It tried to configure ...
2
votes
2answers
4k views

Edit .docx files with Emacs?

I'm starting with Emacs, and testing around I wondered if I could edit my own .docx file from there, just to explore its features and that stuff. But my surprise is huge when, having the text ...
4
votes
1answer
3k views

How to convert all odt files in a folder into microsoft word files ?

I have a folder with a lot of odt files from LibreOffice, I could open each one by hand and save it as a microsoft word file, but that would take a long time, is it possible to reach this goal using ...
1
vote
1answer
15 views

Which format in office libre writer to choose in order to omit problems when opening in word on windows ?

I have written a document in Libre Office Writer, it is crucial to me to keep the documents format. Now I am clueless in which format to save it, since there is a plethora of options, even different ...
1
vote
1answer
563 views

XML Microsoft Word Document

I have a .xml file generated by someone with MS Word and I cannot manage to open it with LibreOffice or other app or change its format. I tried to save a LibreOffice document as "Word 2003 xml" and ...
8
votes
1answer
7k views

Converting .docx files to plain text and preserving line breaks to maintain line number references to source document: howto & implications?

I'm exporting MS Word content to plain text for use with text&file utilities. I have a constraint where the line numbering feature has been enabled in the MS software, and any reference to line ...
18
votes
2answers
15k views

Convert a .docx to a .pdf with pandoc

I am trying to convert a .docx received by mail to a correct pdf by using pandoc (I am using GNU/Linux). I have an error concerning characters encoding : $ pandoc file.docx -o file.pdf pandoc: ...
3
votes
0answers
1k views

Viewing .doc and .docx documents with MathType equations on Linux

Is there a way to view .doc and .docx documents with embedded MathType equations on Linux? When I try to open them with LibreOffice, I get blank boxes where the math is supposed to be - the same ...
7
votes
3answers
10k views

Command-line tool to search docx files

Is there a command-line tool to text-search a docx file? I tried grep, but it doesn't work with docx even though it works fine with txt and xml files. I could convert the docx to txt first, but I'd ...