在.net中生成ms word文档 [英] Generating ms word document in .net

查看:109
本文介绍了在.net中生成ms word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我需要通过vb.net格式化ms word文档。


将使所有数据word文档将来自数据库。

并动态格式化。


目前我已经开始在水晶报告中做到这一点,最后我会

将水晶报告输出为ms字格式。


但我觉得这不是更好的方法。


任何人都可以给我一个好主意..我怎样才能生成动态格式良好的

文件。


其实我生成的文件已经存在且很好格式化

但我的客户要我

动态生成相同的文件。


问候,

Nor

解决方案

Noor写道:

大家好,
<我需要通过vb.net很好地格式化ms word文档。

所有数据都将会生成word文档将来自数据库。
并动态格式化。

目前我已经开始在水晶报告中完成它,最后我将
导出水晶报告到ms字格式。

但我觉得这不是一个更好的方法。

任何人都可以给我一个好主意..我怎样才能生成动态格式良好的<文件。

实际上我将生成的文件已经存在并且格式正确
但我的客户希望我动态生成相同的文档。
<问候,

Nor



你好 -


如果你能活不上Word并使用PDF相反,请查看:

http://itextsharp.sourceforge.net /
http://www.ujihara.jp/iTextdotNET/


哪些是iText Java PDF Libr的端口我用过的ary和

确认了吗?踢屁股!

我认为他们都提供有限的RTF支持。祝你好运。


-

chris


不...我不能依赖pdf。 。


任何人都有其他想法吗?


谢谢


Noor

chris <是ne ******** @ boxfrog.com>在消息中写道

新闻:所以******************** @ comcast.com ...

Noor写道:

大家好,

我需要通过vb.net很好地格式化ms word文档。

所有要生成单词的数据文档将来自
数据库。动态格式化。

目前我已经开始在水晶报告中做到这一点,最后我将
将水晶报告导出为ms字格式。

但我感觉到了这不是一个更好的方法。

任何人都可以给我一个好主意..我怎么能生成动态好的
格式的文件。

实际上我将生成的文件已经存在并且格式化为
但我的客户希望我动态生成相同的文档。

问候,



您好 -

如果您可以不使用Word而使用PDF,请查看:

http://itextsharp.sourceforge.net/
http://www.ujihara.jp/iTextdotNET/

iText的哪些端口我使用过的Java PDF Library可以确认吗?踢屁股!

我认为他们都提供有限的RTF支持。祝你好运。

-
chris



> > >我需要通过vb.net格式化ms word文档。


将生成word文档的所有数据将来自数据库。动态格式化。




嗨Noor,


我不是说这是意思是但这个主题很长很重要

不容易在帖子中包含。


也许你应该考虑聘请一位顾问(例如:) :)或者

买书。我学习任何关于Word的唯一方法是长时间艰苦学习

学习 - 我还有很多东西需要学习。


Hi all,

I need to well formatted ms word document through vb.net.

All the data that will make the word document will come from the database.
and formatted dynamically.

Currently i have started doing it in crystal report and finally i will
export that crystal report to ms word format.

but i feel it''s not a better way to do it.

Can anyone give me a good idea.. how can i generate dynamic well formatted
documents.

Actually the documents i will generate are already exists and well formatted
but my client want me to
generate the same document dynamically.

regards,

Nor

解决方案

Noor wrote:

Hi all,

I need to well formatted ms word document through vb.net.

All the data that will make the word document will come from the database.
and formatted dynamically.

Currently i have started doing it in crystal report and finally i will
export that crystal report to ms word format.

but i feel it''s not a better way to do it.

Can anyone give me a good idea.. how can i generate dynamic well formatted
documents.

Actually the documents i will generate are already exists and well formatted
but my client want me to
generate the same document dynamically.

regards,

Nor


Hello -

If you can live w/o Word and use PDF instead, check out:

http://itextsharp.sourceforge.net/
http://www.ujihara.jp/iTextdotNET/

Which are ports of the iText Java PDF Library which I have used and can
confirm ? kicks ass!
I think they both offer limited RTF support as well. Good luck.

--
chris


Nope.. i cant rely on pdf..

anyone has any other idea?

thanks

Noor
"chris" <ne********@boxfrog.com> wrote in message
news:So********************@comcast.com...

Noor wrote:

Hi all,

I need to well formatted ms word document through vb.net.

All the data that will make the word document will come from the database. and formatted dynamically.

Currently i have started doing it in crystal report and finally i will
export that crystal report to ms word format.

but i feel it''s not a better way to do it.

Can anyone give me a good idea.. how can i generate dynamic well formatted documents.

Actually the documents i will generate are already exists and well formatted but my client want me to
generate the same document dynamically.

regards,

Nor


Hello -

If you can live w/o Word and use PDF instead, check out:

http://itextsharp.sourceforge.net/
http://www.ujihara.jp/iTextdotNET/

Which are ports of the iText Java PDF Library which I have used and can
confirm ? kicks ass!
I think they both offer limited RTF support as well. Good luck.

--
chris



> > > I need to well formatted ms word document through vb.net.


All the data that will make the word document will come from the database. and formatted dynamically.



Hi Noor,

I am not saying this to be mean but this topic is long the subject matter
not easily containable in a post.

Perhaps you should consider hiring a consultant (me for example :)) or
buying a book.The only way I learned anything about Word is long hard hours
of study - and I still have a lot to learn.


这篇关于在.net中生成ms word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆