Public Member Functions | Public Attributes

nsIMarkupDocumentViewer Interface Reference

import "nsIMarkupDocumentViewer.idl";

List of all members.

Public Member Functions

void scrollToNode (in nsIDOMNode node)
void sizeToContent ()
 Tell the container to shrink-to-fit or grow-to-fit its contents.

Public Attributes

attribute float textZoom
 The amount by which to scale all text.
attribute float fullZoom
 The amount by which to scale all lengths.
attribute boolean authorStyleDisabled
 Disable entire author style level (including HTML presentation hints).
attribute ACString defaultCharacterSet
attribute ACString forceCharacterSet
attribute ACString hintCharacterSet
attribute PRInt32 hintCharacterSetSource
attribute ACString prevDocCharacterSet
attribute octet bidiTextDirection
 Options for Bidi presentation.
attribute octet bidiTextType
 bidiTextType: the ordering of bidirectional text.
attribute octet bidiControlsTextMode
 bidiControlsTextMode: the order of bidirectional text in form controls.
attribute octet bidiNumeral
 bidiNumeral: the type of numerals to display.
attribute octet bidiSupport
 bidiSupport: whether to use platform bidi support or Mozilla's bidi support 1 - Use Mozilla's bidi support 2 - Use the platform bidi support 3 - Disable bidi support
attribute octet bidiCharacterSet
 bidiCharacterSet: whether to force the user's character set 1 - use the document character set 2 - use the character set chosen by the user
attribute PRUint32 bidiOptions
 Use this attribute to access all the Bidi options in one operation.

Member Function Documentation

void nsIMarkupDocumentViewer::scrollToNode ( in nsIDOMNode  node  ) 
void nsIMarkupDocumentViewer::sizeToContent (  ) 

Tell the container to shrink-to-fit or grow-to-fit its contents.


Member Data Documentation

Disable entire author style level (including HTML presentation hints).

bidiCharacterSet: whether to force the user's character set 1 - use the document character set 2 - use the character set chosen by the user

bidiControlsTextMode: the order of bidirectional text in form controls.

1 - logical 2 - visual 3 - like the containing document

bidiNumeral: the type of numerals to display.

1 - depending on context, default is Arabic numerals 2 - depending on context, default is Hindi numerals 3 - Arabic numerals 4 - Hindi numerals

Use this attribute to access all the Bidi options in one operation.

bidiSupport: whether to use platform bidi support or Mozilla's bidi support 1 - Use Mozilla's bidi support 2 - Use the platform bidi support 3 - Disable bidi support

Options for Bidi presentation.

Use these attributes to access the individual Bidi options. bidiTextDirection: the default direction for the layout of bidirectional text. 1 - left to right 2 - right to left

bidiTextType: the ordering of bidirectional text.

This may be either "logical" or "visual". Logical text will be reordered for presentation using the Unicode Bidi Algorithm. Visual text will be displayed without reordering. 1 - the default order for the charset 2 - logical order 3 - visual order

The amount by which to scale all lengths.

Default is 1.0.

The amount by which to scale all text.

Default is 1.0.


The documentation for this interface was generated from the following file: