OfficeDocumentSettings Element (Microsoft Office)

Contains the Web publishing and save options for a document.

Contained In

XML

Subelements

AllowPNG, Colors, DoNotOrganizeInFolder, DoNotRelyOnCSS, DoNotUpdateLinks, DoNotUseLongFilenames, DownloadComponents, LocationOfComponents, PixelsPerInch, ReadOnlyRecommended, RelyOnVML, TargetScreenSize

Remarks

All subelements are optional.

Example

This example specifies that Vector Markup Language (VML) and Portable Network Graphics (PNG) are used, but not cascading style sheets (CSS) or long file names. Hyperlinks and file paths are not updated before the document is saved as a Web page. The supporting files are stored in the same folder as the Web page. Components are downloaded from the file //o9serv/o2000/msowc.cab.


 <o:OfficeDocumentSettings>
  <o:RelyOnVML/>
  <o:AllowPNG/>
  <o:DoNotOrganizeInFolder/>
  <o:DoNotRelyOnCSS/>
  <o:DoNotUpdateLinks/>
  <o:DoNotUseLongFilenames/>
  <o:DownloadComponents/>
  <o:LocationOfComponents HRef="file://o9serv/o2000/msowc.cab"/>
  <o:TargetScreenSize>640x480</o:TargetScreenSize>
  <o:PixelsPerInch>72</o:PixelsPerInch>
 </o:OfficeDocumentSettings>