DoNotUseLongFileNames Class

Do Not Use File Names Longer than 8.3 Characters.When the object is serialized out as xml, its qualified name is w:doNotUseLongFileNames.

Inheritance Hierarchy


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


Public Class DoNotUseLongFileNames _
    Inherits OnOffType
Dim instance As DoNotUseLongFileNames
public class DoNotUseLongFileNames : OnOffType


[ISO/IEC 29500-1 1st Edition] doNotUseLongFileNames (Do Not Use File Names Longer than 8.3 Characters)

This element specifies that applications shall ensure that the file names for all files generated when saving this document as a web page do not exceed eight characters with a three character extension. This includes all supporting files (images which are part of this HTML web page, etc.).

[Note: This setting is intended for applications to save web pages which can be supported by legacy web browsers which do not support the reading of long file names when attempting to read and display the resulting web page. end note]

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

<w:doNotUseLongFileNames w:val="true" />

The doNotUseLongFileNames element specifies that applications should ensure that all file names generated when this document is subsequently saved as a web page do not exceed the 8.3 character file name limitation. end example]

Parent Elements

webSettings (§

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


DoNotUseLongFileNames Members

DocumentFormat.OpenXml.Wordprocessing Namespace