Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.Poppler.Objects.Document
Contents
- Exported types
- Methods
- findDest
- getAttachments
- getAuthor
- getCreationDate
- getCreator
- getFormField
- getId
- getKeywords
- getMetadata
- getModificationDate
- getNAttachments
- getNPages
- getPage
- getPageByLabel
- getPageLayout
- getPageMode
- getPdfVersion
- getPdfVersionString
- getPermissions
- getProducer
- getSubject
- getTitle
- hasAttachments
- isLinearized
- newFromData
- newFromFile
- newFromGfile
- newFromStream
- save
- saveACopy
- Properties
Description
- newtype Document = Document (ManagedPtr Document)
- class GObject o => IsDocument o
- toDocument :: IsDocument o => o -> IO Document
- noDocument :: Maybe Document
- data DocumentFindDestMethodInfo
- documentFindDest :: (HasCallStack, MonadIO m, IsDocument a) => a -> Text -> m Dest
- data DocumentGetAttachmentsMethodInfo
- documentGetAttachments :: (HasCallStack, MonadIO m, IsDocument a) => a -> m [Attachment]
- data DocumentGetAuthorMethodInfo
- documentGetAuthor :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetCreationDateMethodInfo
- documentGetCreationDate :: (HasCallStack, MonadIO m, IsDocument a) => a -> m CLong
- data DocumentGetCreatorMethodInfo
- documentGetCreator :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetFormFieldMethodInfo
- documentGetFormField :: (HasCallStack, MonadIO m, IsDocument a) => a -> Int32 -> m FormField
- data DocumentGetIdMethodInfo
- documentGetId :: (HasCallStack, MonadIO m, IsDocument a) => a -> m (Bool, Text, Text)
- data DocumentGetKeywordsMethodInfo
- documentGetKeywords :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetMetadataMethodInfo
- documentGetMetadata :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetModificationDateMethodInfo
- documentGetModificationDate :: (HasCallStack, MonadIO m, IsDocument a) => a -> m CLong
- data DocumentGetNAttachmentsMethodInfo
- documentGetNAttachments :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Word32
- data DocumentGetNPagesMethodInfo
- documentGetNPages :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Int32
- data DocumentGetPageMethodInfo
- documentGetPage :: (HasCallStack, MonadIO m, IsDocument a) => a -> Int32 -> m Page
- data DocumentGetPageByLabelMethodInfo
- documentGetPageByLabel :: (HasCallStack, MonadIO m, IsDocument a) => a -> Text -> m Page
- data DocumentGetPageLayoutMethodInfo
- documentGetPageLayout :: (HasCallStack, MonadIO m, IsDocument a) => a -> m PageLayout
- data DocumentGetPageModeMethodInfo
- documentGetPageMode :: (HasCallStack, MonadIO m, IsDocument a) => a -> m PageMode
- data DocumentGetPdfVersionMethodInfo
- documentGetPdfVersion :: (HasCallStack, MonadIO m, IsDocument a) => a -> m (Word32, Word32)
- data DocumentGetPdfVersionStringMethodInfo
- documentGetPdfVersionString :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetPermissionsMethodInfo
- documentGetPermissions :: (HasCallStack, MonadIO m, IsDocument a) => a -> m [Permissions]
- data DocumentGetProducerMethodInfo
- documentGetProducer :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetSubjectMethodInfo
- documentGetSubject :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetTitleMethodInfo
- documentGetTitle :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Text
- data DocumentHasAttachmentsMethodInfo
- documentHasAttachments :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Bool
- data DocumentIsLinearizedMethodInfo
- documentIsLinearized :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Bool
- documentNewFromData :: (HasCallStack, MonadIO m) => Text -> Int32 -> Maybe Text -> m Document
- documentNewFromFile :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> m Document
- documentNewFromGfile :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Maybe Text -> Maybe b -> m Document
- documentNewFromStream :: (HasCallStack, MonadIO m, IsInputStream a, IsCancellable b) => a -> Int64 -> Maybe Text -> Maybe b -> m Document
- data DocumentSaveMethodInfo
- documentSave :: (HasCallStack, MonadIO m, IsDocument a) => a -> Text -> m ()
- data DocumentSaveACopyMethodInfo
- documentSaveACopy :: (HasCallStack, MonadIO m, IsDocument a) => a -> Text -> m ()
- data DocumentAuthorPropertyInfo
- documentAuthor :: AttrLabelProxy "author"
- getDocumentAuthor :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentCreationDatePropertyInfo
- documentCreationDate :: AttrLabelProxy "creationDate"
- getDocumentCreationDate :: (MonadIO m, IsDocument o) => o -> m Int32
- data DocumentCreatorPropertyInfo
- documentCreator :: AttrLabelProxy "creator"
- getDocumentCreator :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentFormatPropertyInfo
- documentFormat :: AttrLabelProxy "format"
- getDocumentFormat :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentFormatMajorPropertyInfo
- documentFormatMajor :: AttrLabelProxy "formatMajor"
- getDocumentFormatMajor :: (MonadIO m, IsDocument o) => o -> m Word32
- data DocumentFormatMinorPropertyInfo
- documentFormatMinor :: AttrLabelProxy "formatMinor"
- getDocumentFormatMinor :: (MonadIO m, IsDocument o) => o -> m Word32
- data DocumentKeywordsPropertyInfo
- documentKeywords :: AttrLabelProxy "keywords"
- getDocumentKeywords :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentLinearizedPropertyInfo
- documentLinearized :: AttrLabelProxy "linearized"
- getDocumentLinearized :: (MonadIO m, IsDocument o) => o -> m Bool
- data DocumentMetadataPropertyInfo
- documentMetadata :: AttrLabelProxy "metadata"
- getDocumentMetadata :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentModDatePropertyInfo
- documentModDate :: AttrLabelProxy "modDate"
- getDocumentModDate :: (MonadIO m, IsDocument o) => o -> m Int32
- data DocumentPageLayoutPropertyInfo
- documentPageLayout :: AttrLabelProxy "pageLayout"
- getDocumentPageLayout :: (MonadIO m, IsDocument o) => o -> m PageLayout
- data DocumentPageModePropertyInfo
- documentPageMode :: AttrLabelProxy "pageMode"
- getDocumentPageMode :: (MonadIO m, IsDocument o) => o -> m PageMode
- data DocumentPermissionsPropertyInfo
- documentPermissions :: AttrLabelProxy "permissions"
- getDocumentPermissions :: (MonadIO m, IsDocument o) => o -> m [Permissions]
- data DocumentProducerPropertyInfo
- documentProducer :: AttrLabelProxy "producer"
- getDocumentProducer :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentSubjectPropertyInfo
- documentSubject :: AttrLabelProxy "subject"
- getDocumentSubject :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentTitlePropertyInfo
- documentTitle :: AttrLabelProxy "title"
- getDocumentTitle :: (MonadIO m, IsDocument o) => o -> m (Maybe Text)
- data DocumentViewerPreferencesPropertyInfo
- documentViewerPreferences :: AttrLabelProxy "viewerPreferences"
- getDocumentViewerPreferences :: (MonadIO m, IsDocument o) => o -> m [ViewerPreferences]
Exported types
Constructors
Document (ManagedPtr Document) |
Instances
GObject Document Source # | |
IsObject Document Source # | |
IsDocument Document Source # | |
((~) * info (ResolveDocumentMethod t Document), MethodInfo * info Document p) => IsLabel t (Document -> p) Source # | |
((~) * info (ResolveDocumentMethod t Document), MethodInfo * info Document p) => IsLabelProxy t (Document -> p) Source # | |
HasAttributeList * Document Source # | |
type AttributeList Document Source # | |
type SignalList Document Source # | |
class GObject o => IsDocument o Source #
Instances
(GObject a, UnknownAncestorError Constraint Document a) => IsDocument a Source # | |
IsDocument Document Source # | |
toDocument :: IsDocument o => o -> IO Document Source #
Methods
findDest
data DocumentFindDestMethodInfo Source #
Instances
((~) * signature (Text -> m Dest), MonadIO m, IsDocument a) => MethodInfo * DocumentFindDestMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Text |
|
-> m Dest | Returns: The |
Finds named destination linkName
in document
getAttachments
data DocumentGetAttachmentsMethodInfo Source #
Instances
((~) * signature (m [Attachment]), MonadIO m, IsDocument a) => MethodInfo * DocumentGetAttachmentsMethodInfo a signature Source # | |
documentGetAttachments Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m [Attachment] | Returns: a list of available attachments. |
Returns a List
containing Attachment
<!-- -->s. These attachments
are unowned, and must be unreffed, and the list must be freed with
g_list_free()
.
getAuthor
data DocumentGetAuthorMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetAuthorMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the author
of |
Returns the author of the document
Since: 0.16
getCreationDate
data DocumentGetCreationDateMethodInfo Source #
Instances
((~) * signature (m CLong), MonadIO m, IsDocument a) => MethodInfo * DocumentGetCreationDateMethodInfo a signature Source # | |
documentGetCreationDate Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m CLong | Returns: the date the document was created, or -1 |
Returns the date the document was created as seconds since the Epoch
Since: 0.16
getCreator
data DocumentGetCreatorMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetCreatorMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the creator
of |
Returns the creator of the document. If the document was converted from another format, the creator is the name of the product that created the original document from which it was converted.
Since: 0.16
getFormField
data DocumentGetFormFieldMethodInfo Source #
Instances
((~) * signature (Int32 -> m FormField), MonadIO m, IsDocument a) => MethodInfo * DocumentGetFormFieldMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Int32 |
|
-> m FormField |
Returns the FormField
for the given id
. It must be freed with
objectUnref
getId
data DocumentGetIdMethodInfo Source #
Instances
((~) * signature (m (Bool, Text, Text)), MonadIO m, IsDocument a) => MethodInfo * DocumentGetIdMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m (Bool, Text, Text) | Returns: |
Returns the PDF file identifier represented as two byte string arrays of size 32.
permanentId
is the permanent identifier that is built based on the file
contents at the time it was originally created, so that this identifer
never changes. updateId
is the update identifier that is built based on
the file contents at the time it was last updated.
Note that returned strings are not null-terminated, they have a fixed size of 32 bytes.
Since: 0.16
getKeywords
data DocumentGetKeywordsMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetKeywordsMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing keywords associated
to |
Returns the keywords associated to the document
Since: 0.16
getMetadata
data DocumentGetMetadataMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetMetadataMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the XML
metadata, or |
Returns the XML metadata string of the document
Since: 0.16
getModificationDate
data DocumentGetModificationDateMethodInfo Source #
Instances
((~) * signature (m CLong), MonadIO m, IsDocument a) => MethodInfo * DocumentGetModificationDateMethodInfo a signature Source # | |
documentGetModificationDate Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m CLong | Returns: the date the document was most recently modified, or -1 |
Returns the date the document was most recently modified as seconds since the Epoch
Since: 0.16
getNAttachments
data DocumentGetNAttachmentsMethodInfo Source #
Instances
((~) * signature (m Word32), MonadIO m, IsDocument a) => MethodInfo * DocumentGetNAttachmentsMethodInfo a signature Source # | |
documentGetNAttachments Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Word32 | Returns: Number of attachments |
Returns the number of attachments in a loaded document.
See also documentGetAttachments
Since: 0.18
getNPages
data DocumentGetNPagesMethodInfo Source #
Instances
((~) * signature (m Int32), MonadIO m, IsDocument a) => MethodInfo * DocumentGetNPagesMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Int32 | Returns: Number of pages |
Returns the number of pages in a loaded document.
getPage
data DocumentGetPageMethodInfo Source #
Instances
((~) * signature (Int32 -> m Page), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPageMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Int32 |
|
-> m Page | Returns: The |
Returns the Page
indexed at index
. This object is owned by the
caller.
getPageByLabel
data DocumentGetPageByLabelMethodInfo Source #
Instances
((~) * signature (Text -> m Page), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPageByLabelMethodInfo a signature Source # | |
documentGetPageByLabel Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Text |
|
-> m Page | Returns: The |
Returns the Page
reference by label
. This object is owned by the
caller. label
is a human-readable string representation of the page number,
and can be document specific. Typically, it is a value such as "iii" or "3".
By default, "1" refers to the first page.
getPageLayout
data DocumentGetPageLayoutMethodInfo Source #
Instances
((~) * signature (m PageLayout), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPageLayoutMethodInfo a signature Source # | |
documentGetPageLayout Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m PageLayout | Returns: a |
Returns the page layout that should be used when the document is opened
Since: 0.16
getPageMode
data DocumentGetPageModeMethodInfo Source #
Instances
((~) * signature (m PageMode), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPageModeMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m PageMode | Returns: a |
Returns a PageMode
representing how the document should
be initially displayed when opened.
Since: 0.16
getPdfVersion
data DocumentGetPdfVersionMethodInfo Source #
Instances
((~) * signature (m (Word32, Word32)), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPdfVersionMethodInfo a signature Source # | |
documentGetPdfVersion Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m (Word32, Word32) |
No description available in the introspection data.
Since: 0.16
getPdfVersionString
data DocumentGetPdfVersionStringMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPdfVersionStringMethodInfo a signature Source # | |
documentGetPdfVersionString Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the PDF version
of |
Returns the PDF version of document
as a string (e.g. PDF-1.6)
Since: 0.16
getPermissions
data DocumentGetPermissionsMethodInfo Source #
Instances
((~) * signature (m [Permissions]), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPermissionsMethodInfo a signature Source # | |
documentGetPermissions Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m [Permissions] | Returns: a set of falgs from |
Returns the flags specifying which operations are permitted when the document is opened.
Since: 0.16
getProducer
data DocumentGetProducerMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetProducerMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the producer
of |
Returns the producer of the document. If the document was converted from another format, the producer is the name of the product that converted it to PDF
Since: 0.16
getSubject
data DocumentGetSubjectMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetSubjectMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the subject
of |
Returns the subject of the document
Since: 0.16
getTitle
data DocumentGetTitleMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetTitleMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Text | Returns: a new allocated string containing the title
of |
Returns the document's title
Since: 0.16
hasAttachments
data DocumentHasAttachmentsMethodInfo Source #
Instances
((~) * signature (m Bool), MonadIO m, IsDocument a) => MethodInfo * DocumentHasAttachmentsMethodInfo a signature Source # | |
documentHasAttachments Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Bool | Returns: |
Returns True
of document
has any attachments.
isLinearized
data DocumentIsLinearizedMethodInfo Source #
Instances
((~) * signature (m Bool), MonadIO m, IsDocument a) => MethodInfo * DocumentIsLinearizedMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> m Bool |
Returns whether document
is linearized or not. Linearization of PDF
enables efficient incremental access of the PDF file in a network environment.
Since: 0.16
newFromData
newFromFile
newFromGfile
Arguments
:: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) | |
=> a |
|
-> Maybe Text |
|
-> Maybe b |
|
-> m Document |
Creates a new Document
reading the PDF contents from file
.
Possible errors include those in the POPPLER_ERROR
and G_FILE_ERROR
domains.
Since: 0.22
newFromStream
documentNewFromStream Source #
Arguments
:: (HasCallStack, MonadIO m, IsInputStream a, IsCancellable b) | |
=> a |
|
-> Int64 |
|
-> Maybe Text |
|
-> Maybe b |
|
-> m Document |
Creates a new Document
reading the PDF contents from stream
.
Note that the given InputStream
must be seekable or IOErrorEnumNotSupported
will be returned.
Possible errors include those in the POPPLER_ERROR
and G_FILE_ERROR
domains.
Since: 0.22
save
data DocumentSaveMethodInfo Source #
Instances
((~) * signature (Text -> m ()), MonadIO m, IsDocument a) => MethodInfo * DocumentSaveMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Text |
|
-> m () | (Can throw |
Saves document
. Any change made in the document such as
form fields filled, annotations added or modified
will be saved.
If error
is set, False
will be returned. Possible errors
include those in the G_FILE_ERROR
domain.
saveACopy
data DocumentSaveACopyMethodInfo Source #
Instances
((~) * signature (Text -> m ()), MonadIO m, IsDocument a) => MethodInfo * DocumentSaveACopyMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Text |
|
-> m () | (Can throw |
Saves a copy of the original document
.
Any change made in the document such as
form fields filled by the user will not be saved.
If error
is set, False
will be returned. Possible errors
include those in the G_FILE_ERROR
domain.
Properties
author
data DocumentAuthorPropertyInfo Source #
Instances
documentAuthor :: AttrLabelProxy "author" Source #
getDocumentAuthor :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
creationDate
data DocumentCreationDatePropertyInfo Source #
Instances
documentCreationDate :: AttrLabelProxy "creationDate" Source #
getDocumentCreationDate :: (MonadIO m, IsDocument o) => o -> m Int32 Source #
creator
data DocumentCreatorPropertyInfo Source #
Instances
documentCreator :: AttrLabelProxy "creator" Source #
getDocumentCreator :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
format
data DocumentFormatPropertyInfo Source #
Instances
documentFormat :: AttrLabelProxy "format" Source #
getDocumentFormat :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
formatMajor
data DocumentFormatMajorPropertyInfo Source #
Instances
documentFormatMajor :: AttrLabelProxy "formatMajor" Source #
getDocumentFormatMajor :: (MonadIO m, IsDocument o) => o -> m Word32 Source #
formatMinor
data DocumentFormatMinorPropertyInfo Source #
Instances
documentFormatMinor :: AttrLabelProxy "formatMinor" Source #
getDocumentFormatMinor :: (MonadIO m, IsDocument o) => o -> m Word32 Source #
keywords
data DocumentKeywordsPropertyInfo Source #
Instances
documentKeywords :: AttrLabelProxy "keywords" Source #
getDocumentKeywords :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
linearized
data DocumentLinearizedPropertyInfo Source #
Instances
documentLinearized :: AttrLabelProxy "linearized" Source #
getDocumentLinearized :: (MonadIO m, IsDocument o) => o -> m Bool Source #
metadata
data DocumentMetadataPropertyInfo Source #
Instances
documentMetadata :: AttrLabelProxy "metadata" Source #
getDocumentMetadata :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
modDate
data DocumentModDatePropertyInfo Source #
Instances
documentModDate :: AttrLabelProxy "modDate" Source #
getDocumentModDate :: (MonadIO m, IsDocument o) => o -> m Int32 Source #
pageLayout
data DocumentPageLayoutPropertyInfo Source #
Instances
documentPageLayout :: AttrLabelProxy "pageLayout" Source #
getDocumentPageLayout :: (MonadIO m, IsDocument o) => o -> m PageLayout Source #
pageMode
data DocumentPageModePropertyInfo Source #
Instances
documentPageMode :: AttrLabelProxy "pageMode" Source #
getDocumentPageMode :: (MonadIO m, IsDocument o) => o -> m PageMode Source #
permissions
data DocumentPermissionsPropertyInfo Source #
Instances
documentPermissions :: AttrLabelProxy "permissions" Source #
getDocumentPermissions :: (MonadIO m, IsDocument o) => o -> m [Permissions] Source #
producer
data DocumentProducerPropertyInfo Source #
Instances
documentProducer :: AttrLabelProxy "producer" Source #
getDocumentProducer :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
subject
data DocumentSubjectPropertyInfo Source #
Instances
documentSubject :: AttrLabelProxy "subject" Source #
getDocumentSubject :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
title
data DocumentTitlePropertyInfo Source #
Instances
documentTitle :: AttrLabelProxy "title" Source #
getDocumentTitle :: (MonadIO m, IsDocument o) => o -> m (Maybe Text) Source #
viewerPreferences
data DocumentViewerPreferencesPropertyInfo Source #
Instances
documentViewerPreferences :: AttrLabelProxy "viewerPreferences" Source #
getDocumentViewerPreferences :: (MonadIO m, IsDocument o) => o -> m [ViewerPreferences] Source #