gi-poppler-0.18.23: Poppler bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Structs.TextSpan

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TextSpan Source #

Memory-managed wrapper type.

Constructors

TextSpan (ManagedPtr TextSpan) 

Instances

Instances details
Eq TextSpan Source # 
Instance details

Defined in GI.Poppler.Structs.TextSpan

Methods

(==) :: TextSpan -> TextSpan -> Bool

(/=) :: TextSpan -> TextSpan -> Bool

GBoxed TextSpan Source # 
Instance details

Defined in GI.Poppler.Structs.TextSpan

ManagedPtrNewtype TextSpan Source # 
Instance details

Defined in GI.Poppler.Structs.TextSpan

Methods

toManagedPtr :: TextSpan -> ManagedPtr TextSpan

TypedObject TextSpan Source # 
Instance details

Defined in GI.Poppler.Structs.TextSpan

Methods

glibType :: IO GType

IsGValue TextSpan Source #

Convert TextSpan to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Structs.TextSpan

Methods

toGValue :: TextSpan -> IO GValue

fromGValue :: GValue -> IO TextSpan

HasParentTypes TextSpan Source # 
Instance details

Defined in GI.Poppler.Structs.TextSpan

type ParentTypes TextSpan Source # 
Instance details

Defined in GI.Poppler.Structs.TextSpan

type ParentTypes TextSpan = '[] :: [Type]

Methods

Overloaded methods

copy

textSpanCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m TextSpan

Returns: A new TextSpan

Makes a copy of a text span.

Since: 0.26

free

textSpanFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: A TextSpan

-> m () 

Frees a text span.

Since: 0.26

getColor

textSpanGetColor Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m Color 

Obtains the color in which the text is to be rendered.

Since: 0.26

getFontName

textSpanGetFontName Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m Text

Returns: A string containing the font name, or Nothing if a font is not defined.

Obtains the name of the font in which the span is to be rendered.

Since: 0.26

getText

textSpanGetText Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m Text

Returns: A string.

Obtains the text contained in the span.

Since: 0.26

isBoldFont

textSpanIsBoldFont Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m Bool

Returns: Whether the span uses bold font.

Check whether a text span is meant to be rendered using a bold font.

Since: 0.26

isFixedWidthFont

textSpanIsFixedWidthFont Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m Bool

Returns: Whether the span uses a fixed-width font.

Check wether a text span is meant to be rendered using a fixed-width font.

Since: 0.26

isSerifFont

textSpanIsSerifFont Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TextSpan

popplerTextSpan: a TextSpan

-> m Bool

Returns: Whether the span uses a serif font.

Check whether a text span is meant to be rendered using a serif font.

Since: 0.26