PowerDesigner導出表結構字段Word文檔
自定義模板
- report->Report Template...
![](http://static.javashuo.com/static/loading.gif)
- new template
![](http://static.javashuo.com/static/loading.gif)
點擊新建彈出以下頁面:選擇pdm並添加模板名稱code
![](http://static.javashuo.com/static/loading.gif)
- 在avaliable items 選擇 table->list of table columns雙擊便可添加到 template items 中,以下圖所示
![](http://static.javashuo.com/static/loading.gif)
- 右擊選擇layout,選擇須要的字段信息:這裏使用code,name,data type,primary,forreign key, mandatory(強制,便是否非空), comment,並調整width大小
![](http://static.javashuo.com/static/loading.gif)
- 右擊選擇format,添加表格線:默認沒有中間表格線,所有勾選便可,修改完後保存
![](http://static.javashuo.com/static/loading.gif)
- 編輯表頭:右擊選擇edit title,以下圖所示:按須要修改便可
![](http://static.javashuo.com/static/loading.gif)
- 添加模板:report->reports...以下圖:選擇導出模板位置,選擇模板
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
- 導出word:右擊->generate->rtf...->選擇文件路徑
![](http://static.javashuo.com/static/loading.gif)