[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

webPublishing (Web Publishing Properties)

This element defines properties that relate to publishing this workbook to the Web.

Parent Elements

workbook3.2.27)

 

Attributes

Description

allowPng (Allow PNG)

Specifies a boolean value that indicates whether the application saves images in the PNG (Portable Network Graphics) graphic format.

 

A value of on, 1, or true indicates the application supports PNG .

 

A value of off, 0, or false indicates does not support PNG.

 

The default value for this attribute is false.

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

codePage (Code Page)

Specifies the encoding the application will use when a Web page is saved. A code is table that relates the binary character codes used by a program to keys on the keyboard or to the appearance of characters on the display. Code pages are a means of providing support for the languages used in different countries.

 

[Note: There are a number of code page technologies. One example of potential values can be found at: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ end note]

 

The default value for this attribute is the workbook's encoding.

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

css (Use CSS)

Specifies a boolean value that indicates whether the application will use Cascading Style Sheet (CSS) for font formatting on Web pages.

 

A value of on, 1, or true indicates the application will use CSS for font formats in Web pages.

 

A value of off, 0, or false indicates the application will not use CSS for font formats.

 

The default value for this attribute is true.

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

dpi (DPI)

Specifies the DPI (defined as the number of pixels per inch) that will be used to display images in Web pages. The specified DPI affects the size of graphics relative to the size of text on the screen.

The default value for this attribute is 96.

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

longFileNames (Enable Long File Names)

Specifies a boolean value that indicates whether the application allows file names longer than 8 characters for Web pages.

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

targetScreenSize (Target Screen Size)

Specifies the screen size on which Web pages will be displayed. The specified screen size might affect the size and layout of images on web pages.

 

The default value of this attribute is "800x600."

 

The possible values for this attribute are defined by the ST_TargetScreenSize simple type (§3.18.81).

thicket (Thicket)

Specifies a boolean value that indicates that the application stores supporting files such as bullets, background textures, and graphics in a separate folder from the Web page

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

vml (VML in Browsers)

Specifies a boolean value that indicates whether the application uses VML (Vector Markup Language) to display graphics in Web browsers

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_WebPublishing">

   <attribute name="css" type="xsd:boolean" use="optional" default="true"/>

   <attribute name="thicket" type="xsd:boolean" use="optional" default="true"/>

   <attribute name="longFileNames" type="xsd:boolean" use="optional" default="true"/>

   <attribute name="vml" type="xsd:boolean" use="optional" default="false"/>

   <attribute name="allowPng" type="xsd:boolean" use="optional" default="false"/>

   <attribute name="targetScreenSize" type="ST_TargetScreenSize" use="optional" default="800x600"/>

   <attribute name="dpi" type="xsd:unsignedInt" use="optional" default="96"/>

   <attribute name="codePage" type="xsd:unsignedInt" use="optional"/>

</complexType>