Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Conversions / October 2007

Tip: Looking for answers? Try searching our database.

HTML Conversion Image Exceptions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
esmith2112 - 29 Oct 2007 22:16 GMT
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 ?:-) - 30 Oct 2007 06:51 GMT
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.

============
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 >>
Signature


Bob  Buckland  ?:-)
MS Office System Products MVP

 *Courtesy is not expensive and can pay big dividends*

esmith2112 - 30 Oct 2007 13:44 GMT
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,
>
[quoted text clipped - 5 lines]
>
> ============

> --
>
> Bob  Buckland  ?:-)
> MS Office System Products MVP
>
>   *Courtesy is not expensive and can pay big dividends*
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.