Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Annot = Annot (ManagedPtr Annot)
- class (GObject o, IsDescendantOf Annot o) => IsAnnot o
- toAnnot :: (MonadIO m, IsAnnot o) => o -> m Annot
- annotGetAnnotType :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m AnnotType
- annotGetColor :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Color
- annotGetContents :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- annotGetFlags :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m [AnnotFlag]
- annotGetModified :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- annotGetName :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- annotGetPageIndex :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Int32
- annotGetRectangle :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Rectangle
- annotSetColor :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Maybe Color -> m ()
- annotSetContents :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Text -> m ()
- annotSetFlags :: (HasCallStack, MonadIO m, IsAnnot a) => a -> [AnnotFlag] -> m ()
- annotSetRectangle :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Rectangle -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Annot Source # | |
GObject Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
ManagedPtrNewtype Annot Source # | |
Defined in GI.Poppler.Objects.Annot toManagedPtr :: Annot -> ManagedPtr Annot | |
TypedObject Annot Source # | |
Defined in GI.Poppler.Objects.Annot glibType :: IO GType | |
IsGValue Annot Source # | Convert |
Defined in GI.Poppler.Objects.Annot toGValue :: Annot -> IO GValue fromGValue :: GValue -> IO Annot | |
HasParentTypes Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
type ParentTypes Annot Source # | |
Defined in GI.Poppler.Objects.Annot type ParentTypes Annot = '[Object] |
class (GObject o, IsDescendantOf Annot o) => IsAnnot o Source #
Instances
(GObject o, IsDescendantOf Annot o) => IsAnnot o Source # | |
Defined in GI.Poppler.Objects.Annot |
Methods
Overloaded methods
getAnnotType
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m AnnotType | Returns: |
Gets the type of popplerAnnot
getColor
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Color | Returns: a new allocated |
Retrieves the color of popplerAnnot
.
getContents
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the contents of |
Retrieves the contents of popplerAnnot
.
getFlags
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m [AnnotFlag] | Returns: the flag field of |
Retrieves the flag field specifying various characteristics of the
popplerAnnot
.
getModified
:: (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
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the name of |
Retrieves the name of popplerAnnot
.
getPageIndex
:: (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
Retrieves the rectangle representing the page coordinates where the
annotation popplerAnnot
is placed.
Since: 0.26
setColor
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> Maybe Color |
|
-> m () |
Sets the color of popplerAnnot
.
Since: 0.16
setContents
:: (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
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> [AnnotFlag] |
|
-> m () |
Sets the flag field specifying various characteristics of the
popplerAnnot
.
Since: 0.22