Changeset 24169 for main/trunk/binaries


Ignore:
Timestamp:
06/17/11 17:51:52 (10 years ago)
Author:
ak19
Message:

Wait message added to gsConvert.pl, since docx to html can take long (as long as Word takes to convert the file). Added useful links to SaveAs formats to docx2html file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/binaries/windows/bin/docx2html.vbs

    r24166 r24169  
    44' http://www.nilpo.com/2008/06/windows-scripting/reading-word-documents-in-wsh/ - for grabbing just the text (cleaned of Word mark-up) from a doc(x)
    55' http://msdn.microsoft.com/en-us/library/3ca8tfek%28v=VS.85%29.aspx - VBScript Functions (CreateObject etc)
     6' http://msdn.microsoft.com/en-us/library/aa220734%28v=office.11%29.aspx - SaveAs Method. Expand "WdSaveFormat" section to see all the default filetypes Office 2003+ can save as
    67
    78' Error Handling:
     
    1819' 4. Try out this script on Windows 7 to see whether WSH is active by default, as it is on XP and Vista.
    1920' 5. What kind of error occurs if any when user tries to convert docx on a machine with an old version of Word (pre-docx/pre-Word 2007)?
    20 ' 6. Ask Dr Bainbridge whether this script can or shouldn't replace word2html, since this launches all version of word as well I think.
     21' 6. Ask Dr Bainbridge whether this script can or shouldn't replace word2html, since this can launch all versions of word (not just 2007) I think.
     22' Unless some commands have changed? Including for other Office apps, in which case word2html would remain the correct program to use for those cases.
    2123
    2224
     
    124126        Set objDoc = .ActiveDocument
    125127
    126         ' Save as HTML
     128        ' Save as HTML -- http://msdn.microsoft.com/en-us/library/aa220734%28v=office.11%29.aspx
    127129        objDoc.SaveAs outHTML, wdFormatFilteredHTML
    128130
Note: See TracChangeset for help on using the changeset viewer.