Content and Layout

Some general interfaces that deal with content and layout. The nsIImageDocument interface represents an image displayed as a top-level item in the browser.

Jump to:


General Content

Some general content related interfaces and components.

nsIContentPolicy
nsIImageDocument
nsIImageLoadingContent
nsIPhonetic
nsIPrintProgress
nsIPrintProgressParams
nsIPrintStatusFeedback
nsISelectElement
nsIStyleSheetService
nsISyncLoadDOMService

@mozilla.org/content/canvas-rendering-context;1?id=2d
@mozilla.org/content/css-parser;1
@mozilla.org/content/dom-selection;1
@mozilla.org/content/generated-content-iterator;1
@mozilla.org/content/generated-subtree-content-iterator;1
@mozilla.org/content/post-content-iterator;1
@mozilla.org/content/pre-content-iterator;1
@mozilla.org/content/range-utils;1
@mozilla.org/content/range;1
@mozilla.org/content/style-sheet-service;1
@mozilla.org/content/subtree-content-iterator;1
@mozilla.org/content/syncload-dom-service;1
@mozilla.org/data-document-content-policy;1
@mozilla.org/embedding/browser/content-policy;1
@mozilla.org/layout/caret;1
@mozilla.org/layout/content-policy;1
@mozilla.org/layout/form-processor;1
@mozilla.org/layout/htmlCopyEncoder;1
@mozilla.org/layout/htmlfragmentsink;1
@mozilla.org/layout/htmlfragmentsink;2
@mozilla.org/layout/htmlsanitizer;1
@mozilla.org/layout/nodeinfomanager;1
@mozilla.org/layout/plaintextsink;1
@mozilla.org/layout/xmlfragmentsink;1
@mozilla.org/layout/xmlfragmentsink;2
@mozilla.org/permissions/contentblocker;1
@mozilla.org/xbl/binding-manager;1
@mozilla.org/xbl;1


SVG

Interfaces used by the SVG implementation.

nsISVGGeometrySource
nsISVGGlyphGeometrySource
nsISVGGlyphMetricsSource
nsISVGGradient
nsISVGLinearGradient
nsISVGPathGeometrySource
nsISVGRadialGradient
nsISVGRectangleSink
nsISVGRenderer
nsISVGRendererCanvas
nsISVGRendererGlyphGeometry
nsISVGRendererGlyphMetrics
nsISVGRendererPathBuilder
nsISVGRendererPathGeometry
nsISVGRendererRegion
nsISVGRendererSurface

Content Serializers

Components used to output content of various types.

@mozilla.org/layout/contentserializer;1?mimetype=application/vnd.mozilla.xul+xml
@mozilla.org/layout/contentserializer;1?mimetype=application/xhtml+xml
@mozilla.org/layout/contentserializer;1?mimetype=application/xml
@mozilla.org/layout/contentserializer;1?mimetype=image/svg+xml
@mozilla.org/layout/contentserializer;1?mimetype=text/html
@mozilla.org/layout/contentserializer;1?mimetype=text/plain
@mozilla.org/layout/contentserializer;1?mimetype=text/xml

Document Encoders

Components used to read content of various types.

@mozilla.org/layout/documentEncoder;1?type=application/xhtml+xml
@mozilla.org/layout/documentEncoder;1?type=application/xml
@mozilla.org/layout/documentEncoder;1?type=image/svg+xml
@mozilla.org/layout/documentEncoder;1?type=text/html
@mozilla.org/layout/documentEncoder;1?type=text/plain
@mozilla.org/layout/documentEncoder;1?type=text/xml

Element Factories

Components used to generate elements in various namespaces.

@mozilla.org/layout/element-factory;1?namespace=http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul
@mozilla.org/layout/element-factory;1?namespace=http://www.mozilla.org/xbl
@mozilla.org/layout/element-factory;1?namespace=http://www.w3.org/1998/Math/MathML
@mozilla.org/layout/element-factory;1?namespace=http://www.w3.org/1999/xhtml
@mozilla.org/layout/element-factory;1?namespace=http://www.w3.org/XML/1998/namespace

Reference documentation is generated from Mozilla's source.