gi-poppler-0.18.27: Poppler bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Poppler.Objects.AnnotTextMarkup

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AnnotTextMarkup Source #

Memory-managed wrapper type.

Constructors

AnnotTextMarkup (ManagedPtr AnnotTextMarkup) 

Instances

Instances details
Eq AnnotTextMarkup Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

GObject AnnotTextMarkup Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

ManagedPtrNewtype AnnotTextMarkup Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

TypedObject AnnotTextMarkup Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

Methods

glibType :: IO GType

HasParentTypes AnnotTextMarkup Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

IsGValue (Maybe AnnotTextMarkup) Source #

Convert AnnotTextMarkup to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe AnnotTextMarkup -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe AnnotTextMarkup)

type ParentTypes AnnotTextMarkup Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotTextMarkup

type ParentTypes AnnotTextMarkup = '[AnnotMarkup, Annot, Object]

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

Instances details
(GObject o, IsDescendantOf AnnotTextMarkup o) => IsAnnotTextMarkup o Source # 
Instance details

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

getQuadrilaterals

annotTextMarkupGetQuadrilaterals Source #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) 
=> a

popplerAnnot: A AnnotTextMarkup

-> m [Quadrilateral]

Returns: A Array of Quadrilateral

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 #

Arguments

:: (HasCallStack, MonadIO m, IsDocument a) 
=> a

doc: a Document

-> Rectangle

rect: a Rectangle

-> [Quadrilateral]

quadrilaterals: A Array of Quadrilaterals

-> m AnnotTextMarkup

Returns: A newly created AnnotTextMarkup annotation

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 #

Arguments

:: (HasCallStack, MonadIO m, IsDocument a) 
=> a

doc: a Document

-> Rectangle

rect: a Rectangle

-> [Quadrilateral]

quadrilaterals: A Array of Quadrilaterals

-> m AnnotTextMarkup

Returns: A newly created AnnotTextMarkup annotation

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 #

Arguments

:: (HasCallStack, MonadIO m, IsDocument a) 
=> a

doc: a Document

-> Rectangle

rect: a Rectangle

-> [Quadrilateral]

quadrilaterals: A Array of Quadrilaterals

-> m AnnotTextMarkup

Returns: A newly created AnnotTextMarkup annotation

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 #

Arguments

:: (HasCallStack, MonadIO m, IsDocument a) 
=> a

doc: a Document

-> Rectangle

rect: a Rectangle

-> [Quadrilateral]

quadrilaterals: A Array of Quadrilaterals

-> m AnnotTextMarkup

Returns: A newly created AnnotTextMarkup annotation

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 #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) 
=> a

popplerAnnot: A AnnotTextMarkup

-> [Quadrilateral]

quadrilaterals: A Array of Quadrilaterals

-> m () 

Set the regions (Quadrilaterals) to apply the text markup in popplerAnnot.

Since: 0.26