ms word - How to convert a webpage (from an intranet wiki) to an Office document? -


i have set of wiki pages (mediawiki style) on company's intranet convert microsoft office word documents (or can import in it). looking has:

requirements

  • keep formatting as can
  • does not require change on server hosts wiki (no plugin can added nor configuration files can modified side)
  • the solution can programmatically (as developer too), in flavor of python/c#/c++ , like

exclusions

  • does not solution "wiki acrobat pdf pro microsof office word" (as not have acrobat pdf pro). actually, non-pro version (that allows "save microsoft word online" option) not available in company (very old version of adobe suite). however, can still export page pdf, wiki have, not (because element big, a4 format, , parts scraped out of produced pdf. them included anyway , able play "bad" formatting within word eventually
  • as intranet wiki, online solutions out of scope
  • solutions implies copy db of wiki , operation elsewhere (at home example) out of scope

options

  • the solution can either on windows or linux-like (centos)
  • if can in batch, better, not required

question

would have hint of solution fit needs?

a simple solution open url of wiki in word's open document dialog, e.g. pasting url http://en.wikipedia.org/w/index.php?title=microsoft_word&printable=yes file name text box. not require programming, still gives satisfying result.

if need batch solution, can write simple script in vba creates , saves documents you:

sub openfromwiki()      documents.open filename:= _         "http://en.wikipedia.org/w/index.php?title=microsoft_word&printable=yes", _          confirmconversions:=false, readonly:=true, addtorecentfiles:=false, _         passworddocument:="", passwordtemplate:="", revert:=false, _         writepassworddocument:=""  end sub 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -