Solved

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

Posted on 2004-09-13
5
215 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
5 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now