mlreportgen.dom.docxsubdocclass
Package:mlreportgen.dom
引用外部MicrosoftWorddocument
Description
使用一个对象mlreportgen.dom.docxsubdoc
班级创建对外部的参考Microsoft®Word单词,PDF或HTML文档中的文档。指向引用文档的链接(也称为subdocument)插入在父档中,您可以在其中附加DOCXSubDoc
目的。
When you initially open the parent document in Word, Word displays the link to the subdocument instead of the content. To replace the link with the content, selectExpand Subdocumentsfrom the概述tab of theViewtab on the Word toolstrip. Therptview
command expands subdocuments when it opens a Word document. You can also usedocview
to expand and unlink subdocuments.
Themlreportgen.dom.docxsubdoc
班级是handle
class.
Class Attributes
ConstructOnLoad |
真的
|
HandleCompatible |
真的
|
For information on class attributes, seeClass Attributes.
Creation
Properties
方法
Examples
替代功能
mlreportgen.dom.EmbeddedObject
要将文档以外的其他文档插入另一个文档,请使用mlreportgen.dom.EmbeddedObject
class.
To insert Word documents into another document, you can use objects of theDOCXSubDoc
或者EmbeddedObject
class. To decide which class to use, consider these guidelines:
利用
DOCXSubDoc
对象如果您希望父文档最初显示针对子登录的链接。当父文档链接到轮廓视图中的一组子插图时,您可能需要最初显示链接。利用EmbeddedObject
objects if you want the parent document to display the subdocument contents regardless of whether you open the parent document in Word or by usingrptview
.利用
EmbeddedObject
objects if you want to move the parent document without moving the subdocuments.