<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>AutoPipe中如何修改Word报表样式</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/64310/autopipe-word</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>AutoPipe中如何修改Word报表样式</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/64310/autopipe-word</link><pubDate>Wed, 01 Feb 2023 07:07:38 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:77e6ec5c-b3ed-418c-8f4c-757c92174a2d</guid><dc:creator>Cindy Yu</dc:creator><comments>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/64310/autopipe-word#comments</comments><description>Current Revision posted to 技术资料库 by Cindy Yu on 2/1/2023 7:07:38 AM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;【问题描述】&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;在AutoPipe中使用Word Output Report导出应力结果生成word报表时，如何修改Word文档中的模板格式&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;【解决方案】&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;第一步：确认模板储存路径：&lt;span&gt;C:\Program Files (x86)\Bentley\AutoPIPE CONNECT v12\ReportTemplates\en\Word&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:480px;max-width:640px;" alt=" " src="/resized-image/__size/1280x960/__key/communityserver-wikis-components-files/00-00-00-04-10/QQ_FC62F3972A62FE56_20230201145312.png" /&gt;&lt;/p&gt;
&lt;p&gt;第二步：在AutoPipe中通过生成的Word报表中的关键信息如表头名称、管线代码（Piping Code）等信息，在C盘中找到对应的模板。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;模板文件命名规则&lt;/strong&gt;：模板文件名称皆为生成的word文档中的&lt;strong&gt;表头名称&lt;/strong&gt;&lt;strong&gt;+Data Template+&lt;/strong&gt;&lt;strong&gt;其他内容&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;以下图中生成CodeCompliance应力信息为例：生成的文档中表头名称为Code Compliance；管道编码信息（Piping Code）为ASME B31.3。&lt;/p&gt;
&lt;p&gt;其模板文件对应的名称则为CodeComplianceData Template_B31.3+其他内容。&lt;/p&gt;
&lt;p&gt;注意：按照上述步骤查找模板文件时，若有多个文档满足命名规则，此时需要逐个打开这些文档和实际报表中的列标题排布进行比对，从而确定正确的模板文件。&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:237px;max-width:480px;" alt=" " src="/resized-image/__size/960x474/__key/communityserver-wikis-components-files/00-00-00-04-10/4505.Picture2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:480px;" alt=" " src="/resized-image/__size/960x480/__key/communityserver-wikis-components-files/00-00-00-04-10/3125.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:480px;" alt=" " src="/resized-image/__size/960x480/__key/communityserver-wikis-components-files/00-00-00-04-10/31460.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;【注意】&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;在C盘存储的模板文档不允许直接编辑。因此，需要先将模板文件剪切到其他路径下进行编辑，并同时拷贝原模板文件留作备份，便于后续恢复。&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;模板中《》书名号部分的内容是读取分析结果值的变量名称，不能修改。除此以外其他项，如各个列标题等，可以直接修改。&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;若需要修改报表中的颜色及字体，则需要通过修改Word文件夹下的HeaderOutputTemplate.docx文件来做统一修改。&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;需了解更多模板定制相关内容可参考下方视频链接&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="https://gateway.on24.com/wcc/eh/2541253/lp/3813954/coffee-corner-autopipe-reporting"&gt;Coffee Corner: AutoPIPE - Reporting&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gateway.on24.com/wcc/eh/2541253/lp/3845017/coffee-corner-autopipe-report-customization"&gt;Coffee Corner: AutoPIPE - Report Customization&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gateway.on24.com/wcc/eh/2541253/lp/3865961/coffee-corner-autopipe-report-examples"&gt;Coffee Corner: AutoPIPE - Report Examples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>