Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype AnnotTextMarkup = AnnotTextMarkup (ManagedPtr AnnotTextMarkup)
- class (GObject o, IsDescendantOf AnnotTextMarkup o) => IsAnnotTextMarkup o
- toAnnotTextMarkup :: (MonadIO m, IsAnnotTextMarkup o) => o -> m AnnotTextMarkup
- annotTextMarkupGetQuadrilaterals :: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) => a -> m [Quadrilateral]
- annotTextMarkupNewHighlight :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupNewSquiggly :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupNewStrikeout :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupNewUnderline :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupSetQuadrilaterals :: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) => a -> [Quadrilateral] -> m ()
Exported types
newtype AnnotTextMarkup Source #
Memory-managed wrapper type.
Instances
Eq AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup (==) :: AnnotTextMarkup -> AnnotTextMarkup -> Bool # (/=) :: AnnotTextMarkup -> AnnotTextMarkup -> Bool # | |
GObject AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup | |
ManagedPtrNewtype AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup | |
TypedObject AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup | |
HasParentTypes AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup | |
IsGValue (Maybe AnnotTextMarkup) Source # | Convert |
Defined in GI.Poppler.Objects.AnnotTextMarkup gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe AnnotTextMarkup -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe AnnotTextMarkup) # | |
type ParentTypes AnnotTextMarkup Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup |
class (GObject o, IsDescendantOf AnnotTextMarkup o) => IsAnnotTextMarkup o Source #
Type class for types which can be safely cast to AnnotTextMarkup
, for instance with toAnnotTextMarkup
.
Instances
(GObject o, IsDescendantOf AnnotTextMarkup o) => IsAnnotTextMarkup o Source # | |
Defined in GI.Poppler.Objects.AnnotTextMarkup |
toAnnotTextMarkup :: (MonadIO m, IsAnnotTextMarkup o) => o -> m AnnotTextMarkup Source #
Cast to AnnotTextMarkup
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, hasPopup, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAnnotType, getColor, getContents, getData, getDate, getExternalData, getFlags, getLabel, getModified, getName, getOpacity, getPageIndex, getPopupIsOpen, getPopupRectangle, getProperty, getQdata, getQuadrilaterals, getRectangle, getReplyTo, getSubject.
Setters
setColor, setContents, setData, setDataFull, setFlags, setLabel, setOpacity, setPopup, setPopupIsOpen, setPopupRectangle, setProperty, setQuadrilaterals, setRectangle.
getQuadrilaterals
annotTextMarkupGetQuadrilaterals Source #
:: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) | |
=> a |
|
-> m [Quadrilateral] | Returns: A |
Returns a Array
of Quadrilateral
items that map from a
location on page
to a AnnotTextMarkup
. This array must be freed
when done.
Since: 0.26
newHighlight
annotTextMarkupNewHighlight Source #
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Highlight Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
newSquiggly
annotTextMarkupNewSquiggly Source #
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Squiggly Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
newStrikeout
annotTextMarkupNewStrikeout Source #
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Strike Out Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
newUnderline
annotTextMarkupNewUnderline Source #
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Underline Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
setQuadrilaterals
annotTextMarkupSetQuadrilaterals Source #
:: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) | |
=> a |
|
-> [Quadrilateral] |
|
-> m () |
Set the regions (Quadrilaterals) to apply the text markup in popplerAnnot
.
Since: 0.26