{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Poppler.Objects.AnnotText
(
AnnotText(..) ,
IsAnnotText ,
toAnnotText ,
#if defined(ENABLE_OVERLOADING)
ResolveAnnotTextMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
AnnotTextGetIconMethodInfo ,
#endif
annotTextGetIcon ,
#if defined(ENABLE_OVERLOADING)
AnnotTextGetIsOpenMethodInfo ,
#endif
annotTextGetIsOpen ,
#if defined(ENABLE_OVERLOADING)
AnnotTextGetStateMethodInfo ,
#endif
annotTextGetState ,
annotTextNew ,
#if defined(ENABLE_OVERLOADING)
AnnotTextSetIconMethodInfo ,
#endif
annotTextSetIcon ,
#if defined(ENABLE_OVERLOADING)
AnnotTextSetIsOpenMethodInfo ,
#endif
annotTextSetIsOpen ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.Poppler.Enums as Poppler.Enums
import {-# SOURCE #-} qualified GI.Poppler.Objects.Annot as Poppler.Annot
import {-# SOURCE #-} qualified GI.Poppler.Objects.AnnotMarkup as Poppler.AnnotMarkup
import {-# SOURCE #-} qualified GI.Poppler.Objects.Document as Poppler.Document
import {-# SOURCE #-} qualified GI.Poppler.Structs.Rectangle as Poppler.Rectangle
newtype AnnotText = AnnotText (SP.ManagedPtr AnnotText)
deriving (AnnotText -> AnnotText -> Bool
(AnnotText -> AnnotText -> Bool)
-> (AnnotText -> AnnotText -> Bool) -> Eq AnnotText
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AnnotText -> AnnotText -> Bool
$c/= :: AnnotText -> AnnotText -> Bool
== :: AnnotText -> AnnotText -> Bool
$c== :: AnnotText -> AnnotText -> Bool
Eq)
instance SP.ManagedPtrNewtype AnnotText where
toManagedPtr :: AnnotText -> ManagedPtr AnnotText
toManagedPtr (AnnotText ManagedPtr AnnotText
p) = ManagedPtr AnnotText
p
foreign import ccall "poppler_annot_text_get_type"
c_poppler_annot_text_get_type :: IO B.Types.GType
instance B.Types.TypedObject AnnotText where
glibType :: IO GType
glibType = IO GType
c_poppler_annot_text_get_type
instance B.Types.GObject AnnotText
instance B.GValue.IsGValue AnnotText where
toGValue :: AnnotText -> IO GValue
toGValue AnnotText
o = do
GType
gtype <- IO GType
c_poppler_annot_text_get_type
AnnotText -> (Ptr AnnotText -> IO GValue) -> IO GValue
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr AnnotText
o (GType
-> (GValue -> Ptr AnnotText -> IO ()) -> Ptr AnnotText -> IO GValue
forall a. GType -> (GValue -> a -> IO ()) -> a -> IO GValue
B.GValue.buildGValue GType
gtype GValue -> Ptr AnnotText -> IO ()
forall a. GObject a => GValue -> Ptr a -> IO ()
B.GValue.set_object)
fromGValue :: GValue -> IO AnnotText
fromGValue GValue
gv = do
Ptr AnnotText
ptr <- GValue -> IO (Ptr AnnotText)
forall b. GObject b => GValue -> IO (Ptr b)
B.GValue.get_object GValue
gv :: IO (Ptr AnnotText)
(ManagedPtr AnnotText -> AnnotText)
-> Ptr AnnotText -> IO AnnotText
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr AnnotText -> AnnotText
AnnotText Ptr AnnotText
ptr
class (SP.GObject o, O.IsDescendantOf AnnotText o) => IsAnnotText o
instance (SP.GObject o, O.IsDescendantOf AnnotText o) => IsAnnotText o
instance O.HasParentTypes AnnotText
type instance O.ParentTypes AnnotText = '[Poppler.AnnotMarkup.AnnotMarkup, Poppler.Annot.Annot, GObject.Object.Object]
toAnnotText :: (MonadIO m, IsAnnotText o) => o -> m AnnotText
toAnnotText :: o -> m AnnotText
toAnnotText = IO AnnotText -> m AnnotText
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO AnnotText -> m AnnotText)
-> (o -> IO AnnotText) -> o -> m AnnotText
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr AnnotText -> AnnotText) -> o -> IO AnnotText
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
unsafeCastTo ManagedPtr AnnotText -> AnnotText
AnnotText
#if defined(ENABLE_OVERLOADING)
type family ResolveAnnotTextMethod (t :: Symbol) (o :: *) :: * where
ResolveAnnotTextMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveAnnotTextMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveAnnotTextMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveAnnotTextMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveAnnotTextMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveAnnotTextMethod "hasPopup" o = Poppler.AnnotMarkup.AnnotMarkupHasPopupMethodInfo
ResolveAnnotTextMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveAnnotTextMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveAnnotTextMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveAnnotTextMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveAnnotTextMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveAnnotTextMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveAnnotTextMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveAnnotTextMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveAnnotTextMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveAnnotTextMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveAnnotTextMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveAnnotTextMethod "getAnnotType" o = Poppler.Annot.AnnotGetAnnotTypeMethodInfo
ResolveAnnotTextMethod "getColor" o = Poppler.Annot.AnnotGetColorMethodInfo
ResolveAnnotTextMethod "getContents" o = Poppler.Annot.AnnotGetContentsMethodInfo
ResolveAnnotTextMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveAnnotTextMethod "getDate" o = Poppler.AnnotMarkup.AnnotMarkupGetDateMethodInfo
ResolveAnnotTextMethod "getExternalData" o = Poppler.AnnotMarkup.AnnotMarkupGetExternalDataMethodInfo
ResolveAnnotTextMethod "getFlags" o = Poppler.Annot.AnnotGetFlagsMethodInfo
ResolveAnnotTextMethod "getIcon" o = AnnotTextGetIconMethodInfo
ResolveAnnotTextMethod "getIsOpen" o = AnnotTextGetIsOpenMethodInfo
ResolveAnnotTextMethod "getLabel" o = Poppler.AnnotMarkup.AnnotMarkupGetLabelMethodInfo
ResolveAnnotTextMethod "getModified" o = Poppler.Annot.AnnotGetModifiedMethodInfo
ResolveAnnotTextMethod "getName" o = Poppler.Annot.AnnotGetNameMethodInfo
ResolveAnnotTextMethod "getOpacity" o = Poppler.AnnotMarkup.AnnotMarkupGetOpacityMethodInfo
ResolveAnnotTextMethod "getPageIndex" o = Poppler.Annot.AnnotGetPageIndexMethodInfo
ResolveAnnotTextMethod "getPopupIsOpen" o = Poppler.AnnotMarkup.AnnotMarkupGetPopupIsOpenMethodInfo
ResolveAnnotTextMethod "getPopupRectangle" o = Poppler.AnnotMarkup.AnnotMarkupGetPopupRectangleMethodInfo
ResolveAnnotTextMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveAnnotTextMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveAnnotTextMethod "getRectangle" o = Poppler.Annot.AnnotGetRectangleMethodInfo
ResolveAnnotTextMethod "getReplyTo" o = Poppler.AnnotMarkup.AnnotMarkupGetReplyToMethodInfo
ResolveAnnotTextMethod "getState" o = AnnotTextGetStateMethodInfo
ResolveAnnotTextMethod "getSubject" o = Poppler.AnnotMarkup.AnnotMarkupGetSubjectMethodInfo
ResolveAnnotTextMethod "setColor" o = Poppler.Annot.AnnotSetColorMethodInfo
ResolveAnnotTextMethod "setContents" o = Poppler.Annot.AnnotSetContentsMethodInfo
ResolveAnnotTextMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveAnnotTextMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveAnnotTextMethod "setFlags" o = Poppler.Annot.AnnotSetFlagsMethodInfo
ResolveAnnotTextMethod "setIcon" o = AnnotTextSetIconMethodInfo
ResolveAnnotTextMethod "setIsOpen" o = AnnotTextSetIsOpenMethodInfo
ResolveAnnotTextMethod "setLabel" o = Poppler.AnnotMarkup.AnnotMarkupSetLabelMethodInfo
ResolveAnnotTextMethod "setOpacity" o = Poppler.AnnotMarkup.AnnotMarkupSetOpacityMethodInfo
ResolveAnnotTextMethod "setPopup" o = Poppler.AnnotMarkup.AnnotMarkupSetPopupMethodInfo
ResolveAnnotTextMethod "setPopupIsOpen" o = Poppler.AnnotMarkup.AnnotMarkupSetPopupIsOpenMethodInfo
ResolveAnnotTextMethod "setPopupRectangle" o = Poppler.AnnotMarkup.AnnotMarkupSetPopupRectangleMethodInfo
ResolveAnnotTextMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveAnnotTextMethod "setRectangle" o = Poppler.Annot.AnnotSetRectangleMethodInfo
ResolveAnnotTextMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveAnnotTextMethod t AnnotText, O.MethodInfo info AnnotText p) => OL.IsLabel t (AnnotText -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList AnnotText
type instance O.AttributeList AnnotText = AnnotTextAttributeList
type AnnotTextAttributeList = ('[ ] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList AnnotText = AnnotTextSignalList
type AnnotTextSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "poppler_annot_text_new" poppler_annot_text_new ::
Ptr Poppler.Document.Document ->
Ptr Poppler.Rectangle.Rectangle ->
IO (Ptr AnnotText)
annotTextNew ::
(B.CallStack.HasCallStack, MonadIO m, Poppler.Document.IsDocument a) =>
a
-> Poppler.Rectangle.Rectangle
-> m AnnotText
annotTextNew :: a -> Rectangle -> m AnnotText
annotTextNew a
doc Rectangle
rect = IO AnnotText -> m AnnotText
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO AnnotText -> m AnnotText) -> IO AnnotText -> m AnnotText
forall a b. (a -> b) -> a -> b
$ do
Ptr Document
doc' <- a -> IO (Ptr Document)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
doc
Ptr Rectangle
rect' <- Rectangle -> IO (Ptr Rectangle)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Rectangle
rect
Ptr AnnotText
result <- Ptr Document -> Ptr Rectangle -> IO (Ptr AnnotText)
poppler_annot_text_new Ptr Document
doc' Ptr Rectangle
rect'
Text -> Ptr AnnotText -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"annotTextNew" Ptr AnnotText
result
AnnotText
result' <- ((ManagedPtr AnnotText -> AnnotText)
-> Ptr AnnotText -> IO AnnotText
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr AnnotText -> AnnotText
AnnotText) Ptr AnnotText
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
doc
Rectangle -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr Rectangle
rect
AnnotText -> IO AnnotText
forall (m :: * -> *) a. Monad m => a -> m a
return AnnotText
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "poppler_annot_text_get_icon" poppler_annot_text_get_icon ::
Ptr AnnotText ->
IO CString
annotTextGetIcon ::
(B.CallStack.HasCallStack, MonadIO m, IsAnnotText a) =>
a
-> m T.Text
annotTextGetIcon :: a -> m Text
annotTextGetIcon a
popplerAnnot = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr AnnotText
popplerAnnot' <- a -> IO (Ptr AnnotText)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
popplerAnnot
CString
result <- Ptr AnnotText -> IO CString
poppler_annot_text_get_icon Ptr AnnotText
popplerAnnot'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"annotTextGetIcon" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
popplerAnnot
Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data AnnotTextGetIconMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAnnotText a) => O.MethodInfo AnnotTextGetIconMethodInfo a signature where
overloadedMethod = annotTextGetIcon
#endif
foreign import ccall "poppler_annot_text_get_is_open" poppler_annot_text_get_is_open ::
Ptr AnnotText ->
IO CInt
annotTextGetIsOpen ::
(B.CallStack.HasCallStack, MonadIO m, IsAnnotText a) =>
a
-> m Bool
annotTextGetIsOpen :: a -> m Bool
annotTextGetIsOpen a
popplerAnnot = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr AnnotText
popplerAnnot' <- a -> IO (Ptr AnnotText)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
popplerAnnot
CInt
result <- Ptr AnnotText -> IO CInt
poppler_annot_text_get_is_open Ptr AnnotText
popplerAnnot'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
popplerAnnot
Bool -> IO Bool
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data AnnotTextGetIsOpenMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsAnnotText a) => O.MethodInfo AnnotTextGetIsOpenMethodInfo a signature where
overloadedMethod = annotTextGetIsOpen
#endif
foreign import ccall "poppler_annot_text_get_state" poppler_annot_text_get_state ::
Ptr AnnotText ->
IO CUInt
annotTextGetState ::
(B.CallStack.HasCallStack, MonadIO m, IsAnnotText a) =>
a
-> m Poppler.Enums.AnnotTextState
annotTextGetState :: a -> m AnnotTextState
annotTextGetState a
popplerAnnot = IO AnnotTextState -> m AnnotTextState
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO AnnotTextState -> m AnnotTextState)
-> IO AnnotTextState -> m AnnotTextState
forall a b. (a -> b) -> a -> b
$ do
Ptr AnnotText
popplerAnnot' <- a -> IO (Ptr AnnotText)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
popplerAnnot
CUInt
result <- Ptr AnnotText -> IO CUInt
poppler_annot_text_get_state Ptr AnnotText
popplerAnnot'
let result' :: AnnotTextState
result' = (Int -> AnnotTextState
forall a. Enum a => Int -> a
toEnum (Int -> AnnotTextState)
-> (CUInt -> Int) -> CUInt -> AnnotTextState
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
popplerAnnot
AnnotTextState -> IO AnnotTextState
forall (m :: * -> *) a. Monad m => a -> m a
return AnnotTextState
result'
#if defined(ENABLE_OVERLOADING)
data AnnotTextGetStateMethodInfo
instance (signature ~ (m Poppler.Enums.AnnotTextState), MonadIO m, IsAnnotText a) => O.MethodInfo AnnotTextGetStateMethodInfo a signature where
overloadedMethod = annotTextGetState
#endif
foreign import ccall "poppler_annot_text_set_icon" poppler_annot_text_set_icon ::
Ptr AnnotText ->
CString ->
IO ()
annotTextSetIcon ::
(B.CallStack.HasCallStack, MonadIO m, IsAnnotText a) =>
a
-> T.Text
-> m ()
annotTextSetIcon :: a -> Text -> m ()
annotTextSetIcon a
popplerAnnot Text
icon = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr AnnotText
popplerAnnot' <- a -> IO (Ptr AnnotText)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
popplerAnnot
CString
icon' <- Text -> IO CString
textToCString Text
icon
Ptr AnnotText -> CString -> IO ()
poppler_annot_text_set_icon Ptr AnnotText
popplerAnnot' CString
icon'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
popplerAnnot
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
icon'
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data AnnotTextSetIconMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAnnotText a) => O.MethodInfo AnnotTextSetIconMethodInfo a signature where
overloadedMethod = annotTextSetIcon
#endif
foreign import ccall "poppler_annot_text_set_is_open" poppler_annot_text_set_is_open ::
Ptr AnnotText ->
CInt ->
IO ()
annotTextSetIsOpen ::
(B.CallStack.HasCallStack, MonadIO m, IsAnnotText a) =>
a
-> Bool
-> m ()
annotTextSetIsOpen :: a -> Bool -> m ()
annotTextSetIsOpen a
popplerAnnot Bool
isOpen = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr AnnotText
popplerAnnot' <- a -> IO (Ptr AnnotText)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
popplerAnnot
let isOpen' :: CInt
isOpen' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
isOpen
Ptr AnnotText -> CInt -> IO ()
poppler_annot_text_set_is_open Ptr AnnotText
popplerAnnot' CInt
isOpen'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
popplerAnnot
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data AnnotTextSetIsOpenMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsAnnotText a) => O.MethodInfo AnnotTextSetIsOpenMethodInfo a signature where
overloadedMethod = annotTextSetIsOpen
#endif