HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Word document too large Posted by reidman48 on 6 Oct 2003 at 7:54 AM
I am generating a MS Word document from asp. The data is generated in tables inside the Word document. The problem is the file is quite large. I there a way to make the Word file smaller at generation. I removed some of the inline styles and place in the style header and this helped some. Any other ideas?
Report
Re: Word document too large Posted by Jonathan on 9 Oct 2003 at 8:32 AM
: I am generating a MS Word document from asp. The data is generated
: in tables inside the Word document. The problem is the file is
: quite large. I there a way to make the Word file smaller at
: generation. I removed some of the inline styles and place in the
: style header and this helped some. Any other ideas?
Two suggestions:-

1) Try using an older version of the Word file format. They've grown with time and files created with older versions of Word are probably going to be more compact than those created with newer versions.

2) Are you doing server side compression where clients support it? Word docs may compress fairly well and it would speed up delivery time. I think you have to pay for IIS version, and I suspect you are using IIS (ugh) if you're using ASP (ugh again, unless it's ASP.NET, which ain't so bad).

Hope this helps,

Jonathan

###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Report
Re: Word document too large Posted by reidman48 on 9 Oct 2003 at 10:46 AM
: : I am generating a MS Word document from asp. The data is generated
: : in tables inside the Word document. The problem is the file is
: : quite large. I there a way to make the Word file smaller at
: : generation. I removed some of the inline styles and place in the
: : style header and this helped some. Any other ideas?
: Two suggestions:-
:
: 1) Try using an older version of the Word file format. They've grown with time and files created with older versions of Word are probably going to be more compact than those created with newer versions.
:
: 2) Are you doing server side compression where clients support it? Word docs may compress fairly well and it would speed up delivery time. I think you have to pay for IIS version, and I suspect you are using IIS (ugh) if you're using ASP (ugh again, unless it's ASP.NET, which ain't so bad).
:
: Hope this helps,
:
: Jonathan
:
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
:
:
Hey, thanks for the info. Yes to both IIS and ASP. I wish I could automate the conversion to WORD 6.0. It produces a much smaller file size. I will look into the server side compression you suggested. Thanks again.
Report
Re: Word document too large Posted by reidman48 on 9 Oct 2003 at 10:46 AM
: : I am generating a MS Word document from asp. The data is generated
: : in tables inside the Word document. The problem is the file is
: : quite large. I there a way to make the Word file smaller at
: : generation. I removed some of the inline styles and place in the
: : style header and this helped some. Any other ideas?
: Two suggestions:-
:
: 1) Try using an older version of the Word file format. They've grown with time and files created with older versions of Word are probably going to be more compact than those created with newer versions.
:
: 2) Are you doing server side compression where clients support it? Word docs may compress fairly well and it would speed up delivery time. I think you have to pay for IIS version, and I suspect you are using IIS (ugh) if you're using ASP (ugh again, unless it's ASP.NET, which ain't so bad).
:
: Hope this helps,
:
: Jonathan
:
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
:
:
Hey, thanks for the info. Yes to both IIS and ASP. I wish I could automate the conversion to WORD 6.0. It produces a much smaller file size. I will look into the server side compression you suggested. Thanks again.
Report
Re: Word document too large Posted by reidman48 on 9 Oct 2003 at 10:57 AM
: : I am generating a MS Word document from asp. The data is generated
: : in tables inside the Word document. The problem is the file is
: : quite large. I there a way to make the Word file smaller at
: : generation. I removed some of the inline styles and place in the
: : style header and this helped some. Any other ideas?
: Two suggestions:-
:
: 1) Try using an older version of the Word file format. They've grown with time and files created with older versions of Word are probably going to be more compact than those created with newer versions.
:
: 2) Are you doing server side compression where clients support it? Word docs may compress fairly well and it would speed up delivery time. I think you have to pay for IIS version, and I suspect you are using IIS (ugh) if you're using ASP (ugh again, unless it's ASP.NET, which ain't so bad).
:
: Hope this helps,
:
: Jonathan
:
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
:
:
Hey, thanks for the info. Yes to both IIS and ASP. I wish I could automate the conversion to WORD 6.0. It produces a much smaller file size. I will look into the server side compression you suggested. Thanks again.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.