Поделиться через


DoNotOrganizeInFolder Class

Do Not Place Supporting Files in Subdirectory.When the object is serialized out as xml, its qualified name is w:doNotOrganizeInFolder.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.DoNotOrganizeInFolder

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class DoNotOrganizeInFolder _
    Inherits OnOffType
'Usage
Dim instance As DoNotOrganizeInFolder
public class DoNotOrganizeInFolder : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.2.10 doNotOrganizeInFolder (Do Not Place Supporting Files in Subdirectory)

This element specifies that applications shall not automatically place all supporting files (images which are part of this HTML web page, etc.) in a subdirectory when the contents of this WordprocessingML document are saved as a web page. Typically, applications which save a document as a web page consisting of multiple files save all supporting files in a subdirectory next to the main HTML file (in order to keep those files organized). This element specifies the files shall be placed in the same directory as the actual web page.

If this element is omitted from the document, then all supporting files should be saved into a subdirectory beneath the main web page file when this document is saved as a web page.

[Example: Consider a WordprocessingML document which contains the following content within the web settings part:

<w:webSettings>
<w:doNotOrganizeInFolder w:val="true" />
</w:webSettings>

The doNotOrganizeInFolder element has a val attribute value of true, which specifies that applications should save all supplementary files in the same directory as the main web page HTML document when saving this WordprocessingML document as a web page. end example]

Parent Elements

webSettings (§17.15.2.46)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

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.

See Also

Reference

DoNotOrganizeInFolder Members

DocumentFormat.OpenXml.Wordprocessing Namespace