Documentation ¶
Index ¶
- type ActionInfo
- type Attachment
- type AttachmentValue
- type CharPosition
- type DestInfo
- type FORM_CanRedo
- type FORM_CanUndo
- type FORM_DoDocumentAAction
- type FORM_DoDocumentJSAction
- type FORM_DoDocumentOpenAction
- type FORM_DoPageAAction
- type FORM_ForceToKillFocus
- type FORM_GetFocusedAnnot
- type FORM_GetFocusedText
- type FORM_GetSelectedText
- type FORM_IsIndexSelected
- type FORM_OnAfterLoadPage
- type FORM_OnBeforeClosePage
- type FORM_OnChar
- type FORM_OnFocus
- type FORM_OnKeyDown
- type FORM_OnKeyUp
- type FORM_OnLButtonDoubleClick
- type FORM_OnLButtonDown
- type FORM_OnLButtonUp
- type FORM_OnMouseMove
- type FORM_OnMouseWheel
- type FORM_OnRButtonDown
- type FORM_OnRButtonUp
- type FORM_Redo
- type FORM_ReplaceAndKeepSelection
- type FORM_ReplaceSelection
- type FORM_SelectAllText
- type FORM_SetFocusedAnnot
- type FORM_SetIndexSelected
- type FORM_Undo
- type FPDFAction_GetDest
- type FPDFAction_GetFilePath
- type FPDFAction_GetType
- type FPDFAction_GetURIPath
- type FPDFAnnot_AddInkStroke
- type FPDFAnnot_AppendAttachmentPoints
- type FPDFAnnot_AppendObject
- type FPDFAnnot_CountAttachmentPoints
- type FPDFAnnot_GetAP
- type FPDFAnnot_GetAttachmentPoints
- type FPDFAnnot_GetBorder
- type FPDFAnnot_GetColor
- type FPDFAnnot_GetFlags
- type FPDFAnnot_GetFocusableSubtypes
- type FPDFAnnot_GetFocusableSubtypesCount
- type FPDFAnnot_GetFontSize
- type FPDFAnnot_GetFormAdditionalActionJavaScript
- type FPDFAnnot_GetFormControlCount
- type FPDFAnnot_GetFormControlIndex
- type FPDFAnnot_GetFormFieldAlternateName
- type FPDFAnnot_GetFormFieldAtPoint
- type FPDFAnnot_GetFormFieldExportValue
- type FPDFAnnot_GetFormFieldFlags
- type FPDFAnnot_GetFormFieldName
- type FPDFAnnot_GetFormFieldType
- type FPDFAnnot_GetFormFieldValue
- type FPDFAnnot_GetInkListCount
- type FPDFAnnot_GetInkListPath
- type FPDFAnnot_GetLine
- type FPDFAnnot_GetLink
- type FPDFAnnot_GetLinkedAnnot
- type FPDFAnnot_GetNumberValue
- type FPDFAnnot_GetObject
- type FPDFAnnot_GetObjectCount
- type FPDFAnnot_GetOptionCount
- type FPDFAnnot_GetOptionLabel
- type FPDFAnnot_GetRect
- type FPDFAnnot_GetStringValue
- type FPDFAnnot_GetSubtype
- type FPDFAnnot_GetValueType
- type FPDFAnnot_GetVertices
- type FPDFAnnot_HasAttachmentPoints
- type FPDFAnnot_HasKey
- type FPDFAnnot_IsChecked
- type FPDFAnnot_IsObjectSupportedSubtype
- type FPDFAnnot_IsOptionSelected
- type FPDFAnnot_IsSupportedSubtype
- type FPDFAnnot_RemoveInkList
- type FPDFAnnot_RemoveObject
- type FPDFAnnot_SetAP
- type FPDFAnnot_SetAttachmentPoints
- type FPDFAnnot_SetBorder
- type FPDFAnnot_SetColor
- type FPDFAnnot_SetFlags
- type FPDFAnnot_SetFocusableSubtypes
- type FPDFAnnot_SetRect
- type FPDFAnnot_SetStringValue
- type FPDFAnnot_SetURI
- type FPDFAnnot_UpdateObject
- type FPDFAttachment_GetFile
- type FPDFAttachment_GetName
- type FPDFAttachment_GetStringValue
- type FPDFAttachment_GetValueType
- type FPDFAttachment_HasKey
- type FPDFAttachment_SetFile
- type FPDFAttachment_SetStringValue
- type FPDFAvail_Create
- type FPDFAvail_Destroy
- type FPDFAvail_GetDocument
- type FPDFAvail_GetFirstPageNum
- type FPDFAvail_IsDocAvail
- type FPDFAvail_IsFormAvail
- type FPDFAvail_IsLinearized
- type FPDFAvail_IsPageAvail
- type FPDFBitmap_Create
- type FPDFBitmap_CreateEx
- type FPDFBitmap_Destroy
- type FPDFBitmap_FillRect
- type FPDFBitmap_GetBuffer
- type FPDFBitmap_GetFormat
- type FPDFBitmap_GetHeight
- type FPDFBitmap_GetStride
- type FPDFBitmap_GetWidth
- type FPDFBookmark_Find
- type FPDFBookmark_GetAction
- type FPDFBookmark_GetCount
- type FPDFBookmark_GetDest
- type FPDFBookmark_GetFirstChild
- type FPDFBookmark_GetNextSibling
- type FPDFBookmark_GetTitle
- type FPDFCatalog_IsTagged
- type FPDFClipPath_CountPathSegments
- type FPDFClipPath_CountPaths
- type FPDFClipPath_GetPathSegment
- type FPDFDOC_ExitFormFillEnvironment
- type FPDFDOC_InitFormFillEnvironment
- type FPDFDest_GetDestPageIndex
- type FPDFDest_GetLocationInPage
- type FPDFDest_GetView
- type FPDFDoc_AddAttachment
- type FPDFDoc_CloseJavaScriptAction
- type FPDFDoc_DeleteAttachment
- type FPDFDoc_GetAttachment
- type FPDFDoc_GetAttachmentCount
- type FPDFDoc_GetJavaScriptAction
- type FPDFDoc_GetJavaScriptActionCount
- type FPDFDoc_GetPageMode
- type FPDFDoc_GetPageModeMode
- type FPDFFont_Close
- type FPDFFont_GetAscent
- type FPDFFont_GetDescent
- type FPDFFont_GetFlags
- type FPDFFont_GetFontData
- type FPDFFont_GetFontName
- type FPDFFont_GetGlyphPath
- type FPDFFont_GetGlyphWidth
- type FPDFFont_GetIsEmbedded
- type FPDFFont_GetItalicAngle
- type FPDFFont_GetWeight
- type FPDFFormObj_CountObjects
- type FPDFFormObj_GetObject
- type FPDFGlyphPath_CountGlyphSegments
- type FPDFGlyphPath_GetGlyphPathSegment
- type FPDFImageObj_GetBitmap
- type FPDFImageObj_GetImageDataDecoded
- type FPDFImageObj_GetImageDataRaw
- type FPDFImageObj_GetImageFilter
- type FPDFImageObj_GetImageFilterCount
- type FPDFImageObj_GetImageMetadata
- type FPDFImageObj_GetImagePixelSize
- type FPDFImageObj_GetRenderedBitmap
- type FPDFImageObj_LoadJpegFile
- type FPDFImageObj_LoadJpegFileInline
- type FPDFImageObj_SetBitmap
- type FPDFImageObj_SetMatrix
- type FPDFJavaScriptAction_GetName
- type FPDFJavaScriptAction_GetScript
- type FPDFLink_CloseWebLinks
- type FPDFLink_CountQuadPoints
- type FPDFLink_CountRects
- type FPDFLink_CountWebLinks
- type FPDFLink_Enumerate
- type FPDFLink_GetAction
- type FPDFLink_GetAnnot
- type FPDFLink_GetAnnotRect
- type FPDFLink_GetDest
- type FPDFLink_GetLinkAtPoint
- type FPDFLink_GetLinkZOrderAtPoint
- type FPDFLink_GetQuadPoints
- type FPDFLink_GetRect
- type FPDFLink_GetTextRange
- type FPDFLink_GetURL
- type FPDFLink_LoadWebLinks
- type FPDFPageObjMark_CountParams
- type FPDFPageObjMark_GetName
- type FPDFPageObjMark_GetParamBlobValue
- type FPDFPageObjMark_GetParamIntValue
- type FPDFPageObjMark_GetParamKey
- type FPDFPageObjMark_GetParamStringValue
- type FPDFPageObjMark_GetParamValueType
- type FPDFPageObjMark_RemoveParam
- type FPDFPageObjMark_SetBlobParam
- type FPDFPageObjMark_SetIntParam
- type FPDFPageObjMark_SetStringParam
- type FPDFPageObj_AddMark
- type FPDFPageObj_CountMarks
- type FPDFPageObj_CreateNewPath
- type FPDFPageObj_CreateNewRect
- type FPDFPageObj_CreateTextObj
- type FPDFPageObj_Destroy
- type FPDFPageObj_GetBounds
- type FPDFPageObj_GetClipPath
- type FPDFPageObj_GetDashArray
- type FPDFPageObj_GetDashCount
- type FPDFPageObj_GetDashPhase
- type FPDFPageObj_GetFillColor
- type FPDFPageObj_GetLineCap
- type FPDFPageObj_GetLineJoin
- type FPDFPageObj_GetMark
- type FPDFPageObj_GetMatrix
- type FPDFPageObj_GetRotatedBounds
- type FPDFPageObj_GetStrokeColor
- type FPDFPageObj_GetStrokeWidth
- type FPDFPageObj_GetType
- type FPDFPageObj_HasTransparency
- type FPDFPageObj_NewImageObj
- type FPDFPageObj_NewTextObj
- type FPDFPageObj_RemoveMark
- type FPDFPageObj_SetBlendMode
- type FPDFPageObj_SetDashArray
- type FPDFPageObj_SetDashPhase
- type FPDFPageObj_SetFillColor
- type FPDFPageObj_SetLineCap
- type FPDFPageObj_SetLineJoin
- type FPDFPageObj_SetMatrix
- type FPDFPageObj_SetStrokeColor
- type FPDFPageObj_SetStrokeWidth
- type FPDFPageObj_Transform
- type FPDFPageObj_TransformClipPath
- type FPDFPage_CloseAnnot
- type FPDFPage_CountObjects
- type FPDFPage_CreateAnnot
- type FPDFPage_Delete
- type FPDFPage_Flatten
- type FPDFPage_FlattenResult
- type FPDFPage_FormFieldZOrderAtPoint
- type FPDFPage_GenerateContent
- type FPDFPage_GetAnnot
- type FPDFPage_GetAnnotCount
- type FPDFPage_GetAnnotIndex
- type FPDFPage_GetArtBox
- type FPDFPage_GetBleedBox
- type FPDFPage_GetCropBox
- type FPDFPage_GetDecodedThumbnailData
- type FPDFPage_GetMediaBox
- type FPDFPage_GetObject
- type FPDFPage_GetRawThumbnailData
- type FPDFPage_GetRotation
- type FPDFPage_GetThumbnailAsBitmap
- type FPDFPage_GetTrimBox
- type FPDFPage_HasFormFieldAtPoint
- type FPDFPage_HasTransparency
- type FPDFPage_InsertClipPath
- type FPDFPage_InsertObject
- type FPDFPage_New
- type FPDFPage_RemoveAnnot
- type FPDFPage_RemoveObject
- type FPDFPage_SetArtBox
- type FPDFPage_SetBleedBox
- type FPDFPage_SetCropBox
- type FPDFPage_SetMediaBox
- type FPDFPage_SetRotation
- type FPDFPage_SetTrimBox
- type FPDFPage_TransFormWithClip
- type FPDFPage_TransformAnnots
- type FPDFPathSegment_GetClose
- type FPDFPathSegment_GetPoint
- type FPDFPathSegment_GetType
- type FPDFPath_BezierTo
- type FPDFPath_Close
- type FPDFPath_CountSegments
- type FPDFPath_GetDrawMode
- type FPDFPath_GetPathSegment
- type FPDFPath_LineTo
- type FPDFPath_MoveTo
- type FPDFPath_SetDrawMode
- type FPDFSignatureObj_GetByteRange
- type FPDFSignatureObj_GetContents
- type FPDFSignatureObj_GetDocMDPPermission
- type FPDFSignatureObj_GetReason
- type FPDFSignatureObj_GetSubFilter
- type FPDFSignatureObj_GetTime
- type FPDFTextObj_GetFont
- type FPDFTextObj_GetFontSize
- type FPDFTextObj_GetRenderedBitmap
- type FPDFTextObj_GetText
- type FPDFTextObj_GetTextRenderMode
- type FPDFTextObj_SetTextRenderMode
- type FPDFText_ClosePage
- type FPDFText_CountChars
- type FPDFText_CountRects
- type FPDFText_FindClose
- type FPDFText_FindNext
- type FPDFText_FindPrev
- type FPDFText_FindStart
- type FPDFText_GetBoundedText
- type FPDFText_GetCharAngle
- type FPDFText_GetCharBox
- type FPDFText_GetCharIndexAtPos
- type FPDFText_GetCharIndexFromTextIndex
- type FPDFText_GetCharOrigin
- type FPDFText_GetFillColor
- type FPDFText_GetFontInfo
- type FPDFText_GetFontSize
- type FPDFText_GetFontWeight
- type FPDFText_GetLooseCharBox
- type FPDFText_GetMatrix
- type FPDFText_GetRect
- type FPDFText_GetSchCount
- type FPDFText_GetSchResultIndex
- type FPDFText_GetStrokeColor
- type FPDFText_GetText
- type FPDFText_GetTextIndexFromCharIndex
- type FPDFText_GetTextRenderMode
- type FPDFText_GetUnicode
- type FPDFText_HasUnicodeMapError
- type FPDFText_IsGenerated
- type FPDFText_IsHyphen
- type FPDFText_LoadFont
- type FPDFText_LoadPage
- type FPDFText_LoadStandardFont
- type FPDFText_SetCharcodes
- type FPDFText_SetText
- type FPDF_CloseDocument
- type FPDF_ClosePage
- type FPDF_CloseXObject
- type FPDF_CopyViewerPreferences
- type FPDF_CountNamedDests
- type FPDF_CreateClipPath
- type FPDF_CreateNewDocument
- type FPDF_DestroyClipPath
- type FPDF_DeviceToPage
- type FPDF_DocumentHasValidCrossReferenceTable
- type FPDF_FFLDraw
- type FPDF_GetDocPermissions
- type FPDF_GetFileIdentifier
- type FPDF_GetFileVersion
- type FPDF_GetFormType
- type FPDF_GetLastError
- type FPDF_GetLastErrorError
- type FPDF_GetMetaText
- type FPDF_GetNamedDest
- type FPDF_GetNamedDestByName
- type FPDF_GetPageAAction
- type FPDF_GetPageBoundingBox
- type FPDF_GetPageCount
- type FPDF_GetPageHeight
- type FPDF_GetPageHeightF
- type FPDF_GetPageLabel
- type FPDF_GetPageSizeByIndex
- type FPDF_GetPageSizeByIndexF
- type FPDF_GetPageWidth
- type FPDF_GetPageWidthF
- type FPDF_GetSecurityHandlerRevision
- type FPDF_GetSignatureCount
- type FPDF_GetSignatureObject
- type FPDF_GetTrailerEnds
- type FPDF_GetXFAPacketContent
- type FPDF_GetXFAPacketCount
- type FPDF_GetXFAPacketName
- type FPDF_ImportNPagesToOne
- type FPDF_ImportPages
- type FPDF_ImportPagesByIndex
- type FPDF_LoadCustomDocument
- type FPDF_LoadDocument
- type FPDF_LoadMemDocument
- type FPDF_LoadMemDocument64
- type FPDF_LoadPage
- type FPDF_LoadXFA
- type FPDF_NewFormObjectFromXObject
- type FPDF_NewXObjectFromPage
- type FPDF_PageToDevice
- type FPDF_RemoveFormFieldHighlight
- type FPDF_RenderPage
- type FPDF_RenderPageBitmap
- type FPDF_RenderPageBitmapWithColorScheme_Start
- type FPDF_RenderPageBitmapWithMatrix
- type FPDF_RenderPageBitmap_Start
- type FPDF_RenderPage_Close
- type FPDF_RenderPage_Continue
- type FPDF_SaveAsCopy
- type FPDF_SaveWithVersion
- type FPDF_SetFormFieldHighlightAlpha
- type FPDF_SetFormFieldHighlightColor
- type FPDF_SetPrintMode
- type FPDF_SetSandBoxPolicy
- type FPDF_StructElement_Attr_GetBlobValue
- type FPDF_StructElement_Attr_GetBooleanValue
- type FPDF_StructElement_Attr_GetCount
- type FPDF_StructElement_Attr_GetName
- type FPDF_StructElement_Attr_GetNumberValue
- type FPDF_StructElement_Attr_GetStringValue
- type FPDF_StructElement_Attr_GetType
- type FPDF_StructElement_CountChildren
- type FPDF_StructElement_GetActualText
- type FPDF_StructElement_GetAltText
- type FPDF_StructElement_GetAttributeAtIndex
- type FPDF_StructElement_GetAttributeCount
- type FPDF_StructElement_GetChildAtIndex
- type FPDF_StructElement_GetID
- type FPDF_StructElement_GetLang
- type FPDF_StructElement_GetMarkedContentID
- type FPDF_StructElement_GetMarkedContentIdAtIndex
- type FPDF_StructElement_GetMarkedContentIdCount
- type FPDF_StructElement_GetObjType
- type FPDF_StructElement_GetParent
- type FPDF_StructElement_GetStringAttribute
- type FPDF_StructElement_GetTitle
- type FPDF_StructElement_GetType
- type FPDF_StructTree_Close
- type FPDF_StructTree_CountChildren
- type FPDF_StructTree_GetChildAtIndex
- type FPDF_StructTree_GetForPage
- type FPDF_VIEWERREF_GetDuplex
- type FPDF_VIEWERREF_GetName
- type FPDF_VIEWERREF_GetNumCopies
- type FPDF_VIEWERREF_GetPrintPageRange
- type FPDF_VIEWERREF_GetPrintPageRangeCount
- type FPDF_VIEWERREF_GetPrintPageRangeElement
- type FPDF_VIEWERREF_GetPrintScaling
- type FSDK_SetLocaltimeFunction
- type FSDK_SetTimeFunction
- type FSDK_SetUnSpObjProcessHandler
- type FontInformation
- type GetActionInfo
- type GetAttachments
- type GetBookmarks
- type GetBookmarksBookmark
- type GetDestInfo
- type GetJavaScriptActions
- type GetMetaData
- type GetMetaDataTag
- type GetPageSize
- type GetPageSizeInPixels
- type GetPageText
- type GetPageTextStructured
- type GetPageTextStructuredChar
- type GetPageTextStructuredRect
- type JavaScriptAction
- type NewPage
- type OpenDocument
- type RenderPage
- type RenderPageInDPI
- type RenderPageInPixels
- type RenderPages
- type RenderPagesInDPI
- type RenderPagesInPixels
- type RenderPagesPage
- type RenderToFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionInfo ¶ added in v0.5.0
type ActionInfo struct { Reference references.FPDF_ACTION Type enums.FPDF_ACTION_ACTION DestInfo *DestInfo // Is set when the action is GOTO. When the action is REMOTEGOTO, we will not fetch the destination. FilePath *string // When action is LAUNCH or REMOTEGOTO. URIPath *string // When action is URI. }
type Attachment ¶ added in v0.5.0
type Attachment struct { Name string Content []byte Values []AttachmentValue }
type AttachmentValue ¶ added in v0.5.0
type AttachmentValue struct { Key string ValueType enums.FPDF_OBJECT_TYPE StringValue string }
type CharPosition ¶
type DestInfo ¶ added in v0.5.0
type DestInfo struct { Reference references.FPDF_DEST PageIndex int }
type FORM_CanRedo ¶ added in v1.0.0
type FORM_CanRedo struct {
CanRedo bool
}
type FORM_CanUndo ¶ added in v1.0.0
type FORM_CanUndo struct {
CanUndo bool
}
type FORM_DoDocumentAAction ¶ added in v1.0.0
type FORM_DoDocumentAAction struct{}
type FORM_DoDocumentJSAction ¶ added in v1.0.0
type FORM_DoDocumentJSAction struct{}
type FORM_DoDocumentOpenAction ¶ added in v1.0.0
type FORM_DoDocumentOpenAction struct{}
type FORM_DoPageAAction ¶ added in v1.0.0
type FORM_DoPageAAction struct{}
type FORM_ForceToKillFocus ¶ added in v1.0.0
type FORM_ForceToKillFocus struct{}
type FORM_GetFocusedAnnot ¶ added in v1.0.0
type FORM_GetFocusedAnnot struct { PageIndex int Annotation references.FPDF_ANNOTATION }
type FORM_GetFocusedText ¶ added in v1.0.0
type FORM_GetFocusedText struct {
FocusedText string
}
type FORM_GetSelectedText ¶ added in v1.0.0
type FORM_GetSelectedText struct {
SelectedText string
}
type FORM_IsIndexSelected ¶ added in v1.0.0
type FORM_IsIndexSelected struct {
IsIndexSelected bool
}
type FORM_OnAfterLoadPage ¶ added in v1.0.0
type FORM_OnAfterLoadPage struct{}
type FORM_OnBeforeClosePage ¶ added in v1.0.0
type FORM_OnBeforeClosePage struct{}
type FORM_OnChar ¶ added in v1.0.0
type FORM_OnChar struct{}
type FORM_OnFocus ¶ added in v1.0.0
type FORM_OnFocus struct {
HasFocus bool
}
type FORM_OnKeyDown ¶ added in v1.0.0
type FORM_OnKeyDown struct{}
type FORM_OnKeyUp ¶ added in v1.0.0
type FORM_OnKeyUp struct{}
type FORM_OnLButtonDoubleClick ¶ added in v1.0.0
type FORM_OnLButtonDoubleClick struct{}
type FORM_OnLButtonDown ¶ added in v1.0.0
type FORM_OnLButtonDown struct{}
type FORM_OnLButtonUp ¶ added in v1.0.0
type FORM_OnLButtonUp struct{}
type FORM_OnMouseMove ¶ added in v1.0.0
type FORM_OnMouseMove struct{}
type FORM_OnMouseWheel ¶ added in v1.0.0
type FORM_OnMouseWheel struct{}
type FORM_OnRButtonDown ¶ added in v1.0.0
type FORM_OnRButtonDown struct{}
type FORM_OnRButtonUp ¶ added in v1.0.0
type FORM_OnRButtonUp struct{}
type FORM_ReplaceAndKeepSelection ¶ added in v1.4.0
type FORM_ReplaceAndKeepSelection struct{}
type FORM_ReplaceSelection ¶ added in v1.0.0
type FORM_ReplaceSelection struct{}
type FORM_SelectAllText ¶ added in v1.0.0
type FORM_SelectAllText struct{}
type FORM_SetFocusedAnnot ¶ added in v1.0.0
type FORM_SetFocusedAnnot struct{}
type FORM_SetIndexSelected ¶ added in v1.0.0
type FORM_SetIndexSelected struct{}
type FPDFAction_GetDest ¶ added in v0.5.0
type FPDFAction_GetDest struct {
Dest *references.FPDF_DEST // Reference to the bookmark dest. nil if not found.
}
type FPDFAction_GetFilePath ¶ added in v0.5.0
type FPDFAction_GetFilePath struct {
FilePath *string // nil when not set
}
type FPDFAction_GetType ¶ added in v0.5.0
type FPDFAction_GetType struct {
Type enums.FPDF_ACTION_ACTION
}
type FPDFAction_GetURIPath ¶ added in v0.5.0
type FPDFAction_GetURIPath struct {
URIPath *string // nil when not set
}
type FPDFAnnot_AddInkStroke ¶ added in v1.0.0
type FPDFAnnot_AddInkStroke struct {
Index int
}
type FPDFAnnot_AppendAttachmentPoints ¶ added in v1.0.0
type FPDFAnnot_AppendAttachmentPoints struct{}
type FPDFAnnot_AppendObject ¶ added in v1.0.0
type FPDFAnnot_AppendObject struct{}
type FPDFAnnot_CountAttachmentPoints ¶ added in v1.0.0
type FPDFAnnot_CountAttachmentPoints struct {
Count uint64
}
type FPDFAnnot_GetAP ¶ added in v1.0.0
type FPDFAnnot_GetAP struct {
Value string
}
type FPDFAnnot_GetAttachmentPoints ¶ added in v1.0.0
type FPDFAnnot_GetAttachmentPoints struct {
QuadPoints structs.FPDF_FS_QUADPOINTSF
}
type FPDFAnnot_GetBorder ¶ added in v1.0.0
type FPDFAnnot_GetColor ¶ added in v1.0.0
type FPDFAnnot_GetFlags ¶ added in v1.0.0
type FPDFAnnot_GetFlags struct {
Flags enums.FPDF_ANNOT_FLAG
}
type FPDFAnnot_GetFocusableSubtypes ¶ added in v1.0.0
type FPDFAnnot_GetFocusableSubtypes struct {
FocusableSubtypes []enums.FPDF_ANNOTATION_SUBTYPE
}
type FPDFAnnot_GetFocusableSubtypesCount ¶ added in v1.0.0
type FPDFAnnot_GetFocusableSubtypesCount struct {
FocusableSubtypesCount int
}
type FPDFAnnot_GetFontSize ¶ added in v1.0.0
type FPDFAnnot_GetFontSize struct {
FontSize float32
}
type FPDFAnnot_GetFormAdditionalActionJavaScript ¶ added in v1.3.0
type FPDFAnnot_GetFormAdditionalActionJavaScript struct {
FormAdditionalActionJavaScript string
}
type FPDFAnnot_GetFormControlCount ¶ added in v1.0.0
type FPDFAnnot_GetFormControlCount struct {
FormControlCount int
}
type FPDFAnnot_GetFormControlIndex ¶ added in v1.0.0
type FPDFAnnot_GetFormControlIndex struct {
FormControlIndex int
}
type FPDFAnnot_GetFormFieldAlternateName ¶ added in v1.3.0
type FPDFAnnot_GetFormFieldAlternateName struct {
FormFieldAlternateName string
}
type FPDFAnnot_GetFormFieldAtPoint ¶ added in v1.0.0
type FPDFAnnot_GetFormFieldAtPoint struct {
Annotation references.FPDF_ANNOTATION
}
type FPDFAnnot_GetFormFieldExportValue ¶ added in v1.0.0
type FPDFAnnot_GetFormFieldExportValue struct {
Value string
}
type FPDFAnnot_GetFormFieldFlags ¶ added in v1.0.0
type FPDFAnnot_GetFormFieldFlags struct {
Flags enums.FPDF_FORMFLAG
}
type FPDFAnnot_GetFormFieldName ¶ added in v1.0.0
type FPDFAnnot_GetFormFieldName struct {
FormFieldName string
}
type FPDFAnnot_GetFormFieldType ¶ added in v1.0.0
type FPDFAnnot_GetFormFieldType struct {
FormFieldType enums.FPDF_FORMFIELD_TYPE
}
type FPDFAnnot_GetFormFieldValue ¶ added in v1.0.0
type FPDFAnnot_GetFormFieldValue struct {
FormFieldValue string
}
type FPDFAnnot_GetInkListCount ¶ added in v1.0.0
type FPDFAnnot_GetInkListCount struct {
Count uint64
}
type FPDFAnnot_GetInkListPath ¶ added in v1.0.0
type FPDFAnnot_GetInkListPath struct {
Path []structs.FPDF_FS_POINTF
}
type FPDFAnnot_GetLine ¶ added in v1.0.0
type FPDFAnnot_GetLine struct { Start structs.FPDF_FS_POINTF End structs.FPDF_FS_POINTF }
type FPDFAnnot_GetLink ¶ added in v1.0.0
type FPDFAnnot_GetLink struct {
Link references.FPDF_LINK
}
type FPDFAnnot_GetLinkedAnnot ¶ added in v1.0.0
type FPDFAnnot_GetLinkedAnnot struct {
LinkedAnnotation references.FPDF_ANNOTATION
}
type FPDFAnnot_GetNumberValue ¶ added in v1.0.0
type FPDFAnnot_GetNumberValue struct {
Value float32
}
type FPDFAnnot_GetObject ¶ added in v1.0.0
type FPDFAnnot_GetObject struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFAnnot_GetObjectCount ¶ added in v1.0.0
type FPDFAnnot_GetObjectCount struct {
Count int
}
type FPDFAnnot_GetOptionCount ¶ added in v1.0.0
type FPDFAnnot_GetOptionCount struct {
OptionCount int
}
type FPDFAnnot_GetOptionLabel ¶ added in v1.0.0
type FPDFAnnot_GetOptionLabel struct {
OptionLabel string
}
type FPDFAnnot_GetRect ¶ added in v1.0.0
type FPDFAnnot_GetRect struct {
Rect structs.FPDF_FS_RECTF
}
type FPDFAnnot_GetStringValue ¶ added in v1.0.0
type FPDFAnnot_GetStringValue struct {
Value string
}
type FPDFAnnot_GetSubtype ¶ added in v1.0.0
type FPDFAnnot_GetSubtype struct {
Subtype enums.FPDF_ANNOTATION_SUBTYPE
}
type FPDFAnnot_GetValueType ¶ added in v1.0.0
type FPDFAnnot_GetValueType struct {
ValueType enums.FPDF_OBJECT_TYPE
}
type FPDFAnnot_GetVertices ¶ added in v1.0.0
type FPDFAnnot_GetVertices struct {
Vertices []structs.FPDF_FS_POINTF
}
type FPDFAnnot_HasAttachmentPoints ¶ added in v1.0.0
type FPDFAnnot_HasAttachmentPoints struct {
HasAttachmentPoints bool
}
type FPDFAnnot_HasKey ¶ added in v1.0.0
type FPDFAnnot_HasKey struct {
HasKey bool
}
type FPDFAnnot_IsChecked ¶ added in v1.0.0
type FPDFAnnot_IsChecked struct {
IsChecked bool
}
type FPDFAnnot_IsObjectSupportedSubtype ¶ added in v1.0.0
type FPDFAnnot_IsObjectSupportedSubtype struct {
IsObjectSupportedSubtype bool
}
type FPDFAnnot_IsOptionSelected ¶ added in v1.0.0
type FPDFAnnot_IsOptionSelected struct {
IsOptionSelected bool
}
type FPDFAnnot_IsSupportedSubtype ¶ added in v1.0.0
type FPDFAnnot_IsSupportedSubtype struct {
IsSupported bool
}
type FPDFAnnot_RemoveInkList ¶ added in v1.0.0
type FPDFAnnot_RemoveInkList struct{}
type FPDFAnnot_RemoveObject ¶ added in v1.0.0
type FPDFAnnot_RemoveObject struct{}
type FPDFAnnot_SetAP ¶ added in v1.0.0
type FPDFAnnot_SetAP struct{}
type FPDFAnnot_SetAttachmentPoints ¶ added in v1.0.0
type FPDFAnnot_SetAttachmentPoints struct{}
type FPDFAnnot_SetBorder ¶ added in v1.0.0
type FPDFAnnot_SetBorder struct{}
type FPDFAnnot_SetColor ¶ added in v1.0.0
type FPDFAnnot_SetColor struct{}
type FPDFAnnot_SetFlags ¶ added in v1.0.0
type FPDFAnnot_SetFlags struct{}
type FPDFAnnot_SetFocusableSubtypes ¶ added in v1.0.0
type FPDFAnnot_SetFocusableSubtypes struct{}
type FPDFAnnot_SetRect ¶ added in v1.0.0
type FPDFAnnot_SetRect struct{}
type FPDFAnnot_SetStringValue ¶ added in v1.0.0
type FPDFAnnot_SetStringValue struct{}
type FPDFAnnot_SetURI ¶ added in v1.0.0
type FPDFAnnot_SetURI struct{}
type FPDFAnnot_UpdateObject ¶ added in v1.0.0
type FPDFAnnot_UpdateObject struct{}
type FPDFAttachment_GetFile ¶ added in v0.5.0
type FPDFAttachment_GetFile struct {
Contents []byte // nil when not found.
}
type FPDFAttachment_GetName ¶ added in v0.5.0
type FPDFAttachment_GetName struct {
Name string
}
type FPDFAttachment_GetStringValue ¶ added in v0.5.0
type FPDFAttachment_GetValueType ¶ added in v0.5.0
type FPDFAttachment_GetValueType struct { Key string ValueType enums.FPDF_OBJECT_TYPE }
type FPDFAttachment_HasKey ¶ added in v0.5.0
type FPDFAttachment_SetFile ¶ added in v0.5.0
type FPDFAttachment_SetFile struct{}
type FPDFAttachment_SetStringValue ¶ added in v0.5.0
type FPDFAvail_Create ¶ added in v0.9.0
type FPDFAvail_Create struct {
AvailabilityProvider references.FPDF_AVAIL
}
type FPDFAvail_Destroy ¶ added in v0.9.0
type FPDFAvail_Destroy struct{}
type FPDFAvail_GetDocument ¶ added in v0.9.0
type FPDFAvail_GetDocument struct {
Document references.FPDF_DOCUMENT
}
type FPDFAvail_GetFirstPageNum ¶ added in v0.9.0
type FPDFAvail_GetFirstPageNum struct {
FirstPageNum int
}
type FPDFAvail_IsDocAvail ¶ added in v0.9.0
type FPDFAvail_IsDocAvail struct {
IsDocAvail enums.PDF_FILEAVAIL_DATA
}
type FPDFAvail_IsFormAvail ¶ added in v0.9.0
type FPDFAvail_IsFormAvail struct {
IsFormAvail enums.PDF_FILEAVAIL_FORM
}
type FPDFAvail_IsLinearized ¶ added in v0.9.0
type FPDFAvail_IsLinearized struct {
IsLinearized enums.PDF_FILEAVAIL_LINEARIZATION
}
type FPDFAvail_IsPageAvail ¶ added in v0.9.0
type FPDFAvail_IsPageAvail struct {
IsPageAvail enums.PDF_FILEAVAIL_DATA
}
type FPDFBitmap_Create ¶ added in v0.7.0
type FPDFBitmap_Create struct {
Bitmap references.FPDF_BITMAP
}
type FPDFBitmap_CreateEx ¶ added in v0.7.0
type FPDFBitmap_CreateEx struct {
Bitmap references.FPDF_BITMAP
}
type FPDFBitmap_Destroy ¶ added in v0.7.0
type FPDFBitmap_Destroy struct{}
type FPDFBitmap_FillRect ¶ added in v0.7.0
type FPDFBitmap_FillRect struct{}
type FPDFBitmap_GetBuffer ¶ added in v0.7.0
type FPDFBitmap_GetBuffer struct {
Buffer []byte
}
type FPDFBitmap_GetFormat ¶ added in v0.7.0
type FPDFBitmap_GetFormat struct {
Format enums.FPDF_BITMAP_FORMAT
}
type FPDFBitmap_GetHeight ¶ added in v0.7.0
type FPDFBitmap_GetHeight struct {
Height int
}
type FPDFBitmap_GetStride ¶ added in v0.7.0
type FPDFBitmap_GetStride struct {
Stride int
}
type FPDFBitmap_GetWidth ¶ added in v0.7.0
type FPDFBitmap_GetWidth struct {
Width int
}
type FPDFBookmark_Find ¶ added in v0.5.0
type FPDFBookmark_Find struct {
Bookmark *references.FPDF_BOOKMARK // Reference to the found bookmark. nil if the title can't be found.
}
type FPDFBookmark_GetAction ¶ added in v0.5.0
type FPDFBookmark_GetAction struct {
Action *references.FPDF_ACTION // Reference to the bookmark action. nil if not found.
}
type FPDFBookmark_GetCount ¶ added in v1.1.0
type FPDFBookmark_GetCount struct { // A signed integer that represents the number of sub-items the given // bookmark has. If the value is positive, child items shall be shown by default // (open state). If the value is negative, child items shall be hidden by // default (closed state). Please refer to PDF 32000-1:2008, Table 153. // Returns 0 if the bookmark has no children or is invalid. Count int }
type FPDFBookmark_GetDest ¶ added in v0.5.0
type FPDFBookmark_GetDest struct {
Dest *references.FPDF_DEST // Reference to the bookmark dest. nil if not found.
}
type FPDFBookmark_GetFirstChild ¶ added in v0.5.0
type FPDFBookmark_GetFirstChild struct {
Bookmark *references.FPDF_BOOKMARK // Reference to the first child or top level bookmark item. nil if no child or top level bookmark found.
}
type FPDFBookmark_GetNextSibling ¶ added in v0.5.0
type FPDFBookmark_GetNextSibling struct {
Bookmark *references.FPDF_BOOKMARK // Reference to the next bookmark item at the same level. nil if this is the last bookmark at this level.
}
type FPDFBookmark_GetTitle ¶ added in v0.5.0
type FPDFBookmark_GetTitle struct {
Title string // The title of the bookmark.
}
type FPDFCatalog_IsTagged ¶ added in v0.5.0
type FPDFCatalog_IsTagged struct {
IsTagged bool
}
type FPDFClipPath_CountPathSegments ¶ added in v0.9.0
type FPDFClipPath_CountPathSegments struct {
Count int
}
type FPDFClipPath_CountPaths ¶ added in v0.9.0
type FPDFClipPath_CountPaths struct {
Count int
}
type FPDFClipPath_GetPathSegment ¶ added in v0.9.0
type FPDFClipPath_GetPathSegment struct {
PathSegment references.FPDF_PATHSEGMENT
}
type FPDFDOC_ExitFormFillEnvironment ¶ added in v1.0.0
type FPDFDOC_ExitFormFillEnvironment struct{}
type FPDFDOC_InitFormFillEnvironment ¶ added in v1.0.0
type FPDFDOC_InitFormFillEnvironment struct {
FormHandle references.FPDF_FORMHANDLE
}
type FPDFDest_GetDestPageIndex ¶ added in v0.5.0
type FPDFDest_GetDestPageIndex struct {
Index int
}
type FPDFDest_GetLocationInPage ¶ added in v0.5.0
type FPDFDest_GetView ¶ added in v0.5.0
type FPDFDest_GetView struct { DestView enums.FPDF_PDFDEST_VIEW Params []float32 }
type FPDFDoc_AddAttachment ¶ added in v0.5.0
type FPDFDoc_AddAttachment struct {
Attachment references.FPDF_ATTACHMENT
}
type FPDFDoc_CloseJavaScriptAction ¶ added in v0.5.0
type FPDFDoc_CloseJavaScriptAction struct{}
type FPDFDoc_DeleteAttachment ¶ added in v0.5.0
type FPDFDoc_DeleteAttachment struct {
Index int
}
type FPDFDoc_GetAttachment ¶ added in v0.5.0
type FPDFDoc_GetAttachment struct { Index int Attachment references.FPDF_ATTACHMENT }
type FPDFDoc_GetAttachmentCount ¶ added in v0.5.0
type FPDFDoc_GetAttachmentCount struct {
AttachmentCount int
}
type FPDFDoc_GetJavaScriptAction ¶ added in v0.5.0
type FPDFDoc_GetJavaScriptAction struct { Index int JavaScriptAction references.FPDF_JAVASCRIPT_ACTION }
type FPDFDoc_GetJavaScriptActionCount ¶ added in v0.5.0
type FPDFDoc_GetJavaScriptActionCount struct {
JavaScriptActionCount int
}
type FPDFDoc_GetPageMode ¶ added in v0.5.0
type FPDFDoc_GetPageMode struct {
PageMode FPDFDoc_GetPageModeMode // The document's page mode, which describes how the document should be displayed when opened.
}
type FPDFDoc_GetPageModeMode ¶ added in v0.5.0
type FPDFDoc_GetPageModeMode int
const ( FPDFDoc_GetPageModeModeUnknown FPDFDoc_GetPageModeMode = -1 // Page mode: unknown. FPDFDoc_GetPageModeModeUseNone FPDFDoc_GetPageModeMode = 0 // Page mode: use none, which means neither document outline nor thumbnail images visible. FPDFDoc_GetPageModeModeUseOutlines FPDFDoc_GetPageModeMode = 1 // Page mode: document outline visible. FPDFDoc_GetPageModeModeUseThumbs FPDFDoc_GetPageModeMode = 2 // Page mode: thumbnail images visible. FPDFDoc_GetPageModeModeFullScreen FPDFDoc_GetPageModeMode = 3 // Page mode: full screen - with no menu bar, no windows controls and no any other windows visible. FPDFDoc_GetPageModeModeUseOC FPDFDoc_GetPageModeMode = 4 // Page mode: optional content group panel visible. FPDFDoc_GetPageModeModeUseAttachments FPDFDoc_GetPageModeMode = 5 // Page mode: attachments panel visible. )
type FPDFFont_Close ¶ added in v0.9.0
type FPDFFont_Close struct{}
type FPDFFont_GetAscent ¶ added in v0.9.0
type FPDFFont_GetAscent struct {
Ascent float32
}
type FPDFFont_GetDescent ¶ added in v0.9.0
type FPDFFont_GetDescent struct {
Descent float32
}
type FPDFFont_GetFlags ¶ added in v0.9.0
type FPDFFont_GetFlags struct { Flags uint32 FixedPitch bool // Whether all glyphs have the same width (as opposed to proportional or variable-pitch fonts, which have different widths). Serif bool // Whether glyphs have serifs, which are short strokes drawn at an angle on the top and bottom of glyph stems. (Sans serif fonts do not have serifs.) Symbolic bool // Whether the font contains glyphs outside the Adobe standard Latin character set. This flag and the Nonsymbolic flag shall not both be set or both be clear. Script bool // Whether the glyphs resemble cursive handwriting. Nonsymbolic bool // Whether the font uses the Adobe standard Latin character set or a subset of it. Italic bool // Whether the glyphs have dominant vertical strokes that are slanted. AllCap bool // Whether the font contains no lowercase letters; typically used for display purposes, such as for titles or headlines. SmallCap bool // Whether the font contains both uppercase and lowercase letters. The uppercase letters are similar to those in the regular version of the same typeface family. The glyphs for the lowercase letters have the same shapes as the corresponding uppercase letters, but they are sized and their proportions adjusted so that they have the same size and stroke weight as lowercase glyphs in the same typeface family. ForceBold bool // Whether bold glyphs shall be painted with extra pixels even at very small text sizes by a conforming reader. If the ForceBold flag is set, features of bold glyphs may be thickened at small text sizes. }
type FPDFFont_GetFontData ¶ added in v1.1.0
type FPDFFont_GetFontData struct { // The uncompressed font data. i.e. the raw font data after // having all stream filters applied, when the data is embedded. // If the font is not embedded, then this API will instead return the data for // the substitution font it is using. FontData []byte }
type FPDFFont_GetFontName ¶ added in v0.9.0
type FPDFFont_GetFontName struct {
FontName string
}
type FPDFFont_GetGlyphPath ¶ added in v0.9.0
type FPDFFont_GetGlyphPath struct {
GlyphPath references.FPDF_GLYPHPATH
}
type FPDFFont_GetGlyphWidth ¶ added in v0.9.0
type FPDFFont_GetGlyphWidth struct {
GlyphWidth float32
}
type FPDFFont_GetIsEmbedded ¶ added in v1.1.0
type FPDFFont_GetIsEmbedded struct {
IsEmbedded bool // Whether the font is embedded or not.
}
type FPDFFont_GetItalicAngle ¶ added in v0.9.0
type FPDFFont_GetItalicAngle struct {
ItalicAngle int
}
type FPDFFont_GetWeight ¶ added in v0.9.0
type FPDFFont_GetWeight struct {
Weight int
}
type FPDFFormObj_CountObjects ¶ added in v0.9.0
type FPDFFormObj_CountObjects struct {
Count int
}
type FPDFFormObj_GetObject ¶ added in v0.9.0
type FPDFFormObj_GetObject struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFGlyphPath_CountGlyphSegments ¶ added in v0.9.0
type FPDFGlyphPath_CountGlyphSegments struct {
Count int
}
type FPDFGlyphPath_GetGlyphPathSegment ¶ added in v0.9.0
type FPDFGlyphPath_GetGlyphPathSegment struct {
GlyphPathSegment references.FPDF_PATHSEGMENT
}
type FPDFImageObj_GetBitmap ¶ added in v0.9.0
type FPDFImageObj_GetBitmap struct {
Bitmap references.FPDF_BITMAP
}
type FPDFImageObj_GetImageDataDecoded ¶ added in v0.9.0
type FPDFImageObj_GetImageDataDecoded struct {
Data []byte
}
type FPDFImageObj_GetImageDataRaw ¶ added in v0.9.0
type FPDFImageObj_GetImageDataRaw struct {
Data []byte
}
type FPDFImageObj_GetImageFilter ¶ added in v0.9.0
type FPDFImageObj_GetImageFilter struct {
ImageFilter string
}
type FPDFImageObj_GetImageFilterCount ¶ added in v0.9.0
type FPDFImageObj_GetImageFilterCount struct {
Count int
}
type FPDFImageObj_GetImageMetadata ¶ added in v0.9.0
type FPDFImageObj_GetImageMetadata struct {
ImageMetadata structs.FPDF_IMAGEOBJ_METADATA
}
type FPDFImageObj_GetImagePixelSize ¶ added in v1.5.0
type FPDFImageObj_GetRenderedBitmap ¶ added in v0.9.0
type FPDFImageObj_GetRenderedBitmap struct {
Bitmap references.FPDF_BITMAP
}
type FPDFImageObj_LoadJpegFile ¶ added in v0.9.0
type FPDFImageObj_LoadJpegFile struct{}
type FPDFImageObj_LoadJpegFileInline ¶ added in v0.9.0
type FPDFImageObj_LoadJpegFileInline struct{}
type FPDFImageObj_SetBitmap ¶ added in v0.9.0
type FPDFImageObj_SetBitmap struct{}
type FPDFImageObj_SetMatrix ¶ added in v0.9.0
type FPDFImageObj_SetMatrix struct{}
type FPDFJavaScriptAction_GetName ¶ added in v0.5.0
type FPDFJavaScriptAction_GetName struct {
Name string
}
type FPDFJavaScriptAction_GetScript ¶ added in v0.5.0
type FPDFJavaScriptAction_GetScript struct {
Script string
}
type FPDFLink_CloseWebLinks ¶ added in v0.5.0
type FPDFLink_CloseWebLinks struct{}
type FPDFLink_CountQuadPoints ¶ added in v0.5.0
type FPDFLink_CountQuadPoints struct {
Count int
}
type FPDFLink_CountRects ¶ added in v0.5.0
type FPDFLink_CountWebLinks ¶ added in v0.5.0
type FPDFLink_CountWebLinks struct {
Count int
}
type FPDFLink_Enumerate ¶ added in v0.5.0
type FPDFLink_Enumerate struct { NextStartPos *int Link *references.FPDF_LINK }
type FPDFLink_GetAction ¶ added in v0.5.0
type FPDFLink_GetAction struct { // Action is a handle to the action associated to a link, or nil if no action. Action *references.FPDF_ACTION }
type FPDFLink_GetAnnot ¶ added in v0.5.0
type FPDFLink_GetAnnot struct {
Annotation *references.FPDF_ANNOTATION
}
type FPDFLink_GetAnnotRect ¶ added in v0.5.0
type FPDFLink_GetAnnotRect struct {
Rect *structs.FPDF_FS_RECTF // The rectangle for the link.
}
type FPDFLink_GetDest ¶ added in v0.5.0
type FPDFLink_GetDest struct { // Dest is a handle to the destination, or nil if there is no destination // associated with the link. In this case, you should call FPDFLink_GetAction() // to retrieve the action associated with a link. Dest *references.FPDF_DEST }
type FPDFLink_GetLinkAtPoint ¶ added in v0.5.0
type FPDFLink_GetLinkAtPoint struct {
Link *references.FPDF_LINK // Reference to the found link. nil if not found.
}
type FPDFLink_GetLinkZOrderAtPoint ¶ added in v0.5.0
type FPDFLink_GetLinkZOrderAtPoint struct {
ZOrder int // the Z-order of the link, or -1 if no link found at the given point. Larger Z-order numbers are closer to the front.
}
type FPDFLink_GetQuadPoints ¶ added in v0.5.0
type FPDFLink_GetQuadPoints struct {
Points *structs.FPDF_FS_QUADPOINTSF
}
type FPDFLink_GetRect ¶ added in v0.5.0
type FPDFLink_GetTextRange ¶ added in v0.5.0
type FPDFLink_GetURL ¶ added in v0.5.0
type FPDFLink_LoadWebLinks ¶ added in v0.5.0
type FPDFLink_LoadWebLinks struct {
PageLink references.FPDF_PAGELINK
}
type FPDFPageObjMark_CountParams ¶ added in v0.9.0
type FPDFPageObjMark_CountParams struct {
Count int
}
type FPDFPageObjMark_GetName ¶ added in v0.9.0
type FPDFPageObjMark_GetName struct {
Name string
}
type FPDFPageObjMark_GetParamBlobValue ¶ added in v0.9.0
type FPDFPageObjMark_GetParamBlobValue struct {
Value []byte
}
type FPDFPageObjMark_GetParamIntValue ¶ added in v0.9.0
type FPDFPageObjMark_GetParamIntValue struct {
Value int
}
type FPDFPageObjMark_GetParamKey ¶ added in v0.9.0
type FPDFPageObjMark_GetParamKey struct {
Key string
}
type FPDFPageObjMark_GetParamStringValue ¶ added in v0.9.0
type FPDFPageObjMark_GetParamStringValue struct {
Value string
}
type FPDFPageObjMark_GetParamValueType ¶ added in v0.9.0
type FPDFPageObjMark_GetParamValueType struct {
ValueType enums.FPDF_OBJECT_TYPE
}
type FPDFPageObjMark_RemoveParam ¶ added in v0.9.0
type FPDFPageObjMark_RemoveParam struct{}
type FPDFPageObjMark_SetBlobParam ¶ added in v0.9.0
type FPDFPageObjMark_SetBlobParam struct{}
type FPDFPageObjMark_SetIntParam ¶ added in v0.9.0
type FPDFPageObjMark_SetIntParam struct{}
type FPDFPageObjMark_SetStringParam ¶ added in v0.9.0
type FPDFPageObjMark_SetStringParam struct{}
type FPDFPageObj_AddMark ¶ added in v0.9.0
type FPDFPageObj_AddMark struct {
Mark references.FPDF_PAGEOBJECTMARK
}
type FPDFPageObj_CountMarks ¶ added in v0.9.0
type FPDFPageObj_CountMarks struct {
Count int
}
type FPDFPageObj_CreateNewPath ¶ added in v0.9.0
type FPDFPageObj_CreateNewPath struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFPageObj_CreateNewRect ¶ added in v0.9.0
type FPDFPageObj_CreateNewRect struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFPageObj_CreateTextObj ¶ added in v0.9.0
type FPDFPageObj_CreateTextObj struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFPageObj_Destroy ¶ added in v0.9.0
type FPDFPageObj_Destroy struct{}
type FPDFPageObj_GetBounds ¶ added in v0.9.0
type FPDFPageObj_GetClipPath ¶ added in v0.9.0
type FPDFPageObj_GetClipPath struct {
ClipPath references.FPDF_CLIPPATH
}
type FPDFPageObj_GetDashArray ¶ added in v0.9.0
type FPDFPageObj_GetDashArray struct {
DashArray []float32
}
type FPDFPageObj_GetDashCount ¶ added in v0.9.0
type FPDFPageObj_GetDashCount struct {
DashCount int
}
type FPDFPageObj_GetDashPhase ¶ added in v0.9.0
type FPDFPageObj_GetDashPhase struct {
DashPhase float32
}
type FPDFPageObj_GetFillColor ¶ added in v0.9.0
type FPDFPageObj_GetFillColor struct {
FillColor structs.FPDF_COLOR
}
type FPDFPageObj_GetLineCap ¶ added in v0.9.0
type FPDFPageObj_GetLineCap struct {
LineCap enums.FPDF_LINECAP
}
type FPDFPageObj_GetLineJoin ¶ added in v0.9.0
type FPDFPageObj_GetLineJoin struct {
LineJoin enums.FPDF_LINEJOIN
}
type FPDFPageObj_GetMark ¶ added in v0.9.0
type FPDFPageObj_GetMark struct {
Mark references.FPDF_PAGEOBJECTMARK
}
type FPDFPageObj_GetMatrix ¶ added in v0.9.0
type FPDFPageObj_GetMatrix struct {
Matrix structs.FPDF_FS_MATRIX
}
type FPDFPageObj_GetRotatedBounds ¶ added in v1.2.0
type FPDFPageObj_GetRotatedBounds struct {
QuadPoints structs.FPDF_FS_QUADPOINTSF
}
type FPDFPageObj_GetStrokeColor ¶ added in v0.9.0
type FPDFPageObj_GetStrokeColor struct {
StrokeColor structs.FPDF_COLOR
}
type FPDFPageObj_GetStrokeWidth ¶ added in v0.9.0
type FPDFPageObj_GetStrokeWidth struct {
StrokeWidth float32
}
type FPDFPageObj_GetType ¶ added in v0.9.0
type FPDFPageObj_GetType struct {
Type enums.FPDF_PAGEOBJ
}
type FPDFPageObj_HasTransparency ¶ added in v0.9.0
type FPDFPageObj_HasTransparency struct {
HasTransparency bool
}
type FPDFPageObj_NewImageObj ¶ added in v0.9.0
type FPDFPageObj_NewImageObj struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFPageObj_NewTextObj ¶ added in v0.9.0
type FPDFPageObj_NewTextObj struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFPageObj_RemoveMark ¶ added in v0.9.0
type FPDFPageObj_RemoveMark struct{}
type FPDFPageObj_SetBlendMode ¶ added in v0.9.0
type FPDFPageObj_SetBlendMode struct{}
type FPDFPageObj_SetDashArray ¶ added in v0.9.0
type FPDFPageObj_SetDashArray struct{}
type FPDFPageObj_SetDashPhase ¶ added in v0.9.0
type FPDFPageObj_SetDashPhase struct{}
type FPDFPageObj_SetFillColor ¶ added in v0.9.0
type FPDFPageObj_SetFillColor struct{}
type FPDFPageObj_SetLineCap ¶ added in v0.9.0
type FPDFPageObj_SetLineCap struct{}
type FPDFPageObj_SetLineJoin ¶ added in v0.9.0
type FPDFPageObj_SetLineJoin struct { }
type FPDFPageObj_SetMatrix ¶ added in v0.9.0
type FPDFPageObj_SetMatrix struct{}
type FPDFPageObj_SetStrokeColor ¶ added in v0.9.0
type FPDFPageObj_SetStrokeColor struct{}
type FPDFPageObj_SetStrokeWidth ¶ added in v0.9.0
type FPDFPageObj_SetStrokeWidth struct{}
type FPDFPageObj_Transform ¶ added in v0.9.0
type FPDFPageObj_Transform struct{}
type FPDFPageObj_TransformClipPath ¶ added in v0.9.0
type FPDFPageObj_TransformClipPath struct{}
type FPDFPage_CloseAnnot ¶ added in v1.0.0
type FPDFPage_CloseAnnot struct{}
type FPDFPage_CountObjects ¶ added in v0.9.0
type FPDFPage_CountObjects struct {
Count int
}
type FPDFPage_CreateAnnot ¶ added in v1.0.0
type FPDFPage_CreateAnnot struct {
Annotation references.FPDF_ANNOTATION
}
type FPDFPage_Delete ¶ added in v0.9.0
type FPDFPage_Delete struct{}
type FPDFPage_Flatten ¶ added in v0.5.0
type FPDFPage_Flatten struct { Page int // The page number (0-index based). Result FPDFPage_FlattenResult // The result of the flatten. }
type FPDFPage_FlattenResult ¶ added in v0.5.0
type FPDFPage_FlattenResult int
const ( FPDFPage_FlattenResultFail FPDFPage_FlattenResult = 0 // Flatten operation failed. FPDFPage_FlattenResultSuccess FPDFPage_FlattenResult = 1 // Flatten operation succeed. FPDFPage_FlattenResultNothingToDo FPDFPage_FlattenResult = 2 // There is nothing can be flatten. )
type FPDFPage_FormFieldZOrderAtPoint ¶ added in v1.0.0
type FPDFPage_FormFieldZOrderAtPoint struct {
ZOrder int // The z-order of the form field; -1 indicates no field. Higher numbers are closer to the front.
}
type FPDFPage_GenerateContent ¶ added in v0.9.0
type FPDFPage_GenerateContent struct{}
type FPDFPage_GetAnnot ¶ added in v1.0.0
type FPDFPage_GetAnnot struct {
Annotation references.FPDF_ANNOTATION
}
type FPDFPage_GetAnnotCount ¶ added in v1.0.0
type FPDFPage_GetAnnotCount struct {
Count int
}
type FPDFPage_GetAnnotIndex ¶ added in v1.0.0
type FPDFPage_GetAnnotIndex struct {
Index int
}
type FPDFPage_GetArtBox ¶ added in v0.9.0
type FPDFPage_GetBleedBox ¶ added in v0.9.0
type FPDFPage_GetCropBox ¶ added in v0.9.0
type FPDFPage_GetDecodedThumbnailData ¶ added in v0.5.0
type FPDFPage_GetDecodedThumbnailData struct {
Thumbnail []byte // The thumbnail data, nil when it doesn't exist.
}
type FPDFPage_GetMediaBox ¶ added in v0.9.0
type FPDFPage_GetObject ¶ added in v0.9.0
type FPDFPage_GetObject struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDFPage_GetRawThumbnailData ¶ added in v0.5.0
type FPDFPage_GetRawThumbnailData struct {
RawThumbnail []byte // The raw thumbnail data, nil when it doesn't exist.
}
type FPDFPage_GetRotation ¶ added in v0.5.0
type FPDFPage_GetRotation struct { Page int // The page number (0-index based). PageRotation enums.FPDF_PAGE_ROTATION // The page rotation. }
type FPDFPage_GetThumbnailAsBitmap ¶ added in v0.5.0
type FPDFPage_GetThumbnailAsBitmap struct {
Bitmap *references.FPDF_BITMAP // The thumbnail as bitmap, nil if it doesn't exist.
}
type FPDFPage_GetTrimBox ¶ added in v0.9.0
type FPDFPage_HasFormFieldAtPoint ¶ added in v1.0.0
type FPDFPage_HasFormFieldAtPoint struct {
FieldType enums.FPDF_FORMFIELD // The type of the form field; -1 indicates no field.
}
type FPDFPage_HasTransparency ¶ added in v0.5.0
type FPDFPage_InsertClipPath ¶ added in v0.9.0
type FPDFPage_InsertClipPath struct{}
type FPDFPage_InsertObject ¶ added in v0.9.0
type FPDFPage_InsertObject struct{}
type FPDFPage_New ¶ added in v0.9.0
type FPDFPage_New struct {
Page references.FPDF_PAGE
}
type FPDFPage_RemoveAnnot ¶ added in v1.0.0
type FPDFPage_RemoveAnnot struct{}
type FPDFPage_RemoveObject ¶ added in v0.9.0
type FPDFPage_RemoveObject struct{}
type FPDFPage_SetArtBox ¶ added in v0.9.0
type FPDFPage_SetArtBox struct{}
type FPDFPage_SetBleedBox ¶ added in v0.9.0
type FPDFPage_SetBleedBox struct{}
type FPDFPage_SetCropBox ¶ added in v0.9.0
type FPDFPage_SetCropBox struct{}
type FPDFPage_SetMediaBox ¶ added in v0.9.0
type FPDFPage_SetMediaBox struct{}
type FPDFPage_SetRotation ¶ added in v0.5.0
type FPDFPage_SetRotation struct{}
type FPDFPage_SetTrimBox ¶ added in v0.9.0
type FPDFPage_SetTrimBox struct{}
type FPDFPage_TransFormWithClip ¶ added in v0.9.0
type FPDFPage_TransFormWithClip struct{}
type FPDFPage_TransformAnnots ¶ added in v0.9.0
type FPDFPage_TransformAnnots struct{}
type FPDFPathSegment_GetClose ¶ added in v0.9.0
type FPDFPathSegment_GetClose struct {
IsClose bool
}
type FPDFPathSegment_GetPoint ¶ added in v0.9.0
type FPDFPathSegment_GetType ¶ added in v0.9.0
type FPDFPathSegment_GetType struct {
Type enums.FPDF_SEGMENT
}
type FPDFPath_BezierTo ¶ added in v0.9.0
type FPDFPath_BezierTo struct{}
type FPDFPath_Close ¶ added in v0.9.0
type FPDFPath_Close struct{}
type FPDFPath_CountSegments ¶ added in v0.9.0
type FPDFPath_CountSegments struct {
Count int
}
type FPDFPath_GetDrawMode ¶ added in v0.9.0
type FPDFPath_GetDrawMode struct { FillMode enums.FPDF_FILLMODE Stroke bool }
type FPDFPath_GetPathSegment ¶ added in v0.9.0
type FPDFPath_GetPathSegment struct {
PathSegment references.FPDF_PATHSEGMENT
}
type FPDFPath_LineTo ¶ added in v0.9.0
type FPDFPath_LineTo struct{}
type FPDFPath_MoveTo ¶ added in v0.9.0
type FPDFPath_MoveTo struct{}
type FPDFPath_SetDrawMode ¶ added in v0.9.0
type FPDFPath_SetDrawMode struct{}
type FPDFSignatureObj_GetByteRange ¶ added in v0.5.0
type FPDFSignatureObj_GetByteRange struct {
ByteRange []int // ByteRange is an array of pairs of integers (starting byte offset, length in bytes) that describes the exact byte range for the digest calculation. nil when no byte range.
}
type FPDFSignatureObj_GetContents ¶ added in v0.5.0
type FPDFSignatureObj_GetContents struct {
Contents []byte // For public-key signatures, Contents is either a DER-encoded PKCS#1 binary or a DER-encoded PKCS#7 binary. nil when no content.
}
type FPDFSignatureObj_GetDocMDPPermission ¶ added in v0.5.0
type FPDFSignatureObj_GetDocMDPPermission struct {
DocMDPPermission int
}
type FPDFSignatureObj_GetReason ¶ added in v0.5.0
type FPDFSignatureObj_GetReason struct {
Reason *string // The reason (comment) of the signature object. nil when no reason.
}
type FPDFSignatureObj_GetSubFilter ¶ added in v0.5.0
type FPDFSignatureObj_GetSubFilter struct {
SubFilter *string // The encoding of the value of a signature object. nil when no sub filter.
}
type FPDFSignatureObj_GetTime ¶ added in v0.5.0
type FPDFSignatureObj_GetTime struct {
Time *string // The time of signing of a signature object. The format of time is expected to be D:YYYYMMDDHHMMSS+XX'YY', i.e. it's precision is seconds, with timezone information. This value should be used only when the time of signing is not available in the (PKCS#7 binary) signature. nil when no time.
}
type FPDFTextObj_GetFont ¶ added in v0.9.0
type FPDFTextObj_GetFont struct {
Font references.FPDF_FONT
}
type FPDFTextObj_GetFontSize ¶ added in v0.9.0
type FPDFTextObj_GetFontSize struct {
FontSize float32 // The font size of the text object, measured in points (about 1/72 inch)
}
type FPDFTextObj_GetRenderedBitmap ¶ added in v1.2.0
type FPDFTextObj_GetRenderedBitmap struct {
Bitmap references.FPDF_BITMAP
}
type FPDFTextObj_GetText ¶ added in v0.9.0
type FPDFTextObj_GetText struct {
Text string
}
type FPDFTextObj_GetTextRenderMode ¶ added in v0.9.0
type FPDFTextObj_GetTextRenderMode struct {
TextRenderMode enums.FPDF_TEXT_RENDERMODE
}
type FPDFTextObj_SetTextRenderMode ¶ added in v0.9.0
type FPDFTextObj_SetTextRenderMode struct{}
type FPDFText_ClosePage ¶ added in v0.5.0
type FPDFText_ClosePage struct{}
type FPDFText_CountChars ¶ added in v0.5.0
type FPDFText_CountChars struct {
Count int //Number of characters in the page. Generated characters, like additional space characters, new line characters, are also counted.
}
type FPDFText_CountRects ¶ added in v0.5.0
type FPDFText_CountRects struct {
Count int // Number of rectangles, 0 if TextPage is null, or -1 on bad StartIndex.
}
type FPDFText_FindClose ¶ added in v0.5.0
type FPDFText_FindClose struct{}
type FPDFText_FindNext ¶ added in v0.5.0
type FPDFText_FindNext struct {
GotMatch bool
}
type FPDFText_FindPrev ¶ added in v0.5.0
type FPDFText_FindPrev struct {
GotMatch bool
}
type FPDFText_FindStart ¶ added in v0.5.0
type FPDFText_FindStart struct {
Search references.FPDF_SCHHANDLE
}
type FPDFText_GetBoundedText ¶ added in v0.5.0
type FPDFText_GetBoundedText struct {
Text string
}
type FPDFText_GetCharAngle ¶ added in v0.5.0
type FPDFText_GetCharBox ¶ added in v0.5.0
type FPDFText_GetCharIndexAtPos ¶ added in v0.5.0
type FPDFText_GetCharIndexAtPos struct {
CharIndex int // -1 when not found
}
type FPDFText_GetCharIndexFromTextIndex ¶ added in v0.6.0
type FPDFText_GetCharIndexFromTextIndex struct {
CharIndex int
}
type FPDFText_GetCharOrigin ¶ added in v0.5.0
type FPDFText_GetFillColor ¶ added in v0.5.0
type FPDFText_GetFontInfo ¶ added in v0.5.0
type FPDFText_GetFontSize ¶ added in v0.5.0
type FPDFText_GetFontWeight ¶ added in v0.5.0
type FPDFText_GetLooseCharBox ¶ added in v0.5.0
type FPDFText_GetLooseCharBox struct { Index int Rect structs.FPDF_FS_RECTF }
type FPDFText_GetMatrix ¶ added in v0.5.0
type FPDFText_GetMatrix struct { Index int Matrix structs.FPDF_FS_MATRIX }
type FPDFText_GetRect ¶ added in v0.5.0
type FPDFText_GetSchCount ¶ added in v0.5.0
type FPDFText_GetSchCount struct {
Count int
}
type FPDFText_GetSchResultIndex ¶ added in v0.5.0
type FPDFText_GetSchResultIndex struct {
Index int
}
type FPDFText_GetStrokeColor ¶ added in v0.5.0
type FPDFText_GetText ¶ added in v0.5.0
type FPDFText_GetText struct {
Text string
}
type FPDFText_GetTextIndexFromCharIndex ¶ added in v0.6.0
type FPDFText_GetTextIndexFromCharIndex struct {
TextIndex int
}
type FPDFText_GetTextRenderMode ¶ added in v0.5.0
type FPDFText_GetTextRenderMode struct { Index int TextRenderMode enums.FPDF_TEXT_RENDERMODE }
type FPDFText_GetUnicode ¶ added in v0.5.0
type FPDFText_HasUnicodeMapError ¶ added in v1.4.0
type FPDFText_IsGenerated ¶ added in v1.3.0
type FPDFText_IsHyphen ¶ added in v1.8.0
type FPDFText_LoadFont ¶ added in v0.9.0
type FPDFText_LoadFont struct {
Font references.FPDF_FONT
}
type FPDFText_LoadPage ¶ added in v0.5.0
type FPDFText_LoadPage struct {
TextPage references.FPDF_TEXTPAGE
}
type FPDFText_LoadStandardFont ¶ added in v0.9.0
type FPDFText_LoadStandardFont struct {
Font references.FPDF_FONT
}
type FPDFText_SetCharcodes ¶ added in v0.9.0
type FPDFText_SetCharcodes struct{}
type FPDFText_SetText ¶ added in v0.9.0
type FPDFText_SetText struct{}
type FPDF_CloseDocument ¶ added in v0.6.0
type FPDF_CloseDocument struct{}
type FPDF_ClosePage ¶ added in v0.5.0
type FPDF_ClosePage struct{}
type FPDF_CloseXObject ¶ added in v0.5.0
type FPDF_CloseXObject struct{}
type FPDF_CopyViewerPreferences ¶ added in v0.5.0
type FPDF_CopyViewerPreferences struct{}
type FPDF_CountNamedDests ¶ added in v0.7.0
type FPDF_CountNamedDests struct {
Count uint64
}
type FPDF_CreateClipPath ¶ added in v0.9.0
type FPDF_CreateClipPath struct {
ClipPath references.FPDF_CLIPPATH
}
type FPDF_CreateNewDocument ¶ added in v0.5.0
type FPDF_CreateNewDocument struct {
Document references.FPDF_DOCUMENT
}
type FPDF_DestroyClipPath ¶ added in v0.9.0
type FPDF_DestroyClipPath struct{}
type FPDF_DeviceToPage ¶ added in v0.7.0
type FPDF_DocumentHasValidCrossReferenceTable ¶ added in v0.7.0
type FPDF_DocumentHasValidCrossReferenceTable struct {
DocumentHasValidCrossReferenceTable bool
}
type FPDF_FFLDraw ¶ added in v1.0.0
type FPDF_FFLDraw struct{}
type FPDF_GetDocPermissions ¶ added in v0.5.0
type FPDF_GetDocPermissions struct { DocPermissions uint32 // A 32-bit integer which indicates the permission flags. Please refer to "TABLE 3.20 User access permissions" in PDF Reference 1.7 P123 for detailed description. If the document is not protected, 0xffffffff (4294967295) will be returned. PrintDocument bool // Bit position 3: (Security handlers of revision 2) Print the document, (Security handlers of revision 3 or greater) Print the document (possibly not at the highest quality level, depending on whether PrintDocumentAsFaithfulDigitalCopy (bit 12) is also set). ModifyContents bool // Bit position 4: Modify the contents of the document by operations other than those controlled by AddOrModifyTextAnnotations (bit 6), FillInExistingInteractiveFormFields (bit 9), and AssembleDocument (bit 11). CopyOrExtractText bool // Bit position 5: (Security handlers of revision 2) Copy or otherwise extract text and graphics from the document, including extracting text and graphics (in support of accessibility to users with disabilities or for other purposes). (Security handlers of revision 3 or greater) Copy or otherwise extract text and graphics from the document by operations other than that controlled by ExtractTextAndGraphics (bit 10). AddOrModifyTextAnnotations bool // Bit position 6: Add or modify text annotations FillInInteractiveFormFields bool // Bit position 6: fill in interactive form fields CreateOrModifyInteractiveFormFields bool // Bit position 6 & 4: create or modify interactive form fields (including signature fields). FillInExistingInteractiveFormFields bool // Bit position 9: (Security handlers of revision 3 or greater) Fill in existing interactive form fields (including signature fields), even if FillInInteractiveFormFields (bit 6) is clear. ExtractTextAndGraphics bool // Bit position 10: (Security handlers of revision 3 or greater) Extract text and graphics (in support of accessibility to users with disabilities or for other purposes). AssembleDocument bool // Bit position 11: (Security handlers of revision 3 or greater) Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if ModifyContents (bit 4) is clear. PrintDocumentAsFaithfulDigitalCopy bool // Bit position 12: (Security handlers of revision 3 or greater) Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this bit is clear (and PrintDocument (bit 3) is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality. }
type FPDF_GetFileIdentifier ¶ added in v0.5.0
type FPDF_GetFileIdentifier struct { FileIdType enums.FPDF_FILEIDTYPE Identifier []byte // Can be nil if no identifier was found }
type FPDF_GetFileVersion ¶ added in v0.5.0
type FPDF_GetFileVersion struct {
FileVersion int // The numeric version of the file: 14 for 1.4, 15 for 1.5, ...
}
type FPDF_GetFormType ¶ added in v1.0.0
type FPDF_GetFormType struct {
FormType enums.FPDF_FORMTYPE
}
type FPDF_GetLastError ¶ added in v0.5.0
type FPDF_GetLastError struct {
Error FPDF_GetLastErrorError
}
type FPDF_GetLastErrorError ¶ added in v0.5.0
type FPDF_GetLastErrorError int
const ( FPDF_GetLastErrorErrorSuccess FPDF_GetLastErrorError = 0 // Error code: Success, which means no error. FPDF_GetLastErrorErrorUnknown FPDF_GetLastErrorError = 1 // Error code: Unknown error. FPDF_GetLastErrorErrorFile FPDF_GetLastErrorError = 2 // Error code: File access error, which means file cannot be found or be opened. FPDF_GetLastErrorErrorFormat FPDF_GetLastErrorError = 3 // Error code: Data format error. FPDF_GetLastErrorErrorPassword FPDF_GetLastErrorError = 4 // Error code: Incorrect password error. FPDF_GetLastErrorErrorSecurity FPDF_GetLastErrorError = 5 // Error code: Unsupported security scheme error. FPDF_GetLastErrorErrorInvalidLicense FPDF_GetLastErrorError = 6 // Error code: License authorization error. )
type FPDF_GetMetaText ¶ added in v0.5.0
type FPDF_GetNamedDest ¶ added in v0.7.0
type FPDF_GetNamedDest struct { Dest references.FPDF_DEST Name string }
type FPDF_GetNamedDestByName ¶ added in v0.7.0
type FPDF_GetNamedDestByName struct {
Dest references.FPDF_DEST
}
type FPDF_GetPageAAction ¶ added in v0.5.0
type FPDF_GetPageAAction struct { AAType *enums.FPDF_PAGE_AACTION Action *references.FPDF_ACTION }
type FPDF_GetPageBoundingBox ¶ added in v0.7.0
type FPDF_GetPageBoundingBox struct {
Rect structs.FPDF_FS_RECTF
}
type FPDF_GetPageCount ¶ added in v0.5.0
type FPDF_GetPageCount struct {
PageCount int // The amount of pages of the document.
}
type FPDF_GetPageHeight ¶ added in v0.5.0
type FPDF_GetPageHeightF ¶ added in v0.7.0
type FPDF_GetPageHeightF struct {
PageHeight float32
}
type FPDF_GetPageLabel ¶ added in v0.5.0
type FPDF_GetPageSizeByIndex ¶ added in v0.5.0
type FPDF_GetPageSizeByIndexF ¶ added in v0.7.0
type FPDF_GetPageSizeByIndexF struct {
Size structs.FPDF_FS_SIZEF
}
type FPDF_GetPageWidth ¶ added in v0.5.0
type FPDF_GetPageWidthF ¶ added in v0.7.0
type FPDF_GetPageWidthF struct {
PageWidth float32
}
type FPDF_GetSecurityHandlerRevision ¶ added in v0.5.0
type FPDF_GetSecurityHandlerRevision struct {
SecurityHandlerRevision int // The revision number of security handler. Please refer to key "R" in "TABLE 3.19 Additional encryption dictionary entries for the standard security handler" in PDF Reference 1.7 P122 for detailed description. If the document is not protected, -1 will be returned.
}
type FPDF_GetSignatureCount ¶ added in v0.5.0
type FPDF_GetSignatureCount struct {
Count int
}
type FPDF_GetSignatureObject ¶ added in v0.5.0
type FPDF_GetSignatureObject struct { Index int Signature references.FPDF_SIGNATURE }
type FPDF_GetTrailerEnds ¶ added in v0.7.0
type FPDF_GetTrailerEnds struct {
TrailerEnds []int
}
type FPDF_GetXFAPacketContent ¶ added in v0.7.0
type FPDF_GetXFAPacketCount ¶ added in v0.7.0
type FPDF_GetXFAPacketCount struct {
Count int
}
type FPDF_GetXFAPacketName ¶ added in v0.7.0
type FPDF_ImportNPagesToOne ¶ added in v0.5.0
type FPDF_ImportNPagesToOne struct {
Document references.FPDF_DOCUMENT
}
type FPDF_ImportPages ¶ added in v0.5.0
type FPDF_ImportPages struct{}
type FPDF_ImportPagesByIndex ¶ added in v0.5.0
type FPDF_ImportPagesByIndex struct{}
type FPDF_LoadCustomDocument ¶ added in v0.6.0
type FPDF_LoadCustomDocument struct {
Document references.FPDF_DOCUMENT
}
type FPDF_LoadDocument ¶ added in v0.6.0
type FPDF_LoadDocument struct {
Document references.FPDF_DOCUMENT
}
type FPDF_LoadMemDocument ¶ added in v0.6.0
type FPDF_LoadMemDocument struct {
Document references.FPDF_DOCUMENT
}
type FPDF_LoadMemDocument64 ¶ added in v0.6.0
type FPDF_LoadMemDocument64 struct {
Document references.FPDF_DOCUMENT
}
type FPDF_LoadPage ¶ added in v0.5.0
type FPDF_LoadPage struct {
Page references.FPDF_PAGE
}
type FPDF_LoadXFA ¶ added in v1.0.0
type FPDF_LoadXFA struct{}
type FPDF_NewFormObjectFromXObject ¶ added in v0.5.0
type FPDF_NewFormObjectFromXObject struct {
PageObject references.FPDF_PAGEOBJECT
}
type FPDF_NewXObjectFromPage ¶ added in v0.5.0
type FPDF_NewXObjectFromPage struct {
XObject references.FPDF_XOBJECT
}
type FPDF_PageToDevice ¶ added in v0.7.0
type FPDF_RemoveFormFieldHighlight ¶ added in v1.0.0
type FPDF_RemoveFormFieldHighlight struct{}
type FPDF_RenderPage ¶ added in v0.8.0
type FPDF_RenderPage struct { }
type FPDF_RenderPageBitmap ¶ added in v0.7.0
type FPDF_RenderPageBitmap struct{}
type FPDF_RenderPageBitmapWithColorScheme_Start ¶ added in v0.9.0
type FPDF_RenderPageBitmapWithColorScheme_Start struct {
RenderStatus enums.FPDF_RENDER_STATUS
}
type FPDF_RenderPageBitmapWithMatrix ¶ added in v0.7.0
type FPDF_RenderPageBitmapWithMatrix struct{}
type FPDF_RenderPageBitmap_Start ¶ added in v0.9.0
type FPDF_RenderPageBitmap_Start struct {
RenderStatus enums.FPDF_RENDER_STATUS
}
type FPDF_RenderPage_Close ¶ added in v0.9.0
type FPDF_RenderPage_Close struct{}
type FPDF_RenderPage_Continue ¶ added in v0.9.0
type FPDF_RenderPage_Continue struct {
RenderStatus enums.FPDF_RENDER_STATUS
}
type FPDF_SaveAsCopy ¶ added in v0.5.0
type FPDF_SaveWithVersion ¶ added in v0.5.0
type FPDF_SetFormFieldHighlightAlpha ¶ added in v1.0.0
type FPDF_SetFormFieldHighlightAlpha struct{}
type FPDF_SetFormFieldHighlightColor ¶ added in v1.0.0
type FPDF_SetFormFieldHighlightColor struct{}
type FPDF_SetPrintMode ¶ added in v0.8.0
type FPDF_SetPrintMode struct { }
type FPDF_SetSandBoxPolicy ¶ added in v0.5.0
type FPDF_SetSandBoxPolicy struct{}
type FPDF_StructElement_Attr_GetBlobValue ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetBlobValue struct {
Value []byte
}
type FPDF_StructElement_Attr_GetBooleanValue ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetBooleanValue struct {
Value bool
}
type FPDF_StructElement_Attr_GetCount ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetCount struct {
Count int
}
type FPDF_StructElement_Attr_GetName ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetName struct {
Name string
}
type FPDF_StructElement_Attr_GetNumberValue ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetNumberValue struct {
Value float32
}
type FPDF_StructElement_Attr_GetStringValue ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetStringValue struct {
Value string
}
type FPDF_StructElement_Attr_GetType ¶ added in v1.0.0
type FPDF_StructElement_Attr_GetType struct {
ObjectType enums.FPDF_OBJECT_TYPE
}
type FPDF_StructElement_CountChildren ¶ added in v0.9.0
type FPDF_StructElement_CountChildren struct {
Count int
}
type FPDF_StructElement_GetActualText ¶ added in v1.0.0
type FPDF_StructElement_GetActualText struct {
Actualtext string
}
type FPDF_StructElement_GetAltText ¶ added in v0.9.0
type FPDF_StructElement_GetAltText struct {
AltText string
}
type FPDF_StructElement_GetAttributeAtIndex ¶ added in v1.0.0
type FPDF_StructElement_GetAttributeAtIndex struct {
StructElementAttribute references.FPDF_STRUCTELEMENT_ATTR
}
type FPDF_StructElement_GetAttributeCount ¶ added in v1.0.0
type FPDF_StructElement_GetAttributeCount struct {
Count int
}
type FPDF_StructElement_GetChildAtIndex ¶ added in v0.9.0
type FPDF_StructElement_GetChildAtIndex struct {
StructElement references.FPDF_STRUCTELEMENT
}
type FPDF_StructElement_GetID ¶ added in v0.9.0
type FPDF_StructElement_GetID struct {
ID string
}
type FPDF_StructElement_GetLang ¶ added in v0.9.0
type FPDF_StructElement_GetLang struct {
Lang string // The case-insensitive IETF BCP 47 language code for an element.
}
type FPDF_StructElement_GetMarkedContentID ¶ added in v0.9.0
type FPDF_StructElement_GetMarkedContentID struct {
MarkedContentID int // The marked content ID of the element. If no ID exists, returns -1.
}
type FPDF_StructElement_GetMarkedContentIdAtIndex ¶ added in v1.0.0
type FPDF_StructElement_GetMarkedContentIdAtIndex struct {
MarkedContentID int
}
type FPDF_StructElement_GetMarkedContentIdCount ¶ added in v1.0.0
type FPDF_StructElement_GetMarkedContentIdCount struct {
Count int
}
type FPDF_StructElement_GetObjType ¶ added in v1.0.0
type FPDF_StructElement_GetObjType struct {
ObjType string
}
type FPDF_StructElement_GetParent ¶ added in v1.0.0
type FPDF_StructElement_GetParent struct {
StructElement references.FPDF_STRUCTELEMENT
}
type FPDF_StructElement_GetStringAttribute ¶ added in v0.9.0
type FPDF_StructElement_GetTitle ¶ added in v0.9.0
type FPDF_StructElement_GetTitle struct {
Title string
}
type FPDF_StructElement_GetType ¶ added in v0.9.0
type FPDF_StructElement_GetType struct {
Type string
}
type FPDF_StructTree_Close ¶ added in v0.9.0
type FPDF_StructTree_Close struct{}
type FPDF_StructTree_CountChildren ¶ added in v0.9.0
type FPDF_StructTree_CountChildren struct {
Count int
}
type FPDF_StructTree_GetChildAtIndex ¶ added in v0.9.0
type FPDF_StructTree_GetChildAtIndex struct {
StructElement references.FPDF_STRUCTELEMENT
}
type FPDF_StructTree_GetForPage ¶ added in v0.9.0
type FPDF_StructTree_GetForPage struct {
StructTree references.FPDF_STRUCTTREE
}
type FPDF_VIEWERREF_GetDuplex ¶ added in v0.7.0
type FPDF_VIEWERREF_GetDuplex struct {
DuplexType enums.FPDF_DUPLEXTYPE
}
type FPDF_VIEWERREF_GetName ¶ added in v0.7.0
type FPDF_VIEWERREF_GetName struct {
Value string
}
type FPDF_VIEWERREF_GetNumCopies ¶ added in v0.7.0
type FPDF_VIEWERREF_GetNumCopies struct {
NumCopies int
}
type FPDF_VIEWERREF_GetPrintPageRange ¶ added in v0.7.0
type FPDF_VIEWERREF_GetPrintPageRange struct {
PageRange references.FPDF_PAGERANGE
}
type FPDF_VIEWERREF_GetPrintPageRangeCount ¶ added in v0.7.0
type FPDF_VIEWERREF_GetPrintPageRangeCount struct {
Count uint64
}
type FPDF_VIEWERREF_GetPrintPageRangeElement ¶ added in v0.7.0
type FPDF_VIEWERREF_GetPrintPageRangeElement struct {
Value int
}
type FPDF_VIEWERREF_GetPrintScaling ¶ added in v0.7.0
type FPDF_VIEWERREF_GetPrintScaling struct {
PreferPrintScaling bool
}
type FSDK_SetLocaltimeFunction ¶ added in v0.5.0
type FSDK_SetLocaltimeFunction struct { }
type FSDK_SetTimeFunction ¶ added in v0.5.0
type FSDK_SetTimeFunction struct { }
type FSDK_SetUnSpObjProcessHandler ¶ added in v0.5.0
type FSDK_SetUnSpObjProcessHandler struct { }
type FontInformation ¶
type FontInformation struct { Size float64 // Font size in points (also known as em). SizeInPixels *int // Font size in pixels, only available when PixelPositions is used. Weight int // The weight of the font, can be negative for spaces and newlines. Will only be filled when compiled with experimental support. Name string // The name of the font, can be empty for spaces and newlines. Will only be filled when compiled with experimental support. Flags int // Font flags, should be interpreted per PDF spec 1.7, Section 5.7.1 Font Descriptor Flags. Will only be filled when compiled with experimental support. }
type GetActionInfo ¶ added in v0.5.0
type GetActionInfo struct {
ActionInfo ActionInfo
}
type GetAttachments ¶ added in v0.5.0
type GetAttachments struct {
Attachments []Attachment
}
type GetBookmarks ¶ added in v0.5.0
type GetBookmarks struct {
Bookmarks []GetBookmarksBookmark
}
type GetBookmarksBookmark ¶ added in v0.5.0
type GetBookmarksBookmark struct { Title string Reference references.FPDF_BOOKMARK ActionInfo *ActionInfo DestInfo *DestInfo Children []GetBookmarksBookmark }
type GetDestInfo ¶ added in v0.5.0
type GetDestInfo struct {
DestInfo DestInfo
}
type GetJavaScriptActions ¶ added in v0.5.0
type GetJavaScriptActions struct {
JavaScriptActions []JavaScriptAction
}
type GetMetaData ¶ added in v0.5.0
type GetMetaData struct {
Tags []GetMetaDataTag
}
type GetMetaDataTag ¶ added in v0.5.0
type GetPageSize ¶
type GetPageSizeInPixels ¶
type GetPageSizeInPixels struct { Page int // The page this size came from (0-index based). Width int // The width of the page in pixels. Height int // The height of the page in pixels. PointToPixelRatio float64 // The point to pixel ratio for the rendered image. How many points is 1 pixel in this image. }
type GetPageText ¶
type GetPageTextStructured ¶
type GetPageTextStructured struct { Page int // The page structured this text came from (0-index based). Chars []*GetPageTextStructuredChar // A list of chars in a page. When Mode is GetPageTextStructuredModeChars or GetPageTextStructuredModeBoth. Rects []*GetPageTextStructuredRect // A list of rects in a page. When Mode is GetPageTextStructuredModeRects or GetPageTextStructuredModeBoth. PointToPixelRatio float64 // The point to pixel ratio for the calculated positions. }
type GetPageTextStructuredChar ¶
type GetPageTextStructuredChar struct { Text string // The text of this char. Angle float64 // The angle this char is in. PointPosition CharPosition // The position of this char in points. PixelPosition *CharPosition // The position of this char in pixels. When PixelPositions are requested. FontInformation *FontInformation // The font information of this char. When CollectFontInformation is enabled. }
type GetPageTextStructuredRect ¶
type GetPageTextStructuredRect struct { Text string // The text of this rect. PointPosition CharPosition // The position of this rect in points. PixelPosition *CharPosition // The position of this rect in pixels. When PixelPositions are requested. FontInformation *FontInformation // The font information of this rect. When CollectFontInformation is enabled. }
type JavaScriptAction ¶ added in v0.5.0
type NewPage ¶ added in v0.5.0
type NewPage struct {
Page references.FPDF_PAGE
}
type OpenDocument ¶ added in v0.5.0
type OpenDocument struct {
Document references.FPDF_DOCUMENT
}
type RenderPage ¶
type RenderPage struct { Page int // The rendered page number (0-index based). PointToPixelRatio float64 // The point to pixel ratio for the rendered image. How many points is 1 pixel in this image. Image *image.RGBA // The rendered image. Width int // The width of the rendered image. Height int // The height of the rendered image. HasTransparency bool // Whether the page has transparency. }
type RenderPageInDPI ¶ added in v0.6.0
type RenderPageInDPI struct { Result RenderPage CleanupFunc func() // In WebAssembly you MUST call Cleanup() when you are done with the image object to release resources. }
func (*RenderPageInDPI) Cleanup ¶ added in v1.4.0
func (r *RenderPageInDPI) Cleanup()
Cleanup should be called when using the WebAssembly runtime and when you're done with the Image object to release resources.
type RenderPageInPixels ¶ added in v0.6.0
type RenderPageInPixels struct { Result RenderPage CleanupFunc func() // In WebAssembly you MUST call Cleanup() when you are done with the image object to release resources. }
func (*RenderPageInPixels) Cleanup ¶ added in v1.4.0
func (r *RenderPageInPixels) Cleanup()
Cleanup should be called when using the WebAssembly runtime and when you're done with the Image object to release resources.
type RenderPages ¶
type RenderPages struct { Pages []RenderPagesPage // Information about the rendered pages inside this image. Image *image.RGBA // The rendered image. Width int // The width of the rendered image. Height int // The height of the rendered image. }
type RenderPagesInDPI ¶ added in v0.6.0
type RenderPagesInDPI struct { Result RenderPages CleanupFunc func() // In WebAssembly you MUST call Cleanup() when you are done with the image object to release resources. }
func (*RenderPagesInDPI) Cleanup ¶ added in v1.4.0
func (r *RenderPagesInDPI) Cleanup()
Cleanup should be called when using the WebAssembly runtime and when you're done with the Image object to release resources.
type RenderPagesInPixels ¶ added in v0.6.0
type RenderPagesInPixels struct { Result RenderPages CleanupFunc func() // In WebAssembly you MUST call Cleanup() when you are done with the image object to release resources. }
func (*RenderPagesInPixels) Cleanup ¶ added in v1.4.0
func (r *RenderPagesInPixels) Cleanup()
Cleanup should be called when using the WebAssembly runtime and when you're done with the Image object to release resources.
type RenderPagesPage ¶
type RenderPagesPage struct { Page int // The rendered page number (0-index based). PointToPixelRatio float64 // The point to pixel ratio for the rendered image. How many points is 1 pixel for this page in this image. Width int // The width of the rendered page inside the image. Height int // The height of the rendered page inside the image. X int // The X start position of this page inside the image. Y int // The Y start position of this page inside the image. HasTransparency bool // Whether the page has transparency. }
type RenderToFile ¶
type RenderToFile struct { Pages []RenderPagesPage // Information about the rendered pages inside this image. ImageBytes *[]byte // The byte array of the rendered file when OutputTarget is RenderToFileOutputTargetBytes. ImagePath string // The file path when OutputTarget is RenderToFileOutputTargetFile, is a tmp path when TargetFilePath was empty in the request. Width int // The width of the rendered image. Height int // The height of the rendered image. PointToPixelRatio float64 // The point to pixel ratio for the rendered image. How many points is 1 pixel in this image. Only set when rendering one page. }
Source Files ¶
- action.go
- attachment.go
- bookmark.go
- dest.go
- fpdf_annot.go
- fpdf_attachment.go
- fpdf_catalog.go
- fpdf_dataavail.go
- fpdf_doc.go
- fpdf_edit.go
- fpdf_ext.go
- fpdf_flatten.go
- fpdf_formfill.go
- fpdf_javascript.go
- fpdf_ppo.go
- fpdf_progressive.go
- fpdf_save.go
- fpdf_searchex.go
- fpdf_signature.go
- fpdf_structtree.go
- fpdf_text.go
- fpdf_thumbnail.go
- fpdf_transformpage.go
- fpdfview.go
- javascript_action.go
- metadata.go
- render.go
- responses.go
- text.go
Click to show internal directories.
Click to hide internal directories.