For Each i In ActiveDocument.Tables
i.AutoFitBehavior (wdAutoFitWindow)
i.AutoFitBehavior (wdAutoFitWindow)
If (i.Columns.Count =

Then
With i.Rows(1).Cells
With .Shading
.Texture = wdTextureNone
.ForegroundPatternColor = wdColorAutomatic
.BackgroundPatternColor = wdColorGray10
End With
With .Borders(wdBorderLeft)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderRight)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderTop)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderBottom)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderVertical)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth075pt
.DefaultBorderColor = wdColorAutomatic
End With
End If
With i
With .Borders(wdBorderLeft)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderRight)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderTop)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderBottom)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderHorizontal)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderVertical)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth075pt
.Color = wdColorAutomatic
End With
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Next
相关推荐
本主题聚焦于如何利用PowerDesign将表结构导出为Excel脚本,这一操作对于数据迁移、文档记录、数据库审核以及团队协作具有重要意义。 首先,理解PowerDesign的基本功能至关重要。它允许用户通过可视化界面来设计ER...
在IT行业中,数据库设计是软件开发过程中的关键环节,PowerDesign作为一款强大的数据库建模工具,帮助企业或开发者高效地创建和管理数据模型。本话题主要围绕"PowerDesign转word模板"这一主题,深入探讨如何利用...
**PowerDesign(PD)是数据库设计中的一个强大工具,它被广泛用于创建数据模型,以支持软件开发和数据库管理系统的设计。本讲解通过PPT和生动的Flash实例,旨在帮助用户深入理解和掌握PD的使用技巧。** 在数据建模...
在IT领域,数据库设计是至关重要的环节,而PowerDesign作为一款强大的概念数据模型(Conceptual Data Modeling)工具,被广泛应用于数据库建模和设计。本初级教程将带你逐步了解并掌握PowerDesign的基础操作和功能,...
PowerDesign提供了概念数据模型(CDM)、物理数据模型(PDM)和逻辑数据模型(LDM)等多种模型,以满足不同阶段的需求。概念模型关注业务实体和关系,逻辑模型则更侧重于数据库的逻辑结构,而物理模型则考虑了特定...
- **概念数据模型(CDM)**:在 PowerDesign 中,用户可以先创建概念数据模型,这是一个抽象的数据表示,不受特定数据库管理系统(DBMS)的限制。 - **逻辑数据模型(LDM)**:将 CDM 转换为逻辑数据模型,这个...
《图书:PowerDesign软件分析设计技术》是一本深入讲解数据库设计工具PowerDesign9的专业书籍,旨在帮助读者掌握高效、精确的数据库设计方法。PowerDesign是一款强大的数据建模工具,广泛应用于软件开发的前期分析和...
《powerDesign.chm 中文手册》是一份专为PowerDesigner工具编写的中文参考文档,它详细阐述了如何使用这个强大的数据库设计和数据建模工具。PowerDesigner是Sybase公司出品的一款高级系统建模工具,广泛应用于数据库...
PowerDesign6提供了一个直观的用户界面,支持创建概念数据模型(CDM)、逻辑数据模型(LDM)和物理数据模型(PDM)。这些模型是数据库设计的基础,分别对应业务概念、数据库逻辑结构和实际数据库表结构。通过这些...
根据提供的文件信息,我们了解到这份文档名为《PowerDesign图文教程.pdf》,描述和标签均指向“技术及资料”。文档的内容似乎涉及使用PowerDesigner软件进行数据库设计的过程。虽然提供的部分内容存在OCR扫描技术...
2. **电气网络建模**:Power Design 12允许用户构建详细的电气网络模型,包括各种类型的变压器、断路器、隔离开关、电缆、架空线路等设备,以及负荷、发电机和储能装置等。 3. **计算与分析**:软件具备强大的计算...
- **面向对象模型(Object-Oriented Model, OOM)**:这是一种基于面向对象编程方法论的数据模型,用于描述系统的对象组成及其之间的交互关系。 #### 四、OOM的九种图详解 - **用例图(The Use Case Diagram)**:描述...
- **逆向工程**:如果你已经有了一个现有的数据库,可以通过逆向工程将它转换为PowerDesign的数据模型。这可以帮助你理解和改进现有的数据库结构。在“Database”菜单中选择“Reverse Engineer”,按照提示操作即可...
另外,还包括对软件层面的电源优化模型(Source-Level Models for Software Power Optimization),这些模型能够帮助软件开发者理解程序对硬件能耗的影响,从而编写出更节能的代码。 此外,文档还提到了使用背光...