gi-poppler-0.18.14: Poppler bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Enums

Contents

Description

 

Synopsis

Documentation

catchError :: IO a -> (Error -> GErrorMessage -> IO a) -> IO a Source #

handleError :: (Error -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Exported types

data StructureWritingMode Source #

No description available in the introspection data.

Constructors

StructureWritingModeLrTb

No description available in the introspection data.

StructureWritingModeRlTb

No description available in the introspection data.

StructureWritingModeTbRl

No description available in the introspection data.

AnotherStructureWritingMode Int

Catch-all for unknown values

Instances

Enum StructureWritingMode Source # 
Eq StructureWritingMode Source # 
Ord StructureWritingMode Source # 
Show StructureWritingMode Source # 
BoxedEnum StructureWritingMode Source # 

data StructureTextDecoration Source #

No description available in the introspection data.

Constructors

StructureTextDecorationNone

No description available in the introspection data.

StructureTextDecorationUnderline

No description available in the introspection data.

StructureTextDecorationOverline

No description available in the introspection data.

StructureTextDecorationLinethrough

No description available in the introspection data.

AnotherStructureTextDecoration Int

Catch-all for unknown values

Instances

Enum StructureTextDecoration Source # 
Eq StructureTextDecoration Source # 
Ord StructureTextDecoration Source # 
Show StructureTextDecoration Source # 
BoxedEnum StructureTextDecoration Source # 

data StructureTextAlign Source #

No description available in the introspection data.

Constructors

StructureTextAlignStart

No description available in the introspection data.

StructureTextAlignCenter

No description available in the introspection data.

StructureTextAlignEnd

No description available in the introspection data.

StructureTextAlignJustify

No description available in the introspection data.

AnotherStructureTextAlign Int

Catch-all for unknown values

data StructureTableScope Source #

No description available in the introspection data.

Constructors

StructureTableScopeRow

No description available in the introspection data.

StructureTableScopeColumn

No description available in the introspection data.

StructureTableScopeBoth

No description available in the introspection data.

AnotherStructureTableScope Int

Catch-all for unknown values

data StructureRubyPosition Source #

No description available in the introspection data.

Constructors

StructureRubyPositionBefore

No description available in the introspection data.

StructureRubyPositionAfter

No description available in the introspection data.

StructureRubyPositionWarichu

No description available in the introspection data.

StructureRubyPositionInline

No description available in the introspection data.

AnotherStructureRubyPosition Int

Catch-all for unknown values

Instances

Enum StructureRubyPosition Source # 
Eq StructureRubyPosition Source # 
Ord StructureRubyPosition Source # 
Show StructureRubyPosition Source # 
BoxedEnum StructureRubyPosition Source # 

data StructureRubyAlign Source #

No description available in the introspection data.

Constructors

StructureRubyAlignStart

No description available in the introspection data.

StructureRubyAlignCenter

No description available in the introspection data.

StructureRubyAlignEnd

No description available in the introspection data.

StructureRubyAlignJustify

No description available in the introspection data.

StructureRubyAlignDistribute

No description available in the introspection data.

AnotherStructureRubyAlign Int

Catch-all for unknown values

data StructurePlacement Source #

No description available in the introspection data.

Constructors

StructurePlacementBlock

No description available in the introspection data.

StructurePlacementInline

No description available in the introspection data.

StructurePlacementBefore

No description available in the introspection data.

StructurePlacementStart

No description available in the introspection data.

StructurePlacementEnd

No description available in the introspection data.

AnotherStructurePlacement Int

Catch-all for unknown values

data StructureListNumbering Source #

No description available in the introspection data.

Constructors

StructureListNumberingNone

No description available in the introspection data.

StructureListNumberingDisc

No description available in the introspection data.

StructureListNumberingCircle

No description available in the introspection data.

StructureListNumberingSquare

No description available in the introspection data.

StructureListNumberingDecimal

No description available in the introspection data.

StructureListNumberingUpperRoman

No description available in the introspection data.

StructureListNumberingLowerRoman

No description available in the introspection data.

StructureListNumberingUpperAlpha

No description available in the introspection data.

StructureListNumberingLowerAlpha

No description available in the introspection data.

AnotherStructureListNumbering Int

Catch-all for unknown values

Instances

Enum StructureListNumbering Source # 
Eq StructureListNumbering Source # 
Ord StructureListNumbering Source # 
Show StructureListNumbering Source # 
BoxedEnum StructureListNumbering Source # 

data StructureInlineAlign Source #

No description available in the introspection data.

Constructors

StructureInlineAlignStart

No description available in the introspection data.

StructureInlineAlignCenter

No description available in the introspection data.

StructureInlineAlignEnd

No description available in the introspection data.

AnotherStructureInlineAlign Int

Catch-all for unknown values

Instances

Enum StructureInlineAlign Source # 
Eq StructureInlineAlign Source # 
Ord StructureInlineAlign Source # 
Show StructureInlineAlign Source # 
BoxedEnum StructureInlineAlign Source # 

data StructureGlyphOrientation Source #

No description available in the introspection data.

Constructors

StructureGlyphOrientationAuto

No description available in the introspection data.

StructureGlyphOrientation0

No description available in the introspection data.

StructureGlyphOrientation90

No description available in the introspection data.

StructureGlyphOrientation180

No description available in the introspection data.

StructureGlyphOrientation270

No description available in the introspection data.

AnotherStructureGlyphOrientation Int

Catch-all for unknown values

Instances

Enum StructureGlyphOrientation Source # 
Eq StructureGlyphOrientation Source # 
Ord StructureGlyphOrientation Source # 
Show StructureGlyphOrientation Source # 
BoxedEnum StructureGlyphOrientation Source # 

data StructureFormState Source #

No description available in the introspection data.

Constructors

StructureFormStateOn

No description available in the introspection data.

StructureFormStateOff

No description available in the introspection data.

StructureFormStateNeutral

No description available in the introspection data.

AnotherStructureFormState Int

Catch-all for unknown values

data StructureFormRole Source #

No description available in the introspection data.

Constructors

StructureFormRoleUndefined

No description available in the introspection data.

StructureFormRoleRadioButton

No description available in the introspection data.

StructureFormRolePushButton

No description available in the introspection data.

StructureFormRoleTextValue

No description available in the introspection data.

StructureFormRoleCheckbox

No description available in the introspection data.

AnotherStructureFormRole Int

Catch-all for unknown values

data StructureElementKind Source #

No description available in the introspection data.

Constructors

StructureElementKindContent

No description available in the introspection data.

StructureElementKindObjectReference

No description available in the introspection data.

StructureElementKindDocument

No description available in the introspection data.

StructureElementKindPart

No description available in the introspection data.

StructureElementKindArticle

No description available in the introspection data.

StructureElementKindSection

No description available in the introspection data.

StructureElementKindDiv

No description available in the introspection data.

StructureElementKindSpan

No description available in the introspection data.

StructureElementKindQuote

No description available in the introspection data.

StructureElementKindNote

No description available in the introspection data.

StructureElementKindReference

No description available in the introspection data.

StructureElementKindBibentry

No description available in the introspection data.

StructureElementKindCode

No description available in the introspection data.

StructureElementKindLink

No description available in the introspection data.

StructureElementKindAnnot

No description available in the introspection data.

StructureElementKindBlockquote

No description available in the introspection data.

StructureElementKindCaption

No description available in the introspection data.

StructureElementKindNonstruct

No description available in the introspection data.

StructureElementKindToc

No description available in the introspection data.

StructureElementKindTocItem

No description available in the introspection data.

StructureElementKindIndex

No description available in the introspection data.

StructureElementKindPrivate

No description available in the introspection data.

StructureElementKindParagraph

No description available in the introspection data.

StructureElementKindHeading

No description available in the introspection data.

StructureElementKindHeading1

No description available in the introspection data.

StructureElementKindHeading2

No description available in the introspection data.

StructureElementKindHeading3

No description available in the introspection data.

StructureElementKindHeading4

No description available in the introspection data.

StructureElementKindHeading5

No description available in the introspection data.

StructureElementKindHeading6

No description available in the introspection data.

StructureElementKindList

No description available in the introspection data.

StructureElementKindListItem

No description available in the introspection data.

StructureElementKindListLabel

No description available in the introspection data.

StructureElementKindListBody

No description available in the introspection data.

StructureElementKindTable

No description available in the introspection data.

StructureElementKindTableRow

No description available in the introspection data.

StructureElementKindTableHeading

No description available in the introspection data.

StructureElementKindTableData

No description available in the introspection data.

StructureElementKindTableHeader

No description available in the introspection data.

StructureElementKindTableFooter

No description available in the introspection data.

StructureElementKindTableBody

No description available in the introspection data.

StructureElementKindRuby

No description available in the introspection data.

StructureElementKindRubyBaseText

No description available in the introspection data.

StructureElementKindRubyAnnotText

No description available in the introspection data.

StructureElementKindRubyPunctuation

No description available in the introspection data.

StructureElementKindWarichu

No description available in the introspection data.

StructureElementKindWarichuText

No description available in the introspection data.

StructureElementKindWarichuPunctuation

No description available in the introspection data.

StructureElementKindFigure

No description available in the introspection data.

StructureElementKindFormula

No description available in the introspection data.

StructureElementKindForm

No description available in the introspection data.

AnotherStructureElementKind Int

Catch-all for unknown values

Instances

Enum StructureElementKind Source # 
Eq StructureElementKind Source # 
Ord StructureElementKind Source # 
Show StructureElementKind Source # 
BoxedEnum StructureElementKind Source # 

data StructureBorderStyle Source #

No description available in the introspection data.

Constructors

StructureBorderStyleNone

No description available in the introspection data.

StructureBorderStyleHidden

No description available in the introspection data.

StructureBorderStyleDotted

No description available in the introspection data.

StructureBorderStyleDashed

No description available in the introspection data.

StructureBorderStyleSolid

No description available in the introspection data.

StructureBorderStyleDouble

No description available in the introspection data.

StructureBorderStyleGroove

No description available in the introspection data.

StructureBorderStyleInset

No description available in the introspection data.

StructureBorderStyleOutset

No description available in the introspection data.

AnotherStructureBorderStyle Int

Catch-all for unknown values

Instances

Enum StructureBorderStyle Source # 
Eq StructureBorderStyle Source # 
Ord StructureBorderStyle Source # 
Show StructureBorderStyle Source # 
BoxedEnum StructureBorderStyle Source # 

data StructureBlockAlign Source #

No description available in the introspection data.

Constructors

StructureBlockAlignBefore

No description available in the introspection data.

StructureBlockAlignMiddle

No description available in the introspection data.

StructureBlockAlignAfter

No description available in the introspection data.

StructureBlockAlignJustify

No description available in the introspection data.

AnotherStructureBlockAlign Int

Catch-all for unknown values

data SelectionStyle Source #

Selection styles

Constructors

SelectionStyleGlyph

glyph is the minimum unit for selection

SelectionStyleWord

word is the minimum unit for selection

SelectionStyleLine

line is the minimum unit for selection

AnotherSelectionStyle Int

Catch-all for unknown values

data PageTransitionType Source #

Page transition types

Constructors

PageTransitionTypeReplace

the new page replace the old one

PageTransitionTypeSplit

two lines sweep across the screen, revealing the new page

PageTransitionTypeBlinds

multiple lines, evenly spaced across the screen, synchronously sweep in the same direction to reveal the new page

PageTransitionTypeBox

a rectangular box sweeps inward from the edges of the page or outward from the center revealing the new page

PageTransitionTypeWipe

a single line sweeps across the screen from one edge to the other revealing the new page

PageTransitionTypeDissolve

the old page dissolves gradually to reveal the new one

PageTransitionTypeGlitter

similar to POPPLER_PAGE_TRANSITION_DISSOLVE, except that the effect sweeps across the page in a wide band moving from one side of the screen to the other

PageTransitionTypeFly

changes are flown out or in to or from a location that is offscreen

PageTransitionTypePush

the old page slides off the screen while the new page slides in

PageTransitionTypeCover

the new page slides on to the screen covering the old page

PageTransitionTypeUncover

the old page slides off the screen uncovering the new page

PageTransitionTypeFade

the new page gradually becomes visible through the old one

AnotherPageTransitionType Int

Catch-all for unknown values

data PageTransitionDirection Source #

Page transition direction types for POPPLER_PAGE_TRANSITION_SPLIT, POPPLER_PAGE_TRANSITION_BOX and POPPLER_PAGE_TRANSITION_FLY transition types

Constructors

PageTransitionDirectionInward

inward from the edges of the page

PageTransitionDirectionOutward

outward from the center of the page

AnotherPageTransitionDirection Int

Catch-all for unknown values

Instances

Enum PageTransitionDirection Source # 
Eq PageTransitionDirection Source # 
Ord PageTransitionDirection Source # 
Show PageTransitionDirection Source # 
BoxedEnum PageTransitionDirection Source # 

data PageTransitionAlignment Source #

Page transition alignment types for POPPLER_PAGE_TRANSITION_SPLIT and POPPLER_PAGE_TRANSITION_BLINDS transition types

Constructors

PageTransitionAlignmentHorizontal

horizontal dimension

PageTransitionAlignmentVertical

vertical dimension

AnotherPageTransitionAlignment Int

Catch-all for unknown values

Instances

Enum PageTransitionAlignment Source # 
Eq PageTransitionAlignment Source # 
Ord PageTransitionAlignment Source # 
Show PageTransitionAlignment Source # 
BoxedEnum PageTransitionAlignment Source # 

data PageMode Source #

Page modes

Constructors

PageModeUnset

no specific mode set

PageModeNone

neither document outline nor thumbnails visible

PageModeUseOutlines

document outline visible

PageModeUseThumbs

thumbnails visible

PageModeFullScreen

full-screen mode

PageModeUseOc

layers panel visible

PageModeUseAttachments

attachments panel visible

AnotherPageMode Int

Catch-all for unknown values

data PageLayout Source #

Page layout types

Constructors

PageLayoutUnset

no specific layout set

PageLayoutSinglePage

one page at a time

PageLayoutOneColumn

pages in one column

PageLayoutTwoColumnLeft

pages in two columns with odd numbered pages on the left

PageLayoutTwoColumnRight

pages in two columns with odd numbered pages on the right

PageLayoutTwoPageLeft

two pages at a time with odd numbered pages on the left

PageLayoutTwoPageRight

two pages at a time with odd numbered pages on the right

AnotherPageLayout Int

Catch-all for unknown values

data FormTextType Source #

No description available in the introspection data.

Constructors

FormTextTypeNormal

No description available in the introspection data.

FormTextTypeMultiline

No description available in the introspection data.

FormTextTypeFileSelect

No description available in the introspection data.

AnotherFormTextType Int

Catch-all for unknown values

data FormFieldType Source #

No description available in the introspection data.

Constructors

FormFieldTypeUnknown

No description available in the introspection data.

FormFieldTypeButton

No description available in the introspection data.

FormFieldTypeText

No description available in the introspection data.

FormFieldTypeChoice

No description available in the introspection data.

FormFieldTypeSignature

No description available in the introspection data.

AnotherFormFieldType Int

Catch-all for unknown values

data FormChoiceType Source #

No description available in the introspection data.

Constructors

FormChoiceTypeCombo

No description available in the introspection data.

FormChoiceTypeList

No description available in the introspection data.

AnotherFormChoiceType Int

Catch-all for unknown values

data FormButtonType Source #

No description available in the introspection data.

Constructors

FormButtonTypePush

No description available in the introspection data.

FormButtonTypeCheck

No description available in the introspection data.

FormButtonTypeRadio

No description available in the introspection data.

AnotherFormButtonType Int

Catch-all for unknown values

data FontType Source #

Font types

Constructors

FontTypeUnknown

unknown font type

FontTypeType1

Type 1 font type

FontTypeType1c

Type 1 font type embedded in Compact Font Format (CFF) font program

FontTypeType1cot

Type 1 font type embedded in OpenType font program

FontTypeType3

A font type that is defined with PDF graphics operators

FontTypeTruetype

TrueType font type

FontTypeTruetypeot

TrueType font type embedded in OpenType font program

FontTypeCidType0

CIDFont type based on Type 1 font technology

FontTypeCidType0c

CIDFont type based on Type 1 font technology embedded in CFF font program

FontTypeCidType0cot

CIDFont type based on Type 1 font technology embedded in OpenType font program

FontTypeCidType2

CIDFont type based on TrueType font technology

FontTypeCidType2ot

CIDFont type based on TrueType font technology embedded in OpenType font program

AnotherFontType Int

Catch-all for unknown values

data Error Source #

Error codes returned by Document

Constructors

ErrorInvalid

Generic error when a document operation fails

ErrorEncrypted

Document is encrypted

ErrorOpenFile

File could not be opened for writing when saving document

ErrorBadCatalog

Failed to read the document catalog

ErrorDamaged

Document is damaged

AnotherError Int

Catch-all for unknown values

data DestType Source #

Destination types

Constructors

DestTypeUnknown

unknown destination

DestTypeXyz

go to page with coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom

DestTypeFit

go to page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically

DestTypeFith

go to page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window

DestTypeFitv

go to page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window

DestTypeFitr

go to page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically

DestTypeFitb

go to page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically

DestTypeFitbh

go to page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window

DestTypeFitbv

go to page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window

DestTypeNamed

got to page specified by a name. See documentFindDest

AnotherDestType Int

Catch-all for unknown values

data AnnotType Source #

No description available in the introspection data.

Constructors

AnnotTypeUnknown

No description available in the introspection data.

AnnotTypeText

No description available in the introspection data.

AnnotTypeLink

No description available in the introspection data.

AnnotTypeFreeText

No description available in the introspection data.

AnnotTypeLine

No description available in the introspection data.

AnnotTypeSquare

No description available in the introspection data.

AnnotTypeCircle

No description available in the introspection data.

AnnotTypePolygon

No description available in the introspection data.

AnnotTypePolyLine

No description available in the introspection data.

AnnotTypeHighlight

No description available in the introspection data.

AnnotTypeUnderline

No description available in the introspection data.

AnnotTypeSquiggly

No description available in the introspection data.

AnnotTypeStrikeOut

No description available in the introspection data.

AnnotTypeStamp

No description available in the introspection data.

AnnotTypeCaret

No description available in the introspection data.

AnnotTypeInk

No description available in the introspection data.

AnnotTypePopup

No description available in the introspection data.

AnnotTypeFileAttachment

No description available in the introspection data.

AnnotTypeSound

No description available in the introspection data.

AnnotTypeMovie

No description available in the introspection data.

AnnotTypeWidget

No description available in the introspection data.

AnnotTypeScreen

No description available in the introspection data.

AnnotTypePrinterMark

No description available in the introspection data.

AnnotTypeTrapNet

No description available in the introspection data.

AnnotTypeWatermark

No description available in the introspection data.

AnnotType3d

No description available in the introspection data.

AnotherAnnotType Int

Catch-all for unknown values

data AnnotTextState Source #

No description available in the introspection data.

Constructors

AnnotTextStateMarked

No description available in the introspection data.

AnnotTextStateUnmarked

No description available in the introspection data.

AnnotTextStateAccepted

No description available in the introspection data.

AnnotTextStateRejected

No description available in the introspection data.

AnnotTextStateCancelled

No description available in the introspection data.

AnnotTextStateCompleted

No description available in the introspection data.

AnnotTextStateNone

No description available in the introspection data.

AnnotTextStateUnknown

No description available in the introspection data.

AnotherAnnotTextState Int

Catch-all for unknown values

data AnnotMarkupReplyType Source #

No description available in the introspection data.

Constructors

AnnotMarkupReplyTypeR

No description available in the introspection data.

AnnotMarkupReplyTypeGroup

No description available in the introspection data.

AnotherAnnotMarkupReplyType Int

Catch-all for unknown values

Instances

Enum AnnotMarkupReplyType Source # 
Eq AnnotMarkupReplyType Source # 
Ord AnnotMarkupReplyType Source # 
Show AnnotMarkupReplyType Source # 
BoxedEnum AnnotMarkupReplyType Source # 

data AnnotFreeTextQuadding Source #

No description available in the introspection data.

Constructors

AnnotFreeTextQuaddingLeftJustified

No description available in the introspection data.

AnnotFreeTextQuaddingCentered

No description available in the introspection data.

AnnotFreeTextQuaddingRightJustified

No description available in the introspection data.

AnotherAnnotFreeTextQuadding Int

Catch-all for unknown values

Instances

Enum AnnotFreeTextQuadding Source # 
Eq AnnotFreeTextQuadding Source # 
Ord AnnotFreeTextQuadding Source # 
Show AnnotFreeTextQuadding Source # 
BoxedEnum AnnotFreeTextQuadding Source # 

data AnnotExternalDataType Source #

No description available in the introspection data.

Constructors

AnnotExternalDataType3d

No description available in the introspection data.

AnnotExternalDataTypeUnknown

No description available in the introspection data.

AnotherAnnotExternalDataType Int

Catch-all for unknown values

Instances

Enum AnnotExternalDataType Source # 
Eq AnnotExternalDataType Source # 
Ord AnnotExternalDataType Source # 
Show AnnotExternalDataType Source # 
BoxedEnum AnnotExternalDataType Source # 

data ActionType Source #

Action types

Constructors

ActionTypeUnknown

unknown action

ActionTypeNone

no action specified

ActionTypeGotoDest

go to destination

ActionTypeGotoRemote

go to destination in another document

ActionTypeLaunch

launch app (or open document

ActionTypeUri

URI

ActionTypeNamed

predefined action

ActionTypeMovie

play movies. Since 0.14

ActionTypeRendition

play multimedia content. Since 0.14

ActionTypeOcgState

state of layer. Since 0.14

ActionTypeJavascript

Javascript. Since 0.18

AnotherActionType Int

Catch-all for unknown values

data ActionMovieOperation Source #

Movie operations

Since: 0.14

Constructors

ActionMovieOperationPlay

play movie

ActionMovieOperationPause

pause playing movie

ActionMovieOperationResume

resume paused movie

ActionMovieOperationStop

stop playing movie

AnotherActionMovieOperation Int

Catch-all for unknown values

Instances

Enum ActionMovieOperation Source # 
Eq ActionMovieOperation Source # 
Ord ActionMovieOperation Source # 
Show ActionMovieOperation Source # 
BoxedEnum ActionMovieOperation Source # 

data ActionLayerAction Source #

Layer actions

Since: 0.14

Constructors

ActionLayerActionOn

set layer visibility on

ActionLayerActionOff

set layer visibility off

ActionLayerActionToggle

reverse the layer visibility state

AnotherActionLayerAction Int

Catch-all for unknown values