《PDF生成器概要设计说明书(精品)》由会员分享,可在线阅读,更多相关《PDF生成器概要设计说明书(精品)(12页珍藏版)》请在金锄头文库上搜索。
1、PDF生成器软件概要设计说明书参考:开源项目PDFCreator1引言21.1编写目的21.2背景21.3定义21.4参考资料22总体设计22.1需求规定22.2运行环境22.3基本设计概念和处理流程32.4结构32.5功能器函数33接口设计34运行设计44.1运行模块组合44.2运行控制44.3运行时间45系统出错处理设计55.1出错信息55.2补救措施55.3系统维护设计概要设计说明书1引言1.1编写目的PDF生成器总体设计说明书是面向系统分析员和程序员的,系统分析员依据软件需求说明书和总体设计说明书设计数据库和软件的详细设计,同时也是系统分析员向程序员分配代码设计任务的依据。1.2背景说
2、明:a. PDF生成器需求分析说明书b. PDF生成器开发小组1.3参考资料l 国家软件工程开发标准l PDF生成器需求分析说明书2.总体设计2.1 需求规定参见PDF生成器需求分析说明书2.2 运行环境参见PDF生成器需求分析说明书2.3 基本设计概念和处理流程2.4 PDF生成器功能结构示意图:(11204226肖志辉)添加打印机删除打印机虚拟打印机设置新建打印机名打印/停止打印打印机描述文件添加文档标题删除状态顶部/向上创建时间底部/向下打印监视器日志常规设置Ghostscript文档保存动作打印程序字体语言文件格式设置PDF,PNG,JEPGBMP,PCX,TIFFPS,EPS,TXT
3、PSD,PCL,RAWSVG程序日志文件记录日志PDFCreator设置合并/合并全部打印设置文件名文档大小 PDF生成器2.4功能子模块结构(11204229姚国梁)语言打印一页一文件文档属性邮戳文档打印设置保存后动作保存前动作动作保存自动保存文件名替换保存文件名Ghostscript程序文字常规设置增删语言包设置当前系统语言测试程序字体额外的的Ghostscript参数额外的的Ghostscript搜索路径发送电子邮件的方法系统外壳集成进程优先级PDFCreeator设置属性模块调用函数(11204231张颖)属性函数功能需求属性模块名虚拟打印机设置1.添加打印机2.删除打印机3.新建打印
4、机名4.打印机描述文PDFCreatorApplication打印监视器1.文档标题2.状态3.创建时间4.创建时间5.文档大小6.文件名WindowsVersion打印设置1.打印/停止打印2.添加3.删除4.顶部/向上5.底部/向下6.合并/合并全部PrintjobPDFCreator设置1.常规设置2.Ghostscript3.文档4.动作5.打印6.程序字体7.语言8.文件格式设置InstalledAsServer日志1.记录日志2.日志文件LogfileclsPDFCreator函数COM接口PropertiesPublic Property Get cCountOfPrintjob
5、s() As LongPublic Property Get cDefaultPrinter() As StringPublic Property Let cDefaultPrinter(ByVal PrinterName As String)Public Property Get cError() As clsPDFCreatorErrorPublic Property Get cErrorDetail(ByVal PropertyName As String) As VariantPublic Property Get cGhostscriptVersion() As StringPubl
6、ic Property Get cInstalledAsServer() As BooleanPublic Property Get cInstanceCounter() As LongPublic Property Get cIsClosed() As BooleanPublic Property Get cIsConverted() As BooleanPublic Property Let cIsConverted(ByVal value As Boolean)Public Property Get cIsLogfileDialogDisplayed() As BooleanPublic
7、 Property Get cIsOptionsDialogDisplayed() As BooleanPublic Property Get cOption(ByVal PropertyName As String) As VariantPublic Property Let cOption(ByVal PropertyName As String, ByVal value As Variant)Public Property Get cOptionProfile(ByVal ProfileName As String, ByVal PropertyName As String) As Va
8、riantPublic Property Let cOptionProfile(ByVal ProfileName As String, ByVal PropertyName As String, ByVal value As Variant)Public Property Get cOptions() As clsPDFCreatorOptionsPublic Property Set cOptions(ByVal Options1 As clsPDFCreatorOptions)Public Property Get cOptionsNames() As CollectionPublic
9、Property Get cOptionsProfile(ByVal ProfileName As String) As clsPDFCreatorOptionsPublic Property Set cOptionsProfile(ByVal ProfileName As String, ByVal Options1 As clsPDFCreatorOptions)Public Property Get cOutputFilename() As StringPublic Property Get cPDFCreatorApplicationPath() As StringPublic Pro
10、perty Get cPostscriptInfo(ByVal PostScriptFilename As String, ByVal PropertyName As String) As StringPublic Property Get cPrinterProfile(ByVal PrinterName As String) As StringPublic Property Let cPrinterProfile(ByVal PrinterName As String, ByVal ProfileName As String)Public Property Get cPrinterStop
11、() As BooleanPublic Property Let cPrinterStop(ByVal value As Boolean)Public Property Get cPrintjobFilename(ByVal JobNumber As Long) As StringPublic Property Get cProgramIsRunning() As BooleanPublic Property Get cProgramRelease(Optional ByVal WithBeta As Boolean = True) As StringPublic Property Get c
12、StandardOption(ByVal PropertyName As String) As VariantPublic Property Get cStandardOptions() As clsPDFCreatorOptionsPublic Property Get cStopURLPrinting() As BooleanPublic Property Let cStopURLPrinting(ByVal value As Boolean)Public Property Get cVisible() As BooleanPublic Property Let cVisible(ByVa
13、l value As Boolean)Public Property Get cWindowState() As LongPublic Property Let cWindowState(ByVal value As Long) Value must be 0 = normal or 1 = minimized or 2 = maximizedPublic Property Get cWindowsVersion() As String FunctionsPublic Function cAddPDFCreatorPrinter(ByVal PrinterName As String, Opt
14、ional ByVal ProfileName As String = ) As BooleanPublic Function cAddProfile(ByVal ProfileName As String, Optional ByVal Options1 As clsPDFCreatorOptions) As BooleanPublic Function cClose() As BooleanPublic Function cDeletePDFCreatorPrinter(ByVal PrinterName As String) As BooleanPublic Function cDeleteProfile(ByVal ProfileName As String) As BooleanPublic Function cGetLogfile() As StringPublic Function cGetPDFCreatorPrinters() As Collecti