| 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.Annot
Contents
Description
No description available in the introspection data.
Synopsis
- newtype Annot = Annot (ManagedPtr Annot)
- class GObject 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 :: Annot -> IO GType # | |
| IsObject Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
| IsAnnot Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
class GObject o => IsAnnot o Source #
Instances
| (GObject a, (UnknownAncestorError Annot a :: Constraint)) => IsAnnot a Source # | |
Defined in GI.Poppler.Objects.Annot | |
| IsAnnot Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
| IsAnnot AnnotMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotMarkup | |
| IsAnnot AnnotFileAttachment Source # | |
Defined in GI.Poppler.Objects.AnnotFileAttachment | |
| IsAnnot AnnotMovie Source # | |
Defined in GI.Poppler.Objects.AnnotMovie | |
| IsAnnot AnnotFreeText Source # | |
Defined in GI.Poppler.Objects.AnnotFreeText | |
| IsAnnot AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup | |
| IsAnnot AnnotText Source # | |
Defined in GI.Poppler.Objects.AnnotText | |
| IsAnnot AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare | |
| IsAnnot AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
| IsAnnot AnnotCircle Source # | |
Defined in GI.Poppler.Objects.AnnotCircle | |
| IsAnnot AnnotScreen Source # | |
Defined in GI.Poppler.Objects.AnnotScreen | |
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