Help guys my assignment says it needs to be in .pdf format but I did it in Word. I'm really stuck.
How do I take a word document in .docx format and make a .pdf that contains all the text from it? Bonus points if it also contains all the images and any formatting, but text is a bare minimum. The sample file I'll be using will be this one, though your solution should be generic.
I don't want it to go through any unnecessary processing steps - simply encoding then decoding the document in base64 or whatever is not in the spirit of the question, though creative use of cowsay
will be an exception to this. Standard rules of code trolling apply - the solution should be technically correct, all steps should be technically necessary, the result should be technically useless. This should be more of a "Rube Goldberg" style program, than an obfuscation and obtuseness competition.
Most upvotes on answers other than my own by 5/1/14 wins.
Note: This is a code-trolling question. Please do not take the question and/or answers seriously. More information here.