com.adobe.ep.ux.webdocumentviewer.domain

# WebDocumentViewer - AS3 ADEP Task Management

Package | com.adobe.ep.ux.webdocumentviewer.domain
Class | public class WebDocumentViewer
Inheritance | WebDocumentViewer ResourceContainer

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Task Management 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

The `WebDocumentViewer` component provides support for displaying forms that are displayed in an HTML wrapper. The `WebDocumentViewer` component is extended to provide support for specific types of forms, such as PDF or HTML forms.

Default MXML Property `mxmlContentFactory`

Public Properties

| Property | Defined By
--- | --- | ---
|  | contentType : String The MIME type of the document. | WebDocumentViewer
|  | url : String The document URL reference. | WebDocumentViewer

Public Methods

| Method | Defined By
--- | --- | ---
|  | WebDocumentViewer() Constructor. | WebDocumentViewer
|  | loadDocument(validateUrl:Boolean = false):void Loads the content into the HTML wrapper. | WebDocumentViewer
|  | unloadDocument():void Unloads the content from the HTML wrapper. | WebDocumentViewer

Property Detail

### contentType

property

`public var contentType:String`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Task Management 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

The MIME type of the document.

### url

property

`public var url:String`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Task Management 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

The document URL reference.

Constructor Detail

### WebDocumentViewer

()
Constructor

`public function WebDocumentViewer()`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Task Management 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Constructor.

Method Detail

### loadDocument

()
method

`public function loadDocument(validateUrl:Boolean = false):void`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Task Management 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Loads the content into the HTML wrapper. The `url` and `contentType` properties must be set prior before calling this method.

Parameters

| `validateUrl:Boolean` (default = `false`)`` — Specifies an optional parameter to validate whether the URL originates from the same domain.

### unloadDocument

()
method

`public function unloadDocument():void`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Task Management 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Unloads the content from the HTML wrapper.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00