Because when you add images and the such, the RTF file becomes MASSIVE,
like over 12MB, and when I am dealing with that in string format in
ASP.NET, its too much to handle.
On Dec 27, 9:23 pm, "ChrisHarrington"
<charrington-at-activeinterface.com> wrote:
> Word 2003 has a native XML format - so you can generate that outside of
> Word.
[quoted text clipped - 12 lines]
> > I've seen programs like aspose.words. How is that? Does anyone have any
> > "free" suggestions?
Cindy M. - 29 Dec 2006 09:56 GMT
> Because when you add images and the such, the RTF file becomes MASSIVE,
> like over 12MB, and when I am dealing with that in string format in
> ASP.NET
How about linking the graphics and sending the files separately? That
would be the equivalent of using the IncludePicture field with the \d
switch. That should make the RTF file much compacter.
The problem is you can't get the specs any more to build files in Word's
binary file format. With the release of Office 2007 and the Open Office
file formats (XML) MSFT has withdrawn the binary file format. (And it was
never public, you had to apply for it and sign all kinds of stuff.)
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
ChrisHarrington - 29 Dec 2006 17:47 GMT
Perhaps you can avoid having the whole string in memory. Have your program
serialize to the output stream or to a file stream.
> Because when you add images and the such, the RTF file becomes MASSIVE,
> like over 12MB, and when I am dealing with that in string format in
[quoted text clipped - 19 lines]
>> > I've seen programs like aspose.words. How is that? Does anyone have any
>> > "free" suggestions?