从文本中读取数据(由记录分隔符分隔)文件并创建pdf [英] read data from text (separated by record delimieters) file and create pdf

查看:131
本文介绍了从文本中读取数据(由记录分隔符分隔)文件并创建pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须编写一个Windows服务,该服务必须执行以下任务;
-该Windows服务将读取文本文件"A",其中包含客户的订单
并为每个客户的订单明细创建单独的pdf文件
-此文本文件"A"可以有多个客户订单,这些订单由
分隔 特殊字符<!-"-表示客户记录的开始,并且
特殊字符->" -表示客户记录的结尾
-pdf文件还需要使用与
中相同的格式进行格式化 文字文件

谁能给我一个提示,以开始和完成此任务的方法.其余的都是微不足道的.如果您不这样认为,请提出具体问题并提交邮政编码.


其他人可以提出任何建议吗?

i have to write a windows service which has to perform the following task;
- this windows service will read a text file ''A'' which contains customer''s orders
and create separate pdf files for each customers orders details
- this text file ''A'' can have multiple customers orders which are separated by
special character "<!--" - denotes start of Customer''s Records and
special character "-->" - denotes end of Customer''s record
- the pdf files also need to be formatted with the same structure as it is in the
text file

can anyone give me a clue how to start and complete this task.

解决方案

Yes, you start by buying a PDF library to do the PDFs for you. The rest is trivial. If you don''t think so, ask specific questions and post code.


can anybody other give any suggestion


这篇关于从文本中读取数据(由记录分隔符分隔)文件并创建pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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