Document.factoryGetDocumentFull

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
factoryGetDocumentFull

Parameters

uri string

an URI

flags EvDocumentLoadFlags

flags from #EvDocumentLoadFlags

Return Value

Type: Document

a new #EvDocument, or %NULL

Throws

GException on failure.

Meta