| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
GI.Poppler.Objects.Annot
Contents
Description
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
 - noAnnot :: Maybe 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.
Constructors
| Annot (ManagedPtr Annot) | 
Instances
| GObject Annot Source # | |
Defined in GI.Poppler.Objects.Annot Methods gobjectType :: IO GType #  | |
| HasParentTypes Annot Source # | |
Defined in GI.Poppler.Objects.Annot  | |
| type ParentTypes Annot Source # | |
Defined in GI.Poppler.Objects.Annot  | |
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
getAnnotType
Arguments
| :: (HasCallStack, MonadIO m, IsAnnot a) | |
| => a | 
  | 
| -> m AnnotType | Returns:   | 
Gets the type of popplerAnnot
getColor
Arguments
| :: (HasCallStack, MonadIO m, IsAnnot a) | |
| => a | 
  | 
| -> m Color | Returns: a new allocated   | 
Retrieves the color of popplerAnnot.
getContents
Arguments
| :: (HasCallStack, MonadIO m, IsAnnot a) | |
| => a | 
  | 
| -> m Text | Returns: a new allocated string with the contents of   | 
Retrieves the contents of popplerAnnot.
getFlags
Arguments
| :: (HasCallStack, MonadIO m, IsAnnot a) | |
| => a | 
  | 
| -> m [AnnotFlag] | Returns: the flag field of   | 
Retrieves the flag field specifying various characteristics of the
popplerAnnot.
getModified
Arguments
| :: (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
Arguments
| :: (HasCallStack, MonadIO m, IsAnnot a) | |
| => a | 
  | 
| -> m Text | Returns: a new allocated string with the name of   | 
Retrieves the name of popplerAnnot.
getPageIndex
Arguments
| :: (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
Arguments
| :: (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
Sets the color of popplerAnnot.
Since: 0.16
setContents
Arguments
| :: (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
Arguments
| :: (HasCallStack, MonadIO m, IsAnnot a) | |
| => a | 
  | 
| -> [AnnotFlag] | 
  | 
| -> m () | 
Sets the flag field specifying various characteristics of the
popplerAnnot.
Since: 0.22