webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
IWebArchive Interface Reference

import"IWebArchive.idl";

Inheritance diagram for IWebArchive:
WebArchive

Public Member Functions

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)
 

Member Function Documentation

◆ 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:.
  • (NSData *)data;

◆ initWithData()

HRESULT IWebArchive::initWithData ( [in] IStream *  data)

initWithData: The initializer for creating a WebArchive from data.

Parameters
dataThe 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
mainResourceThe main resource of the archive.
subresourcesThe subresources of the archive (can be nil).
subframeArchivesThe 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()

HRESULT IWebArchive::initWithNode ( [in] IDOMNode node)

initWithData: The initializer for creating a WebArchive from data.

Parameters
dataThe data representing the archive. This can be obtained using WebArchive's data method.
Returns
An initialized WebArchive.
  • (id)initWithData:(NSData *)data;

◆ mainResource()

HRESULT IWebArchive::mainResource ( [out, retval] IWebResource **  resource)

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).
  • (NSArray *)subresources;

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