UpdateFieldsOnOpen Class
Automatically Recalculate Fields on Open.When the object is serialized out as xml, its qualified name is w:updateFields.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.UpdateFieldsOnOpen
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Class UpdateFieldsOnOpen _
Inherits OnOffType
'使用
Dim instance As UpdateFieldsOnOpen
public class UpdateFieldsOnOpen : OnOffType
Remarks
[ISO/IEC 29500-1 初版]
17.15.1.90 updateFields (Automatically Recalculate Fields on Open)
This element specifies whether the fields contained in this document should automatically have their field result recalculated from the field codes when this document is opened by an application which supports field calculations. [Note: Some fields are always recalculated (e.g. the page numbering), therefore this element only affects fields which are typically not automatically recalculated on opening the document. Also note that this setting must not supersede any document protection (§17.15.1.29) or write protection (§17.15.1.93) settings. end note]
If this element is omitted, then fields should not automatically be recalculated on opening this document.
[Example: Consider a WordprocessingML document that specifies that applications should attempt to automatically recalculate fields from their field codes upon opening this document. This requirement would be specified using the following WordprocessingML in the document settings part:
<w:updateFields w:val="true"/>
The updateFields element's val attribute has a value of true specifying that all fields should automatically be recalculated when opening this document. end example]
Parent Elements |
---|
settings (§17.15.1.78) |
This element's content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.