Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

2.4.348 WOpt

Office

The WOpt record specifies options for saving as a Web page.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

frtHeaderOld

A

B

C

D

E

F

reserved1

screenSize

reserved2

dwPixelsPerInch

uiCodePage

rgbLocationOfComponents (variable)

...

rgbFuture (variable)

...

frtHeaderOld (4 bytes):  An FrtHeaderOld structure. The value of the frtHeaderOld.rt field MUST be 0x080B.

A - fRelyOnCSS (1 bit):  A bit that specifies whether cascading style sheets (CSS) is used for font formatting when viewing the saved file in a Web browser.

B - fOrganizeInFolder (1 bit):  A bit that specifies whether all supporting files, such as background textures and graphics, are organized in a separate folder when saving this file as a Web page. MUST be a value from  the following table:

Value

Meaning

0

All supporting files are saved in the same folder as the Web page.

1

All supporting files are organized in a separate folder.

C - fUseLongFileNames (1 bit):  A bit that specifies whether long file names are used when saving this file as a Web page.

D - fDownloadComponents (1 bit):  A bit that specifies whether the necessary Microsoft Office Web Components are downloaded if they are not installed when viewing the saved file in a Web browser.

E - fRelyOnVML (1 bit):  A bit that specifies whether the application uses VML to display graphics in a Web browser.

F - fAllowPNG (1 bit):  A bit that specifies whether Portable Network Graphics (PNG) format is allowed as an image format when saving this file as a Web page.

reserved1 (10 bits): MUST be zero, and MUST be ignored.

screenSize (1 byte):  A WebScreenSizeEnum, as specified in [MS-OSHARED] section 2.2.1.4, that specifies the ideal minimum screen size of the target monitor used to view the saved file in a Web browser.

reserved2 (1 byte): MUST be zero, and MUST be ignored.

dwPixelsPerInch (4 bytes):  An unsigned integer that specifies the density, in pixels per inch, of graphics images and table cells when saving this file as a Web page. The value MUST be greater than or equal to 19 and less than or equal to 480.

uiCodePage (4 bytes):  An unsigned integer that specifies the code page. The value MUST be one of the code page values specified in [CODEPG], to be used by the Web browser when viewing the saved file.

rgbLocationOfComponents (variable):  An LPWideString structure that specifies the URL or the file path to the location from which authorized users can download Microsoft Office Web Components when viewing the saved file as a Web page. The value of rgbLocationOfComponents.cch MUST be less than or equal to 2083.

rgbFuture (variable):  A binary stream that specifies the bytes reserved for future use. The size of this field in bytes is calculated according to the following formula:

size of this record – 16 – size of rgbLocationOfComponents

Show:
© 2016 Microsoft