Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Mon, 29 Oct 2007 21:16:17 -0000,    group: microsoft.public.word.conversions        back       


HTML Conversion Image Exceptions   
Some HTML source which renders perfectly in all tested browsers is
causing some problems when being rendered by Word. Am receiving the
following error:

                       Error! Unknown switch argument.

The <IMG> tags in the HTML point to internal "https" URLs. Here are
some examples.

1. This displays correctly in Word:
 {INCLUDEPICTURE \d "https://internalserver1.com/EWF/images/
headerLogo.gif" \* MERGEFORMATINET}

2. This displays the above-mentioned error:
{INCLUDEPICTURE \d "https://internalserver2.com/eclient/RetrieveImage?
itemID=90+3+ICM7+icmprod11+DemandNotes59+26+A1001001A07J01A85359B3869818+A07J01A85359B386981+14+1055&conversion=true&page=5&scale=1&rotation=0&annotations=true&vType=page"
\* MERGEFO }

I immediately noticed that second URL is extermely long and that
MERGEFORMATINET appears to have been shortened to MERGEFO. Can the
length of URL contribute to this? Is there a better way to do this?

Thanks,
Evan Smith
date: Mon, 29 Oct 2007 21:16:17 -0000   author:   esmith2112

Re: HTML Conversion Image Exceptions   
Hi Evan,

If I recall correctly, and may vary by Word version, (sorry, been a very long day <g>) there was a 248 character limit on a word
Hyperlink and the field may have 256 character limitation in an {IncludePicture} field.

 *\ MERGEFO
would be seen as an unknown switch.

============
  <<"esmith2112"  wrote in message news:1193692577.676459.8520@o38g2000hse.googlegroups.com...
Some HTML source which renders perfectly in all tested browsers is
causing some problems when being rendered by Word. Am receiving the
following error:

                       Error! Unknown switch argument.

The <IMG> tags in the HTML point to internal "https" URLs. Here are
some examples.

1. This displays correctly in Word:
 {INCLUDEPICTURE \d "https://internalserver1.com/EWF/images/
headerLogo.gif" \* MERGEFORMATINET}

2. This displays the above-mentioned error:
{INCLUDEPICTURE \d "https://internalserver2.com/eclient/RetrieveImage?
itemID=90+3+ICM7+icmprod11+DemandNotes59+26+A1001001A07J01A85359B3869818+A07J01A85359B386981+14+1055&conversion=true&page=5&scale=1&
rotation=0&annotations=true&vType=page"
\* MERGEFO }

I immediately noticed that second URL is extermely long and that
MERGEFORMATINET appears to have been shortened to MERGEFO. Can the
length of URL contribute to this? Is there a better way to do this?

Thanks,
Evan Smith >>
-- 

Bob  Buckland  ?:-)
MS Office System Products MVP

  *Courtesy is not expensive and can pay big dividends*
date: Mon, 29 Oct 2007 22:51:08 -0700   author:   Bob Buckland ?:-\) 75214.226(At Beautiful Downtown)compuserve.com

Re: HTML Conversion Image Exceptions   
Thanks, Bob. The length of the long URL + the last switch does exceed
248 characters. At least we have an explanation. Looks like it's time
to craft a workaround...

Regards,
Evan

On Oct 30, 1:51 am, "Bob   Buckland ?:-\)" <75214.226(At Beautiful
Downtown)compuserve.com> wrote:
> Hi Evan,
>
> If I recall correctly, and may vary by Word version, (sorry, been a very long day <g>) there was a 248 character limit on a word
> Hyperlink and the field may have 256 character limitation in an {IncludePicture} field.
>
>  *\ MERGEFO
> would be seen as an unknown switch.
>
> ============

> --
>
> Bob  Buckland  ?:-)
> MS Office System Products MVP
>
>   *Courtesy is not expensive and can pay big dividends*
date: Tue, 30 Oct 2007 12:44:36 -0000   author:   esmith2112

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us