DocumentProperties Element (Microsoft Office)

Specifies a document's properties.

Contained In

XML

Subelements

Author, Bytes, Category, Characters, CharactersWithSpaces, Company, Created, Description, HiddenSlides, Keywords, LastAuthor, LastPrinted, LastSaved, Lines, Manager, MultimediaClips, Notes, Pages, Paragraphs, PresentationFormat, Revision, Slides, Subject, Template, TotalTime, Version, Words

Remarks

This element contains subelements that describe data for the document's Properties dialog box. The available fields in the Properties dialog box may differ between Office programs. Certain subelements might not generate output if they represent the default settings or values.

See Also

CustomDocumentProperties

Example

The following example shows the document properties for a Microsoft Word document.

 <o:DocumentProperties>
  <o:Subject>Sales Data for this Quarter</o:Subject>
  <o:Author>Kim Abercrombie</o:Author>
  <o:Keywords>Sales Marketing Report</o:Keywords>
  <o:Description>Pending approval</o:Description>
  <o:Template>Contemporary Report.dot</o:Template>
  <o:LastAuthor>Kim Abercrombie</o:LastAuthor>
  <o:Revision>10</o:Revision>
  <o:TotalTime>114</o:TotalTime>
  <o:LastPrinted>1999-05-19T00:49:00Z</o:LastPrinted>
  <o:Created>1999-05-18T22:32:00Z</o:Created>
  <o:LastSaved>1999-05-19T00:52:00Z</o:LastSaved>
  <o:Pages>3</o:Pages>
  <o:Words>2330</o:Words>
  <o:Characters>13587</o:Characters>
  <o:Category>Reports</o:Category>
  <o:Manager>Kate Dresen</o:Manager>
  <o:Company>Adventure Works</o:Company>
  <o:Lines>235</o:Lines>
  <o:Paragraphs>32</o:Paragraphs>
  <o:CharactersWithSpaces>15885</o:CharactersWithSpaces>
  <o:Version>9.2720</o:Version>
 </o:DocumentProperties>

The following example shows the document properties for a Microsoft PowerPoint presentation.

 <o:DocumentProperties>
  <o:Subject>Sales Data for this Quarter</o:Subject>
  <o:Author>Kim Abercrombie</o:Author>
  <o:Keywords>Sales Marketing Report</o:Keywords>
  <o:Description>Pending approval</o:Description>
  <o:Template>C:\Program Files\Microsoft Office\Templates\Presentation Designs\Strategic.pot</o:Template>
  <o:LastAuthor>Kim Abercrombie</o:LastAuthor>
  <o:Revision>8</o:Revision>
  <o:TotalTime>52</o:TotalTime>
  <o:LastPrinted>1999-05-19T00:49:00Z</o:LastPrinted>
  <o:Created>1999-05-18T22:32:00Z</o:Created>
  <o:LastSaved>1999-05-19T00:52:00Z</o:LastSaved>
  <o:Words>402</o:Words>
  <o:Category>Reports</o:Category>
  <o:PresentationFormat>On-screen Show</o:PresentationFormat>
  <o:Manager>Kate Dresen</o:Manager>
  <o:Company>Adventure Works</o:Company>
  <o:Bytes>67452</o:Bytes>
  <o:Paragraphs>125</o:Paragraphs>
  <o:Slides>17</o:Slides>
  <o:Notes>2</o:Notes>
  <o:HiddenSlides>1</o:HiddenSlides>
  <o:MultimediaClips>1</o:MultimediaClips>
  <o:Version>9.2720</o:Version>
 </o:DocumentProperties>