import"IWebArchive.idl";
|
HRESULT | initWithMainResource ([in] IWebResource *mainResource, [in, size_is(cSubResources)] IWebResource **subResources, [in] int cSubResources, [in, size_is(cSubFrameArchives)] IWebArchive **subFrameArchives, [in] int cSubFrameArchives) |
|
HRESULT | initWithData ([in] IStream *data) |
|
HRESULT | initWithNode ([in] IDOMNode *node) |
|
HRESULT | mainResource ([out, retval] IWebResource **resource) |
|
HRESULT | subResources ([out, retval] IEnumVARIANT **enumResources) |
|
HRESULT | subframeArchives ([out, retval] IEnumVARIANT **enumSubframes) |
|
HRESULT | data ([out, retval] IStream **stream) |
|
◆ data()
HRESULT IWebArchive::data |
( |
[out, retval] IStream ** |
stream | ) |
|
data
- Returns
- The data representation of the archive. The data returned by this method can be used to save a web archive to a file or to place a web archive on the pasteboard using WebArchivePboardType. To create a WebArchive using the returned data, call initWithData:.
◆ initWithData()
HRESULT IWebArchive::initWithData |
( |
[in] IStream * |
data | ) |
|
initWithData: The initializer for creating a WebArchive from data.
- Parameters
-
data | The data representing the archive. This can be obtained using WebArchive's data method. |
- Returns
- An initialized WebArchive.
- (id)initWithData:(NSData *)data;
◆ initWithMainResource()
HRESULT IWebArchive::initWithMainResource |
( |
[in] IWebResource * |
mainResource, |
|
|
[in, size_is(cSubResources)] IWebResource ** |
subResources, |
|
|
[in] int |
cSubResources, |
|
|
[in, size_is(cSubFrameArchives)] IWebArchive ** |
subFrameArchives, |
|
|
[in] int |
cSubFrameArchives |
|
) |
| |
initWithMainResource:subresources:subframeArchives: The initializer for WebArchive.
- Parameters
-
mainResource | The main resource of the archive. |
subresources | The subresources of the archive (can be nil). |
subframeArchives | The archives representing the subframes of the archive (can be nil). |
- Returns
- An initialized WebArchive.
- (id)initWithMainResource:(WebResource *)mainResource subresources:(NSArray *)subresources subframeArchives:(NSArray *)subframeArchives;
◆ initWithNode()
initWithData: The initializer for creating a WebArchive from data.
- Parameters
-
data | The data representing the archive. This can be obtained using WebArchive's data method. |
- Returns
- An initialized WebArchive.
- (id)initWithData:(NSData *)data;
◆ mainResource()
mainResource
- Returns
- The main resource of the archive.
◆ subframeArchives()
HRESULT IWebArchive::subframeArchives |
( |
[out, retval] IEnumVARIANT ** |
enumSubframes | ) |
|
subframeArchives
- Returns
- The archives representing the subframes of the archive (can be nil).
- (NSArray *)subframeArchives;
◆ subResources()
HRESULT IWebArchive::subResources |
( |
[out, retval] IEnumVARIANT ** |
enumResources | ) |
|
subresources
- Returns
- The subresource of the archive (can be nil).
The documentation for this interface was generated from the following file: