2.6.10 CT_WorkbookPr

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

Referenced by: workbookPr

CT_WorkbookPr is a complex type that specifies additional properties for a workbook.

Attributes:

defaultImageDpi: An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute that specifies the resolution in which images in the workbook is saved, in DPI ([ISO/IEC29500-1:2016] section 18.2.24), when the autoCompressPictures attribute of the WorkbookPr ([ISO/IEC29500-1:2016] section 18.2.28) element is "true" and the CT_UseLocalDpi ([MS-ODRAWXML] section 2.3.1.13) element of the drawings part ([ISO/IEC29500-1:2016] section 12.3.8) corresponding to the image being saved is "false". MUST be equal to "96", "150", or "220".

discardImageEditData: A Boolean ([XMLSCHEMA2/2] section 3.2.2) attribute that specifies whether all CT_Photo ([MS-ODRAWXML] section 2.3.1.9) elements and cropped out areas of images in the workbook are not saved.

Value

Meaning

"true"

All CT_Photo elements and cropped out areas of images in the workbook are not saved.

"false"

All CT_Photo elements and cropped out areas of images in the workbook are saved.

accuracyVersion: An unsignedInt attribute that specifies how functions are calculated in the workbook. SHOULD be equal to zero ("0").<11>

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_WorkbookPr">
   <xsd:attribute name="defaultImageDpi" type="xsd:unsignedInt" default="220"/>
   <xsd:attribute name="discardImageEditData" type="xsd:boolean" default="false"/>
   <xsd:attribute name="accuracyVersion" type="xsd:unsignedInt" default="0"/>
 </xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).