Document.factoryGetDocument

Creates a #EvDocument for the document at @uri; or, if no backend handling the document's type is found, or an error occurred on opening the document, returns %NULL and fills in @error. If the document is encrypted, it is returned but also @error is set to %EV_DOCUMENT_ERROR_ENCRYPTED.

class Document
static
factoryGetDocument
(
string uri
)

Parameters

uri string

an URI

Return Value

Type: Document

a new #EvDocument, or %NULL

Throws

GException on failure.

Meta