Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

large (200k) html file with nested tables does not load into MS Word

Posted on 2004-09-13
5
Medium Priority
?
235 Views
Last Modified: 2010-05-18
I'm using  standard content disposition headers (ie:"application/vnd.ms-word") to create the page, but the page (which loads fine in html) either does not load at all in word, or, it takes Much too long (minutes) to load.   I have tried:
- saving the file and loading from disc
- stripping out generate javascript
- removing headers and footers
- testing the resulting html for properly formed tables and such
- bypassing the fusebox stucture
- stripping out tabs
- stripping out hidden tags
- stripping out CRs
Does anyone have any experience in this?  I'm reusing existing code, so I'm stuck with the level of table nesting (yeah, yeah, I know, use stylesheets for presentation)
0
Comment
Question by:jwchesley
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12049531
0
 

Accepted Solution

by:
jwchesley earned 0 total points
ID: 12056247
Hmm, thanks for the link COBOLdinosaur.... my problem was actually the opposite direction.  The generated HTML from the application was not being imported into Word correctly..

Solution...
 I beat it to death and the final answer was that the existing templates that I was importing had form tags and input tags in them... When they displayed, they looked nice, but it KILLED Word to try to understand them.  I could hear a lot of disk thrashing as Word needed way more memory than the 256meg on the machine.  So, the result was to go into all the templates and conditionally comment out all the >FORM and >INPUT tags when I needed to import them for printing..  Time went from several minutes (if ever) back to a few seconds as it should have been.

Thanks,
- jack
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 12159617
Jack,
Thanks for the email requesting that this Q be closed - just need for Cd& to post back that it's okay, and either one of us can close this question for you.

Sean
Web Languages Page Editor

In the future, you can just post a notice in Community Support, and one of the Moderators will be able to assist you.
http://www.experts-exchange.com/Community_Support/
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12162163
No problem.  Go ahead and close it Sean.  WL is out of my assigned area.

Cd&
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question