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 |
- newtype Annot = Annot (ManagedPtr Annot)
- class GObject o => IsAnnot o
- toAnnot :: IsAnnot o => o -> IO Annot
- noAnnot :: Maybe Annot
- data AnnotGetAnnotTypeMethodInfo
- annotGetAnnotType :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m AnnotType
- data AnnotGetColorMethodInfo
- annotGetColor :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Color
- data AnnotGetContentsMethodInfo
- annotGetContents :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- data AnnotGetFlagsMethodInfo
- annotGetFlags :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m [AnnotFlag]
- data AnnotGetModifiedMethodInfo
- annotGetModified :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- data AnnotGetNameMethodInfo
- annotGetName :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- data AnnotGetPageIndexMethodInfo
- annotGetPageIndex :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Int32
- data AnnotGetRectangleMethodInfo
- annotGetRectangle :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Rectangle
- data AnnotSetColorMethodInfo
- annotSetColor :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Maybe Color -> m ()
- data AnnotSetContentsMethodInfo
- annotSetContents :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Text -> m ()
- data AnnotSetFlagsMethodInfo
- annotSetFlags :: (HasCallStack, MonadIO m, IsAnnot a) => a -> [AnnotFlag] -> m ()
- data AnnotSetRectangleMethodInfo
- annotSetRectangle :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Rectangle -> m ()
Exported types
GObject Annot Source # | |
IsObject Annot Source # | |
IsAnnot Annot Source # | |
((~) * info (ResolveAnnotMethod t Annot), MethodInfo * info Annot p) => IsLabel t (Annot -> p) Source # | |
((~) * info (ResolveAnnotMethod t Annot), MethodInfo * info Annot p) => IsLabelProxy t (Annot -> p) Source # | |
HasAttributeList * Annot Source # | |
type AttributeList Annot Source # | |
type SignalList Annot Source # | |
class GObject o => IsAnnot o Source #
Methods
getAnnotType
data AnnotGetAnnotTypeMethodInfo Source #
((~) * signature (m AnnotType), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetAnnotTypeMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m AnnotType | Returns: |
Gets the type of popplerAnnot
getColor
data AnnotGetColorMethodInfo Source #
((~) * signature (m Color), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetColorMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Color | Returns: a new allocated |
Retrieves the color of popplerAnnot
.
getContents
data AnnotGetContentsMethodInfo Source #
((~) * signature (m Text), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetContentsMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the contents of |
Retrieves the contents of popplerAnnot
.
getFlags
data AnnotGetFlagsMethodInfo Source #
((~) * signature (m [AnnotFlag]), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetFlagsMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m [AnnotFlag] | Returns: the flag field of |
Retrieves the flag field specifying various characteristics of the
popplerAnnot
.
getModified
data AnnotGetModifiedMethodInfo Source #
((~) * signature (m Text), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetModifiedMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the last modification data of
|
Retrieves the last modification data of popplerAnnot
. The returned
string will be either a PDF format date or a text string.
See also poppler_date_parse
()
getName
data AnnotGetNameMethodInfo Source #
((~) * signature (m Text), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetNameMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the name of |
Retrieves the name of popplerAnnot
.
getPageIndex
data AnnotGetPageIndexMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetPageIndexMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Int32 | Returns: page index or -1 |
Returns the page index to which popplerAnnot
is associated, or -1 if unknown
Since: 0.14
getRectangle
data AnnotGetRectangleMethodInfo Source #
((~) * signature (m Rectangle), MonadIO m, IsAnnot a) => MethodInfo * AnnotGetRectangleMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Rectangle |
Retrieves the rectangle representing the page coordinates where the
annotation popplerAnnot
is placed.
Since: 0.26
setColor
data AnnotSetColorMethodInfo Source #
((~) * signature (Maybe Color -> m ()), MonadIO m, IsAnnot a) => MethodInfo * AnnotSetColorMethodInfo a signature Source # | |
Sets the color of popplerAnnot
.
Since: 0.16
setContents
data AnnotSetContentsMethodInfo Source #
((~) * signature (Text -> m ()), MonadIO m, IsAnnot a) => MethodInfo * AnnotSetContentsMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the contents of popplerAnnot
to the given value,
replacing the current contents.
Since: 0.12
setFlags
data AnnotSetFlagsMethodInfo Source #
((~) * signature ([AnnotFlag] -> m ()), MonadIO m, IsAnnot a) => MethodInfo * AnnotSetFlagsMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> [AnnotFlag] |
|
-> m () |
Sets the flag field specifying various characteristics of the
popplerAnnot
.
Since: 0.22
setRectangle
data AnnotSetRectangleMethodInfo Source #
((~) * signature (Rectangle -> m ()), MonadIO m, IsAnnot a) => MethodInfo * AnnotSetRectangleMethodInfo a signature Source # | |