Documentation
¶
Index ¶
- Variables
- func DestroyLibrary()
- func InitLibrary(config *pdfium.LibraryConfig)
- func StartPlugin(config *pdfium.LibraryConfig)
- type ActionHandle
- type AnnotationHandle
- type AttachmentHandle
- type BitmapHandle
- type BookmarkHandle
- type BytesReaderCloser
- func (r *BytesReaderCloser) Close() error
- func (r *BytesReaderCloser) Len() int
- func (r *BytesReaderCloser) Read(b []byte) (n int, err error)
- func (r *BytesReaderCloser) ReadAt(b []byte, off int64) (n int, err error)
- func (r *BytesReaderCloser) ReadByte() (byte, error)
- func (r *BytesReaderCloser) ReadRune() (ch rune, size int, err error)
- func (r *BytesReaderCloser) Reset(b []byte)
- func (r *BytesReaderCloser) Seek(offset int64, whence int) (int64, error)
- func (r *BytesReaderCloser) Size() int64
- func (r *BytesReaderCloser) UnreadByte() error
- func (r *BytesReaderCloser) UnreadRune() error
- func (r *BytesReaderCloser) WriteTo(w io.Writer) (n int64, err error)
- type ClipPathHandle
- type DataAvailHandle
- type DestHandle
- type DocumentHandle
- type FontHandle
- type FormFillInfo
- type FormHandleHandle
- type GlyphPathHandle
- type JavaScriptActionHandle
- type LinkHandle
- type PageHandle
- type PageLinkHandle
- type PageObjectHandle
- type PageObjectMarkHandle
- type PageRangeHandle
- type PathSegmentHandle
- type PauseHandle
- type PdfiumImplementation
- func (p *PdfiumImplementation) Close() error
- func (p *PdfiumImplementation) FORM_CanRedo(request *requests.FORM_CanRedo) (*responses.FORM_CanRedo, error)
- func (p *PdfiumImplementation) FORM_CanUndo(request *requests.FORM_CanUndo) (*responses.FORM_CanUndo, error)
- func (p *PdfiumImplementation) FORM_DoDocumentAAction(request *requests.FORM_DoDocumentAAction) (*responses.FORM_DoDocumentAAction, error)
- func (p *PdfiumImplementation) FORM_DoDocumentJSAction(request *requests.FORM_DoDocumentJSAction) (*responses.FORM_DoDocumentJSAction, error)
- func (p *PdfiumImplementation) FORM_DoDocumentOpenAction(request *requests.FORM_DoDocumentOpenAction) (*responses.FORM_DoDocumentOpenAction, error)
- func (p *PdfiumImplementation) FORM_DoPageAAction(request *requests.FORM_DoPageAAction) (*responses.FORM_DoPageAAction, error)
- func (p *PdfiumImplementation) FORM_ForceToKillFocus(request *requests.FORM_ForceToKillFocus) (*responses.FORM_ForceToKillFocus, error)
- func (p *PdfiumImplementation) FORM_GetFocusedAnnot(request *requests.FORM_GetFocusedAnnot) (*responses.FORM_GetFocusedAnnot, error)
- func (p *PdfiumImplementation) FORM_GetFocusedText(request *requests.FORM_GetFocusedText) (*responses.FORM_GetFocusedText, error)
- func (p *PdfiumImplementation) FORM_GetSelectedText(request *requests.FORM_GetSelectedText) (*responses.FORM_GetSelectedText, error)
- func (p *PdfiumImplementation) FORM_IsIndexSelected(request *requests.FORM_IsIndexSelected) (*responses.FORM_IsIndexSelected, error)
- func (p *PdfiumImplementation) FORM_OnAfterLoadPage(request *requests.FORM_OnAfterLoadPage) (*responses.FORM_OnAfterLoadPage, error)
- func (p *PdfiumImplementation) FORM_OnBeforeClosePage(request *requests.FORM_OnBeforeClosePage) (*responses.FORM_OnBeforeClosePage, error)
- func (p *PdfiumImplementation) FORM_OnChar(request *requests.FORM_OnChar) (*responses.FORM_OnChar, error)
- func (p *PdfiumImplementation) FORM_OnFocus(request *requests.FORM_OnFocus) (*responses.FORM_OnFocus, error)
- func (p *PdfiumImplementation) FORM_OnKeyDown(request *requests.FORM_OnKeyDown) (*responses.FORM_OnKeyDown, error)
- func (p *PdfiumImplementation) FORM_OnKeyUp(request *requests.FORM_OnKeyUp) (*responses.FORM_OnKeyUp, error)
- func (p *PdfiumImplementation) FORM_OnLButtonDoubleClick(request *requests.FORM_OnLButtonDoubleClick) (*responses.FORM_OnLButtonDoubleClick, error)
- func (p *PdfiumImplementation) FORM_OnLButtonDown(request *requests.FORM_OnLButtonDown) (*responses.FORM_OnLButtonDown, error)
- func (p *PdfiumImplementation) FORM_OnLButtonUp(request *requests.FORM_OnLButtonUp) (*responses.FORM_OnLButtonUp, error)
- func (p *PdfiumImplementation) FORM_OnMouseMove(request *requests.FORM_OnMouseMove) (*responses.FORM_OnMouseMove, error)
- func (p *PdfiumImplementation) FORM_OnMouseWheel(request *requests.FORM_OnMouseWheel) (*responses.FORM_OnMouseWheel, error)
- func (p *PdfiumImplementation) FORM_OnRButtonDown(request *requests.FORM_OnRButtonDown) (*responses.FORM_OnRButtonDown, error)
- func (p *PdfiumImplementation) FORM_OnRButtonUp(request *requests.FORM_OnRButtonUp) (*responses.FORM_OnRButtonUp, error)
- func (p *PdfiumImplementation) FORM_Redo(request *requests.FORM_Redo) (*responses.FORM_Redo, error)
- func (p *PdfiumImplementation) FORM_ReplaceSelection(request *requests.FORM_ReplaceSelection) (*responses.FORM_ReplaceSelection, error)
- func (p *PdfiumImplementation) FORM_SelectAllText(request *requests.FORM_SelectAllText) (*responses.FORM_SelectAllText, error)
- func (p *PdfiumImplementation) FORM_SetFocusedAnnot(request *requests.FORM_SetFocusedAnnot) (*responses.FORM_SetFocusedAnnot, error)
- func (p *PdfiumImplementation) FORM_SetIndexSelected(request *requests.FORM_SetIndexSelected) (*responses.FORM_SetIndexSelected, error)
- func (p *PdfiumImplementation) FORM_Undo(request *requests.FORM_Undo) (*responses.FORM_Undo, error)
- func (p *PdfiumImplementation) FPDFAction_GetDest(request *requests.FPDFAction_GetDest) (*responses.FPDFAction_GetDest, error)
- func (p *PdfiumImplementation) FPDFAction_GetFilePath(request *requests.FPDFAction_GetFilePath) (*responses.FPDFAction_GetFilePath, error)
- func (p *PdfiumImplementation) FPDFAction_GetType(request *requests.FPDFAction_GetType) (*responses.FPDFAction_GetType, error)
- func (p *PdfiumImplementation) FPDFAction_GetURIPath(request *requests.FPDFAction_GetURIPath) (*responses.FPDFAction_GetURIPath, error)
- func (p *PdfiumImplementation) FPDFAnnot_AddInkStroke(request *requests.FPDFAnnot_AddInkStroke) (*responses.FPDFAnnot_AddInkStroke, error)
- func (p *PdfiumImplementation) FPDFAnnot_AppendAttachmentPoints(request *requests.FPDFAnnot_AppendAttachmentPoints) (*responses.FPDFAnnot_AppendAttachmentPoints, error)
- func (p *PdfiumImplementation) FPDFAnnot_AppendObject(request *requests.FPDFAnnot_AppendObject) (*responses.FPDFAnnot_AppendObject, error)
- func (p *PdfiumImplementation) FPDFAnnot_CountAttachmentPoints(request *requests.FPDFAnnot_CountAttachmentPoints) (*responses.FPDFAnnot_CountAttachmentPoints, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetAP(request *requests.FPDFAnnot_GetAP) (*responses.FPDFAnnot_GetAP, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetAttachmentPoints(request *requests.FPDFAnnot_GetAttachmentPoints) (*responses.FPDFAnnot_GetAttachmentPoints, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetBorder(request *requests.FPDFAnnot_GetBorder) (*responses.FPDFAnnot_GetBorder, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetColor(request *requests.FPDFAnnot_GetColor) (*responses.FPDFAnnot_GetColor, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFlags(request *requests.FPDFAnnot_GetFlags) (*responses.FPDFAnnot_GetFlags, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFocusableSubtypes(request *requests.FPDFAnnot_GetFocusableSubtypes) (*responses.FPDFAnnot_GetFocusableSubtypes, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFocusableSubtypesCount(request *requests.FPDFAnnot_GetFocusableSubtypesCount) (*responses.FPDFAnnot_GetFocusableSubtypesCount, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFontSize(request *requests.FPDFAnnot_GetFontSize) (*responses.FPDFAnnot_GetFontSize, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormControlCount(request *requests.FPDFAnnot_GetFormControlCount) (*responses.FPDFAnnot_GetFormControlCount, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormControlIndex(request *requests.FPDFAnnot_GetFormControlIndex) (*responses.FPDFAnnot_GetFormControlIndex, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldAtPoint(request *requests.FPDFAnnot_GetFormFieldAtPoint) (*responses.FPDFAnnot_GetFormFieldAtPoint, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldExportValue(request *requests.FPDFAnnot_GetFormFieldExportValue) (*responses.FPDFAnnot_GetFormFieldExportValue, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldFlags(request *requests.FPDFAnnot_GetFormFieldFlags) (*responses.FPDFAnnot_GetFormFieldFlags, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldName(request *requests.FPDFAnnot_GetFormFieldName) (*responses.FPDFAnnot_GetFormFieldName, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldType(request *requests.FPDFAnnot_GetFormFieldType) (*responses.FPDFAnnot_GetFormFieldType, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldValue(request *requests.FPDFAnnot_GetFormFieldValue) (*responses.FPDFAnnot_GetFormFieldValue, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetInkListCount(request *requests.FPDFAnnot_GetInkListCount) (*responses.FPDFAnnot_GetInkListCount, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetInkListPath(request *requests.FPDFAnnot_GetInkListPath) (*responses.FPDFAnnot_GetInkListPath, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetLine(request *requests.FPDFAnnot_GetLine) (*responses.FPDFAnnot_GetLine, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetLink(request *requests.FPDFAnnot_GetLink) (*responses.FPDFAnnot_GetLink, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetLinkedAnnot(request *requests.FPDFAnnot_GetLinkedAnnot) (*responses.FPDFAnnot_GetLinkedAnnot, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetNumberValue(request *requests.FPDFAnnot_GetNumberValue) (*responses.FPDFAnnot_GetNumberValue, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetObject(request *requests.FPDFAnnot_GetObject) (*responses.FPDFAnnot_GetObject, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetObjectCount(request *requests.FPDFAnnot_GetObjectCount) (*responses.FPDFAnnot_GetObjectCount, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetOptionCount(request *requests.FPDFAnnot_GetOptionCount) (*responses.FPDFAnnot_GetOptionCount, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetOptionLabel(request *requests.FPDFAnnot_GetOptionLabel) (*responses.FPDFAnnot_GetOptionLabel, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetRect(request *requests.FPDFAnnot_GetRect) (*responses.FPDFAnnot_GetRect, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetStringValue(request *requests.FPDFAnnot_GetStringValue) (*responses.FPDFAnnot_GetStringValue, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetSubtype(request *requests.FPDFAnnot_GetSubtype) (*responses.FPDFAnnot_GetSubtype, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetValueType(request *requests.FPDFAnnot_GetValueType) (*responses.FPDFAnnot_GetValueType, error)
- func (p *PdfiumImplementation) FPDFAnnot_GetVertices(request *requests.FPDFAnnot_GetVertices) (*responses.FPDFAnnot_GetVertices, error)
- func (p *PdfiumImplementation) FPDFAnnot_HasAttachmentPoints(request *requests.FPDFAnnot_HasAttachmentPoints) (*responses.FPDFAnnot_HasAttachmentPoints, error)
- func (p *PdfiumImplementation) FPDFAnnot_HasKey(request *requests.FPDFAnnot_HasKey) (*responses.FPDFAnnot_HasKey, error)
- func (p *PdfiumImplementation) FPDFAnnot_IsChecked(request *requests.FPDFAnnot_IsChecked) (*responses.FPDFAnnot_IsChecked, error)
- func (p *PdfiumImplementation) FPDFAnnot_IsObjectSupportedSubtype(request *requests.FPDFAnnot_IsObjectSupportedSubtype) (*responses.FPDFAnnot_IsObjectSupportedSubtype, error)
- func (p *PdfiumImplementation) FPDFAnnot_IsOptionSelected(request *requests.FPDFAnnot_IsOptionSelected) (*responses.FPDFAnnot_IsOptionSelected, error)
- func (p *PdfiumImplementation) FPDFAnnot_IsSupportedSubtype(request *requests.FPDFAnnot_IsSupportedSubtype) (*responses.FPDFAnnot_IsSupportedSubtype, error)
- func (p *PdfiumImplementation) FPDFAnnot_RemoveInkList(request *requests.FPDFAnnot_RemoveInkList) (*responses.FPDFAnnot_RemoveInkList, error)
- func (p *PdfiumImplementation) FPDFAnnot_RemoveObject(request *requests.FPDFAnnot_RemoveObject) (*responses.FPDFAnnot_RemoveObject, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetAP(request *requests.FPDFAnnot_SetAP) (*responses.FPDFAnnot_SetAP, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetAttachmentPoints(request *requests.FPDFAnnot_SetAttachmentPoints) (*responses.FPDFAnnot_SetAttachmentPoints, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetBorder(request *requests.FPDFAnnot_SetBorder) (*responses.FPDFAnnot_SetBorder, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetColor(request *requests.FPDFAnnot_SetColor) (*responses.FPDFAnnot_SetColor, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetFlags(request *requests.FPDFAnnot_SetFlags) (*responses.FPDFAnnot_SetFlags, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetFocusableSubtypes(request *requests.FPDFAnnot_SetFocusableSubtypes) (*responses.FPDFAnnot_SetFocusableSubtypes, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetRect(request *requests.FPDFAnnot_SetRect) (*responses.FPDFAnnot_SetRect, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetStringValue(request *requests.FPDFAnnot_SetStringValue) (*responses.FPDFAnnot_SetStringValue, error)
- func (p *PdfiumImplementation) FPDFAnnot_SetURI(request *requests.FPDFAnnot_SetURI) (*responses.FPDFAnnot_SetURI, error)
- func (p *PdfiumImplementation) FPDFAnnot_UpdateObject(request *requests.FPDFAnnot_UpdateObject) (*responses.FPDFAnnot_UpdateObject, error)
- func (p *PdfiumImplementation) FPDFAttachment_GetFile(request *requests.FPDFAttachment_GetFile) (*responses.FPDFAttachment_GetFile, error)
- func (p *PdfiumImplementation) FPDFAttachment_GetName(request *requests.FPDFAttachment_GetName) (*responses.FPDFAttachment_GetName, error)
- func (p *PdfiumImplementation) FPDFAttachment_GetStringValue(request *requests.FPDFAttachment_GetStringValue) (*responses.FPDFAttachment_GetStringValue, error)
- func (p *PdfiumImplementation) FPDFAttachment_GetValueType(request *requests.FPDFAttachment_GetValueType) (*responses.FPDFAttachment_GetValueType, error)
- func (p *PdfiumImplementation) FPDFAttachment_HasKey(request *requests.FPDFAttachment_HasKey) (*responses.FPDFAttachment_HasKey, error)
- func (p *PdfiumImplementation) FPDFAttachment_SetFile(request *requests.FPDFAttachment_SetFile) (*responses.FPDFAttachment_SetFile, error)
- func (p *PdfiumImplementation) FPDFAttachment_SetStringValue(request *requests.FPDFAttachment_SetStringValue) (*responses.FPDFAttachment_SetStringValue, error)
- func (p *PdfiumImplementation) FPDFAvail_Create(request *requests.FPDFAvail_Create) (*responses.FPDFAvail_Create, error)
- func (p *PdfiumImplementation) FPDFAvail_Destroy(request *requests.FPDFAvail_Destroy) (*responses.FPDFAvail_Destroy, error)
- func (p *PdfiumImplementation) FPDFAvail_GetDocument(request *requests.FPDFAvail_GetDocument) (*responses.FPDFAvail_GetDocument, error)
- func (p *PdfiumImplementation) FPDFAvail_GetFirstPageNum(request *requests.FPDFAvail_GetFirstPageNum) (*responses.FPDFAvail_GetFirstPageNum, error)
- func (p *PdfiumImplementation) FPDFAvail_IsDocAvail(request *requests.FPDFAvail_IsDocAvail) (*responses.FPDFAvail_IsDocAvail, error)
- func (p *PdfiumImplementation) FPDFAvail_IsFormAvail(request *requests.FPDFAvail_IsFormAvail) (*responses.FPDFAvail_IsFormAvail, error)
- func (p *PdfiumImplementation) FPDFAvail_IsLinearized(request *requests.FPDFAvail_IsLinearized) (*responses.FPDFAvail_IsLinearized, error)
- func (p *PdfiumImplementation) FPDFAvail_IsPageAvail(request *requests.FPDFAvail_IsPageAvail) (*responses.FPDFAvail_IsPageAvail, error)
- func (p *PdfiumImplementation) FPDFBitmap_Create(request *requests.FPDFBitmap_Create) (*responses.FPDFBitmap_Create, error)
- func (p *PdfiumImplementation) FPDFBitmap_CreateEx(request *requests.FPDFBitmap_CreateEx) (*responses.FPDFBitmap_CreateEx, error)
- func (p *PdfiumImplementation) FPDFBitmap_Destroy(request *requests.FPDFBitmap_Destroy) (*responses.FPDFBitmap_Destroy, error)
- func (p *PdfiumImplementation) FPDFBitmap_FillRect(request *requests.FPDFBitmap_FillRect) (*responses.FPDFBitmap_FillRect, error)
- func (p *PdfiumImplementation) FPDFBitmap_GetBuffer(request *requests.FPDFBitmap_GetBuffer) (*responses.FPDFBitmap_GetBuffer, error)
- func (p *PdfiumImplementation) FPDFBitmap_GetFormat(request *requests.FPDFBitmap_GetFormat) (*responses.FPDFBitmap_GetFormat, error)
- func (p *PdfiumImplementation) FPDFBitmap_GetHeight(request *requests.FPDFBitmap_GetHeight) (*responses.FPDFBitmap_GetHeight, error)
- func (p *PdfiumImplementation) FPDFBitmap_GetStride(request *requests.FPDFBitmap_GetStride) (*responses.FPDFBitmap_GetStride, error)
- func (p *PdfiumImplementation) FPDFBitmap_GetWidth(request *requests.FPDFBitmap_GetWidth) (*responses.FPDFBitmap_GetWidth, error)
- func (p *PdfiumImplementation) FPDFBookmark_Find(request *requests.FPDFBookmark_Find) (*responses.FPDFBookmark_Find, error)
- func (p *PdfiumImplementation) FPDFBookmark_GetAction(request *requests.FPDFBookmark_GetAction) (*responses.FPDFBookmark_GetAction, error)
- func (p *PdfiumImplementation) FPDFBookmark_GetDest(request *requests.FPDFBookmark_GetDest) (*responses.FPDFBookmark_GetDest, error)
- func (p *PdfiumImplementation) FPDFBookmark_GetFirstChild(request *requests.FPDFBookmark_GetFirstChild) (*responses.FPDFBookmark_GetFirstChild, error)
- func (p *PdfiumImplementation) FPDFBookmark_GetNextSibling(request *requests.FPDFBookmark_GetNextSibling) (*responses.FPDFBookmark_GetNextSibling, error)
- func (p *PdfiumImplementation) FPDFBookmark_GetTitle(request *requests.FPDFBookmark_GetTitle) (*responses.FPDFBookmark_GetTitle, error)
- func (p *PdfiumImplementation) FPDFCatalog_IsTagged(request *requests.FPDFCatalog_IsTagged) (*responses.FPDFCatalog_IsTagged, error)
- func (p *PdfiumImplementation) FPDFClipPath_CountPathSegments(request *requests.FPDFClipPath_CountPathSegments) (*responses.FPDFClipPath_CountPathSegments, error)
- func (p *PdfiumImplementation) FPDFClipPath_CountPaths(request *requests.FPDFClipPath_CountPaths) (*responses.FPDFClipPath_CountPaths, error)
- func (p *PdfiumImplementation) FPDFClipPath_GetPathSegment(request *requests.FPDFClipPath_GetPathSegment) (*responses.FPDFClipPath_GetPathSegment, error)
- func (p *PdfiumImplementation) FPDFDOC_ExitFormFillEnvironment(request *requests.FPDFDOC_ExitFormFillEnvironment) (*responses.FPDFDOC_ExitFormFillEnvironment, error)
- func (p *PdfiumImplementation) FPDFDOC_InitFormFillEnvironment(request *requests.FPDFDOC_InitFormFillEnvironment) (*responses.FPDFDOC_InitFormFillEnvironment, error)
- func (p *PdfiumImplementation) FPDFDest_GetDestPageIndex(request *requests.FPDFDest_GetDestPageIndex) (*responses.FPDFDest_GetDestPageIndex, error)
- func (p *PdfiumImplementation) FPDFDest_GetLocationInPage(request *requests.FPDFDest_GetLocationInPage) (*responses.FPDFDest_GetLocationInPage, error)
- func (p *PdfiumImplementation) FPDFDest_GetView(request *requests.FPDFDest_GetView) (*responses.FPDFDest_GetView, error)
- func (p *PdfiumImplementation) FPDFDoc_AddAttachment(request *requests.FPDFDoc_AddAttachment) (*responses.FPDFDoc_AddAttachment, error)
- func (p *PdfiumImplementation) FPDFDoc_CloseJavaScriptAction(request *requests.FPDFDoc_CloseJavaScriptAction) (*responses.FPDFDoc_CloseJavaScriptAction, error)
- func (p *PdfiumImplementation) FPDFDoc_DeleteAttachment(request *requests.FPDFDoc_DeleteAttachment) (*responses.FPDFDoc_DeleteAttachment, error)
- func (p *PdfiumImplementation) FPDFDoc_GetAttachment(request *requests.FPDFDoc_GetAttachment) (*responses.FPDFDoc_GetAttachment, error)
- func (p *PdfiumImplementation) FPDFDoc_GetAttachmentCount(request *requests.FPDFDoc_GetAttachmentCount) (*responses.FPDFDoc_GetAttachmentCount, error)
- func (p *PdfiumImplementation) FPDFDoc_GetJavaScriptAction(request *requests.FPDFDoc_GetJavaScriptAction) (*responses.FPDFDoc_GetJavaScriptAction, error)
- func (p *PdfiumImplementation) FPDFDoc_GetJavaScriptActionCount(request *requests.FPDFDoc_GetJavaScriptActionCount) (*responses.FPDFDoc_GetJavaScriptActionCount, error)
- func (p *PdfiumImplementation) FPDFDoc_GetPageMode(request *requests.FPDFDoc_GetPageMode) (*responses.FPDFDoc_GetPageMode, error)
- func (p *PdfiumImplementation) FPDFFont_Close(request *requests.FPDFFont_Close) (*responses.FPDFFont_Close, error)
- func (p *PdfiumImplementation) FPDFFont_GetAscent(request *requests.FPDFFont_GetAscent) (*responses.FPDFFont_GetAscent, error)
- func (p *PdfiumImplementation) FPDFFont_GetDescent(request *requests.FPDFFont_GetDescent) (*responses.FPDFFont_GetDescent, error)
- func (p *PdfiumImplementation) FPDFFont_GetFlags(request *requests.FPDFFont_GetFlags) (*responses.FPDFFont_GetFlags, error)
- func (p *PdfiumImplementation) FPDFFont_GetFontName(request *requests.FPDFFont_GetFontName) (*responses.FPDFFont_GetFontName, error)
- func (p *PdfiumImplementation) FPDFFont_GetGlyphPath(request *requests.FPDFFont_GetGlyphPath) (*responses.FPDFFont_GetGlyphPath, error)
- func (p *PdfiumImplementation) FPDFFont_GetGlyphWidth(request *requests.FPDFFont_GetGlyphWidth) (*responses.FPDFFont_GetGlyphWidth, error)
- func (p *PdfiumImplementation) FPDFFont_GetItalicAngle(request *requests.FPDFFont_GetItalicAngle) (*responses.FPDFFont_GetItalicAngle, error)
- func (p *PdfiumImplementation) FPDFFont_GetWeight(request *requests.FPDFFont_GetWeight) (*responses.FPDFFont_GetWeight, error)
- func (p *PdfiumImplementation) FPDFFormObj_CountObjects(request *requests.FPDFFormObj_CountObjects) (*responses.FPDFFormObj_CountObjects, error)
- func (p *PdfiumImplementation) FPDFFormObj_GetObject(request *requests.FPDFFormObj_GetObject) (*responses.FPDFFormObj_GetObject, error)
- func (p *PdfiumImplementation) FPDFGlyphPath_CountGlyphSegments(request *requests.FPDFGlyphPath_CountGlyphSegments) (*responses.FPDFGlyphPath_CountGlyphSegments, error)
- func (p *PdfiumImplementation) FPDFGlyphPath_GetGlyphPathSegment(request *requests.FPDFGlyphPath_GetGlyphPathSegment) (*responses.FPDFGlyphPath_GetGlyphPathSegment, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetBitmap(request *requests.FPDFImageObj_GetBitmap) (*responses.FPDFImageObj_GetBitmap, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetImageDataDecoded(request *requests.FPDFImageObj_GetImageDataDecoded) (*responses.FPDFImageObj_GetImageDataDecoded, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetImageDataRaw(request *requests.FPDFImageObj_GetImageDataRaw) (*responses.FPDFImageObj_GetImageDataRaw, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetImageFilter(request *requests.FPDFImageObj_GetImageFilter) (*responses.FPDFImageObj_GetImageFilter, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetImageFilterCount(request *requests.FPDFImageObj_GetImageFilterCount) (*responses.FPDFImageObj_GetImageFilterCount, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetImageMetadata(request *requests.FPDFImageObj_GetImageMetadata) (*responses.FPDFImageObj_GetImageMetadata, error)
- func (p *PdfiumImplementation) FPDFImageObj_GetRenderedBitmap(request *requests.FPDFImageObj_GetRenderedBitmap) (*responses.FPDFImageObj_GetRenderedBitmap, error)
- func (p *PdfiumImplementation) FPDFImageObj_LoadJpegFile(request *requests.FPDFImageObj_LoadJpegFile) (*responses.FPDFImageObj_LoadJpegFile, error)
- func (p *PdfiumImplementation) FPDFImageObj_LoadJpegFileInline(request *requests.FPDFImageObj_LoadJpegFileInline) (*responses.FPDFImageObj_LoadJpegFileInline, error)
- func (p *PdfiumImplementation) FPDFImageObj_SetBitmap(request *requests.FPDFImageObj_SetBitmap) (*responses.FPDFImageObj_SetBitmap, error)
- func (p *PdfiumImplementation) FPDFImageObj_SetMatrix(request *requests.FPDFImageObj_SetMatrix) (*responses.FPDFImageObj_SetMatrix, error)
- func (p *PdfiumImplementation) FPDFJavaScriptAction_GetName(request *requests.FPDFJavaScriptAction_GetName) (*responses.FPDFJavaScriptAction_GetName, error)
- func (p *PdfiumImplementation) FPDFJavaScriptAction_GetScript(request *requests.FPDFJavaScriptAction_GetScript) (*responses.FPDFJavaScriptAction_GetScript, error)
- func (p *PdfiumImplementation) FPDFLink_CloseWebLinks(request *requests.FPDFLink_CloseWebLinks) (*responses.FPDFLink_CloseWebLinks, error)
- func (p *PdfiumImplementation) FPDFLink_CountQuadPoints(request *requests.FPDFLink_CountQuadPoints) (*responses.FPDFLink_CountQuadPoints, error)
- func (p *PdfiumImplementation) FPDFLink_CountRects(request *requests.FPDFLink_CountRects) (*responses.FPDFLink_CountRects, error)
- func (p *PdfiumImplementation) FPDFLink_CountWebLinks(request *requests.FPDFLink_CountWebLinks) (*responses.FPDFLink_CountWebLinks, error)
- func (p *PdfiumImplementation) FPDFLink_Enumerate(request *requests.FPDFLink_Enumerate) (*responses.FPDFLink_Enumerate, error)
- func (p *PdfiumImplementation) FPDFLink_GetAction(request *requests.FPDFLink_GetAction) (*responses.FPDFLink_GetAction, error)
- func (p *PdfiumImplementation) FPDFLink_GetAnnot(request *requests.FPDFLink_GetAnnot) (*responses.FPDFLink_GetAnnot, error)
- func (p *PdfiumImplementation) FPDFLink_GetAnnotRect(request *requests.FPDFLink_GetAnnotRect) (*responses.FPDFLink_GetAnnotRect, error)
- func (p *PdfiumImplementation) FPDFLink_GetDest(request *requests.FPDFLink_GetDest) (*responses.FPDFLink_GetDest, error)
- func (p *PdfiumImplementation) FPDFLink_GetLinkAtPoint(request *requests.FPDFLink_GetLinkAtPoint) (*responses.FPDFLink_GetLinkAtPoint, error)
- func (p *PdfiumImplementation) FPDFLink_GetLinkZOrderAtPoint(request *requests.FPDFLink_GetLinkZOrderAtPoint) (*responses.FPDFLink_GetLinkZOrderAtPoint, error)
- func (p *PdfiumImplementation) FPDFLink_GetQuadPoints(request *requests.FPDFLink_GetQuadPoints) (*responses.FPDFLink_GetQuadPoints, error)
- func (p *PdfiumImplementation) FPDFLink_GetRect(request *requests.FPDFLink_GetRect) (*responses.FPDFLink_GetRect, error)
- func (p *PdfiumImplementation) FPDFLink_GetTextRange(request *requests.FPDFLink_GetTextRange) (*responses.FPDFLink_GetTextRange, error)
- func (p *PdfiumImplementation) FPDFLink_GetURL(request *requests.FPDFLink_GetURL) (*responses.FPDFLink_GetURL, error)
- func (p *PdfiumImplementation) FPDFLink_LoadWebLinks(request *requests.FPDFLink_LoadWebLinks) (*responses.FPDFLink_LoadWebLinks, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_CountParams(request *requests.FPDFPageObjMark_CountParams) (*responses.FPDFPageObjMark_CountParams, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_GetName(request *requests.FPDFPageObjMark_GetName) (*responses.FPDFPageObjMark_GetName, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_GetParamBlobValue(request *requests.FPDFPageObjMark_GetParamBlobValue) (*responses.FPDFPageObjMark_GetParamBlobValue, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_GetParamIntValue(request *requests.FPDFPageObjMark_GetParamIntValue) (*responses.FPDFPageObjMark_GetParamIntValue, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_GetParamKey(request *requests.FPDFPageObjMark_GetParamKey) (*responses.FPDFPageObjMark_GetParamKey, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_GetParamStringValue(request *requests.FPDFPageObjMark_GetParamStringValue) (*responses.FPDFPageObjMark_GetParamStringValue, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_GetParamValueType(request *requests.FPDFPageObjMark_GetParamValueType) (*responses.FPDFPageObjMark_GetParamValueType, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_RemoveParam(request *requests.FPDFPageObjMark_RemoveParam) (*responses.FPDFPageObjMark_RemoveParam, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_SetBlobParam(request *requests.FPDFPageObjMark_SetBlobParam) (*responses.FPDFPageObjMark_SetBlobParam, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_SetIntParam(request *requests.FPDFPageObjMark_SetIntParam) (*responses.FPDFPageObjMark_SetIntParam, error)
- func (p *PdfiumImplementation) FPDFPageObjMark_SetStringParam(request *requests.FPDFPageObjMark_SetStringParam) (*responses.FPDFPageObjMark_SetStringParam, error)
- func (p *PdfiumImplementation) FPDFPageObj_AddMark(request *requests.FPDFPageObj_AddMark) (*responses.FPDFPageObj_AddMark, error)
- func (p *PdfiumImplementation) FPDFPageObj_CountMarks(request *requests.FPDFPageObj_CountMarks) (*responses.FPDFPageObj_CountMarks, error)
- func (p *PdfiumImplementation) FPDFPageObj_CreateNewPath(request *requests.FPDFPageObj_CreateNewPath) (*responses.FPDFPageObj_CreateNewPath, error)
- func (p *PdfiumImplementation) FPDFPageObj_CreateNewRect(request *requests.FPDFPageObj_CreateNewRect) (*responses.FPDFPageObj_CreateNewRect, error)
- func (p *PdfiumImplementation) FPDFPageObj_CreateTextObj(request *requests.FPDFPageObj_CreateTextObj) (*responses.FPDFPageObj_CreateTextObj, error)
- func (p *PdfiumImplementation) FPDFPageObj_Destroy(request *requests.FPDFPageObj_Destroy) (*responses.FPDFPageObj_Destroy, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetBounds(request *requests.FPDFPageObj_GetBounds) (*responses.FPDFPageObj_GetBounds, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetClipPath(request *requests.FPDFPageObj_GetClipPath) (*responses.FPDFPageObj_GetClipPath, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetDashArray(request *requests.FPDFPageObj_GetDashArray) (*responses.FPDFPageObj_GetDashArray, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetDashCount(request *requests.FPDFPageObj_GetDashCount) (*responses.FPDFPageObj_GetDashCount, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetDashPhase(request *requests.FPDFPageObj_GetDashPhase) (*responses.FPDFPageObj_GetDashPhase, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetFillColor(request *requests.FPDFPageObj_GetFillColor) (*responses.FPDFPageObj_GetFillColor, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetLineCap(request *requests.FPDFPageObj_GetLineCap) (*responses.FPDFPageObj_GetLineCap, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetLineJoin(request *requests.FPDFPageObj_GetLineJoin) (*responses.FPDFPageObj_GetLineJoin, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetMark(request *requests.FPDFPageObj_GetMark) (*responses.FPDFPageObj_GetMark, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetMatrix(request *requests.FPDFPageObj_GetMatrix) (*responses.FPDFPageObj_GetMatrix, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetStrokeColor(request *requests.FPDFPageObj_GetStrokeColor) (*responses.FPDFPageObj_GetStrokeColor, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetStrokeWidth(request *requests.FPDFPageObj_GetStrokeWidth) (*responses.FPDFPageObj_GetStrokeWidth, error)
- func (p *PdfiumImplementation) FPDFPageObj_GetType(request *requests.FPDFPageObj_GetType) (*responses.FPDFPageObj_GetType, error)
- func (p *PdfiumImplementation) FPDFPageObj_HasTransparency(request *requests.FPDFPageObj_HasTransparency) (*responses.FPDFPageObj_HasTransparency, error)
- func (p *PdfiumImplementation) FPDFPageObj_NewImageObj(request *requests.FPDFPageObj_NewImageObj) (*responses.FPDFPageObj_NewImageObj, error)
- func (p *PdfiumImplementation) FPDFPageObj_NewTextObj(request *requests.FPDFPageObj_NewTextObj) (*responses.FPDFPageObj_NewTextObj, error)
- func (p *PdfiumImplementation) FPDFPageObj_RemoveMark(request *requests.FPDFPageObj_RemoveMark) (*responses.FPDFPageObj_RemoveMark, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetBlendMode(request *requests.FPDFPageObj_SetBlendMode) (*responses.FPDFPageObj_SetBlendMode, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetDashArray(request *requests.FPDFPageObj_SetDashArray) (*responses.FPDFPageObj_SetDashArray, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetDashPhase(request *requests.FPDFPageObj_SetDashPhase) (*responses.FPDFPageObj_SetDashPhase, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetFillColor(request *requests.FPDFPageObj_SetFillColor) (*responses.FPDFPageObj_SetFillColor, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetLineCap(request *requests.FPDFPageObj_SetLineCap) (*responses.FPDFPageObj_SetLineCap, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetLineJoin(request *requests.FPDFPageObj_SetLineJoin) (*responses.FPDFPageObj_SetLineJoin, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetMatrix(request *requests.FPDFPageObj_SetMatrix) (*responses.FPDFPageObj_SetMatrix, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetStrokeColor(request *requests.FPDFPageObj_SetStrokeColor) (*responses.FPDFPageObj_SetStrokeColor, error)
- func (p *PdfiumImplementation) FPDFPageObj_SetStrokeWidth(request *requests.FPDFPageObj_SetStrokeWidth) (*responses.FPDFPageObj_SetStrokeWidth, error)
- func (p *PdfiumImplementation) FPDFPageObj_Transform(request *requests.FPDFPageObj_Transform) (*responses.FPDFPageObj_Transform, error)
- func (p *PdfiumImplementation) FPDFPageObj_TransformClipPath(request *requests.FPDFPageObj_TransformClipPath) (*responses.FPDFPageObj_TransformClipPath, error)
- func (p *PdfiumImplementation) FPDFPage_CloseAnnot(request *requests.FPDFPage_CloseAnnot) (*responses.FPDFPage_CloseAnnot, error)
- func (p *PdfiumImplementation) FPDFPage_CountObjects(request *requests.FPDFPage_CountObjects) (*responses.FPDFPage_CountObjects, error)
- func (p *PdfiumImplementation) FPDFPage_CreateAnnot(request *requests.FPDFPage_CreateAnnot) (*responses.FPDFPage_CreateAnnot, error)
- func (p *PdfiumImplementation) FPDFPage_Delete(request *requests.FPDFPage_Delete) (*responses.FPDFPage_Delete, error)
- func (p *PdfiumImplementation) FPDFPage_Flatten(request *requests.FPDFPage_Flatten) (*responses.FPDFPage_Flatten, error)
- func (p *PdfiumImplementation) FPDFPage_FormFieldZOrderAtPoint(request *requests.FPDFPage_FormFieldZOrderAtPoint) (*responses.FPDFPage_FormFieldZOrderAtPoint, error)
- func (p *PdfiumImplementation) FPDFPage_GenerateContent(request *requests.FPDFPage_GenerateContent) (*responses.FPDFPage_GenerateContent, error)
- func (p *PdfiumImplementation) FPDFPage_GetAnnot(request *requests.FPDFPage_GetAnnot) (*responses.FPDFPage_GetAnnot, error)
- func (p *PdfiumImplementation) FPDFPage_GetAnnotCount(request *requests.FPDFPage_GetAnnotCount) (*responses.FPDFPage_GetAnnotCount, error)
- func (p *PdfiumImplementation) FPDFPage_GetAnnotIndex(request *requests.FPDFPage_GetAnnotIndex) (*responses.FPDFPage_GetAnnotIndex, error)
- func (p *PdfiumImplementation) FPDFPage_GetArtBox(request *requests.FPDFPage_GetArtBox) (*responses.FPDFPage_GetArtBox, error)
- func (p *PdfiumImplementation) FPDFPage_GetBleedBox(request *requests.FPDFPage_GetBleedBox) (*responses.FPDFPage_GetBleedBox, error)
- func (p *PdfiumImplementation) FPDFPage_GetCropBox(request *requests.FPDFPage_GetCropBox) (*responses.FPDFPage_GetCropBox, error)
- func (p *PdfiumImplementation) FPDFPage_GetDecodedThumbnailData(request *requests.FPDFPage_GetDecodedThumbnailData) (*responses.FPDFPage_GetDecodedThumbnailData, error)
- func (p *PdfiumImplementation) FPDFPage_GetMediaBox(request *requests.FPDFPage_GetMediaBox) (*responses.FPDFPage_GetMediaBox, error)
- func (p *PdfiumImplementation) FPDFPage_GetObject(request *requests.FPDFPage_GetObject) (*responses.FPDFPage_GetObject, error)
- func (p *PdfiumImplementation) FPDFPage_GetRawThumbnailData(request *requests.FPDFPage_GetRawThumbnailData) (*responses.FPDFPage_GetRawThumbnailData, error)
- func (p *PdfiumImplementation) FPDFPage_GetRotation(request *requests.FPDFPage_GetRotation) (*responses.FPDFPage_GetRotation, error)
- func (p *PdfiumImplementation) FPDFPage_GetThumbnailAsBitmap(request *requests.FPDFPage_GetThumbnailAsBitmap) (*responses.FPDFPage_GetThumbnailAsBitmap, error)
- func (p *PdfiumImplementation) FPDFPage_GetTrimBox(request *requests.FPDFPage_GetTrimBox) (*responses.FPDFPage_GetTrimBox, error)
- func (p *PdfiumImplementation) FPDFPage_HasFormFieldAtPoint(request *requests.FPDFPage_HasFormFieldAtPoint) (*responses.FPDFPage_HasFormFieldAtPoint, error)
- func (p *PdfiumImplementation) FPDFPage_HasTransparency(request *requests.FPDFPage_HasTransparency) (*responses.FPDFPage_HasTransparency, error)
- func (p *PdfiumImplementation) FPDFPage_InsertClipPath(request *requests.FPDFPage_InsertClipPath) (*responses.FPDFPage_InsertClipPath, error)
- func (p *PdfiumImplementation) FPDFPage_InsertObject(request *requests.FPDFPage_InsertObject) (*responses.FPDFPage_InsertObject, error)
- func (p *PdfiumImplementation) FPDFPage_New(request *requests.FPDFPage_New) (*responses.FPDFPage_New, error)
- func (p *PdfiumImplementation) FPDFPage_RemoveAnnot(request *requests.FPDFPage_RemoveAnnot) (*responses.FPDFPage_RemoveAnnot, error)
- func (p *PdfiumImplementation) FPDFPage_RemoveObject(request *requests.FPDFPage_RemoveObject) (*responses.FPDFPage_RemoveObject, error)
- func (p *PdfiumImplementation) FPDFPage_SetArtBox(request *requests.FPDFPage_SetArtBox) (*responses.FPDFPage_SetArtBox, error)
- func (p *PdfiumImplementation) FPDFPage_SetBleedBox(request *requests.FPDFPage_SetBleedBox) (*responses.FPDFPage_SetBleedBox, error)
- func (p *PdfiumImplementation) FPDFPage_SetCropBox(request *requests.FPDFPage_SetCropBox) (*responses.FPDFPage_SetCropBox, error)
- func (p *PdfiumImplementation) FPDFPage_SetMediaBox(request *requests.FPDFPage_SetMediaBox) (*responses.FPDFPage_SetMediaBox, error)
- func (p *PdfiumImplementation) FPDFPage_SetRotation(request *requests.FPDFPage_SetRotation) (*responses.FPDFPage_SetRotation, error)
- func (p *PdfiumImplementation) FPDFPage_SetTrimBox(request *requests.FPDFPage_SetTrimBox) (*responses.FPDFPage_SetTrimBox, error)
- func (p *PdfiumImplementation) FPDFPage_TransFormWithClip(request *requests.FPDFPage_TransFormWithClip) (*responses.FPDFPage_TransFormWithClip, error)
- func (p *PdfiumImplementation) FPDFPage_TransformAnnots(request *requests.FPDFPage_TransformAnnots) (*responses.FPDFPage_TransformAnnots, error)
- func (p *PdfiumImplementation) FPDFPathSegment_GetClose(request *requests.FPDFPathSegment_GetClose) (*responses.FPDFPathSegment_GetClose, error)
- func (p *PdfiumImplementation) FPDFPathSegment_GetPoint(request *requests.FPDFPathSegment_GetPoint) (*responses.FPDFPathSegment_GetPoint, error)
- func (p *PdfiumImplementation) FPDFPathSegment_GetType(request *requests.FPDFPathSegment_GetType) (*responses.FPDFPathSegment_GetType, error)
- func (p *PdfiumImplementation) FPDFPath_BezierTo(request *requests.FPDFPath_BezierTo) (*responses.FPDFPath_BezierTo, error)
- func (p *PdfiumImplementation) FPDFPath_Close(request *requests.FPDFPath_Close) (*responses.FPDFPath_Close, error)
- func (p *PdfiumImplementation) FPDFPath_CountSegments(request *requests.FPDFPath_CountSegments) (*responses.FPDFPath_CountSegments, error)
- func (p *PdfiumImplementation) FPDFPath_GetDrawMode(request *requests.FPDFPath_GetDrawMode) (*responses.FPDFPath_GetDrawMode, error)
- func (p *PdfiumImplementation) FPDFPath_GetPathSegment(request *requests.FPDFPath_GetPathSegment) (*responses.FPDFPath_GetPathSegment, error)
- func (p *PdfiumImplementation) FPDFPath_LineTo(request *requests.FPDFPath_LineTo) (*responses.FPDFPath_LineTo, error)
- func (p *PdfiumImplementation) FPDFPath_MoveTo(request *requests.FPDFPath_MoveTo) (*responses.FPDFPath_MoveTo, error)
- func (p *PdfiumImplementation) FPDFPath_SetDrawMode(request *requests.FPDFPath_SetDrawMode) (*responses.FPDFPath_SetDrawMode, error)
- func (p *PdfiumImplementation) FPDFSignatureObj_GetByteRange(request *requests.FPDFSignatureObj_GetByteRange) (*responses.FPDFSignatureObj_GetByteRange, error)
- func (p *PdfiumImplementation) FPDFSignatureObj_GetContents(request *requests.FPDFSignatureObj_GetContents) (*responses.FPDFSignatureObj_GetContents, error)
- func (p *PdfiumImplementation) FPDFSignatureObj_GetDocMDPPermission(request *requests.FPDFSignatureObj_GetDocMDPPermission) (*responses.FPDFSignatureObj_GetDocMDPPermission, error)
- func (p *PdfiumImplementation) FPDFSignatureObj_GetReason(request *requests.FPDFSignatureObj_GetReason) (*responses.FPDFSignatureObj_GetReason, error)
- func (p *PdfiumImplementation) FPDFSignatureObj_GetSubFilter(request *requests.FPDFSignatureObj_GetSubFilter) (*responses.FPDFSignatureObj_GetSubFilter, error)
- func (p *PdfiumImplementation) FPDFSignatureObj_GetTime(request *requests.FPDFSignatureObj_GetTime) (*responses.FPDFSignatureObj_GetTime, error)
- func (p *PdfiumImplementation) FPDFTextObj_GetFont(request *requests.FPDFTextObj_GetFont) (*responses.FPDFTextObj_GetFont, error)
- func (p *PdfiumImplementation) FPDFTextObj_GetFontSize(request *requests.FPDFTextObj_GetFontSize) (*responses.FPDFTextObj_GetFontSize, error)
- func (p *PdfiumImplementation) FPDFTextObj_GetText(request *requests.FPDFTextObj_GetText) (*responses.FPDFTextObj_GetText, error)
- func (p *PdfiumImplementation) FPDFTextObj_GetTextRenderMode(request *requests.FPDFTextObj_GetTextRenderMode) (*responses.FPDFTextObj_GetTextRenderMode, error)
- func (p *PdfiumImplementation) FPDFTextObj_SetTextRenderMode(request *requests.FPDFTextObj_SetTextRenderMode) (*responses.FPDFTextObj_SetTextRenderMode, error)
- func (p *PdfiumImplementation) FPDFText_ClosePage(request *requests.FPDFText_ClosePage) (*responses.FPDFText_ClosePage, error)
- func (p *PdfiumImplementation) FPDFText_CountChars(request *requests.FPDFText_CountChars) (*responses.FPDFText_CountChars, error)
- func (p *PdfiumImplementation) FPDFText_CountRects(request *requests.FPDFText_CountRects) (*responses.FPDFText_CountRects, error)
- func (p *PdfiumImplementation) FPDFText_FindClose(request *requests.FPDFText_FindClose) (*responses.FPDFText_FindClose, error)
- func (p *PdfiumImplementation) FPDFText_FindNext(request *requests.FPDFText_FindNext) (*responses.FPDFText_FindNext, error)
- func (p *PdfiumImplementation) FPDFText_FindPrev(request *requests.FPDFText_FindPrev) (*responses.FPDFText_FindPrev, error)
- func (p *PdfiumImplementation) FPDFText_FindStart(request *requests.FPDFText_FindStart) (*responses.FPDFText_FindStart, error)
- func (p *PdfiumImplementation) FPDFText_GetBoundedText(request *requests.FPDFText_GetBoundedText) (*responses.FPDFText_GetBoundedText, error)
- func (p *PdfiumImplementation) FPDFText_GetCharAngle(request *requests.FPDFText_GetCharAngle) (*responses.FPDFText_GetCharAngle, error)
- func (p *PdfiumImplementation) FPDFText_GetCharBox(request *requests.FPDFText_GetCharBox) (*responses.FPDFText_GetCharBox, error)
- func (p *PdfiumImplementation) FPDFText_GetCharIndexAtPos(request *requests.FPDFText_GetCharIndexAtPos) (*responses.FPDFText_GetCharIndexAtPos, error)
- func (p *PdfiumImplementation) FPDFText_GetCharIndexFromTextIndex(request *requests.FPDFText_GetCharIndexFromTextIndex) (*responses.FPDFText_GetCharIndexFromTextIndex, error)
- func (p *PdfiumImplementation) FPDFText_GetCharOrigin(request *requests.FPDFText_GetCharOrigin) (*responses.FPDFText_GetCharOrigin, error)
- func (p *PdfiumImplementation) FPDFText_GetFillColor(request *requests.FPDFText_GetFillColor) (*responses.FPDFText_GetFillColor, error)
- func (p *PdfiumImplementation) FPDFText_GetFontInfo(request *requests.FPDFText_GetFontInfo) (*responses.FPDFText_GetFontInfo, error)
- func (p *PdfiumImplementation) FPDFText_GetFontSize(request *requests.FPDFText_GetFontSize) (*responses.FPDFText_GetFontSize, error)
- func (p *PdfiumImplementation) FPDFText_GetFontWeight(request *requests.FPDFText_GetFontWeight) (*responses.FPDFText_GetFontWeight, error)
- func (p *PdfiumImplementation) FPDFText_GetLooseCharBox(request *requests.FPDFText_GetLooseCharBox) (*responses.FPDFText_GetLooseCharBox, error)
- func (p *PdfiumImplementation) FPDFText_GetMatrix(request *requests.FPDFText_GetMatrix) (*responses.FPDFText_GetMatrix, error)
- func (p *PdfiumImplementation) FPDFText_GetRect(request *requests.FPDFText_GetRect) (*responses.FPDFText_GetRect, error)
- func (p *PdfiumImplementation) FPDFText_GetSchCount(request *requests.FPDFText_GetSchCount) (*responses.FPDFText_GetSchCount, error)
- func (p *PdfiumImplementation) FPDFText_GetSchResultIndex(request *requests.FPDFText_GetSchResultIndex) (*responses.FPDFText_GetSchResultIndex, error)
- func (p *PdfiumImplementation) FPDFText_GetStrokeColor(request *requests.FPDFText_GetStrokeColor) (*responses.FPDFText_GetStrokeColor, error)
- func (p *PdfiumImplementation) FPDFText_GetText(request *requests.FPDFText_GetText) (*responses.FPDFText_GetText, error)
- func (p *PdfiumImplementation) FPDFText_GetTextIndexFromCharIndex(request *requests.FPDFText_GetTextIndexFromCharIndex) (*responses.FPDFText_GetTextIndexFromCharIndex, error)
- func (p *PdfiumImplementation) FPDFText_GetTextRenderMode(request *requests.FPDFText_GetTextRenderMode) (*responses.FPDFText_GetTextRenderMode, error)
- func (p *PdfiumImplementation) FPDFText_GetUnicode(request *requests.FPDFText_GetUnicode) (*responses.FPDFText_GetUnicode, error)
- func (p *PdfiumImplementation) FPDFText_LoadFont(request *requests.FPDFText_LoadFont) (*responses.FPDFText_LoadFont, error)
- func (p *PdfiumImplementation) FPDFText_LoadPage(request *requests.FPDFText_LoadPage) (*responses.FPDFText_LoadPage, error)
- func (p *PdfiumImplementation) FPDFText_LoadStandardFont(request *requests.FPDFText_LoadStandardFont) (*responses.FPDFText_LoadStandardFont, error)
- func (p *PdfiumImplementation) FPDFText_SetCharcodes(request *requests.FPDFText_SetCharcodes) (*responses.FPDFText_SetCharcodes, error)
- func (p *PdfiumImplementation) FPDFText_SetText(request *requests.FPDFText_SetText) (*responses.FPDFText_SetText, error)
- func (p *PdfiumImplementation) FPDF_CloseDocument(request *requests.FPDF_CloseDocument) (*responses.FPDF_CloseDocument, error)
- func (p *PdfiumImplementation) FPDF_ClosePage(request *requests.FPDF_ClosePage) (*responses.FPDF_ClosePage, error)
- func (p *PdfiumImplementation) FPDF_CloseXObject(request *requests.FPDF_CloseXObject) (*responses.FPDF_CloseXObject, error)
- func (p *PdfiumImplementation) FPDF_CopyViewerPreferences(request *requests.FPDF_CopyViewerPreferences) (*responses.FPDF_CopyViewerPreferences, error)
- func (p *PdfiumImplementation) FPDF_CountNamedDests(request *requests.FPDF_CountNamedDests) (*responses.FPDF_CountNamedDests, error)
- func (p *PdfiumImplementation) FPDF_CreateClipPath(request *requests.FPDF_CreateClipPath) (*responses.FPDF_CreateClipPath, error)
- func (p *PdfiumImplementation) FPDF_CreateNewDocument(request *requests.FPDF_CreateNewDocument) (*responses.FPDF_CreateNewDocument, error)
- func (p *PdfiumImplementation) FPDF_DestroyClipPath(request *requests.FPDF_DestroyClipPath) (*responses.FPDF_DestroyClipPath, error)
- func (p *PdfiumImplementation) FPDF_DeviceToPage(request *requests.FPDF_DeviceToPage) (*responses.FPDF_DeviceToPage, error)
- func (p *PdfiumImplementation) FPDF_DocumentHasValidCrossReferenceTable(request *requests.FPDF_DocumentHasValidCrossReferenceTable) (*responses.FPDF_DocumentHasValidCrossReferenceTable, error)
- func (p *PdfiumImplementation) FPDF_FFLDraw(request *requests.FPDF_FFLDraw) (*responses.FPDF_FFLDraw, error)
- func (p *PdfiumImplementation) FPDF_GetDocPermissions(request *requests.FPDF_GetDocPermissions) (*responses.FPDF_GetDocPermissions, error)
- func (p *PdfiumImplementation) FPDF_GetFileIdentifier(request *requests.FPDF_GetFileIdentifier) (*responses.FPDF_GetFileIdentifier, error)
- func (p *PdfiumImplementation) FPDF_GetFileVersion(request *requests.FPDF_GetFileVersion) (*responses.FPDF_GetFileVersion, error)
- func (p *PdfiumImplementation) FPDF_GetFormType(request *requests.FPDF_GetFormType) (*responses.FPDF_GetFormType, error)
- func (p *PdfiumImplementation) FPDF_GetLastError(request *requests.FPDF_GetLastError) (*responses.FPDF_GetLastError, error)
- func (p *PdfiumImplementation) FPDF_GetMetaText(request *requests.FPDF_GetMetaText) (*responses.FPDF_GetMetaText, error)
- func (p *PdfiumImplementation) FPDF_GetNamedDest(request *requests.FPDF_GetNamedDest) (*responses.FPDF_GetNamedDest, error)
- func (p *PdfiumImplementation) FPDF_GetNamedDestByName(request *requests.FPDF_GetNamedDestByName) (*responses.FPDF_GetNamedDestByName, error)
- func (p *PdfiumImplementation) FPDF_GetPageAAction(request *requests.FPDF_GetPageAAction) (*responses.FPDF_GetPageAAction, error)
- func (p *PdfiumImplementation) FPDF_GetPageBoundingBox(request *requests.FPDF_GetPageBoundingBox) (*responses.FPDF_GetPageBoundingBox, error)
- func (p *PdfiumImplementation) FPDF_GetPageCount(request *requests.FPDF_GetPageCount) (*responses.FPDF_GetPageCount, error)
- func (p *PdfiumImplementation) FPDF_GetPageHeight(request *requests.FPDF_GetPageHeight) (*responses.FPDF_GetPageHeight, error)
- func (p *PdfiumImplementation) FPDF_GetPageHeightF(request *requests.FPDF_GetPageHeightF) (*responses.FPDF_GetPageHeightF, error)
- func (p *PdfiumImplementation) FPDF_GetPageLabel(request *requests.FPDF_GetPageLabel) (*responses.FPDF_GetPageLabel, error)
- func (p *PdfiumImplementation) FPDF_GetPageSizeByIndex(request *requests.FPDF_GetPageSizeByIndex) (*responses.FPDF_GetPageSizeByIndex, error)
- func (p *PdfiumImplementation) FPDF_GetPageSizeByIndexF(request *requests.FPDF_GetPageSizeByIndexF) (*responses.FPDF_GetPageSizeByIndexF, error)
- func (p *PdfiumImplementation) FPDF_GetPageWidth(request *requests.FPDF_GetPageWidth) (*responses.FPDF_GetPageWidth, error)
- func (p *PdfiumImplementation) FPDF_GetPageWidthF(request *requests.FPDF_GetPageWidthF) (*responses.FPDF_GetPageWidthF, error)
- func (p *PdfiumImplementation) FPDF_GetSecurityHandlerRevision(request *requests.FPDF_GetSecurityHandlerRevision) (*responses.FPDF_GetSecurityHandlerRevision, error)
- func (p *PdfiumImplementation) FPDF_GetSignatureCount(request *requests.FPDF_GetSignatureCount) (*responses.FPDF_GetSignatureCount, error)
- func (p *PdfiumImplementation) FPDF_GetSignatureObject(request *requests.FPDF_GetSignatureObject) (*responses.FPDF_GetSignatureObject, error)
- func (p *PdfiumImplementation) FPDF_GetTrailerEnds(request *requests.FPDF_GetTrailerEnds) (*responses.FPDF_GetTrailerEnds, error)
- func (p *PdfiumImplementation) FPDF_GetXFAPacketContent(request *requests.FPDF_GetXFAPacketContent) (*responses.FPDF_GetXFAPacketContent, error)
- func (p *PdfiumImplementation) FPDF_GetXFAPacketCount(request *requests.FPDF_GetXFAPacketCount) (*responses.FPDF_GetXFAPacketCount, error)
- func (p *PdfiumImplementation) FPDF_GetXFAPacketName(request *requests.FPDF_GetXFAPacketName) (*responses.FPDF_GetXFAPacketName, error)
- func (p *PdfiumImplementation) FPDF_ImportNPagesToOne(request *requests.FPDF_ImportNPagesToOne) (*responses.FPDF_ImportNPagesToOne, error)
- func (p *PdfiumImplementation) FPDF_ImportPages(request *requests.FPDF_ImportPages) (*responses.FPDF_ImportPages, error)
- func (p *PdfiumImplementation) FPDF_ImportPagesByIndex(request *requests.FPDF_ImportPagesByIndex) (*responses.FPDF_ImportPagesByIndex, error)
- func (p *PdfiumImplementation) FPDF_LoadCustomDocument(request *requests.FPDF_LoadCustomDocument) (*responses.FPDF_LoadCustomDocument, error)
- func (p *PdfiumImplementation) FPDF_LoadDocument(request *requests.FPDF_LoadDocument) (*responses.FPDF_LoadDocument, error)
- func (p *PdfiumImplementation) FPDF_LoadMemDocument(request *requests.FPDF_LoadMemDocument) (*responses.FPDF_LoadMemDocument, error)
- func (p *PdfiumImplementation) FPDF_LoadMemDocument64(request *requests.FPDF_LoadMemDocument64) (*responses.FPDF_LoadMemDocument64, error)
- func (p *PdfiumImplementation) FPDF_LoadPage(request *requests.FPDF_LoadPage) (*responses.FPDF_LoadPage, error)
- func (p *PdfiumImplementation) FPDF_LoadXFA(request *requests.FPDF_LoadXFA) (*responses.FPDF_LoadXFA, error)
- func (p *PdfiumImplementation) FPDF_NewFormObjectFromXObject(request *requests.FPDF_NewFormObjectFromXObject) (*responses.FPDF_NewFormObjectFromXObject, error)
- func (p *PdfiumImplementation) FPDF_NewXObjectFromPage(request *requests.FPDF_NewXObjectFromPage) (*responses.FPDF_NewXObjectFromPage, error)
- func (p *PdfiumImplementation) FPDF_PageToDevice(request *requests.FPDF_PageToDevice) (*responses.FPDF_PageToDevice, error)
- func (p *PdfiumImplementation) FPDF_RemoveFormFieldHighlight(request *requests.FPDF_RemoveFormFieldHighlight) (*responses.FPDF_RemoveFormFieldHighlight, error)
- func (p *PdfiumImplementation) FPDF_RenderPage(request *requests.FPDF_RenderPage) (*responses.FPDF_RenderPage, error)
- func (p *PdfiumImplementation) FPDF_RenderPageBitmap(request *requests.FPDF_RenderPageBitmap) (*responses.FPDF_RenderPageBitmap, error)
- func (p *PdfiumImplementation) FPDF_RenderPageBitmapWithColorScheme_Start(request *requests.FPDF_RenderPageBitmapWithColorScheme_Start) (*responses.FPDF_RenderPageBitmapWithColorScheme_Start, error)
- func (p *PdfiumImplementation) FPDF_RenderPageBitmapWithMatrix(request *requests.FPDF_RenderPageBitmapWithMatrix) (*responses.FPDF_RenderPageBitmapWithMatrix, error)
- func (p *PdfiumImplementation) FPDF_RenderPageBitmap_Start(request *requests.FPDF_RenderPageBitmap_Start) (*responses.FPDF_RenderPageBitmap_Start, error)
- func (p *PdfiumImplementation) FPDF_RenderPage_Close(request *requests.FPDF_RenderPage_Close) (*responses.FPDF_RenderPage_Close, error)
- func (p *PdfiumImplementation) FPDF_RenderPage_Continue(request *requests.FPDF_RenderPage_Continue) (*responses.FPDF_RenderPage_Continue, error)
- func (p *PdfiumImplementation) FPDF_SaveAsCopy(request *requests.FPDF_SaveAsCopy) (*responses.FPDF_SaveAsCopy, error)
- func (p *PdfiumImplementation) FPDF_SaveWithVersion(request *requests.FPDF_SaveWithVersion) (*responses.FPDF_SaveWithVersion, error)
- func (p *PdfiumImplementation) FPDF_SetFormFieldHighlightAlpha(request *requests.FPDF_SetFormFieldHighlightAlpha) (*responses.FPDF_SetFormFieldHighlightAlpha, error)
- func (p *PdfiumImplementation) FPDF_SetFormFieldHighlightColor(request *requests.FPDF_SetFormFieldHighlightColor) (*responses.FPDF_SetFormFieldHighlightColor, error)
- func (p *PdfiumImplementation) FPDF_SetPrintMode(request *requests.FPDF_SetPrintMode) (*responses.FPDF_SetPrintMode, error)
- func (p *PdfiumImplementation) FPDF_SetSandBoxPolicy(request *requests.FPDF_SetSandBoxPolicy) (*responses.FPDF_SetSandBoxPolicy, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetBlobValue(request *requests.FPDF_StructElement_Attr_GetBlobValue) (*responses.FPDF_StructElement_Attr_GetBlobValue, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetBooleanValue(request *requests.FPDF_StructElement_Attr_GetBooleanValue) (*responses.FPDF_StructElement_Attr_GetBooleanValue, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetCount(request *requests.FPDF_StructElement_Attr_GetCount) (*responses.FPDF_StructElement_Attr_GetCount, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetName(request *requests.FPDF_StructElement_Attr_GetName) (*responses.FPDF_StructElement_Attr_GetName, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetNumberValue(request *requests.FPDF_StructElement_Attr_GetNumberValue) (*responses.FPDF_StructElement_Attr_GetNumberValue, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetStringValue(request *requests.FPDF_StructElement_Attr_GetStringValue) (*responses.FPDF_StructElement_Attr_GetStringValue, error)
- func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetType(request *requests.FPDF_StructElement_Attr_GetType) (*responses.FPDF_StructElement_Attr_GetType, error)
- func (p *PdfiumImplementation) FPDF_StructElement_CountChildren(request *requests.FPDF_StructElement_CountChildren) (*responses.FPDF_StructElement_CountChildren, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetActualText(request *requests.FPDF_StructElement_GetActualText) (*responses.FPDF_StructElement_GetActualText, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetAltText(request *requests.FPDF_StructElement_GetAltText) (*responses.FPDF_StructElement_GetAltText, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetAttributeAtIndex(request *requests.FPDF_StructElement_GetAttributeAtIndex) (*responses.FPDF_StructElement_GetAttributeAtIndex, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetAttributeCount(request *requests.FPDF_StructElement_GetAttributeCount) (*responses.FPDF_StructElement_GetAttributeCount, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetChildAtIndex(request *requests.FPDF_StructElement_GetChildAtIndex) (*responses.FPDF_StructElement_GetChildAtIndex, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetID(request *requests.FPDF_StructElement_GetID) (*responses.FPDF_StructElement_GetID, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetLang(request *requests.FPDF_StructElement_GetLang) (*responses.FPDF_StructElement_GetLang, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetMarkedContentID(request *requests.FPDF_StructElement_GetMarkedContentID) (*responses.FPDF_StructElement_GetMarkedContentID, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetMarkedContentIdAtIndex(request *requests.FPDF_StructElement_GetMarkedContentIdAtIndex) (*responses.FPDF_StructElement_GetMarkedContentIdAtIndex, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetMarkedContentIdCount(request *requests.FPDF_StructElement_GetMarkedContentIdCount) (*responses.FPDF_StructElement_GetMarkedContentIdCount, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetObjType(request *requests.FPDF_StructElement_GetObjType) (*responses.FPDF_StructElement_GetObjType, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetParent(request *requests.FPDF_StructElement_GetParent) (*responses.FPDF_StructElement_GetParent, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetStringAttribute(request *requests.FPDF_StructElement_GetStringAttribute) (*responses.FPDF_StructElement_GetStringAttribute, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetTitle(request *requests.FPDF_StructElement_GetTitle) (*responses.FPDF_StructElement_GetTitle, error)
- func (p *PdfiumImplementation) FPDF_StructElement_GetType(request *requests.FPDF_StructElement_GetType) (*responses.FPDF_StructElement_GetType, error)
- func (p *PdfiumImplementation) FPDF_StructTree_Close(request *requests.FPDF_StructTree_Close) (*responses.FPDF_StructTree_Close, error)
- func (p *PdfiumImplementation) FPDF_StructTree_CountChildren(request *requests.FPDF_StructTree_CountChildren) (*responses.FPDF_StructTree_CountChildren, error)
- func (p *PdfiumImplementation) FPDF_StructTree_GetChildAtIndex(request *requests.FPDF_StructTree_GetChildAtIndex) (*responses.FPDF_StructTree_GetChildAtIndex, error)
- func (p *PdfiumImplementation) FPDF_StructTree_GetForPage(request *requests.FPDF_StructTree_GetForPage) (*responses.FPDF_StructTree_GetForPage, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetDuplex(request *requests.FPDF_VIEWERREF_GetDuplex) (*responses.FPDF_VIEWERREF_GetDuplex, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetName(request *requests.FPDF_VIEWERREF_GetName) (*responses.FPDF_VIEWERREF_GetName, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetNumCopies(request *requests.FPDF_VIEWERREF_GetNumCopies) (*responses.FPDF_VIEWERREF_GetNumCopies, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRange(request *requests.FPDF_VIEWERREF_GetPrintPageRange) (*responses.FPDF_VIEWERREF_GetPrintPageRange, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRangeCount(request *requests.FPDF_VIEWERREF_GetPrintPageRangeCount) (*responses.FPDF_VIEWERREF_GetPrintPageRangeCount, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRangeElement(request *requests.FPDF_VIEWERREF_GetPrintPageRangeElement) (*responses.FPDF_VIEWERREF_GetPrintPageRangeElement, error)
- func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintScaling(request *requests.FPDF_VIEWERREF_GetPrintScaling) (*responses.FPDF_VIEWERREF_GetPrintScaling, error)
- func (p *PdfiumImplementation) FSDK_SetLocaltimeFunction(request *requests.FSDK_SetLocaltimeFunction) (*responses.FSDK_SetLocaltimeFunction, error)
- func (p *PdfiumImplementation) FSDK_SetTimeFunction(request *requests.FSDK_SetTimeFunction) (*responses.FSDK_SetTimeFunction, error)
- func (p *PdfiumImplementation) FSDK_SetUnSpObjProcessHandler(request *requests.FSDK_SetUnSpObjProcessHandler) (*responses.FSDK_SetUnSpObjProcessHandler, error)
- func (p *PdfiumImplementation) GetActionInfo(request *requests.GetActionInfo) (*responses.GetActionInfo, error)
- func (p *PdfiumImplementation) GetAttachments(request *requests.GetAttachments) (*responses.GetAttachments, error)
- func (p *PdfiumImplementation) GetBookmarks(request *requests.GetBookmarks) (*responses.GetBookmarks, error)
- func (p *PdfiumImplementation) GetDestInfo(request *requests.GetDestInfo) (*responses.GetDestInfo, error)
- func (p *PdfiumImplementation) GetJavaScriptActions(request *requests.GetJavaScriptActions) (*responses.GetJavaScriptActions, error)
- func (p *PdfiumImplementation) GetMetaData(request *requests.GetMetaData) (*responses.GetMetaData, error)
- func (p *PdfiumImplementation) GetPageSize(request *requests.GetPageSize) (*responses.GetPageSize, error)
- func (p *PdfiumImplementation) GetPageSizeInPixels(request *requests.GetPageSizeInPixels) (*responses.GetPageSizeInPixels, error)
- func (p *PdfiumImplementation) GetPageText(request *requests.GetPageText) (*responses.GetPageText, error)
- func (p *PdfiumImplementation) GetPageTextStructured(request *requests.GetPageTextStructured) (*responses.GetPageTextStructured, error)
- func (p *PdfiumImplementation) Lock()
- func (p *PdfiumImplementation) OpenDocument(request *requests.OpenDocument) (*responses.OpenDocument, error)
- func (p *PdfiumImplementation) Ping() (string, error)
- func (p *PdfiumImplementation) RenderPageInDPI(request *requests.RenderPageInDPI) (*responses.RenderPageInDPI, error)
- func (p *PdfiumImplementation) RenderPageInPixels(request *requests.RenderPageInPixels) (*responses.RenderPageInPixels, error)
- func (p *PdfiumImplementation) RenderPagesInDPI(request *requests.RenderPagesInDPI) (*responses.RenderPagesInDPI, error)
- func (p *PdfiumImplementation) RenderPagesInPixels(request *requests.RenderPagesInPixels) (*responses.RenderPagesInPixels, error)
- func (p *PdfiumImplementation) RenderToFile(request *requests.RenderToFile) (*responses.RenderToFile, error)
- func (p *PdfiumImplementation) Unlock()
- type SchHandleHandle
- type SearchHandle
- type SignatureHandle
- type StructElementAttributeHandle
- type StructElementHandle
- type StructTreeHandle
- type TextPageHandle
- type XObjectHandle
Constants ¶
This section is empty.
Variables ¶
var Pdfium = &mainPdfium{ mutex: &sync.Mutex{}, instanceRefs: map[int]*PdfiumImplementation{}, documentRefs: map[references.FPDF_DOCUMENT]*DocumentHandle{}, fileReaders: map[string]*fileReaderRef{}, }
Pdfium is a container so that we can always only have 1 instance of PDFium per process. We need this so that we can guarantee thread safety.
Functions ¶
func DestroyLibrary ¶
func DestroyLibrary()
DestroyLibrary unloads the actual C++ library. If any documents were loaded, it closes them.
func InitLibrary ¶
func InitLibrary(config *pdfium.LibraryConfig)
InitLibrary loads the actual C++ library.
func StartPlugin ¶
func StartPlugin(config *pdfium.LibraryConfig)
Types ¶
type ActionHandle ¶ added in v0.5.0
type ActionHandle struct {
// contains filtered or unexported fields
}
type AnnotationHandle ¶ added in v0.5.0
type AnnotationHandle struct {
// contains filtered or unexported fields
}
type AttachmentHandle ¶ added in v0.5.0
type AttachmentHandle struct {
// contains filtered or unexported fields
}
type BitmapHandle ¶ added in v0.5.0
type BitmapHandle struct {
// contains filtered or unexported fields
}
type BookmarkHandle ¶ added in v0.5.0
type BookmarkHandle struct {
// contains filtered or unexported fields
}
type BytesReaderCloser ¶ added in v0.9.0
type BytesReaderCloser struct {
// contains filtered or unexported fields
}
A Reader implements the io.Reader, io.ReaderAt, io.WriterTo, io.Seeker, io.ByteScanner, and io.RuneScanner interfaces by reading from a byte slice. Unlike a Buffer, a Reader is read-only and supports seeking.
func NewBytesReaderCloser ¶ added in v0.9.0
func NewBytesReaderCloser(b []byte) *BytesReaderCloser
BytesReaderCloser returns a new Reader reading from b.
func (*BytesReaderCloser) Close ¶ added in v0.9.0
func (r *BytesReaderCloser) Close() error
func (*BytesReaderCloser) Len ¶ added in v0.9.0
func (r *BytesReaderCloser) Len() int
Len returns the number of bytes of the unread portion of the slice.
func (*BytesReaderCloser) Read ¶ added in v0.9.0
func (r *BytesReaderCloser) Read(b []byte) (n int, err error)
Read implements the io.Reader interface.
func (*BytesReaderCloser) ReadAt ¶ added in v0.9.0
func (r *BytesReaderCloser) ReadAt(b []byte, off int64) (n int, err error)
ReadAt implements the io.ReaderAt interface.
func (*BytesReaderCloser) ReadByte ¶ added in v0.9.0
func (r *BytesReaderCloser) ReadByte() (byte, error)
ReadByte implements the io.ByteReader interface.
func (*BytesReaderCloser) ReadRune ¶ added in v0.9.0
func (r *BytesReaderCloser) ReadRune() (ch rune, size int, err error)
ReadRune implements the io.RuneReader interface.
func (*BytesReaderCloser) Reset ¶ added in v0.9.0
func (r *BytesReaderCloser) Reset(b []byte)
Reset resets the Reader to be reading from b.
func (*BytesReaderCloser) Seek ¶ added in v0.9.0
func (r *BytesReaderCloser) Seek(offset int64, whence int) (int64, error)
Seek implements the io.Seeker interface.
func (*BytesReaderCloser) Size ¶ added in v0.9.0
func (r *BytesReaderCloser) Size() int64
Size returns the original length of the underlying byte slice. Size is the number of bytes available for reading via ReadAt. The returned value is always the same and is not affected by calls to any other method.
func (*BytesReaderCloser) UnreadByte ¶ added in v0.9.0
func (r *BytesReaderCloser) UnreadByte() error
UnreadByte complements ReadByte in implementing the io.ByteScanner interface.
func (*BytesReaderCloser) UnreadRune ¶ added in v0.9.0
func (r *BytesReaderCloser) UnreadRune() error
UnreadRune complements ReadRune in implementing the io.RuneScanner interface.
type ClipPathHandle ¶ added in v0.5.0
type ClipPathHandle struct {
// contains filtered or unexported fields
}
type DataAvailHandle ¶ added in v0.9.0
type DataAvailHandle struct {
// contains filtered or unexported fields
}
type DestHandle ¶ added in v0.5.0
type DestHandle struct {
// contains filtered or unexported fields
}
type DocumentHandle ¶ added in v0.5.0
type DocumentHandle struct {
// contains filtered or unexported fields
}
func (*DocumentHandle) Close ¶ added in v0.5.0
func (d *DocumentHandle) Close() error
Close closes the internal references in FPDF
type FontHandle ¶ added in v0.9.0
type FontHandle struct {
// contains filtered or unexported fields
}
type FormFillInfo ¶ added in v1.0.0
type FormFillInfo struct {
Struct *C.FPDF_FORMFILLINFO
FormFillInfo *structs.FPDF_FORMFILLINFO
FormHandleHandle *FormHandleHandle
Instance *PdfiumImplementation
}
type FormHandleHandle ¶ added in v0.5.0
type FormHandleHandle struct {
// contains filtered or unexported fields
}
type GlyphPathHandle ¶ added in v0.9.0
type GlyphPathHandle struct {
// contains filtered or unexported fields
}
type JavaScriptActionHandle ¶ added in v0.5.0
type JavaScriptActionHandle struct {
// contains filtered or unexported fields
}
type LinkHandle ¶ added in v0.5.0
type LinkHandle struct {
// contains filtered or unexported fields
}
type PageHandle ¶ added in v0.5.0
type PageHandle struct {
// contains filtered or unexported fields
}
func (*PageHandle) Close ¶ added in v0.5.0
func (p *PageHandle) Close()
Close closes the internal references in FPDF
type PageLinkHandle ¶ added in v0.5.0
type PageLinkHandle struct {
// contains filtered or unexported fields
}
type PageObjectHandle ¶ added in v0.5.0
type PageObjectHandle struct {
// contains filtered or unexported fields
}
type PageObjectMarkHandle ¶ added in v0.9.0
type PageObjectMarkHandle struct {
// contains filtered or unexported fields
}
type PageRangeHandle ¶ added in v0.5.0
type PageRangeHandle struct {
// contains filtered or unexported fields
}
type PathSegmentHandle ¶ added in v0.9.0
type PathSegmentHandle struct {
// contains filtered or unexported fields
}
type PauseHandle ¶ added in v0.9.0
type PauseHandle struct {
Struct *C.IFSDK_PAUSE
Callback func() bool
// contains filtered or unexported fields
}
type PdfiumImplementation ¶ added in v0.5.0
type PdfiumImplementation struct {
// contains filtered or unexported fields
}
Here is the real implementation of Pdfium
func (*PdfiumImplementation) Close ¶ added in v0.5.0
func (p *PdfiumImplementation) Close() error
func (*PdfiumImplementation) FORM_CanRedo ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_CanRedo(request *requests.FORM_CanRedo) (*responses.FORM_CanRedo, error)
FORM_CanRedo Find out if it is possible for the current focused widget in a given form to perform a redo operation.
func (*PdfiumImplementation) FORM_CanUndo ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_CanUndo(request *requests.FORM_CanUndo) (*responses.FORM_CanUndo, error)
FORM_CanUndo Find out if it is possible for the current focused widget in a given form to perform an undo operation.
func (*PdfiumImplementation) FORM_DoDocumentAAction ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_DoDocumentAAction(request *requests.FORM_DoDocumentAAction) (*responses.FORM_DoDocumentAAction, error)
FORM_DoDocumentAAction This method is required for performing the document's additional-action. This method will do nothing if there is no document additional-action corresponding to the specified type.
func (*PdfiumImplementation) FORM_DoDocumentJSAction ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_DoDocumentJSAction(request *requests.FORM_DoDocumentJSAction) (*responses.FORM_DoDocumentJSAction, error)
FORM_DoDocumentJSAction This method is required for performing document-level JavaScript actions. It should be invoked after the PDF document has been loaded. If there is document-level JavaScript action embedded in the document, this method will execute the JavaScript action. Otherwise, the method will do nothing.
func (*PdfiumImplementation) FORM_DoDocumentOpenAction ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_DoDocumentOpenAction(request *requests.FORM_DoDocumentOpenAction) (*responses.FORM_DoDocumentOpenAction, error)
FORM_DoDocumentOpenAction This method is required for performing open-action when the document is opened. This method will do nothing if there are no open-actions embedded in the document.
func (*PdfiumImplementation) FORM_DoPageAAction ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_DoPageAAction(request *requests.FORM_DoPageAAction) (*responses.FORM_DoPageAAction, error)
FORM_DoPageAAction This method is required for performing the page object's additional-action when opened or closed. This method will do nothing if no additional-action corresponding to the specified type exists.
func (*PdfiumImplementation) FORM_ForceToKillFocus ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_ForceToKillFocus(request *requests.FORM_ForceToKillFocus) (*responses.FORM_ForceToKillFocus, error)
FORM_ForceToKillFocus Call this member function to force to kill the focus of the form field which has focus. If it would kill the focus of a form field, save the value of form field if was changed by theuser.
func (*PdfiumImplementation) FORM_GetFocusedAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_GetFocusedAnnot(request *requests.FORM_GetFocusedAnnot) (*responses.FORM_GetFocusedAnnot, error)
FORM_GetFocusedAnnot Call this member function to get the currently focused annotation. Not currently supported for XFA forms - will report no focused annotation. Must call FPDFPage_CloseAnnot() when the annotation returned by this function is no longer needed. Experimental API.
func (*PdfiumImplementation) FORM_GetFocusedText ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_GetFocusedText(request *requests.FORM_GetFocusedText) (*responses.FORM_GetFocusedText, error)
FORM_GetFocusedText Call this function to obtain the text within the current focused field, if any. Experimental API
func (*PdfiumImplementation) FORM_GetSelectedText ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_GetSelectedText(request *requests.FORM_GetSelectedText) (*responses.FORM_GetSelectedText, error)
FORM_GetSelectedText Call this function to obtain selected text within a form text field or form combobox text field.
func (*PdfiumImplementation) FORM_IsIndexSelected ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_IsIndexSelected(request *requests.FORM_IsIndexSelected) (*responses.FORM_IsIndexSelected, error)
FORM_IsIndexSelected returns whether or not the value at index of the focused annotation is currently selected. Intended for use with listbox/combobox widget types. Default implementation is a no-op that will return false for other types. Not currently supported for XFA forms - will return false. Experimental API
func (*PdfiumImplementation) FORM_OnAfterLoadPage ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnAfterLoadPage(request *requests.FORM_OnAfterLoadPage) (*responses.FORM_OnAfterLoadPage, error)
FORM_OnAfterLoadPage This method is required for implementing all the form related functions. Should be invoked after user successfully loaded a PDF page, and FPDFDOC_InitFormFillEnvironment() has been invoked.
func (*PdfiumImplementation) FORM_OnBeforeClosePage ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnBeforeClosePage(request *requests.FORM_OnBeforeClosePage) (*responses.FORM_OnBeforeClosePage, error)
FORM_OnBeforeClosePage This method is required for implementing all the form related functions. Should be invoked before user closes the PDF page.
func (*PdfiumImplementation) FORM_OnChar ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnChar(request *requests.FORM_OnChar) (*responses.FORM_OnChar, error)
FORM_OnChar Call this member function when a keystroke translates to a nonsystem character.
func (*PdfiumImplementation) FORM_OnFocus ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnFocus(request *requests.FORM_OnFocus) (*responses.FORM_OnFocus, error)
FORM_OnFocus This function focuses the form annotation at a given point. If the annotation at the point already has focus, nothing happens. If there is no annotation at the point, removes form focus.
func (*PdfiumImplementation) FORM_OnKeyDown ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnKeyDown(request *requests.FORM_OnKeyDown) (*responses.FORM_OnKeyDown, error)
FORM_OnKeyDown Call this member function when a nonsystem key is pressed.
func (*PdfiumImplementation) FORM_OnKeyUp ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnKeyUp(request *requests.FORM_OnKeyUp) (*responses.FORM_OnKeyUp, error)
FORM_OnKeyUp Call this member function when a nonsystem key is released. Currently unimplemented and always returns false. PDFium reserves this API and may implement it in the future on an as-needed basis.
func (*PdfiumImplementation) FORM_OnLButtonDoubleClick ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnLButtonDoubleClick(request *requests.FORM_OnLButtonDoubleClick) (*responses.FORM_OnLButtonDoubleClick, error)
FORM_OnLButtonDoubleClick Call this member function when the user double clicks the left mouse button.
func (*PdfiumImplementation) FORM_OnLButtonDown ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnLButtonDown(request *requests.FORM_OnLButtonDown) (*responses.FORM_OnLButtonDown, error)
FORM_OnLButtonDown Call this member function when the user presses the left mouse button.
func (*PdfiumImplementation) FORM_OnLButtonUp ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnLButtonUp(request *requests.FORM_OnLButtonUp) (*responses.FORM_OnLButtonUp, error)
FORM_OnLButtonUp Call this member function when the user releases the left mouse button.
func (*PdfiumImplementation) FORM_OnMouseMove ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnMouseMove(request *requests.FORM_OnMouseMove) (*responses.FORM_OnMouseMove, error)
FORM_OnMouseMove Call this member function when the mouse cursor moves.
func (*PdfiumImplementation) FORM_OnMouseWheel ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnMouseWheel(request *requests.FORM_OnMouseWheel) (*responses.FORM_OnMouseWheel, error)
FORM_OnMouseWheel Call this member function when the user scrolls the mouse wheel. For X and Y delta, the caller must normalize platform-specific wheel deltas. e.g. On Windows, a delta value of 240 for a WM_MOUSEWHEEL event normalizes to 2, since Windows defines WHEEL_DELTA as 120. Experimental API
func (*PdfiumImplementation) FORM_OnRButtonDown ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnRButtonDown(request *requests.FORM_OnRButtonDown) (*responses.FORM_OnRButtonDown, error)
FORM_OnRButtonDown Call this member function when the user presses the right mouse button. At the present time, has no effect except in XFA builds, but is included for the sake of symmetry.
func (*PdfiumImplementation) FORM_OnRButtonUp ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_OnRButtonUp(request *requests.FORM_OnRButtonUp) (*responses.FORM_OnRButtonUp, error)
FORM_OnRButtonUp Call this member function when the user releases the right mouse button. At the present time, has no effect except in XFA builds, but is included for the sake of symmetry.
func (*PdfiumImplementation) FORM_Redo ¶ added in v1.0.0
FORM_Redo Make the current focussed widget perform a redo operation.
func (*PdfiumImplementation) FORM_ReplaceSelection ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_ReplaceSelection(request *requests.FORM_ReplaceSelection) (*responses.FORM_ReplaceSelection, error)
FORM_ReplaceSelection Call this function to replace the selected text in a form text field or user-editable form combobox text field with another text string (which can be empty or non-empty). If there is no selected text, this function will append the replacement text after the current caret position.
func (*PdfiumImplementation) FORM_SelectAllText ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_SelectAllText(request *requests.FORM_SelectAllText) (*responses.FORM_SelectAllText, error)
FORM_SelectAllText Call this function to select all the text within the currently focused form text field or form combobox text field. Experimental API
func (*PdfiumImplementation) FORM_SetFocusedAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_SetFocusedAnnot(request *requests.FORM_SetFocusedAnnot) (*responses.FORM_SetFocusedAnnot, error)
FORM_SetFocusedAnnot Call this member function to set the currently focused annotation. The annotation can't be nil. To kill focus, use FORM_ForceToKillFocus() instead. Experimental API.
func (*PdfiumImplementation) FORM_SetIndexSelected ¶ added in v1.0.0
func (p *PdfiumImplementation) FORM_SetIndexSelected(request *requests.FORM_SetIndexSelected) (*responses.FORM_SetIndexSelected, error)
FORM_SetIndexSelected selects/deselects the value at the given index of the focused annotation. Intended for use with listbox/combobox widget types. Comboboxes have at most a single value selected at a time which cannot be deselected. Deselect on a combobox is a no-op that returns false. Default implementation is a no-op that will return false for other types. Not currently supported for XFA forms - will return false. Experimental API
func (*PdfiumImplementation) FORM_Undo ¶ added in v1.0.0
FORM_Undo Make the current focussed widget perform an undo operation.
func (*PdfiumImplementation) FPDFAction_GetDest ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAction_GetDest(request *requests.FPDFAction_GetDest) (*responses.FPDFAction_GetDest, error)
FPDFAction_GetDest returns the destination of a specific go-to or remote-goto action. Only action with type PDF_ACTION_ACTION_GOTO and PDF_ACTION_ACTION_REMOTEGOTO can have destination data. In case of remote goto action, the application should first use function FPDFAction_GetFilePath to get file path, then load that particular document, and use its document handle to call this function.
func (*PdfiumImplementation) FPDFAction_GetFilePath ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAction_GetFilePath(request *requests.FPDFAction_GetFilePath) (*responses.FPDFAction_GetFilePath, error)
FPDFAction_GetFilePath returns the file path from a remote goto or launch action. Only works on actions that have the type FPDF_ACTION_ACTION_REMOTEGOTO or FPDF_ACTION_ACTION_LAUNCH.
func (*PdfiumImplementation) FPDFAction_GetType ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAction_GetType(request *requests.FPDFAction_GetType) (*responses.FPDFAction_GetType, error)
FPDFAction_GetType returns the action associated with a bookmark item.
func (*PdfiumImplementation) FPDFAction_GetURIPath ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAction_GetURIPath(request *requests.FPDFAction_GetURIPath) (*responses.FPDFAction_GetURIPath, error)
FPDFAction_GetURIPath returns the URI path from a URI action.
func (*PdfiumImplementation) FPDFAnnot_AddInkStroke ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_AddInkStroke(request *requests.FPDFAnnot_AddInkStroke) (*responses.FPDFAnnot_AddInkStroke, error)
FPDFAnnot_AddInkStroke adds a new InkStroke, represented by an array of points, to the InkList of the annotation. The API creates an InkList if one doesn't already exist in the annotation. This API works only for ink annotations. Please refer to ISO 32000-1:2008 spec, section 12.5.6.13. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_AppendAttachmentPoints ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_AppendAttachmentPoints(request *requests.FPDFAnnot_AppendAttachmentPoints) (*responses.FPDFAnnot_AppendAttachmentPoints, error)
FPDFAnnot_AppendAttachmentPoints appends to the list of attachment points (i.e. quadpoints) of an annotation. If the annotation's appearance stream is defined and this annotation is of a type with quadpoints, then update the bounding box too if the new quadpoints define a bigger one. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_AppendObject ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_AppendObject(request *requests.FPDFAnnot_AppendObject) (*responses.FPDFAnnot_AppendObject, error)
FPDFAnnot_AppendObject adds the given object to the given annotation. The object must have been created by FPDFPageObj_CreateNew{Path|Rect}() or FPDFPageObj_New{Text|Image}Obj(), and will be owned by the annotation. Note that an object cannot belong to more than one annotation. Currently, only ink and stamp annotations are supported by this API. Also note that only path, image, and text objects have APIs for creation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_CountAttachmentPoints ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_CountAttachmentPoints(request *requests.FPDFAnnot_CountAttachmentPoints) (*responses.FPDFAnnot_CountAttachmentPoints, error)
FPDFAnnot_CountAttachmentPoints returns the number of sets of quadpoints of an annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetAP ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetAP(request *requests.FPDFAnnot_GetAP) (*responses.FPDFAnnot_GetAP, error)
FPDFAnnot_GetAP returns the AP (appearance string) from annotation's dictionary for a given appearance mode. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetAttachmentPoints ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetAttachmentPoints(request *requests.FPDFAnnot_GetAttachmentPoints) (*responses.FPDFAnnot_GetAttachmentPoints, error)
FPDFAnnot_GetAttachmentPoints returns the attachment points (i.e. quadpoints) of an annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetBorder ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetBorder(request *requests.FPDFAnnot_GetBorder) (*responses.FPDFAnnot_GetBorder, error)
FPDFAnnot_GetBorder returns the characteristics of the annotation's border (rounded rectangle). Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetColor ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetColor(request *requests.FPDFAnnot_GetColor) (*responses.FPDFAnnot_GetColor, error)
FPDFAnnot_GetColor returns the color of an annotation. If no color is specified, default to yellow for highlight annotation, black for all else. Fails when called on annotations with appearance streams already defined; instead use FPDFPath_Get{Stroke|Fill}Color(). Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFlags ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFlags(request *requests.FPDFAnnot_GetFlags) (*responses.FPDFAnnot_GetFlags, error)
FPDFAnnot_GetFlags returns the annotation flags of the given annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFocusableSubtypes ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFocusableSubtypes(request *requests.FPDFAnnot_GetFocusableSubtypes) (*responses.FPDFAnnot_GetFocusableSubtypes, error)
FPDFAnnot_GetFocusableSubtypes returns the list of focusable annotation subtype as set by host. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFocusableSubtypesCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFocusableSubtypesCount(request *requests.FPDFAnnot_GetFocusableSubtypesCount) (*responses.FPDFAnnot_GetFocusableSubtypesCount, error)
FPDFAnnot_GetFocusableSubtypesCount returns the count of focusable annotation subtypes as set by host. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFontSize ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFontSize(request *requests.FPDFAnnot_GetFontSize) (*responses.FPDFAnnot_GetFontSize, error)
FPDFAnnot_GetFontSize returns the float value of the font size for an annotation with variable text. If 0, the font is to be auto-sized: its size is computed as a function of the height of the annotation rectangle. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormControlCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormControlCount(request *requests.FPDFAnnot_GetFormControlCount) (*responses.FPDFAnnot_GetFormControlCount, error)
FPDFAnnot_GetFormControlCount returns the count of annotations in the annotation's control group. A group of interactive form annotations is collectively called a form control group. Here, annotation, an interactive form annotation, should be either a radio button or a checkbox. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormControlIndex ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormControlIndex(request *requests.FPDFAnnot_GetFormControlIndex) (*responses.FPDFAnnot_GetFormControlIndex, error)
FPDFAnnot_GetFormControlIndex returns the index of the given annotation it's control group. A group of interactive form annotations is collectively called a form control group. Here, the annotation, an interactive form annotation, should be either a radio button or a checkbox. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormFieldAtPoint ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldAtPoint(request *requests.FPDFAnnot_GetFormFieldAtPoint) (*responses.FPDFAnnot_GetFormFieldAtPoint, error)
FPDFAnnot_GetFormFieldAtPoint returns an interactive form annotation whose rectangle contains a given point on a page. Must call FPDFPage_CloseAnnot() when the annotation returned is no longer needed. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormFieldExportValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldExportValue(request *requests.FPDFAnnot_GetFormFieldExportValue) (*responses.FPDFAnnot_GetFormFieldExportValue, error)
FPDFAnnot_GetFormFieldExportValue returns the export value of the given annotation which is an interactive form annotation. Intended for use with radio button and checkbox widget annotations. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormFieldFlags ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldFlags(request *requests.FPDFAnnot_GetFormFieldFlags) (*responses.FPDFAnnot_GetFormFieldFlags, error)
FPDFAnnot_GetFormFieldFlags returns the form field annotation flags of the given annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormFieldName ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldName(request *requests.FPDFAnnot_GetFormFieldName) (*responses.FPDFAnnot_GetFormFieldName, error)
FPDFAnnot_GetFormFieldName returns the name of the given annotation, which is an interactive form annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormFieldType ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldType(request *requests.FPDFAnnot_GetFormFieldType) (*responses.FPDFAnnot_GetFormFieldType, error)
FPDFAnnot_GetFormFieldType returns the form field type of the given annotation, which is an interactive form annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetFormFieldValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetFormFieldValue(request *requests.FPDFAnnot_GetFormFieldValue) (*responses.FPDFAnnot_GetFormFieldValue, error)
FPDFAnnot_GetFormFieldValue returns the value of the given annotation, which is an interactive form annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetInkListCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetInkListCount(request *requests.FPDFAnnot_GetInkListCount) (*responses.FPDFAnnot_GetInkListCount, error)
FPDFAnnot_GetInkListCount returns the number of paths in the ink list of an ink annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetInkListPath ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetInkListPath(request *requests.FPDFAnnot_GetInkListPath) (*responses.FPDFAnnot_GetInkListPath, error)
FPDFAnnot_GetInkListPath returns a path in the ink list of an ink annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetLine ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetLine(request *requests.FPDFAnnot_GetLine) (*responses.FPDFAnnot_GetLine, error)
FPDFAnnot_GetLine returns the starting and ending coordinates of a line annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetLink ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetLink(request *requests.FPDFAnnot_GetLink) (*responses.FPDFAnnot_GetLink, error)
FPDFAnnot_GetLink returns FPDF_LINK object for the given annotation. Intended to use for link annotations. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetLinkedAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetLinkedAnnot(request *requests.FPDFAnnot_GetLinkedAnnot) (*responses.FPDFAnnot_GetLinkedAnnot, error)
FPDFAnnot_GetLinkedAnnot returns the annotation corresponding to the given key in the annotations's dictionary. Common keys for linking annotations include "IRT" and "Popup". Must call FPDFPage_CloseAnnot() when the annotation returned by this function is no longer needed. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetNumberValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetNumberValue(request *requests.FPDFAnnot_GetNumberValue) (*responses.FPDFAnnot_GetNumberValue, error)
FPDFAnnot_GetNumberValue returns the float value corresponding to the given key in the annotations's dictionary. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetObject ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetObject(request *requests.FPDFAnnot_GetObject) (*responses.FPDFAnnot_GetObject, error)
FPDFAnnot_GetObject returns the object in the given annotation at the given index. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetObjectCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetObjectCount(request *requests.FPDFAnnot_GetObjectCount) (*responses.FPDFAnnot_GetObjectCount, error)
FPDFAnnot_GetObjectCount returns the total number of objects in the given annotation, including path objects, text objects, external objects, image objects, and shading objects. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetOptionCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetOptionCount(request *requests.FPDFAnnot_GetOptionCount) (*responses.FPDFAnnot_GetOptionCount, error)
FPDFAnnot_GetOptionCount returns the number of options in the annotation's "Opt" dictionary. Intended for use with listbox and combobox widget annotations. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetOptionLabel ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetOptionLabel(request *requests.FPDFAnnot_GetOptionLabel) (*responses.FPDFAnnot_GetOptionLabel, error)
FPDFAnnot_GetOptionLabel returns the string value for the label of the option at the given index in annotation's "Opt" dictionary. Intended for use with listbox and combobox widget annotations. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetRect ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetRect(request *requests.FPDFAnnot_GetRect) (*responses.FPDFAnnot_GetRect, error)
FPDFAnnot_GetRect returns the annotation rectangle defining the location of the annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetStringValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetStringValue(request *requests.FPDFAnnot_GetStringValue) (*responses.FPDFAnnot_GetStringValue, error)
FPDFAnnot_GetStringValue returns the string value corresponding to the given key in the annotations's dictionary. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetSubtype ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetSubtype(request *requests.FPDFAnnot_GetSubtype) (*responses.FPDFAnnot_GetSubtype, error)
FPDFAnnot_GetSubtype returns the subtype of an annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetValueType ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetValueType(request *requests.FPDFAnnot_GetValueType) (*responses.FPDFAnnot_GetValueType, error)
FPDFAnnot_GetValueType returns the type of the value corresponding to the given key the annotation's dictionary. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_GetVertices ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_GetVertices(request *requests.FPDFAnnot_GetVertices) (*responses.FPDFAnnot_GetVertices, error)
FPDFAnnot_GetVertices returns the vertices of a polygon or polyline annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_HasAttachmentPoints ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_HasAttachmentPoints(request *requests.FPDFAnnot_HasAttachmentPoints) (*responses.FPDFAnnot_HasAttachmentPoints, error)
FPDFAnnot_HasAttachmentPoints returns whether the annotation is of a type that has attachment points (i.e. quadpoints). Quadpoints are the vertices of the rectangle that encompasses the texts affected by the annotation. They provide the coordinates in the page where the annotation is attached. Only text markup annotations (i.e. highlight, strikeout, squiggly, and underline) and link annotations have quadpoints. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_HasKey ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_HasKey(request *requests.FPDFAnnot_HasKey) (*responses.FPDFAnnot_HasKey, error)
FPDFAnnot_HasKey checks whether the given annotation's dictionary has the given key as a key. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_IsChecked ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_IsChecked(request *requests.FPDFAnnot_IsChecked) (*responses.FPDFAnnot_IsChecked, error)
FPDFAnnot_IsChecked returns whether the given annotation is a form widget that is checked. Intended for use with checkbox and radio button widgets. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_IsObjectSupportedSubtype ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_IsObjectSupportedSubtype(request *requests.FPDFAnnot_IsObjectSupportedSubtype) (*responses.FPDFAnnot_IsObjectSupportedSubtype, error)
FPDFAnnot_IsObjectSupportedSubtype checks whether an annotation subtype is currently supported for object extraction, update, and removal. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_IsOptionSelected ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_IsOptionSelected(request *requests.FPDFAnnot_IsOptionSelected) (*responses.FPDFAnnot_IsOptionSelected, error)
FPDFAnnot_IsOptionSelected returns whether or not the option at the given index in annotation's "Opt" dictionary is selected. Intended for use with listbox and combobox widget annotations. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_IsSupportedSubtype ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_IsSupportedSubtype(request *requests.FPDFAnnot_IsSupportedSubtype) (*responses.FPDFAnnot_IsSupportedSubtype, error)
FPDFAnnot_IsSupportedSubtype returns whether an annotation subtype is currently supported for creation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_RemoveInkList ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_RemoveInkList(request *requests.FPDFAnnot_RemoveInkList) (*responses.FPDFAnnot_RemoveInkList, error)
FPDFAnnot_RemoveInkList removes an InkList in the given annotation. This API works only for ink annotations. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_RemoveObject ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_RemoveObject(request *requests.FPDFAnnot_RemoveObject) (*responses.FPDFAnnot_RemoveObject, error)
FPDFAnnot_RemoveObject removes the object in the given annotation at the given index. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetAP ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetAP(request *requests.FPDFAnnot_SetAP) (*responses.FPDFAnnot_SetAP, error)
FPDFAnnot_SetAP sets the AP (appearance string) in annotations's dictionary for a given appearance mode. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetAttachmentPoints ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetAttachmentPoints(request *requests.FPDFAnnot_SetAttachmentPoints) (*responses.FPDFAnnot_SetAttachmentPoints, error)
FPDFAnnot_SetAttachmentPoints replaces the attachment points (i.e. quadpoints) set of an annotation at the given quad index. This index needs to be within the result of FPDFAnnot_CountAttachmentPoints(). If the annotation's appearance stream is defined and this annotation is of a type with quadpoints, then update the bounding box too if the new quadpoints define a bigger one. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetBorder ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetBorder(request *requests.FPDFAnnot_SetBorder) (*responses.FPDFAnnot_SetBorder, error)
FPDFAnnot_SetBorder sets the characteristics of the annotation's border (rounded rectangle). Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetColor ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetColor(request *requests.FPDFAnnot_SetColor) (*responses.FPDFAnnot_SetColor, error)
FPDFAnnot_SetColor sets the color of an annotation. Fails when called on annotations with appearance streams already defined; instead use FPDFPath_Set{Stroke|Fill}Color(). Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetFlags ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetFlags(request *requests.FPDFAnnot_SetFlags) (*responses.FPDFAnnot_SetFlags, error)
FPDFAnnot_SetFlags sets the annotation flags of the given annotation. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetFocusableSubtypes ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetFocusableSubtypes(request *requests.FPDFAnnot_SetFocusableSubtypes) (*responses.FPDFAnnot_SetFocusableSubtypes, error)
FPDFAnnot_SetFocusableSubtypes returns the list of focusable annotation subtypes. Annotations of subtype FPDF_ANNOT_WIDGET are by default focusable. New subtypes set using this API will override the existing subtypes. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetRect ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetRect(request *requests.FPDFAnnot_SetRect) (*responses.FPDFAnnot_SetRect, error)
FPDFAnnot_SetRect sets the annotation rectangle defining the location of the annotation. If the annotation's appearance stream is defined and this annotation is of a type without quadpoints, then update the bounding box too if the new rectangle defines a bigger one. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetStringValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetStringValue(request *requests.FPDFAnnot_SetStringValue) (*responses.FPDFAnnot_SetStringValue, error)
FPDFAnnot_SetStringValue sets the string value corresponding to the given key in the annotations's dictionary, overwriting the existing value if any. The value type would be FPDF_OBJECT_STRING after this function call succeeds. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_SetURI ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_SetURI(request *requests.FPDFAnnot_SetURI) (*responses.FPDFAnnot_SetURI, error)
FPDFAnnot_SetURI adds a URI action to the given annotation, overwriting the existing action, if any. Experimental API.
func (*PdfiumImplementation) FPDFAnnot_UpdateObject ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFAnnot_UpdateObject(request *requests.FPDFAnnot_UpdateObject) (*responses.FPDFAnnot_UpdateObject, error)
FPDFAnnot_UpdateObject updates the given object in the given annotation. The object must be in the annotation already and must have been retrieved by FPDFAnnot_GetObject(). Currently, only ink and stamp annotations are supported by this API. Also note that only path, image, and /text objects have APIs for modification; see FPDFPath_*(), FPDFText_*(), and FPDFImageObj_*(). Experimental API.
func (*PdfiumImplementation) FPDFAttachment_GetFile ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_GetFile(request *requests.FPDFAttachment_GetFile) (*responses.FPDFAttachment_GetFile, error)
FPDFAttachment_GetFile gets the file data of the given attachment. Experimental API.
func (*PdfiumImplementation) FPDFAttachment_GetName ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_GetName(request *requests.FPDFAttachment_GetName) (*responses.FPDFAttachment_GetName, error)
FPDFAttachment_GetName returns the name of the attachment file. Experimental API.
func (*PdfiumImplementation) FPDFAttachment_GetStringValue ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_GetStringValue(request *requests.FPDFAttachment_GetStringValue) (*responses.FPDFAttachment_GetStringValue, error)
FPDFAttachment_GetStringValue gets the string value corresponding to the given key in the params dictionary of the embedded file attachment. Experimental API.
func (*PdfiumImplementation) FPDFAttachment_GetValueType ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_GetValueType(request *requests.FPDFAttachment_GetValueType) (*responses.FPDFAttachment_GetValueType, error)
FPDFAttachment_GetValueType returns the type of the value corresponding to the given key in the params dictionary of the embedded attachment. Experimental API.
func (*PdfiumImplementation) FPDFAttachment_HasKey ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_HasKey(request *requests.FPDFAttachment_HasKey) (*responses.FPDFAttachment_HasKey, error)
FPDFAttachment_HasKey check if the params dictionary of the given attachment has the given key as a key. Experimental API.
func (*PdfiumImplementation) FPDFAttachment_SetFile ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_SetFile(request *requests.FPDFAttachment_SetFile) (*responses.FPDFAttachment_SetFile, error)
FPDFAttachment_SetFile set the file data of the given attachment, overwriting the existing file data if any. The creation date and checksum will be updated, while all other dictionary entries will be deleted. Note that only contents with a length smaller than INT_MAX is supported. Experimental API.
func (*PdfiumImplementation) FPDFAttachment_SetStringValue ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFAttachment_SetStringValue(request *requests.FPDFAttachment_SetStringValue) (*responses.FPDFAttachment_SetStringValue, error)
FPDFAttachment_SetStringValue sets the string value corresponding to the given key in the params dictionary of the embedded file attachment, overwriting the existing value if any. Experimental API.
func (*PdfiumImplementation) FPDFAvail_Create ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_Create(request *requests.FPDFAvail_Create) (*responses.FPDFAvail_Create, error)
FPDFAvail_Create creates a document availability provider. FPDFAvail_Destroy() must be called when done with the availability provider.
func (*PdfiumImplementation) FPDFAvail_Destroy ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_Destroy(request *requests.FPDFAvail_Destroy) (*responses.FPDFAvail_Destroy, error)
FPDFAvail_Destroy destroys the given document availability provider.
func (*PdfiumImplementation) FPDFAvail_GetDocument ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_GetDocument(request *requests.FPDFAvail_GetDocument) (*responses.FPDFAvail_GetDocument, error)
FPDFAvail_GetDocument returns the document from the availability provider. When FPDFAvail_IsDocAvail() returns TRUE, call FPDFAvail_GetDocument() to retrieve the document handle.
func (*PdfiumImplementation) FPDFAvail_GetFirstPageNum ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_GetFirstPageNum(request *requests.FPDFAvail_GetFirstPageNum) (*responses.FPDFAvail_GetFirstPageNum, error)
FPDFAvail_GetFirstPageNum returns the page number for the first available page in a linearized PDF. For most linearized PDFs, the first available page will be the first page, however, some PDFs might make another page the first available page. For non-linearized PDFs, this function will always return zero.
func (*PdfiumImplementation) FPDFAvail_IsDocAvail ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_IsDocAvail(request *requests.FPDFAvail_IsDocAvail) (*responses.FPDFAvail_IsDocAvail, error)
FPDFAvail_IsDocAvail checks if the document is ready for loading, if not, gets download hints. Applications should call this function whenever new data arrives, and process all the generated download hints, if any, until the function returns enums.PDF_FILEAVAIL_DATA_ERROR or enums.PDF_FILEAVAIL_DATA_AVAIL. if hints is nil, the function just check current document availability.
Once all data is available, call FPDFAvail_GetDocument() to get a document handle.
func (*PdfiumImplementation) FPDFAvail_IsFormAvail ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_IsFormAvail(request *requests.FPDFAvail_IsFormAvail) (*responses.FPDFAvail_IsFormAvail, error)
FPDFAvail_IsFormAvail This function can be called only after FPDFAvail_GetDocument() is called. Applications should call this function whenever new data arrives and process all the generated download hints, if any, until this function returns enums.PDF_FILEAVAIL_DATA_ERROR or enums.PDF_FILEAVAIL_DATA_AVAIL. Applications can then perform page loading. if hints is nil, the function just check current availability of specified page.
func (*PdfiumImplementation) FPDFAvail_IsLinearized ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_IsLinearized(request *requests.FPDFAvail_IsLinearized) (*responses.FPDFAvail_IsLinearized, error)
FPDFAvail_IsLinearized Check whether a document is a linearized PDF. FPDFAvail_IsLinearized() will return enums.PDF_FILEAVAIL_LINEARIZED or enums.PDF_FILEAVAIL_NOT_LINEARIZED when we have 1k of data. If the files size less than 1k, it returns enums.PDF_FILEAVAIL_LINEARIZATION_UNKNOWN as there is insufficient information to determine if the PDF is linearlized.
func (*PdfiumImplementation) FPDFAvail_IsPageAvail ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFAvail_IsPageAvail(request *requests.FPDFAvail_IsPageAvail) (*responses.FPDFAvail_IsPageAvail, error)
FPDFAvail_IsPageAvail checks if the given page index is ready for loading, if not, it will call the hints to fetch more data.
func (*PdfiumImplementation) FPDFBitmap_Create ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_Create(request *requests.FPDFBitmap_Create) (*responses.FPDFBitmap_Create, error)
FPDFBitmap_Create Create a device independent bitmap (FXDIB).
func (*PdfiumImplementation) FPDFBitmap_CreateEx ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_CreateEx(request *requests.FPDFBitmap_CreateEx) (*responses.FPDFBitmap_CreateEx, error)
FPDFBitmap_CreateEx Create a device independent bitmap (FXDIB) with an external buffer. Similar to FPDFBitmap_Create function, but allows for more formats and an external buffer is supported. The bitmap created by this function can be used in any place that a FPDF_BITMAP handle is required.
If an external buffer is used, then the application should destroy the buffer by itself. FPDFBitmap_Destroy function will not destroy the buffer.
Not supported on multi-threaded usage.
func (*PdfiumImplementation) FPDFBitmap_Destroy ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_Destroy(request *requests.FPDFBitmap_Destroy) (*responses.FPDFBitmap_Destroy, error)
FPDFBitmap_Destroy destroys a bitmap and release all related buffers. This function will not destroy any external buffers provided when the bitmap was created.
func (*PdfiumImplementation) FPDFBitmap_FillRect ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_FillRect(request *requests.FPDFBitmap_FillRect) (*responses.FPDFBitmap_FillRect, error)
FPDFBitmap_FillRect fills a rectangle in a bitmap. This function sets the color and (optionally) alpha value in the specified region of the bitmap.
NOTE: If the alpha channel is used, this function does NOT composite the background with the source color, instead the background will be replaced by the source color and the alpha.
If the alpha channel is not used, the alpha parameter is ignored.
func (*PdfiumImplementation) FPDFBitmap_GetBuffer ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_GetBuffer(request *requests.FPDFBitmap_GetBuffer) (*responses.FPDFBitmap_GetBuffer, error)
FPDFBitmap_GetBuffer returns the data buffer of a bitmap. The stride may be more than width * number of bytes per pixel
Applications can use this function to get the bitmap buffer pointer, then manipulate any color and/or alpha values for any pixels in the bitmap.
The data is in BGRA format. Where the A maybe unused if alpha was not specified.
func (*PdfiumImplementation) FPDFBitmap_GetFormat ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_GetFormat(request *requests.FPDFBitmap_GetFormat) (*responses.FPDFBitmap_GetFormat, error)
FPDFBitmap_GetFormat returns the format of the bitmap. Only formats supported by FPDFBitmap_CreateEx are supported by this function.
func (*PdfiumImplementation) FPDFBitmap_GetHeight ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_GetHeight(request *requests.FPDFBitmap_GetHeight) (*responses.FPDFBitmap_GetHeight, error)
FPDFBitmap_GetHeight returns the height of a bitmap.
func (*PdfiumImplementation) FPDFBitmap_GetStride ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_GetStride(request *requests.FPDFBitmap_GetStride) (*responses.FPDFBitmap_GetStride, error)
FPDFBitmap_GetStride returns the number of bytes for each line in the bitmap buffer.
func (*PdfiumImplementation) FPDFBitmap_GetWidth ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDFBitmap_GetWidth(request *requests.FPDFBitmap_GetWidth) (*responses.FPDFBitmap_GetWidth, error)
FPDFBitmap_GetWidth returns the width of a bitmap.
func (*PdfiumImplementation) FPDFBookmark_Find ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFBookmark_Find(request *requests.FPDFBookmark_Find) (*responses.FPDFBookmark_Find, error)
FPDFBookmark_Find finds a bookmark in the document, using the bookmark title.
func (*PdfiumImplementation) FPDFBookmark_GetAction ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFBookmark_GetAction(request *requests.FPDFBookmark_GetAction) (*responses.FPDFBookmark_GetAction, error)
FPDFBookmark_GetAction returns the action associated with a bookmark item. If this function returns a valid handle, it is valid as long as the bookmark is valid. If the returned action is nil, you should try FPDFBookmark_GetDest.
func (*PdfiumImplementation) FPDFBookmark_GetDest ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFBookmark_GetDest(request *requests.FPDFBookmark_GetDest) (*responses.FPDFBookmark_GetDest, error)
FPDFBookmark_GetDest returns the destination associated with a bookmark item. If the returned destination is nil, none is associated to the bookmark item.
func (*PdfiumImplementation) FPDFBookmark_GetFirstChild ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFBookmark_GetFirstChild(request *requests.FPDFBookmark_GetFirstChild) (*responses.FPDFBookmark_GetFirstChild, error)
FPDFBookmark_GetFirstChild returns the first child of a bookmark item, or the first top level bookmark item.
func (*PdfiumImplementation) FPDFBookmark_GetNextSibling ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFBookmark_GetNextSibling(request *requests.FPDFBookmark_GetNextSibling) (*responses.FPDFBookmark_GetNextSibling, error)
FPDFBookmark_GetNextSibling returns the next bookmark item at the same level. Note that the caller is responsible for handling circular bookmark references, as may arise from malformed documents.
func (*PdfiumImplementation) FPDFBookmark_GetTitle ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFBookmark_GetTitle(request *requests.FPDFBookmark_GetTitle) (*responses.FPDFBookmark_GetTitle, error)
FPDFBookmark_GetTitle returns the title of a bookmark.
func (*PdfiumImplementation) FPDFCatalog_IsTagged ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFCatalog_IsTagged(request *requests.FPDFCatalog_IsTagged) (*responses.FPDFCatalog_IsTagged, error)
FPDFCatalog_IsTagged determines if the given document represents a tagged PDF. For the definition of tagged PDF, See (see 10.7 "Tagged PDF" in PDF Reference 1.7). Experimental API.
func (*PdfiumImplementation) FPDFClipPath_CountPathSegments ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFClipPath_CountPathSegments(request *requests.FPDFClipPath_CountPathSegments) (*responses.FPDFClipPath_CountPathSegments, error)
FPDFClipPath_CountPathSegments returns the number of segments inside one path of the given clip path. Experimental API.
func (*PdfiumImplementation) FPDFClipPath_CountPaths ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFClipPath_CountPaths(request *requests.FPDFClipPath_CountPaths) (*responses.FPDFClipPath_CountPaths, error)
FPDFClipPath_CountPaths returns the number of paths inside the given clip path. Experimental API.
func (*PdfiumImplementation) FPDFClipPath_GetPathSegment ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFClipPath_GetPathSegment(request *requests.FPDFClipPath_GetPathSegment) (*responses.FPDFClipPath_GetPathSegment, error)
FPDFClipPath_GetPathSegment returns the segment in one specific path of the given clip path at index. Experimental API.
func (*PdfiumImplementation) FPDFDOC_ExitFormFillEnvironment ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFDOC_ExitFormFillEnvironment(request *requests.FPDFDOC_ExitFormFillEnvironment) (*responses.FPDFDOC_ExitFormFillEnvironment, error)
FPDFDOC_ExitFormFillEnvironment takes ownership of the handle and exits form fill environment.
func (*PdfiumImplementation) FPDFDOC_InitFormFillEnvironment ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFDOC_InitFormFillEnvironment(request *requests.FPDFDOC_InitFormFillEnvironment) (*responses.FPDFDOC_InitFormFillEnvironment, error)
FPDFDOC_InitFormFillEnvironment initializes form fill environment This function should be called before any form fill operation. Not supported on multi-threaded usage due to its bidirectional nature.
func (*PdfiumImplementation) FPDFDest_GetDestPageIndex ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDest_GetDestPageIndex(request *requests.FPDFDest_GetDestPageIndex) (*responses.FPDFDest_GetDestPageIndex, error)
FPDFDest_GetDestPageIndex returns the page index from destination data.
func (*PdfiumImplementation) FPDFDest_GetLocationInPage ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDest_GetLocationInPage(request *requests.FPDFDest_GetLocationInPage) (*responses.FPDFDest_GetLocationInPage, error)
FPDFDest_GetLocationInPage returns the (x, y, zoom) location of dest in the destination page, if the destination is in [page /XYZ x y zoom] syntax.
func (*PdfiumImplementation) FPDFDest_GetView ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDest_GetView(request *requests.FPDFDest_GetView) (*responses.FPDFDest_GetView, error)
FPDFDest_GetView returns the view (fit type) for a given dest. Experimental API.
func (*PdfiumImplementation) FPDFDoc_AddAttachment ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_AddAttachment(request *requests.FPDFDoc_AddAttachment) (*responses.FPDFDoc_AddAttachment, error)
FPDFDoc_AddAttachment adds an embedded file with the given name in the given document. If the name is empty, or if the name is the name of an existing embedded file in the document, or if the document's embedded file name tree is too deep (i.e. the document has too many embedded files already), then a new attachment will not be added. Experimental API.
func (*PdfiumImplementation) FPDFDoc_CloseJavaScriptAction ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_CloseJavaScriptAction(request *requests.FPDFDoc_CloseJavaScriptAction) (*responses.FPDFDoc_CloseJavaScriptAction, error)
FPDFDoc_CloseJavaScriptAction closes a loaded FPDF_JAVASCRIPT_ACTION object. Experimental API.
func (*PdfiumImplementation) FPDFDoc_DeleteAttachment ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_DeleteAttachment(request *requests.FPDFDoc_DeleteAttachment) (*responses.FPDFDoc_DeleteAttachment, error)
FPDFDoc_DeleteAttachment deletes the embedded attachment at the given index in the given document. Note that this does not remove the attachment data from the PDF file; it simply removes the file's entry in the embedded files name tree so that it does not appear in the attachment list. This behavior may change in the future. Experimental API.
func (*PdfiumImplementation) FPDFDoc_GetAttachment ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_GetAttachment(request *requests.FPDFDoc_GetAttachment) (*responses.FPDFDoc_GetAttachment, error)
FPDFDoc_GetAttachment returns the embedded attachment at the given index in the given document. Note that the returned attachment handle is only valid while the document is open. Experimental API.
func (*PdfiumImplementation) FPDFDoc_GetAttachmentCount ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_GetAttachmentCount(request *requests.FPDFDoc_GetAttachmentCount) (*responses.FPDFDoc_GetAttachmentCount, error)
FPDFDoc_GetAttachmentCount returns the number of embedded files in the given document. Experimental API.
func (*PdfiumImplementation) FPDFDoc_GetJavaScriptAction ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_GetJavaScriptAction(request *requests.FPDFDoc_GetJavaScriptAction) (*responses.FPDFDoc_GetJavaScriptAction, error)
FPDFDoc_GetJavaScriptAction returns the JavaScript action at the given index in the given document. Experimental API.
func (*PdfiumImplementation) FPDFDoc_GetJavaScriptActionCount ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_GetJavaScriptActionCount(request *requests.FPDFDoc_GetJavaScriptActionCount) (*responses.FPDFDoc_GetJavaScriptActionCount, error)
FPDFDoc_GetJavaScriptActionCount returns the number of JavaScript actions in the given document. Experimental API.
func (*PdfiumImplementation) FPDFDoc_GetPageMode ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFDoc_GetPageMode(request *requests.FPDFDoc_GetPageMode) (*responses.FPDFDoc_GetPageMode, error)
FPDFDoc_GetPageMode returns the document's page mode, which describes how the document should be displayed when opened.
func (*PdfiumImplementation) FPDFFont_Close ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_Close(request *requests.FPDFFont_Close) (*responses.FPDFFont_Close, error)
FPDFFont_Close closes a loaded PDF font
func (*PdfiumImplementation) FPDFFont_GetAscent ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetAscent(request *requests.FPDFFont_GetAscent) (*responses.FPDFFont_GetAscent, error)
FPDFFont_GetAscent returns ascent distance of a font. Ascent is the maximum distance in points above the baseline reached by the glyphs of the font. One point is 1/72 inch (around 0.3528 mm). Experimental API.
func (*PdfiumImplementation) FPDFFont_GetDescent ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetDescent(request *requests.FPDFFont_GetDescent) (*responses.FPDFFont_GetDescent, error)
FPDFFont_GetDescent returns the descent distance of a font. Descent is the maximum distance in points below the baseline reached by the glyphs of the font. One point is 1/72 inch (around 0.3528 mm). Experimental API.
func (*PdfiumImplementation) FPDFFont_GetFlags ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetFlags(request *requests.FPDFFont_GetFlags) (*responses.FPDFFont_GetFlags, error)
FPDFFont_GetFlags returns the descriptor flags of a font. Returns the bit flags specifying various characteristics of the font as defined in ISO 32000-1:2008, table 123. Experimental API.
func (*PdfiumImplementation) FPDFFont_GetFontName ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetFontName(request *requests.FPDFFont_GetFontName) (*responses.FPDFFont_GetFontName, error)
FPDFFont_GetFontName returns the font name of a font. Experimental API.
func (*PdfiumImplementation) FPDFFont_GetGlyphPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetGlyphPath(request *requests.FPDFFont_GetGlyphPath) (*responses.FPDFFont_GetGlyphPath, error)
FPDFFont_GetGlyphPath returns the glyphpath describing how to draw a font glyph. Experimental API.
func (*PdfiumImplementation) FPDFFont_GetGlyphWidth ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetGlyphWidth(request *requests.FPDFFont_GetGlyphWidth) (*responses.FPDFFont_GetGlyphWidth, error)
FPDFFont_GetGlyphWidth returns the width of a glyph in a font. Glyph width is the distance from the end of the prior glyph to the next glyph. This will be the vertical distance for vertical writing. Experimental API.
func (*PdfiumImplementation) FPDFFont_GetItalicAngle ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetItalicAngle(request *requests.FPDFFont_GetItalicAngle) (*responses.FPDFFont_GetItalicAngle, error)
FPDFFont_GetItalicAngle returns the italic angle of a font. The italic angle of a font is defined as degrees counterclockwise from vertical. For a font that slopes to the right, this will be negative. Experimental API.
func (*PdfiumImplementation) FPDFFont_GetWeight ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFont_GetWeight(request *requests.FPDFFont_GetWeight) (*responses.FPDFFont_GetWeight, error)
FPDFFont_GetWeight returns the font weight of a font. Typical values are 400 (normal) and 700 (bold). Experimental API.
func (*PdfiumImplementation) FPDFFormObj_CountObjects ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFormObj_CountObjects(request *requests.FPDFFormObj_CountObjects) (*responses.FPDFFormObj_CountObjects, error)
FPDFFormObj_CountObjects returns the number of page objects inside the given form object.
func (*PdfiumImplementation) FPDFFormObj_GetObject ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFFormObj_GetObject(request *requests.FPDFFormObj_GetObject) (*responses.FPDFFormObj_GetObject, error)
FPDFFormObj_GetObject returns the page object in the given form object at the given index.
func (*PdfiumImplementation) FPDFGlyphPath_CountGlyphSegments ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFGlyphPath_CountGlyphSegments(request *requests.FPDFGlyphPath_CountGlyphSegments) (*responses.FPDFGlyphPath_CountGlyphSegments, error)
FPDFGlyphPath_CountGlyphSegments returns the number of segments inside the given glyphpath. Experimental API.
func (*PdfiumImplementation) FPDFGlyphPath_GetGlyphPathSegment ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFGlyphPath_GetGlyphPathSegment(request *requests.FPDFGlyphPath_GetGlyphPathSegment) (*responses.FPDFGlyphPath_GetGlyphPathSegment, error)
FPDFGlyphPath_GetGlyphPathSegment returns the segment in glyphpath at the given index. Experimental API.
func (*PdfiumImplementation) FPDFImageObj_GetBitmap ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetBitmap(request *requests.FPDFImageObj_GetBitmap) (*responses.FPDFImageObj_GetBitmap, error)
FPDFImageObj_GetBitmap returns a bitmap rasterization of the given image object. FPDFImageObj_GetBitmap() only operates on the image object and does not take the associated image mask into account. It also ignores the matrix for the image object. The returned bitmap will be owned by the caller, and FPDFBitmap_Destroy() must be called on the returned bitmap when it is no longer needed.
func (*PdfiumImplementation) FPDFImageObj_GetImageDataDecoded ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetImageDataDecoded(request *requests.FPDFImageObj_GetImageDataDecoded) (*responses.FPDFImageObj_GetImageDataDecoded, error)
FPDFImageObj_GetImageDataDecoded returns the decoded image data of the image object. The decoded data is the uncompressed image data, i.e. the raw image data after having all filters applied.
func (*PdfiumImplementation) FPDFImageObj_GetImageDataRaw ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetImageDataRaw(request *requests.FPDFImageObj_GetImageDataRaw) (*responses.FPDFImageObj_GetImageDataRaw, error)
FPDFImageObj_GetImageDataRaw returns the raw image data of the image object. The raw data is the image data as stored in the PDF without applying any filters.
func (*PdfiumImplementation) FPDFImageObj_GetImageFilter ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetImageFilter(request *requests.FPDFImageObj_GetImageFilter) (*responses.FPDFImageObj_GetImageFilter, error)
FPDFImageObj_GetImageFilter returns the filter at index of the image object's list of filters. Note that the filters need to be applied in order, i.e. the first filter should be applied first, then the second, etc.
func (*PdfiumImplementation) FPDFImageObj_GetImageFilterCount ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetImageFilterCount(request *requests.FPDFImageObj_GetImageFilterCount) (*responses.FPDFImageObj_GetImageFilterCount, error)
FPDFImageObj_GetImageFilterCount returns the number of filters (i.e. decoders) of the image in image object.
func (*PdfiumImplementation) FPDFImageObj_GetImageMetadata ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetImageMetadata(request *requests.FPDFImageObj_GetImageMetadata) (*responses.FPDFImageObj_GetImageMetadata, error)
FPDFImageObj_GetImageMetadata returns the image metadata of the image object, including dimension, DPI, bits per pixel, and colorspace. If the image object is not an image object or if it does not have an image, then the return value will be false. Otherwise, failure to retrieve any specific parameter would result in its value being 0.
func (*PdfiumImplementation) FPDFImageObj_GetRenderedBitmap ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_GetRenderedBitmap(request *requests.FPDFImageObj_GetRenderedBitmap) (*responses.FPDFImageObj_GetRenderedBitmap, error)
FPDFImageObj_GetRenderedBitmap returns a bitmap rasterization of the given image object that takes the image mask and image matrix into account. To render correctly, the caller must provide the document associated with the image object. If there is a page associated with the image object the caller should provide that as well. The returned bitmap will be owned by the caller, and FPDFBitmap_Destroy() must be called on the returned bitmap when it is no longer needed. Experimental API.
func (*PdfiumImplementation) FPDFImageObj_LoadJpegFile ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_LoadJpegFile(request *requests.FPDFImageObj_LoadJpegFile) (*responses.FPDFImageObj_LoadJpegFile, error)
FPDFImageObj_LoadJpegFile loads an image from a JPEG image file and then set it into the given image object. The image object might already have an associated image, which is shared and cached by the loaded pages. In that case, we need to clear the cached image for all the loaded pages. Pass the pages and page count to this API to clear the image cache. If the image is not previously shared, nil is a valid pages value.
func (*PdfiumImplementation) FPDFImageObj_LoadJpegFileInline ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_LoadJpegFileInline(request *requests.FPDFImageObj_LoadJpegFileInline) (*responses.FPDFImageObj_LoadJpegFileInline, error)
FPDFImageObj_LoadJpegFileInline The image object might already have an associated image, which is shared and cached by the loaded pages. In that case, we need to clear the cached image for all the loaded pages. Pass the pages and page count to this API to clear the image cache. If the image is not previously shared, nil is a valid pages value. This function loads the JPEG image inline, so the image content is copied to the file. This allows the file access and its associated data to be deleted after this function returns.
func (*PdfiumImplementation) FPDFImageObj_SetBitmap ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_SetBitmap(request *requests.FPDFImageObj_SetBitmap) (*responses.FPDFImageObj_SetBitmap, error)
FPDFImageObj_SetBitmap sets the given bitmap to the given image object.
func (*PdfiumImplementation) FPDFImageObj_SetMatrix ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFImageObj_SetMatrix(request *requests.FPDFImageObj_SetMatrix) (*responses.FPDFImageObj_SetMatrix, error)
FPDFImageObj_SetMatrix sets the transform matrix of the given image object. The matrix is composed as:
|a c e| |b d f|
and can be used to scale, rotate, shear and translate the image object. Will be deprecated once FPDFPageObj_SetMatrix() is stable.
func (*PdfiumImplementation) FPDFJavaScriptAction_GetName ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFJavaScriptAction_GetName(request *requests.FPDFJavaScriptAction_GetName) (*responses.FPDFJavaScriptAction_GetName, error)
FPDFJavaScriptAction_GetName returns the name from the javascript handle. Experimental API.
func (*PdfiumImplementation) FPDFJavaScriptAction_GetScript ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFJavaScriptAction_GetScript(request *requests.FPDFJavaScriptAction_GetScript) (*responses.FPDFJavaScriptAction_GetScript, error)
FPDFJavaScriptAction_GetScript returns the script from the javascript handle Experimental API.
func (*PdfiumImplementation) FPDFLink_CloseWebLinks ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_CloseWebLinks(request *requests.FPDFLink_CloseWebLinks) (*responses.FPDFLink_CloseWebLinks, error)
FPDFLink_CloseWebLinks releases resources used by weblink feature.
func (*PdfiumImplementation) FPDFLink_CountQuadPoints ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_CountQuadPoints(request *requests.FPDFLink_CountQuadPoints) (*responses.FPDFLink_CountQuadPoints, error)
FPDFLink_CountQuadPoints returns the count of quadrilateral points to the link.
func (*PdfiumImplementation) FPDFLink_CountRects ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_CountRects(request *requests.FPDFLink_CountRects) (*responses.FPDFLink_CountRects, error)
FPDFLink_CountRects returns the count of rectangular areas for the link.
func (*PdfiumImplementation) FPDFLink_CountWebLinks ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_CountWebLinks(request *requests.FPDFLink_CountWebLinks) (*responses.FPDFLink_CountWebLinks, error)
FPDFLink_CountWebLinks returns the count of detected web links.
func (*PdfiumImplementation) FPDFLink_Enumerate ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_Enumerate(request *requests.FPDFLink_Enumerate) (*responses.FPDFLink_Enumerate, error)
FPDFLink_Enumerate Enumerates all the link annotations in a page.
func (*PdfiumImplementation) FPDFLink_GetAction ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetAction(request *requests.FPDFLink_GetAction) (*responses.FPDFLink_GetAction, error)
FPDFLink_GetAction returns the action info for a link If this function returns a valid handle, it is valid as long as the link is valid.
func (*PdfiumImplementation) FPDFLink_GetAnnot ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetAnnot(request *requests.FPDFLink_GetAnnot) (*responses.FPDFLink_GetAnnot, error)
FPDFLink_GetAnnot returns a FPDF_ANNOTATION object for a link. Experimental API.
func (*PdfiumImplementation) FPDFLink_GetAnnotRect ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetAnnotRect(request *requests.FPDFLink_GetAnnotRect) (*responses.FPDFLink_GetAnnotRect, error)
FPDFLink_GetAnnotRect returns the count of quadrilateral points to the link.
func (*PdfiumImplementation) FPDFLink_GetDest ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetDest(request *requests.FPDFLink_GetDest) (*responses.FPDFLink_GetDest, error)
FPDFLink_GetDest returns the destination info for a link.
func (*PdfiumImplementation) FPDFLink_GetLinkAtPoint ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetLinkAtPoint(request *requests.FPDFLink_GetLinkAtPoint) (*responses.FPDFLink_GetLinkAtPoint, error)
FPDFLink_GetLinkAtPoint finds a link at a point on a page. You can convert coordinates from screen coordinates to page coordinates using FPDF_DeviceToPage().
func (*PdfiumImplementation) FPDFLink_GetLinkZOrderAtPoint ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetLinkZOrderAtPoint(request *requests.FPDFLink_GetLinkZOrderAtPoint) (*responses.FPDFLink_GetLinkZOrderAtPoint, error)
FPDFLink_GetLinkZOrderAtPoint finds the Z-order of link at a point on a page. You can convert coordinates from screen coordinates to page coordinates using FPDF_DeviceToPage().
func (*PdfiumImplementation) FPDFLink_GetQuadPoints ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetQuadPoints(request *requests.FPDFLink_GetQuadPoints) (*responses.FPDFLink_GetQuadPoints, error)
FPDFLink_GetQuadPoints returns the quadrilateral points for the specified quad index in the link.
func (*PdfiumImplementation) FPDFLink_GetRect ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetRect(request *requests.FPDFLink_GetRect) (*responses.FPDFLink_GetRect, error)
FPDFLink_GetRect returns the boundaries of a rectangle for a link.
func (*PdfiumImplementation) FPDFLink_GetTextRange ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetTextRange(request *requests.FPDFLink_GetTextRange) (*responses.FPDFLink_GetTextRange, error)
FPDFLink_GetTextRange returns the start char index and char count for a link. Experimental API.
func (*PdfiumImplementation) FPDFLink_GetURL ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_GetURL(request *requests.FPDFLink_GetURL) (*responses.FPDFLink_GetURL, error)
FPDFLink_GetURL returns the URL information for a detected web link.
func (*PdfiumImplementation) FPDFLink_LoadWebLinks ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFLink_LoadWebLinks(request *requests.FPDFLink_LoadWebLinks) (*responses.FPDFLink_LoadWebLinks, error)
FPDFLink_LoadWebLinks prepares information about weblinks in a page. Weblinks are those links implicitly embedded in PDF pages. PDF also has a type of annotation called "link" (FPDFTEXT doesn't deal with that kind of link). FPDFTEXT weblink feature is useful for automatically detecting links in the page contents. For example, things like "https://www.example.com" will be detected, so applications can allow user to click on those characters to activate the link, even the PDF doesn't come with link annotations.
FPDFLink_CloseWebLinks must be called to release resources.
func (*PdfiumImplementation) FPDFPageObjMark_CountParams ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_CountParams(request *requests.FPDFPageObjMark_CountParams) (*responses.FPDFPageObjMark_CountParams, error)
FPDFPageObjMark_CountParams returns the number of key/value pair parameters in the given mark. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_GetName ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_GetName(request *requests.FPDFPageObjMark_GetName) (*responses.FPDFPageObjMark_GetName, error)
FPDFPageObjMark_GetName returns the name of a content mark. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_GetParamBlobValue ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_GetParamBlobValue(request *requests.FPDFPageObjMark_GetParamBlobValue) (*responses.FPDFPageObjMark_GetParamBlobValue, error)
FPDFPageObjMark_GetParamBlobValue returns the value of a blob property in a content mark by key. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_GetParamIntValue ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_GetParamIntValue(request *requests.FPDFPageObjMark_GetParamIntValue) (*responses.FPDFPageObjMark_GetParamIntValue, error)
FPDFPageObjMark_GetParamIntValue returns the value of a number property in a content mark by key as int. FPDFPageObjMark_GetParamValueType() should have returned FPDF_OBJECT_NUMBER for this property. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_GetParamKey ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_GetParamKey(request *requests.FPDFPageObjMark_GetParamKey) (*responses.FPDFPageObjMark_GetParamKey, error)
FPDFPageObjMark_GetParamKey returns the key of a property in a content mark. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_GetParamStringValue ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_GetParamStringValue(request *requests.FPDFPageObjMark_GetParamStringValue) (*responses.FPDFPageObjMark_GetParamStringValue, error)
FPDFPageObjMark_GetParamStringValue returns the value of a string property in a content mark by key. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_GetParamValueType ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_GetParamValueType(request *requests.FPDFPageObjMark_GetParamValueType) (*responses.FPDFPageObjMark_GetParamValueType, error)
FPDFPageObjMark_GetParamValueType returns the type of the value of a property in a content mark by key. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_RemoveParam ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_RemoveParam(request *requests.FPDFPageObjMark_RemoveParam) (*responses.FPDFPageObjMark_RemoveParam, error)
FPDFPageObjMark_RemoveParam removes a property from a content mark by key. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_SetBlobParam ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_SetBlobParam(request *requests.FPDFPageObjMark_SetBlobParam) (*responses.FPDFPageObjMark_SetBlobParam, error)
FPDFPageObjMark_SetBlobParam sets the value of a blob property in a content mark by key. If a parameter with the given key exists, its value is set to the given value. Otherwise, it is added as a new parameter. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_SetIntParam ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_SetIntParam(request *requests.FPDFPageObjMark_SetIntParam) (*responses.FPDFPageObjMark_SetIntParam, error)
FPDFPageObjMark_SetIntParam sets the value of an int property in a content mark by key. If a parameter with the given key exists, its value is set to the given value. Otherwise, it is added as a new parameter. Experimental API.
func (*PdfiumImplementation) FPDFPageObjMark_SetStringParam ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObjMark_SetStringParam(request *requests.FPDFPageObjMark_SetStringParam) (*responses.FPDFPageObjMark_SetStringParam, error)
FPDFPageObjMark_SetStringParam sets the value of a string property in a content mark by key. If a parameter with the given key exists, its value is set to the given value. Otherwise, it is added as a new parameter. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_AddMark ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_AddMark(request *requests.FPDFPageObj_AddMark) (*responses.FPDFPageObj_AddMark, error)
FPDFPageObj_AddMark adds a new content mark to the given page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_CountMarks ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_CountMarks(request *requests.FPDFPageObj_CountMarks) (*responses.FPDFPageObj_CountMarks, error)
FPDFPageObj_CountMarks returns the count of content marks in a page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_CreateNewPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_CreateNewPath(request *requests.FPDFPageObj_CreateNewPath) (*responses.FPDFPageObj_CreateNewPath, error)
FPDFPageObj_CreateNewPath creates a new path object at an initial position.
func (*PdfiumImplementation) FPDFPageObj_CreateNewRect ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_CreateNewRect(request *requests.FPDFPageObj_CreateNewRect) (*responses.FPDFPageObj_CreateNewRect, error)
FPDFPageObj_CreateNewRect creates a closed path consisting of a rectangle.
func (*PdfiumImplementation) FPDFPageObj_CreateTextObj ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_CreateTextObj(request *requests.FPDFPageObj_CreateTextObj) (*responses.FPDFPageObj_CreateTextObj, error)
FPDFPageObj_CreateTextObj creates a new text object using a loaded font.
func (*PdfiumImplementation) FPDFPageObj_Destroy ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_Destroy(request *requests.FPDFPageObj_Destroy) (*responses.FPDFPageObj_Destroy, error)
FPDFPageObj_Destroy destroys the page object by releasing its resources. The page object must have been created by FPDFPageObj_CreateNew{Path|Rect}() or FPDFPageObj_New{Text|Image}Obj(). This function must be called on newly-created objects if they are not added to a page through FPDFPage_InsertObject() or to an annotation through FPDFAnnot_AppendObject().
func (*PdfiumImplementation) FPDFPageObj_GetBounds ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetBounds(request *requests.FPDFPageObj_GetBounds) (*responses.FPDFPageObj_GetBounds, error)
FPDFPageObj_GetBounds returns the bounding box of the given page object.
func (*PdfiumImplementation) FPDFPageObj_GetClipPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetClipPath(request *requests.FPDFPageObj_GetClipPath) (*responses.FPDFPageObj_GetClipPath, error)
FPDFPageObj_GetClipPath Get the clip path of the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_GetDashArray ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetDashArray(request *requests.FPDFPageObj_GetDashArray) (*responses.FPDFPageObj_GetDashArray, error)
FPDFPageObj_GetDashArray returns the line dash array of the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_GetDashCount ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetDashCount(request *requests.FPDFPageObj_GetDashCount) (*responses.FPDFPageObj_GetDashCount, error)
FPDFPageObj_GetDashCount returns the line dash array size of the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_GetDashPhase ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetDashPhase(request *requests.FPDFPageObj_GetDashPhase) (*responses.FPDFPageObj_GetDashPhase, error)
FPDFPageObj_GetDashPhase returns the line dash phase of the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_GetFillColor ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetFillColor(request *requests.FPDFPageObj_GetFillColor) (*responses.FPDFPageObj_GetFillColor, error)
FPDFPageObj_GetFillColor returns the fill RGBA of a page object
func (*PdfiumImplementation) FPDFPageObj_GetLineCap ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetLineCap(request *requests.FPDFPageObj_GetLineCap) (*responses.FPDFPageObj_GetLineCap, error)
FPDFPageObj_GetLineCap returns the line cap of the page object.
func (*PdfiumImplementation) FPDFPageObj_GetLineJoin ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetLineJoin(request *requests.FPDFPageObj_GetLineJoin) (*responses.FPDFPageObj_GetLineJoin, error)
FPDFPageObj_GetLineJoin returns the line join of the page object.
func (*PdfiumImplementation) FPDFPageObj_GetMark ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetMark(request *requests.FPDFPageObj_GetMark) (*responses.FPDFPageObj_GetMark, error)
FPDFPageObj_GetMark returns the content mark of a page object at the given index. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_GetMatrix ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetMatrix(request *requests.FPDFPageObj_GetMatrix) (*responses.FPDFPageObj_GetMatrix, error)
FPDFPageObj_GetMatrix returns the transform matrix of a page object. The matrix is composed as:
|a c e| |b d f|
and can be used to scale, rotate, shear and translate the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_GetStrokeColor ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetStrokeColor(request *requests.FPDFPageObj_GetStrokeColor) (*responses.FPDFPageObj_GetStrokeColor, error)
FPDFPageObj_GetStrokeColor returns the stroke RGBA of a page object
func (*PdfiumImplementation) FPDFPageObj_GetStrokeWidth ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetStrokeWidth(request *requests.FPDFPageObj_GetStrokeWidth) (*responses.FPDFPageObj_GetStrokeWidth, error)
FPDFPageObj_GetStrokeWidth returns the stroke width of a page object.
func (*PdfiumImplementation) FPDFPageObj_GetType ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_GetType(request *requests.FPDFPageObj_GetType) (*responses.FPDFPageObj_GetType, error)
FPDFPageObj_GetType returns the type of the given page object.
func (*PdfiumImplementation) FPDFPageObj_HasTransparency ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_HasTransparency(request *requests.FPDFPageObj_HasTransparency) (*responses.FPDFPageObj_HasTransparency, error)
FPDFPageObj_HasTransparency returns whether the given page object contains transparency.
func (*PdfiumImplementation) FPDFPageObj_NewImageObj ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_NewImageObj(request *requests.FPDFPageObj_NewImageObj) (*responses.FPDFPageObj_NewImageObj, error)
FPDFPageObj_NewImageObj creates a new image object.
func (*PdfiumImplementation) FPDFPageObj_NewTextObj ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_NewTextObj(request *requests.FPDFPageObj_NewTextObj) (*responses.FPDFPageObj_NewTextObj, error)
FPDFPageObj_NewTextObj creates a new text object using one of the standard PDF fonts.
func (*PdfiumImplementation) FPDFPageObj_RemoveMark ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_RemoveMark(request *requests.FPDFPageObj_RemoveMark) (*responses.FPDFPageObj_RemoveMark, error)
FPDFPageObj_RemoveMark removes the given content mark from the given page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_SetBlendMode ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetBlendMode(request *requests.FPDFPageObj_SetBlendMode) (*responses.FPDFPageObj_SetBlendMode, error)
FPDFPageObj_SetBlendMode sets the blend mode of the page object.
func (*PdfiumImplementation) FPDFPageObj_SetDashArray ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetDashArray(request *requests.FPDFPageObj_SetDashArray) (*responses.FPDFPageObj_SetDashArray, error)
FPDFPageObj_SetDashArray sets the line dash array of the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_SetDashPhase ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetDashPhase(request *requests.FPDFPageObj_SetDashPhase) (*responses.FPDFPageObj_SetDashPhase, error)
FPDFPageObj_SetDashPhase sets the line dash phase of the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_SetFillColor ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetFillColor(request *requests.FPDFPageObj_SetFillColor) (*responses.FPDFPageObj_SetFillColor, error)
FPDFPageObj_SetFillColor sets the fill RGBA of a page object
func (*PdfiumImplementation) FPDFPageObj_SetLineCap ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetLineCap(request *requests.FPDFPageObj_SetLineCap) (*responses.FPDFPageObj_SetLineCap, error)
FPDFPageObj_SetLineCap sets the line cap of the page object.
func (*PdfiumImplementation) FPDFPageObj_SetLineJoin ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetLineJoin(request *requests.FPDFPageObj_SetLineJoin) (*responses.FPDFPageObj_SetLineJoin, error)
FPDFPageObj_SetLineJoin sets the line join of the page object.
func (*PdfiumImplementation) FPDFPageObj_SetMatrix ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetMatrix(request *requests.FPDFPageObj_SetMatrix) (*responses.FPDFPageObj_SetMatrix, error)
FPDFPageObj_SetMatrix sets the transform matrix on a page object. The matrix is composed as:
|a c e| |b d f|
and can be used to scale, rotate, shear and translate the page object. Experimental API.
func (*PdfiumImplementation) FPDFPageObj_SetStrokeColor ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetStrokeColor(request *requests.FPDFPageObj_SetStrokeColor) (*responses.FPDFPageObj_SetStrokeColor, error)
FPDFPageObj_SetStrokeColor sets the stroke RGBA of a page object.
func (*PdfiumImplementation) FPDFPageObj_SetStrokeWidth ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_SetStrokeWidth(request *requests.FPDFPageObj_SetStrokeWidth) (*responses.FPDFPageObj_SetStrokeWidth, error)
FPDFPageObj_SetStrokeWidth sets the stroke width of a page object
func (*PdfiumImplementation) FPDFPageObj_Transform ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_Transform(request *requests.FPDFPageObj_Transform) (*responses.FPDFPageObj_Transform, error)
FPDFPageObj_Transform transforms the page object by the given matrix. The matrix is composed as:
|a c e| |b d f|
and can be used to scale, rotate, shear and translate the page object.
func (*PdfiumImplementation) FPDFPageObj_TransformClipPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPageObj_TransformClipPath(request *requests.FPDFPageObj_TransformClipPath) (*responses.FPDFPageObj_TransformClipPath, error)
FPDFPageObj_TransformClipPath transform (scale, rotate, shear, move) the clip path of page object.
func (*PdfiumImplementation) FPDFPage_CloseAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_CloseAnnot(request *requests.FPDFPage_CloseAnnot) (*responses.FPDFPage_CloseAnnot, error)
FPDFPage_CloseAnnot closes an annotation. Must be called when the annotation returned by FPDFPage_CreateAnnot() or FPDFPage_GetAnnot() is no longer needed. This function does not remove the annotation from the document. Experimental API.
func (*PdfiumImplementation) FPDFPage_CountObjects ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_CountObjects(request *requests.FPDFPage_CountObjects) (*responses.FPDFPage_CountObjects, error)
FPDFPage_CountObjects returns the number of page objects inside the given page.
func (*PdfiumImplementation) FPDFPage_CreateAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_CreateAnnot(request *requests.FPDFPage_CreateAnnot) (*responses.FPDFPage_CreateAnnot, error)
FPDFPage_CreateAnnot creates an annotation in the given page of the given subtype. If the specified subtype is illegal or unsupported, then a new annotation will not be created. Must call FPDFPage_CloseAnnot() when the annotation returned by this function is no longer needed. Experimental API.
func (*PdfiumImplementation) FPDFPage_Delete ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_Delete(request *requests.FPDFPage_Delete) (*responses.FPDFPage_Delete, error)
FPDFPage_Delete deletes the page at the given index.
func (*PdfiumImplementation) FPDFPage_Flatten ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_Flatten(request *requests.FPDFPage_Flatten) (*responses.FPDFPage_Flatten, error)
FPDFPage_Flatten makes annotations and form fields become part of the page contents itself.
func (*PdfiumImplementation) FPDFPage_FormFieldZOrderAtPoint ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_FormFieldZOrderAtPoint(request *requests.FPDFPage_FormFieldZOrderAtPoint) (*responses.FPDFPage_FormFieldZOrderAtPoint, error)
FPDFPage_FormFieldZOrderAtPoint returns the form field z-order by point.
func (*PdfiumImplementation) FPDFPage_GenerateContent ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GenerateContent(request *requests.FPDFPage_GenerateContent) (*responses.FPDFPage_GenerateContent, error)
FPDFPage_GenerateContent generates the contents of the page.
func (*PdfiumImplementation) FPDFPage_GetAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_GetAnnot(request *requests.FPDFPage_GetAnnot) (*responses.FPDFPage_GetAnnot, error)
FPDFPage_GetAnnot returns annotation at the given page and index. Must call FPDFPage_CloseAnnot() when the annotation returned by this function is no longer needed. Experimental API.
func (*PdfiumImplementation) FPDFPage_GetAnnotCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_GetAnnotCount(request *requests.FPDFPage_GetAnnotCount) (*responses.FPDFPage_GetAnnotCount, error)
FPDFPage_GetAnnotCount returns the number of annotations in a given page. Experimental API.
func (*PdfiumImplementation) FPDFPage_GetAnnotIndex ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_GetAnnotIndex(request *requests.FPDFPage_GetAnnotIndex) (*responses.FPDFPage_GetAnnotIndex, error)
FPDFPage_GetAnnotIndex returns the index of the given annotation in the given page. This is the opposite of FPDFPage_GetAnnot(). Experimental API.
func (*PdfiumImplementation) FPDFPage_GetArtBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GetArtBox(request *requests.FPDFPage_GetArtBox) (*responses.FPDFPage_GetArtBox, error)
FPDFPage_GetArtBox gets the "ArtBox" entry from the page dictionary.
func (*PdfiumImplementation) FPDFPage_GetBleedBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GetBleedBox(request *requests.FPDFPage_GetBleedBox) (*responses.FPDFPage_GetBleedBox, error)
FPDFPage_GetBleedBox gets the "BleedBox" entry from the page dictionary.
func (*PdfiumImplementation) FPDFPage_GetCropBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GetCropBox(request *requests.FPDFPage_GetCropBox) (*responses.FPDFPage_GetCropBox, error)
FPDFPage_GetCropBox gets the "CropBox" entry from the page dictionary.
func (*PdfiumImplementation) FPDFPage_GetDecodedThumbnailData ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_GetDecodedThumbnailData(request *requests.FPDFPage_GetDecodedThumbnailData) (*responses.FPDFPage_GetDecodedThumbnailData, error)
FPDFPage_GetDecodedThumbnailData returns the decoded data from the thumbnail of the given page if it exists. Experimental API.
func (*PdfiumImplementation) FPDFPage_GetMediaBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GetMediaBox(request *requests.FPDFPage_GetMediaBox) (*responses.FPDFPage_GetMediaBox, error)
FPDFPage_GetMediaBox gets the "MediaBox" entry from the page dictionary
func (*PdfiumImplementation) FPDFPage_GetObject ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GetObject(request *requests.FPDFPage_GetObject) (*responses.FPDFPage_GetObject, error)
FPDFPage_GetObject returns the object at the given index.
func (*PdfiumImplementation) FPDFPage_GetRawThumbnailData ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_GetRawThumbnailData(request *requests.FPDFPage_GetRawThumbnailData) (*responses.FPDFPage_GetRawThumbnailData, error)
FPDFPage_GetRawThumbnailData returns the raw data from the thumbnail of the given page if it exists. Experimental API.
func (*PdfiumImplementation) FPDFPage_GetRotation ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_GetRotation(request *requests.FPDFPage_GetRotation) (*responses.FPDFPage_GetRotation, error)
FPDFPage_GetRotation returns the page rotation.
func (*PdfiumImplementation) FPDFPage_GetThumbnailAsBitmap ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_GetThumbnailAsBitmap(request *requests.FPDFPage_GetThumbnailAsBitmap) (*responses.FPDFPage_GetThumbnailAsBitmap, error)
FPDFPage_GetThumbnailAsBitmap returns the thumbnail of the given page as a FPDF_BITMAP. Experimental API.
func (*PdfiumImplementation) FPDFPage_GetTrimBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_GetTrimBox(request *requests.FPDFPage_GetTrimBox) (*responses.FPDFPage_GetTrimBox, error)
FPDFPage_GetTrimBox gets the "TrimBox" entry from the page dictionary.
func (*PdfiumImplementation) FPDFPage_HasFormFieldAtPoint ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_HasFormFieldAtPoint(request *requests.FPDFPage_HasFormFieldAtPoint) (*responses.FPDFPage_HasFormFieldAtPoint, error)
FPDFPage_HasFormFieldAtPoint returns the form field type by point.
func (*PdfiumImplementation) FPDFPage_HasTransparency ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_HasTransparency(request *requests.FPDFPage_HasTransparency) (*responses.FPDFPage_HasTransparency, error)
FPDFPage_HasTransparency returns whether the page has transparency.
func (*PdfiumImplementation) FPDFPage_InsertClipPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_InsertClipPath(request *requests.FPDFPage_InsertClipPath) (*responses.FPDFPage_InsertClipPath, error)
FPDFPage_InsertClipPath Clip the page content, the page content that outside the clipping region become invisible.
func (*PdfiumImplementation) FPDFPage_InsertObject ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_InsertObject(request *requests.FPDFPage_InsertObject) (*responses.FPDFPage_InsertObject, error)
FPDFPage_InsertObject inserts the given object into a page.
func (*PdfiumImplementation) FPDFPage_New ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_New(request *requests.FPDFPage_New) (*responses.FPDFPage_New, error)
FPDFPage_New creates a new PDF page. The page should be closed with FPDF_ClosePage() when finished as with any other page in the document.
func (*PdfiumImplementation) FPDFPage_RemoveAnnot ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDFPage_RemoveAnnot(request *requests.FPDFPage_RemoveAnnot) (*responses.FPDFPage_RemoveAnnot, error)
FPDFPage_RemoveAnnot removes the annotation in the given page at the given index. Experimental API.
func (*PdfiumImplementation) FPDFPage_RemoveObject ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_RemoveObject(request *requests.FPDFPage_RemoveObject) (*responses.FPDFPage_RemoveObject, error)
FPDFPage_RemoveObject removes an object from a page. Ownership is transferred to the caller. Call FPDFPageObj_Destroy() to free it. Experimental API.
func (*PdfiumImplementation) FPDFPage_SetArtBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_SetArtBox(request *requests.FPDFPage_SetArtBox) (*responses.FPDFPage_SetArtBox, error)
FPDFPage_SetArtBox sets the "ArtBox" entry to the page dictionary.
func (*PdfiumImplementation) FPDFPage_SetBleedBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_SetBleedBox(request *requests.FPDFPage_SetBleedBox) (*responses.FPDFPage_SetBleedBox, error)
FPDFPage_SetBleedBox sets the "BleedBox" entry to the page dictionary.
func (*PdfiumImplementation) FPDFPage_SetCropBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_SetCropBox(request *requests.FPDFPage_SetCropBox) (*responses.FPDFPage_SetCropBox, error)
FPDFPage_SetCropBox sets the "CropBox" entry to the page dictionary.
func (*PdfiumImplementation) FPDFPage_SetMediaBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_SetMediaBox(request *requests.FPDFPage_SetMediaBox) (*responses.FPDFPage_SetMediaBox, error)
FPDFPage_SetMediaBox sets the "MediaBox" entry to the page dictionary.
func (*PdfiumImplementation) FPDFPage_SetRotation ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFPage_SetRotation(request *requests.FPDFPage_SetRotation) (*responses.FPDFPage_SetRotation, error)
FPDFPage_SetRotation sets the page rotation for a given page.
func (*PdfiumImplementation) FPDFPage_SetTrimBox ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_SetTrimBox(request *requests.FPDFPage_SetTrimBox) (*responses.FPDFPage_SetTrimBox, error)
FPDFPage_SetTrimBox sets the "TrimBox" entry to the page dictionary.
func (*PdfiumImplementation) FPDFPage_TransFormWithClip ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_TransFormWithClip(request *requests.FPDFPage_TransFormWithClip) (*responses.FPDFPage_TransFormWithClip, error)
FPDFPage_TransFormWithClip applies the transforms to the page.
func (*PdfiumImplementation) FPDFPage_TransformAnnots ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPage_TransformAnnots(request *requests.FPDFPage_TransformAnnots) (*responses.FPDFPage_TransformAnnots, error)
FPDFPage_TransformAnnots transforms all annotations in the given page. The matrix is composed as:
|a c e| |b d f|
and can be used to scale, rotate, shear and translate the page annotations.
func (*PdfiumImplementation) FPDFPathSegment_GetClose ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPathSegment_GetClose(request *requests.FPDFPathSegment_GetClose) (*responses.FPDFPathSegment_GetClose, error)
FPDFPathSegment_GetClose returns whether the segment closes the current subpath of a given path.
func (*PdfiumImplementation) FPDFPathSegment_GetPoint ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPathSegment_GetPoint(request *requests.FPDFPathSegment_GetPoint) (*responses.FPDFPathSegment_GetPoint, error)
FPDFPathSegment_GetPoint returns the coordinates of the given segment.
func (*PdfiumImplementation) FPDFPathSegment_GetType ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPathSegment_GetType(request *requests.FPDFPathSegment_GetType) (*responses.FPDFPathSegment_GetType, error)
FPDFPathSegment_GetType returns the type of the given segment.
func (*PdfiumImplementation) FPDFPath_BezierTo ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_BezierTo(request *requests.FPDFPath_BezierTo) (*responses.FPDFPath_BezierTo, error)
FPDFPath_BezierTo adds a cubic Bezier curve to the given path, starting at the current point.
func (*PdfiumImplementation) FPDFPath_Close ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_Close(request *requests.FPDFPath_Close) (*responses.FPDFPath_Close, error)
FPDFPath_Close closes the current subpath of a given path.
func (*PdfiumImplementation) FPDFPath_CountSegments ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_CountSegments(request *requests.FPDFPath_CountSegments) (*responses.FPDFPath_CountSegments, error)
FPDFPath_CountSegments returns the number of segments inside the given path. A segment is a command, created by e.g. FPDFPath_MoveTo(), FPDFPath_LineTo() or FPDFPath_BezierTo().
func (*PdfiumImplementation) FPDFPath_GetDrawMode ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_GetDrawMode(request *requests.FPDFPath_GetDrawMode) (*responses.FPDFPath_GetDrawMode, error)
FPDFPath_GetDrawMode returns the drawing mode of a path.
func (*PdfiumImplementation) FPDFPath_GetPathSegment ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_GetPathSegment(request *requests.FPDFPath_GetPathSegment) (*responses.FPDFPath_GetPathSegment, error)
FPDFPath_GetPathSegment returns the segment in the given path at the given index.
func (*PdfiumImplementation) FPDFPath_LineTo ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_LineTo(request *requests.FPDFPath_LineTo) (*responses.FPDFPath_LineTo, error)
FPDFPath_LineTo adds a line between the current point and a new point in the path.
func (*PdfiumImplementation) FPDFPath_MoveTo ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_MoveTo(request *requests.FPDFPath_MoveTo) (*responses.FPDFPath_MoveTo, error)
FPDFPath_MoveTo moves a path's current point. Note that no line will be created between the previous current point and the new one.
func (*PdfiumImplementation) FPDFPath_SetDrawMode ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFPath_SetDrawMode(request *requests.FPDFPath_SetDrawMode) (*responses.FPDFPath_SetDrawMode, error)
FPDFPath_SetDrawMode sets the drawing mode of a path.
func (*PdfiumImplementation) FPDFSignatureObj_GetByteRange ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFSignatureObj_GetByteRange(request *requests.FPDFSignatureObj_GetByteRange) (*responses.FPDFSignatureObj_GetByteRange, error)
FPDFSignatureObj_GetByteRange returns the byte range of a signature object. Experimental API.
func (*PdfiumImplementation) FPDFSignatureObj_GetContents ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFSignatureObj_GetContents(request *requests.FPDFSignatureObj_GetContents) (*responses.FPDFSignatureObj_GetContents, error)
FPDFSignatureObj_GetContents returns the contents of a signature object. Experimental API.
func (*PdfiumImplementation) FPDFSignatureObj_GetDocMDPPermission ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFSignatureObj_GetDocMDPPermission(request *requests.FPDFSignatureObj_GetDocMDPPermission) (*responses.FPDFSignatureObj_GetDocMDPPermission, error)
FPDFSignatureObj_GetDocMDPPermission returns the DocMDP permission of a signature object. Experimental API.
func (*PdfiumImplementation) FPDFSignatureObj_GetReason ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFSignatureObj_GetReason(request *requests.FPDFSignatureObj_GetReason) (*responses.FPDFSignatureObj_GetReason, error)
FPDFSignatureObj_GetReason returns the reason (comment) of the signature object. Experimental API.
func (*PdfiumImplementation) FPDFSignatureObj_GetSubFilter ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFSignatureObj_GetSubFilter(request *requests.FPDFSignatureObj_GetSubFilter) (*responses.FPDFSignatureObj_GetSubFilter, error)
FPDFSignatureObj_GetSubFilter returns the encoding of the value of a signature object. Experimental API.
func (*PdfiumImplementation) FPDFSignatureObj_GetTime ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFSignatureObj_GetTime(request *requests.FPDFSignatureObj_GetTime) (*responses.FPDFSignatureObj_GetTime, error)
FPDFSignatureObj_GetTime returns the time of signing of a signature object. Experimental API.
func (*PdfiumImplementation) FPDFTextObj_GetFont ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFTextObj_GetFont(request *requests.FPDFTextObj_GetFont) (*responses.FPDFTextObj_GetFont, error)
FPDFTextObj_GetFont returns the font of a text object. Experimental API.
func (*PdfiumImplementation) FPDFTextObj_GetFontSize ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFTextObj_GetFontSize(request *requests.FPDFTextObj_GetFontSize) (*responses.FPDFTextObj_GetFontSize, error)
FPDFTextObj_GetFontSize returns the font size of a text object.
func (*PdfiumImplementation) FPDFTextObj_GetText ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFTextObj_GetText(request *requests.FPDFTextObj_GetText) (*responses.FPDFTextObj_GetText, error)
FPDFTextObj_GetText returns the text of a text object.
func (*PdfiumImplementation) FPDFTextObj_GetTextRenderMode ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFTextObj_GetTextRenderMode(request *requests.FPDFTextObj_GetTextRenderMode) (*responses.FPDFTextObj_GetTextRenderMode, error)
FPDFTextObj_GetTextRenderMode returns the text rendering mode of a text object.
func (*PdfiumImplementation) FPDFTextObj_SetTextRenderMode ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFTextObj_SetTextRenderMode(request *requests.FPDFTextObj_SetTextRenderMode) (*responses.FPDFTextObj_SetTextRenderMode, error)
FPDFTextObj_SetTextRenderMode sets the text rendering mode of a text object. Experimental API.
func (*PdfiumImplementation) FPDFText_ClosePage ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_ClosePage(request *requests.FPDFText_ClosePage) (*responses.FPDFText_ClosePage, error)
FPDFText_ClosePage Release all resources allocated for a text page information structure.
func (*PdfiumImplementation) FPDFText_CountChars ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_CountChars(request *requests.FPDFText_CountChars) (*responses.FPDFText_CountChars, error)
FPDFText_CountChars returns the number of characters in a page. Characters in a page form a "stream", inside the stream, each character has an index. We will use the index parameters in many of FPDFTEXT functions. The first character in the page has an index value of zero.
func (*PdfiumImplementation) FPDFText_CountRects ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_CountRects(request *requests.FPDFText_CountRects) (*responses.FPDFText_CountRects, error)
FPDFText_CountRects returns the count of rectangular areas occupied by a segment of text, and caches the result for subsequent FPDFText_GetRect() calls. This function, along with FPDFText_GetRect can be used by applications to detect the position on the page for a text segment, so proper areas can be highlighted. The FPDFText_* functions will automatically merge small character boxes into bigger one if those characters are on the same line and use same font settings.
func (*PdfiumImplementation) FPDFText_FindClose ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_FindClose(request *requests.FPDFText_FindClose) (*responses.FPDFText_FindClose, error)
FPDFText_FindClose releases a search context.
func (*PdfiumImplementation) FPDFText_FindNext ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_FindNext(request *requests.FPDFText_FindNext) (*responses.FPDFText_FindNext, error)
FPDFText_FindNext searches in the direction from page start to end.
func (*PdfiumImplementation) FPDFText_FindPrev ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_FindPrev(request *requests.FPDFText_FindPrev) (*responses.FPDFText_FindPrev, error)
FPDFText_FindPrev searches in the direction from page end to start.
func (*PdfiumImplementation) FPDFText_FindStart ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_FindStart(request *requests.FPDFText_FindStart) (*responses.FPDFText_FindStart, error)
FPDFText_FindStart returns a handle to search a page.
func (*PdfiumImplementation) FPDFText_GetBoundedText ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetBoundedText(request *requests.FPDFText_GetBoundedText) (*responses.FPDFText_GetBoundedText, error)
FPDFText_GetBoundedText extract unicode text within a rectangular boundary on the page.
func (*PdfiumImplementation) FPDFText_GetCharAngle ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetCharAngle(request *requests.FPDFText_GetCharAngle) (*responses.FPDFText_GetCharAngle, error)
FPDFText_GetCharAngle returns the character rotation angle. Experimental API.
func (*PdfiumImplementation) FPDFText_GetCharBox ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetCharBox(request *requests.FPDFText_GetCharBox) (*responses.FPDFText_GetCharBox, error)
FPDFText_GetCharBox returns the bounding box of a particular character. All positions are measured in PDF "user space".
func (*PdfiumImplementation) FPDFText_GetCharIndexAtPos ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetCharIndexAtPos(request *requests.FPDFText_GetCharIndexAtPos) (*responses.FPDFText_GetCharIndexAtPos, error)
FPDFText_GetCharIndexAtPos returns the index of a character at or nearby a certain position on the page.
func (*PdfiumImplementation) FPDFText_GetCharIndexFromTextIndex ¶ added in v0.6.0
func (p *PdfiumImplementation) FPDFText_GetCharIndexFromTextIndex(request *requests.FPDFText_GetCharIndexFromTextIndex) (*responses.FPDFText_GetCharIndexFromTextIndex, error)
FPDFText_GetCharIndexFromTextIndex returns the character index in the text page internal character list. Where the character index is an index of the text returned from FPDFText_GetText().
func (*PdfiumImplementation) FPDFText_GetCharOrigin ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetCharOrigin(request *requests.FPDFText_GetCharOrigin) (*responses.FPDFText_GetCharOrigin, error)
FPDFText_GetCharOrigin returns origin of a particular character. All positions are measured in PDF "user space".
func (*PdfiumImplementation) FPDFText_GetFillColor ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetFillColor(request *requests.FPDFText_GetFillColor) (*responses.FPDFText_GetFillColor, error)
FPDFText_GetFillColor returns the fill color of a particular character. Experimental API.
func (*PdfiumImplementation) FPDFText_GetFontInfo ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetFontInfo(request *requests.FPDFText_GetFontInfo) (*responses.FPDFText_GetFontInfo, error)
FPDFText_GetFontInfo returns the font name and flags of a particular character. Experimental API.
func (*PdfiumImplementation) FPDFText_GetFontSize ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetFontSize(request *requests.FPDFText_GetFontSize) (*responses.FPDFText_GetFontSize, error)
FPDFText_GetFontSize returns the font size of a particular character.
func (*PdfiumImplementation) FPDFText_GetFontWeight ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetFontWeight(request *requests.FPDFText_GetFontWeight) (*responses.FPDFText_GetFontWeight, error)
FPDFText_GetFontWeight returns the font weight of a particular character. Experimental API.
func (*PdfiumImplementation) FPDFText_GetLooseCharBox ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetLooseCharBox(request *requests.FPDFText_GetLooseCharBox) (*responses.FPDFText_GetLooseCharBox, error)
FPDFText_GetLooseCharBox returns a "loose" bounding box of a particular character, i.e., covering the entire glyph bounds, without taking the actual glyph shape into account. All positions are measured in PDF "user space". Experimental API.
func (*PdfiumImplementation) FPDFText_GetMatrix ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetMatrix(request *requests.FPDFText_GetMatrix) (*responses.FPDFText_GetMatrix, error)
FPDFText_GetMatrix returns the effective transformation matrix for a particular character. All positions are measured in PDF "user space". Experimental API.
func (*PdfiumImplementation) FPDFText_GetRect ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetRect(request *requests.FPDFText_GetRect) (*responses.FPDFText_GetRect, error)
FPDFText_GetRect returns a rectangular area from the result generated by FPDFText_CountRects Note: this method only works if you called FPDFText_CountRects first.
func (*PdfiumImplementation) FPDFText_GetSchCount ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetSchCount(request *requests.FPDFText_GetSchCount) (*responses.FPDFText_GetSchCount, error)
FPDFText_GetSchCount returns the number of matched characters in the search result.
func (*PdfiumImplementation) FPDFText_GetSchResultIndex ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetSchResultIndex(request *requests.FPDFText_GetSchResultIndex) (*responses.FPDFText_GetSchResultIndex, error)
FPDFText_GetSchResultIndex returns the starting character index of the search result.
func (*PdfiumImplementation) FPDFText_GetStrokeColor ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetStrokeColor(request *requests.FPDFText_GetStrokeColor) (*responses.FPDFText_GetStrokeColor, error)
FPDFText_GetStrokeColor returns the stroke color of a particular character. Experimental API.
func (*PdfiumImplementation) FPDFText_GetText ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetText(request *requests.FPDFText_GetText) (*responses.FPDFText_GetText, error)
FPDFText_GetText extracts unicode text string from the page.
func (*PdfiumImplementation) FPDFText_GetTextIndexFromCharIndex ¶ added in v0.6.0
func (p *PdfiumImplementation) FPDFText_GetTextIndexFromCharIndex(request *requests.FPDFText_GetTextIndexFromCharIndex) (*responses.FPDFText_GetTextIndexFromCharIndex, error)
FPDFText_GetTextIndexFromCharIndex returns the text index in the text page internal character list. Where the text index is an index of the character in the internal character list.
func (*PdfiumImplementation) FPDFText_GetTextRenderMode ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetTextRenderMode(request *requests.FPDFText_GetTextRenderMode) (*responses.FPDFText_GetTextRenderMode, error)
FPDFText_GetTextRenderMode returns the text rendering mode of character. Experimental API.
func (*PdfiumImplementation) FPDFText_GetUnicode ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_GetUnicode(request *requests.FPDFText_GetUnicode) (*responses.FPDFText_GetUnicode, error)
FPDFText_GetUnicode returns the unicode of a character in a page.
func (*PdfiumImplementation) FPDFText_LoadFont ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFText_LoadFont(request *requests.FPDFText_LoadFont) (*responses.FPDFText_LoadFont, error)
FPDFText_LoadFont returns a font object loaded from a stream of data. The font is loaded into the document. The loaded font can be closed using FPDFFont_Close.
func (*PdfiumImplementation) FPDFText_LoadPage ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDFText_LoadPage(request *requests.FPDFText_LoadPage) (*responses.FPDFText_LoadPage, error)
FPDFText_LoadPage returns a handle to the text page information structure. Application must call FPDFText_ClosePage to release the text page
func (*PdfiumImplementation) FPDFText_LoadStandardFont ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFText_LoadStandardFont(request *requests.FPDFText_LoadStandardFont) (*responses.FPDFText_LoadStandardFont, error)
FPDFText_LoadStandardFont loads one of the standard 14 fonts per PDF spec 1.7 page 416. The preferred way of using font style is using a dash to separate the name from the style, for example 'Helvetica-BoldItalic'. The loaded font can be closed using FPDFFont_Close. Experimental API.
func (*PdfiumImplementation) FPDFText_SetCharcodes ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFText_SetCharcodes(request *requests.FPDFText_SetCharcodes) (*responses.FPDFText_SetCharcodes, error)
FPDFText_SetCharcodes sets the text using charcodes for a text object. If it had text, it will be replaced.
func (*PdfiumImplementation) FPDFText_SetText ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDFText_SetText(request *requests.FPDFText_SetText) (*responses.FPDFText_SetText, error)
FPDFText_SetText sets the text for a text object. If it had text, it will be replaced.
func (*PdfiumImplementation) FPDF_CloseDocument ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_CloseDocument(request *requests.FPDF_CloseDocument) (*responses.FPDF_CloseDocument, error)
FPDF_CloseDocument closes the references, releases the resources.
func (*PdfiumImplementation) FPDF_ClosePage ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_ClosePage(request *requests.FPDF_ClosePage) (*responses.FPDF_ClosePage, error)
FPDF_ClosePage unloads a page by reference.
func (*PdfiumImplementation) FPDF_CloseXObject ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_CloseXObject(request *requests.FPDF_CloseXObject) (*responses.FPDF_CloseXObject, error)
FPDF_CloseXObject closes an FPDF_XOBJECT handle created by FPDF_NewXObjectFromPage(). Experimental API.
func (*PdfiumImplementation) FPDF_CopyViewerPreferences ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_CopyViewerPreferences(request *requests.FPDF_CopyViewerPreferences) (*responses.FPDF_CopyViewerPreferences, error)
FPDF_CopyViewerPreferences copies the viewer preferences from one PDF document to another
func (*PdfiumImplementation) FPDF_CountNamedDests ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_CountNamedDests(request *requests.FPDF_CountNamedDests) (*responses.FPDF_CountNamedDests, error)
FPDF_CountNamedDests returns the count of named destinations in the PDF document.
func (*PdfiumImplementation) FPDF_CreateClipPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_CreateClipPath(request *requests.FPDF_CreateClipPath) (*responses.FPDF_CreateClipPath, error)
FPDF_CreateClipPath creates a new clip path, with a rectangle inserted.
func (*PdfiumImplementation) FPDF_CreateNewDocument ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_CreateNewDocument(request *requests.FPDF_CreateNewDocument) (*responses.FPDF_CreateNewDocument, error)
FPDF_CreateNewDocument returns a new document.
func (*PdfiumImplementation) FPDF_DestroyClipPath ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_DestroyClipPath(request *requests.FPDF_DestroyClipPath) (*responses.FPDF_DestroyClipPath, error)
FPDF_DestroyClipPath destroys the clip path.
func (*PdfiumImplementation) FPDF_DeviceToPage ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_DeviceToPage(request *requests.FPDF_DeviceToPage) (*responses.FPDF_DeviceToPage, error)
FPDF_DeviceToPage converts the screen coordinates of a point to page coordinates. The page coordinate system has its origin at the left-bottom corner of the page, with the X-axis on the bottom going to the right, and the Y-axis on the left side going up.
NOTE: this coordinate system can be altered when you zoom, scroll, or rotate a page, however, a point on the page should always have the same coordinate values in the page coordinate system.
The device coordinate system is device dependent. For screen device, its origin is at the left-top corner of the window. However this origin can be altered by the Windows coordinate transformation utilities.
You must make sure the start_x, start_y, size_x, size_y and rotate parameters have exactly same values as you used in the FPDF_RenderPage() function call.
func (*PdfiumImplementation) FPDF_DocumentHasValidCrossReferenceTable ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_DocumentHasValidCrossReferenceTable(request *requests.FPDF_DocumentHasValidCrossReferenceTable) (*responses.FPDF_DocumentHasValidCrossReferenceTable, error)
FPDF_DocumentHasValidCrossReferenceTable returns whether the document's cross reference table is valid or not. Experimental API.
func (*PdfiumImplementation) FPDF_FFLDraw ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_FFLDraw(request *requests.FPDF_FFLDraw) (*responses.FPDF_FFLDraw, error)
FPDF_FFLDraw renders FormFields and popup window on a page to a device independent bitmap. This function is designed to render annotations that are user-interactive, which are widget annotations (for FormFields) and popup annotations. With the FPDF_ANNOT flag, this function will render a popup annotation when users mouse-hover on a non-widget annotation. Regardless of FPDF_ANNOT flag, this function will always render widget annotations for FormFields. In order to implement the FormFill functions, implementation should call this function after rendering functions, such as FPDF_RenderPageBitmap() or FPDF_RenderPageBitmap_Start(), have finished rendering the page contents.
func (*PdfiumImplementation) FPDF_GetDocPermissions ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetDocPermissions(request *requests.FPDF_GetDocPermissions) (*responses.FPDF_GetDocPermissions, error)
FPDF_GetDocPermissions returns the permissions of the PDF.
func (*PdfiumImplementation) FPDF_GetFileIdentifier ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetFileIdentifier(request *requests.FPDF_GetFileIdentifier) (*responses.FPDF_GetFileIdentifier, error)
FPDF_GetFileIdentifier Get the file identifier defined in the trailer of a document. Experimental API.
func (*PdfiumImplementation) FPDF_GetFileVersion ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetFileVersion(request *requests.FPDF_GetFileVersion) (*responses.FPDF_GetFileVersion, error)
FPDF_GetFileVersion returns the version of the PDF file.
func (*PdfiumImplementation) FPDF_GetFormType ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_GetFormType(request *requests.FPDF_GetFormType) (*responses.FPDF_GetFormType, error)
FPDF_GetFormType returns the type of form contained in the PDF document. If document is nil, then the return value is FORMTYPE_NONE. Experimental API
func (*PdfiumImplementation) FPDF_GetLastError ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetLastError(request *requests.FPDF_GetLastError) (*responses.FPDF_GetLastError, error)
FPDF_GetLastError returns the last error generated by PDFium.
func (*PdfiumImplementation) FPDF_GetMetaText ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetMetaText(request *requests.FPDF_GetMetaText) (*responses.FPDF_GetMetaText, error)
FPDF_GetMetaText returns the requested metadata.
func (*PdfiumImplementation) FPDF_GetNamedDest ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetNamedDest(request *requests.FPDF_GetNamedDest) (*responses.FPDF_GetNamedDest, error)
FPDF_GetNamedDest returns the named destination by index.
func (*PdfiumImplementation) FPDF_GetNamedDestByName ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetNamedDestByName(request *requests.FPDF_GetNamedDestByName) (*responses.FPDF_GetNamedDestByName, error)
FPDF_GetNamedDestByName returns the destination handle for the given name.
func (*PdfiumImplementation) FPDF_GetPageAAction ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetPageAAction(request *requests.FPDF_GetPageAAction) (*responses.FPDF_GetPageAAction, error)
FPDF_GetPageAAction returns an additional-action from page. Experimental API
func (*PdfiumImplementation) FPDF_GetPageBoundingBox ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetPageBoundingBox(request *requests.FPDF_GetPageBoundingBox) (*responses.FPDF_GetPageBoundingBox, error)
FPDF_GetPageBoundingBox returns the bounding box of the page. This is the intersection between its media box and its crop box. Experimental API.
func (*PdfiumImplementation) FPDF_GetPageCount ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetPageCount(request *requests.FPDF_GetPageCount) (*responses.FPDF_GetPageCount, error)
FPDF_GetPageCount counts the amount of pages.
func (*PdfiumImplementation) FPDF_GetPageHeight ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetPageHeight(request *requests.FPDF_GetPageHeight) (*responses.FPDF_GetPageHeight, error)
FPDF_GetPageHeight returns the height of a page.
func (*PdfiumImplementation) FPDF_GetPageHeightF ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetPageHeightF(request *requests.FPDF_GetPageHeightF) (*responses.FPDF_GetPageHeightF, error)
FPDF_GetPageHeightF returns the page height in float32. Experimental API.
func (*PdfiumImplementation) FPDF_GetPageLabel ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetPageLabel(request *requests.FPDF_GetPageLabel) (*responses.FPDF_GetPageLabel, error)
FPDF_GetPageLabel returns the label for the given page.
func (*PdfiumImplementation) FPDF_GetPageSizeByIndex ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetPageSizeByIndex(request *requests.FPDF_GetPageSizeByIndex) (*responses.FPDF_GetPageSizeByIndex, error)
FPDF_GetPageSizeByIndex returns the size of a page by the page index.
func (*PdfiumImplementation) FPDF_GetPageSizeByIndexF ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetPageSizeByIndexF(request *requests.FPDF_GetPageSizeByIndexF) (*responses.FPDF_GetPageSizeByIndexF, error)
FPDF_GetPageSizeByIndexF returns the size of the page at the given index. Prefer FPDF_GetPageSizeByIndexF(). This will be deprecated in the future. Experimental API.
func (*PdfiumImplementation) FPDF_GetPageWidth ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetPageWidth(request *requests.FPDF_GetPageWidth) (*responses.FPDF_GetPageWidth, error)
FPDF_GetPageWidth returns the width of a page.
func (*PdfiumImplementation) FPDF_GetPageWidthF ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetPageWidthF(request *requests.FPDF_GetPageWidthF) (*responses.FPDF_GetPageWidthF, error)
FPDF_GetPageWidthF returns the page width in float32. Experimental API.
func (*PdfiumImplementation) FPDF_GetSecurityHandlerRevision ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetSecurityHandlerRevision(request *requests.FPDF_GetSecurityHandlerRevision) (*responses.FPDF_GetSecurityHandlerRevision, error)
FPDF_GetSecurityHandlerRevision returns the revision number of security handlers of the file.
func (*PdfiumImplementation) FPDF_GetSignatureCount ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetSignatureCount(request *requests.FPDF_GetSignatureCount) (*responses.FPDF_GetSignatureCount, error)
FPDF_GetSignatureCount returns the total number of signatures in the document. Experimental API.
func (*PdfiumImplementation) FPDF_GetSignatureObject ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_GetSignatureObject(request *requests.FPDF_GetSignatureObject) (*responses.FPDF_GetSignatureObject, error)
FPDF_GetSignatureObject returns the Nth signature of the document. Experimental API.
func (*PdfiumImplementation) FPDF_GetTrailerEnds ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetTrailerEnds(request *requests.FPDF_GetTrailerEnds) (*responses.FPDF_GetTrailerEnds, error)
FPDF_GetTrailerEnds returns the byte offsets of trailer ends. Experimental API.
func (*PdfiumImplementation) FPDF_GetXFAPacketContent ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetXFAPacketContent(request *requests.FPDF_GetXFAPacketContent) (*responses.FPDF_GetXFAPacketContent, error)
FPDF_GetXFAPacketContent returns the content of a packet in the XFA array. Experimental API.
func (*PdfiumImplementation) FPDF_GetXFAPacketCount ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetXFAPacketCount(request *requests.FPDF_GetXFAPacketCount) (*responses.FPDF_GetXFAPacketCount, error)
FPDF_GetXFAPacketCount returns the number of valid packets in the XFA entry. Experimental API.
func (*PdfiumImplementation) FPDF_GetXFAPacketName ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_GetXFAPacketName(request *requests.FPDF_GetXFAPacketName) (*responses.FPDF_GetXFAPacketName, error)
FPDF_GetXFAPacketName returns the name of a packet in the XFA array. Experimental API.
func (*PdfiumImplementation) FPDF_ImportNPagesToOne ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_ImportNPagesToOne(request *requests.FPDF_ImportNPagesToOne) (*responses.FPDF_ImportNPagesToOne, error)
FPDF_ImportNPagesToOne creates a new document from source document. The pages of source document will be combined to provide NumPagesOnXAxis x NumPagesOnYAxis pages per page of the output document. Experimental API.
func (*PdfiumImplementation) FPDF_ImportPages ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_ImportPages(request *requests.FPDF_ImportPages) (*responses.FPDF_ImportPages, error)
FPDF_ImportPages imports some pages from one PDF document to another one.
func (*PdfiumImplementation) FPDF_ImportPagesByIndex ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_ImportPagesByIndex(request *requests.FPDF_ImportPagesByIndex) (*responses.FPDF_ImportPagesByIndex, error)
FPDF_ImportPagesByIndex imports pages to a FPDF_DOCUMENT. Experimental API.
func (*PdfiumImplementation) FPDF_LoadCustomDocument ¶ added in v0.6.0
func (p *PdfiumImplementation) FPDF_LoadCustomDocument(request *requests.FPDF_LoadCustomDocument) (*responses.FPDF_LoadCustomDocument, error)
FPDF_LoadCustomDocument loads a PDF document from a custom access descriptor. This is implemented as an io.ReadSeeker in go-pdfium. This is only really efficient for single threaded usage, the multi-threaded usage will just load the file in memory because it can't transfer readers over gRPC. The single-threaded usage will actually efficiently walk over the PDF as it's being used by PDFium. Loaded document can be closed by FPDF_CloseDocument(). If this function fails, you can use FPDF_GetLastError() to retrieve the reason why it failed.
func (*PdfiumImplementation) FPDF_LoadDocument ¶ added in v0.6.0
func (p *PdfiumImplementation) FPDF_LoadDocument(request *requests.FPDF_LoadDocument) (*responses.FPDF_LoadDocument, error)
FPDF_LoadDocument opens and load a PDF document from a file path. Loaded document can be closed by FPDF_CloseDocument(). If this function fails, you can use FPDF_GetLastError() to retrieve the reason why it failed.
func (*PdfiumImplementation) FPDF_LoadMemDocument ¶ added in v0.6.0
func (p *PdfiumImplementation) FPDF_LoadMemDocument(request *requests.FPDF_LoadMemDocument) (*responses.FPDF_LoadMemDocument, error)
FPDF_LoadMemDocument opens and load a PDF document from memory. Loaded document can be closed by FPDF_CloseDocument(). If this function fails, you can use FPDF_GetLastError() to retrieve the reason why it failed.
func (*PdfiumImplementation) FPDF_LoadMemDocument64 ¶ added in v0.6.0
func (p *PdfiumImplementation) FPDF_LoadMemDocument64(request *requests.FPDF_LoadMemDocument64) (*responses.FPDF_LoadMemDocument64, error)
FPDF_LoadMemDocument64 opens and load a PDF document from memory. Loaded document can be closed by FPDF_CloseDocument(). If this function fails, you can use FPDF_GetLastError() to retrieve the reason why it failed. Experimental API.
func (*PdfiumImplementation) FPDF_LoadPage ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_LoadPage(request *requests.FPDF_LoadPage) (*responses.FPDF_LoadPage, error)
FPDF_LoadPage loads a page and returns a reference.
func (*PdfiumImplementation) FPDF_LoadXFA ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_LoadXFA(request *requests.FPDF_LoadXFA) (*responses.FPDF_LoadXFA, error)
FPDF_LoadXFA load XFA fields of the document if it consists of XFA fields.
func (*PdfiumImplementation) FPDF_NewFormObjectFromXObject ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_NewFormObjectFromXObject(request *requests.FPDF_NewFormObjectFromXObject) (*responses.FPDF_NewFormObjectFromXObject, error)
FPDF_NewFormObjectFromXObject creates a new form object from an FPDF_XOBJECT object. Experimental API.
func (*PdfiumImplementation) FPDF_NewXObjectFromPage ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_NewXObjectFromPage(request *requests.FPDF_NewXObjectFromPage) (*responses.FPDF_NewXObjectFromPage, error)
FPDF_NewXObjectFromPage creates a template to generate form xobjects from the source document's page at the given index, for use in the destination document. Experimental API.
func (*PdfiumImplementation) FPDF_PageToDevice ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_PageToDevice(request *requests.FPDF_PageToDevice) (*responses.FPDF_PageToDevice, error)
FPDF_PageToDevice converts the page coordinates of a point to screen coordinates. See comments for FPDF_DeviceToPage().
func (*PdfiumImplementation) FPDF_RemoveFormFieldHighlight ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_RemoveFormFieldHighlight(request *requests.FPDF_RemoveFormFieldHighlight) (*responses.FPDF_RemoveFormFieldHighlight, error)
FPDF_RemoveFormFieldHighlight removes the form field highlight color in the document.
func (*PdfiumImplementation) FPDF_RenderPage ¶ added in v0.8.0
func (p *PdfiumImplementation) FPDF_RenderPage(request *requests.FPDF_RenderPage) (*responses.FPDF_RenderPage, error)
FPDF_RenderPage renders contents of a page to a device (screen, bitmap, or printer). This feature does not work on multi-threaded usage as you will need to give a device handle. Windows only!
func (*PdfiumImplementation) FPDF_RenderPageBitmap ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_RenderPageBitmap(request *requests.FPDF_RenderPageBitmap) (*responses.FPDF_RenderPageBitmap, error)
FPDF_RenderPageBitmap renders contents of a page to a device independent bitmap.
func (*PdfiumImplementation) FPDF_RenderPageBitmapWithColorScheme_Start ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_RenderPageBitmapWithColorScheme_Start(request *requests.FPDF_RenderPageBitmapWithColorScheme_Start) (*responses.FPDF_RenderPageBitmapWithColorScheme_Start, error)
FPDF_RenderPageBitmapWithColorScheme_Start starts to render page contents to a device independent bitmap progressively with a specified color scheme for the content. Not supported on multi-threaded usage. Experimental API.
func (*PdfiumImplementation) FPDF_RenderPageBitmapWithMatrix ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_RenderPageBitmapWithMatrix(request *requests.FPDF_RenderPageBitmapWithMatrix) (*responses.FPDF_RenderPageBitmapWithMatrix, error)
FPDF_RenderPageBitmapWithMatrix renders contents of a page to a device independent bitmap.
func (*PdfiumImplementation) FPDF_RenderPageBitmap_Start ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_RenderPageBitmap_Start(request *requests.FPDF_RenderPageBitmap_Start) (*responses.FPDF_RenderPageBitmap_Start, error)
FPDF_RenderPageBitmap_Start starts to render page contents to a device independent bitmap progressively. Not supported on multi-threaded usage.
func (*PdfiumImplementation) FPDF_RenderPage_Close ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_RenderPage_Close(request *requests.FPDF_RenderPage_Close) (*responses.FPDF_RenderPage_Close, error)
FPDF_RenderPage_Close Release the resource allocate during page rendering. Need to be called after finishing rendering or cancel the rendering. Not supported on multi-threaded usage.
func (*PdfiumImplementation) FPDF_RenderPage_Continue ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_RenderPage_Continue(request *requests.FPDF_RenderPage_Continue) (*responses.FPDF_RenderPage_Continue, error)
FPDF_RenderPage_Continue continues rendering a PDF page. Not supported on multi-threaded usage.
func (*PdfiumImplementation) FPDF_SaveAsCopy ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_SaveAsCopy(request *requests.FPDF_SaveAsCopy) (*responses.FPDF_SaveAsCopy, error)
FPDF_SaveAsCopy saves the document to a copy.
func (*PdfiumImplementation) FPDF_SaveWithVersion ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_SaveWithVersion(request *requests.FPDF_SaveWithVersion) (*responses.FPDF_SaveWithVersion, error)
FPDF_SaveWithVersion save the document to a copy, with a specific file version.
func (*PdfiumImplementation) FPDF_SetFormFieldHighlightAlpha ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_SetFormFieldHighlightAlpha(request *requests.FPDF_SetFormFieldHighlightAlpha) (*responses.FPDF_SetFormFieldHighlightAlpha, error)
FPDF_SetFormFieldHighlightAlpha sets the transparency of the form field highlight color in the document.
func (*PdfiumImplementation) FPDF_SetFormFieldHighlightColor ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_SetFormFieldHighlightColor(request *requests.FPDF_SetFormFieldHighlightColor) (*responses.FPDF_SetFormFieldHighlightColor, error)
FPDF_SetFormFieldHighlightColor sets the highlight color of the specified (or all) form fields in the document.
func (*PdfiumImplementation) FPDF_SetPrintMode ¶ added in v0.8.0
func (p *PdfiumImplementation) FPDF_SetPrintMode(request *requests.FPDF_SetPrintMode) (*responses.FPDF_SetPrintMode, error)
FPDF_SetPrintMode sets printing mode when printing on Windows. Experimental API. Windows only!
func (*PdfiumImplementation) FPDF_SetSandBoxPolicy ¶ added in v0.5.0
func (p *PdfiumImplementation) FPDF_SetSandBoxPolicy(request *requests.FPDF_SetSandBoxPolicy) (*responses.FPDF_SetSandBoxPolicy, error)
FPDF_SetSandBoxPolicy set the policy for the sandbox environment.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetBlobValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetBlobValue(request *requests.FPDF_StructElement_Attr_GetBlobValue) (*responses.FPDF_StructElement_Attr_GetBlobValue, error)
FPDF_StructElement_Attr_GetBlobValue returns the value of a blob attribute in an attribute map by name as string. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetBooleanValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetBooleanValue(request *requests.FPDF_StructElement_Attr_GetBooleanValue) (*responses.FPDF_StructElement_Attr_GetBooleanValue, error)
FPDF_StructElement_Attr_GetBooleanValue returns the value of a boolean attribute in an attribute map by name as FPDF_BOOL. FPDF_StructElement_Attr_GetType() should have returned FPDF_OBJECT_BOOLEAN for this property. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetCount(request *requests.FPDF_StructElement_Attr_GetCount) (*responses.FPDF_StructElement_Attr_GetCount, error)
FPDF_StructElement_Attr_GetCount returns the number of attributes in a structure element attribute map. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetName ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetName(request *requests.FPDF_StructElement_Attr_GetName) (*responses.FPDF_StructElement_Attr_GetName, error)
FPDF_StructElement_Attr_GetName returns the name of an attribute in a structure element attribute map. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetNumberValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetNumberValue(request *requests.FPDF_StructElement_Attr_GetNumberValue) (*responses.FPDF_StructElement_Attr_GetNumberValue, error)
FPDF_StructElement_Attr_GetNumberValue returns the value of a number attribute in an attribute map by name as float. FPDF_StructElement_Attr_GetType() should have returned FPDF_OBJECT_NUMBER for this property. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetStringValue ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetStringValue(request *requests.FPDF_StructElement_Attr_GetStringValue) (*responses.FPDF_StructElement_Attr_GetStringValue, error)
FPDF_StructElement_Attr_GetStringValue returns the value of a string attribute in an attribute map by name as string. FPDF_StructElement_Attr_GetType() should have returned FPDF_OBJECT_STRING or FPDF_OBJECT_NAME for this property. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_Attr_GetType ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_Attr_GetType(request *requests.FPDF_StructElement_Attr_GetType) (*responses.FPDF_StructElement_Attr_GetType, error)
FPDF_StructElement_Attr_GetType returns the type of an attribute in a structure element attribute map. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_CountChildren ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_CountChildren(request *requests.FPDF_StructElement_CountChildren) (*responses.FPDF_StructElement_CountChildren, error)
FPDF_StructElement_CountChildren counts the number of children for the structure element.
func (*PdfiumImplementation) FPDF_StructElement_GetActualText ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetActualText(request *requests.FPDF_StructElement_GetActualText) (*responses.FPDF_StructElement_GetActualText, error)
FPDF_StructElement_GetActualText returns the actual text for a given element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetAltText ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetAltText(request *requests.FPDF_StructElement_GetAltText) (*responses.FPDF_StructElement_GetAltText, error)
FPDF_StructElement_GetAltText returns the alt text for a given element.
func (*PdfiumImplementation) FPDF_StructElement_GetAttributeAtIndex ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetAttributeAtIndex(request *requests.FPDF_StructElement_GetAttributeAtIndex) (*responses.FPDF_StructElement_GetAttributeAtIndex, error)
FPDF_StructElement_GetAttributeAtIndex returns an attribute object in the structure element. If the attribute object exists but is not a dict, then this function will return an error. This will also return an error for out of bounds indices. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetAttributeCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetAttributeCount(request *requests.FPDF_StructElement_GetAttributeCount) (*responses.FPDF_StructElement_GetAttributeCount, error)
FPDF_StructElement_GetAttributeCount returns the number of attributes for the structure element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetChildAtIndex ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetChildAtIndex(request *requests.FPDF_StructElement_GetChildAtIndex) (*responses.FPDF_StructElement_GetChildAtIndex, error)
FPDF_StructElement_GetChildAtIndex returns a child in the structure element. If the child exists but is not an element, then this function will return an error. This will also return an error for out of bounds indices.
func (*PdfiumImplementation) FPDF_StructElement_GetID ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetID(request *requests.FPDF_StructElement_GetID) (*responses.FPDF_StructElement_GetID, error)
FPDF_StructElement_GetID returns the ID for a given element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetLang ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetLang(request *requests.FPDF_StructElement_GetLang) (*responses.FPDF_StructElement_GetLang, error)
FPDF_StructElement_GetLang returns the case-insensitive IETF BCP 47 language code for an element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetMarkedContentID ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetMarkedContentID(request *requests.FPDF_StructElement_GetMarkedContentID) (*responses.FPDF_StructElement_GetMarkedContentID, error)
FPDF_StructElement_GetMarkedContentID returns the marked content ID for a given element.
func (*PdfiumImplementation) FPDF_StructElement_GetMarkedContentIdAtIndex ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetMarkedContentIdAtIndex(request *requests.FPDF_StructElement_GetMarkedContentIdAtIndex) (*responses.FPDF_StructElement_GetMarkedContentIdAtIndex, error)
FPDF_StructElement_GetMarkedContentIdAtIndex returns the marked content id at a given index for a given element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetMarkedContentIdCount ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetMarkedContentIdCount(request *requests.FPDF_StructElement_GetMarkedContentIdCount) (*responses.FPDF_StructElement_GetMarkedContentIdCount, error)
FPDF_StructElement_GetMarkedContentIdCount returns the count of marked content ids for a given element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetObjType ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetObjType(request *requests.FPDF_StructElement_GetObjType) (*responses.FPDF_StructElement_GetObjType, error)
FPDF_StructElement_GetObjType returns the object type (/Type) for a given element. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetParent ¶ added in v1.0.0
func (p *PdfiumImplementation) FPDF_StructElement_GetParent(request *requests.FPDF_StructElement_GetParent) (*responses.FPDF_StructElement_GetParent, error)
FPDF_StructElement_GetParent returns the parent of the structure element. If structure element is StructTreeRoot, then this function will return an error. Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetStringAttribute ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetStringAttribute(request *requests.FPDF_StructElement_GetStringAttribute) (*responses.FPDF_StructElement_GetStringAttribute, error)
FPDF_StructElement_GetStringAttribute returns a struct element attribute of type "name" or "string" Experimental API.
func (*PdfiumImplementation) FPDF_StructElement_GetTitle ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetTitle(request *requests.FPDF_StructElement_GetTitle) (*responses.FPDF_StructElement_GetTitle, error)
FPDF_StructElement_GetTitle returns the title (/T) for a given element.
func (*PdfiumImplementation) FPDF_StructElement_GetType ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructElement_GetType(request *requests.FPDF_StructElement_GetType) (*responses.FPDF_StructElement_GetType, error)
FPDF_StructElement_GetType returns the type (/S) for a given element.
func (*PdfiumImplementation) FPDF_StructTree_Close ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructTree_Close(request *requests.FPDF_StructTree_Close) (*responses.FPDF_StructTree_Close, error)
FPDF_StructTree_Close releases a resource allocated by FPDF_StructTree_GetForPage().
func (*PdfiumImplementation) FPDF_StructTree_CountChildren ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructTree_CountChildren(request *requests.FPDF_StructTree_CountChildren) (*responses.FPDF_StructTree_CountChildren, error)
FPDF_StructTree_CountChildren counts the number of children for the structure tree.
func (*PdfiumImplementation) FPDF_StructTree_GetChildAtIndex ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructTree_GetChildAtIndex(request *requests.FPDF_StructTree_GetChildAtIndex) (*responses.FPDF_StructTree_GetChildAtIndex, error)
FPDF_StructTree_GetChildAtIndex returns a child in the structure tree.
func (*PdfiumImplementation) FPDF_StructTree_GetForPage ¶ added in v0.9.0
func (p *PdfiumImplementation) FPDF_StructTree_GetForPage(request *requests.FPDF_StructTree_GetForPage) (*responses.FPDF_StructTree_GetForPage, error)
FPDF_StructTree_GetForPage returns the structure tree for a page.
func (*PdfiumImplementation) FPDF_VIEWERREF_GetDuplex ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetDuplex(request *requests.FPDF_VIEWERREF_GetDuplex) (*responses.FPDF_VIEWERREF_GetDuplex, error)
FPDF_VIEWERREF_GetDuplex returns the paper handling option to be used when printing from the print dialog.
func (*PdfiumImplementation) FPDF_VIEWERREF_GetName ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetName(request *requests.FPDF_VIEWERREF_GetName) (*responses.FPDF_VIEWERREF_GetName, error)
FPDF_VIEWERREF_GetName returns the contents for a viewer ref, with a given key. The value must be of type "name".
func (*PdfiumImplementation) FPDF_VIEWERREF_GetNumCopies ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetNumCopies(request *requests.FPDF_VIEWERREF_GetNumCopies) (*responses.FPDF_VIEWERREF_GetNumCopies, error)
FPDF_VIEWERREF_GetNumCopies returns the number of copies to be printed.
func (*PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRange ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRange(request *requests.FPDF_VIEWERREF_GetPrintPageRange) (*responses.FPDF_VIEWERREF_GetPrintPageRange, error)
FPDF_VIEWERREF_GetPrintPageRange returns the page numbers to initialize print dialog box when file is printed.
func (*PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRangeCount ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRangeCount(request *requests.FPDF_VIEWERREF_GetPrintPageRangeCount) (*responses.FPDF_VIEWERREF_GetPrintPageRangeCount, error)
FPDF_VIEWERREF_GetPrintPageRangeCount returns the number of elements in a FPDF_PAGERANGE. Experimental API.
func (*PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRangeElement ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintPageRangeElement(request *requests.FPDF_VIEWERREF_GetPrintPageRangeElement) (*responses.FPDF_VIEWERREF_GetPrintPageRangeElement, error)
FPDF_VIEWERREF_GetPrintPageRangeElement returns an element from a FPDF_PAGERANGE. Experimental API.
func (*PdfiumImplementation) FPDF_VIEWERREF_GetPrintScaling ¶ added in v0.7.0
func (p *PdfiumImplementation) FPDF_VIEWERREF_GetPrintScaling(request *requests.FPDF_VIEWERREF_GetPrintScaling) (*responses.FPDF_VIEWERREF_GetPrintScaling, error)
FPDF_VIEWERREF_GetPrintScaling returns whether the PDF document prefers to be scaled or not.
func (*PdfiumImplementation) FSDK_SetLocaltimeFunction ¶ added in v0.5.0
func (p *PdfiumImplementation) FSDK_SetLocaltimeFunction(request *requests.FSDK_SetLocaltimeFunction) (*responses.FSDK_SetLocaltimeFunction, error)
FSDK_SetLocaltimeFunction sets a replacement function for calls to localtime(). This API is intended to be used only for testing, thus may cause PDFium to behave poorly in production environments. Since callbacks can't be transferred between processes in gRPC, you can only use this in single-threaded mode.
func (*PdfiumImplementation) FSDK_SetTimeFunction ¶ added in v0.5.0
func (p *PdfiumImplementation) FSDK_SetTimeFunction(request *requests.FSDK_SetTimeFunction) (*responses.FSDK_SetTimeFunction, error)
FSDK_SetTimeFunction sets a replacement function for calls to time(). This API is intended to be used only for testing, thus may cause PDFium to behave poorly in production environments. Since callbacks can't be transferred between processes in gRPC, you can only use this in single-threaded mode.
func (*PdfiumImplementation) FSDK_SetUnSpObjProcessHandler ¶ added in v0.5.0
func (p *PdfiumImplementation) FSDK_SetUnSpObjProcessHandler(request *requests.FSDK_SetUnSpObjProcessHandler) (*responses.FSDK_SetUnSpObjProcessHandler, error)
FSDK_SetUnSpObjProcessHandler set ups an unsupported object handler. Since callbacks can't be transferred between processes in gRPC, you can only use this in single-threaded mode.
func (*PdfiumImplementation) GetActionInfo ¶ added in v0.5.0
func (p *PdfiumImplementation) GetActionInfo(request *requests.GetActionInfo) (*responses.GetActionInfo, error)
func (*PdfiumImplementation) GetAttachments ¶ added in v0.5.0
func (p *PdfiumImplementation) GetAttachments(request *requests.GetAttachments) (*responses.GetAttachments, error)
GetAttachments returns all the attachments of a document. Experimental API.
func (*PdfiumImplementation) GetBookmarks ¶ added in v0.5.0
func (p *PdfiumImplementation) GetBookmarks(request *requests.GetBookmarks) (*responses.GetBookmarks, error)
GetBookmarks returns all the bookmarks of a document.
func (*PdfiumImplementation) GetDestInfo ¶ added in v0.5.0
func (p *PdfiumImplementation) GetDestInfo(request *requests.GetDestInfo) (*responses.GetDestInfo, error)
func (*PdfiumImplementation) GetJavaScriptActions ¶ added in v0.5.0
func (p *PdfiumImplementation) GetJavaScriptActions(request *requests.GetJavaScriptActions) (*responses.GetJavaScriptActions, error)
GetJavaScriptActions returns all the JavaScript Actions of a document. Experimental API.
func (*PdfiumImplementation) GetMetaData ¶ added in v0.5.0
func (p *PdfiumImplementation) GetMetaData(request *requests.GetMetaData) (*responses.GetMetaData, error)
GetMetaData returns the metadata values of the document.
func (*PdfiumImplementation) GetPageSize ¶ added in v0.5.0
func (p *PdfiumImplementation) GetPageSize(request *requests.GetPageSize) (*responses.GetPageSize, error)
GetPageSize returns the page size in points One point is 1/72 inch (around 0.3528 mm)
func (*PdfiumImplementation) GetPageSizeInPixels ¶ added in v0.5.0
func (p *PdfiumImplementation) GetPageSizeInPixels(request *requests.GetPageSizeInPixels) (*responses.GetPageSizeInPixels, error)
GetPageSizeInPixels returns the pixel size of a page given the page number and the DPI.
func (*PdfiumImplementation) GetPageText ¶ added in v0.5.0
func (p *PdfiumImplementation) GetPageText(request *requests.GetPageText) (*responses.GetPageText, error)
GetPageText returns the text of a page
func (*PdfiumImplementation) GetPageTextStructured ¶ added in v0.5.0
func (p *PdfiumImplementation) GetPageTextStructured(request *requests.GetPageTextStructured) (*responses.GetPageTextStructured, error)
GetPageTextStructured returns the text of a page in a structured way
func (*PdfiumImplementation) Lock ¶ added in v0.5.0
func (p *PdfiumImplementation) Lock()
func (*PdfiumImplementation) OpenDocument ¶ added in v0.5.0
func (p *PdfiumImplementation) OpenDocument(request *requests.OpenDocument) (*responses.OpenDocument, error)
func (*PdfiumImplementation) Ping ¶ added in v0.5.0
func (p *PdfiumImplementation) Ping() (string, error)
func (*PdfiumImplementation) RenderPageInDPI ¶ added in v0.5.0
func (p *PdfiumImplementation) RenderPageInDPI(request *requests.RenderPageInDPI) (*responses.RenderPageInDPI, error)
RenderPageInDPI renders a specific page in a specific dpi, the result is an image.
func (*PdfiumImplementation) RenderPageInPixels ¶ added in v0.5.0
func (p *PdfiumImplementation) RenderPageInPixels(request *requests.RenderPageInPixels) (*responses.RenderPageInPixels, error)
RenderPageInPixels renders a specific page in a specific pixel size, the result is an image. The given resolution is a maximum, we automatically calculate either the width or the height to make sure it stays withing the maximum resolution.
func (*PdfiumImplementation) RenderPagesInDPI ¶ added in v0.5.0
func (p *PdfiumImplementation) RenderPagesInDPI(request *requests.RenderPagesInDPI) (*responses.RenderPagesInDPI, error)
RenderPagesInDPI renders a list of pages in a specific dpi, the result is an image.
func (*PdfiumImplementation) RenderPagesInPixels ¶ added in v0.5.0
func (p *PdfiumImplementation) RenderPagesInPixels(request *requests.RenderPagesInPixels) (*responses.RenderPagesInPixels, error)
RenderPagesInPixels renders a list of pages in a specific pixel size, the result is an image. The given resolution is a maximum, we automatically calculate either the width or the height to make sure it stays withing the maximum resolution.
func (*PdfiumImplementation) RenderToFile ¶ added in v0.5.0
func (p *PdfiumImplementation) RenderToFile(request *requests.RenderToFile) (*responses.RenderToFile, error)
func (*PdfiumImplementation) Unlock ¶ added in v0.5.0
func (p *PdfiumImplementation) Unlock()
type SchHandleHandle ¶ added in v0.5.0
type SchHandleHandle struct {
// contains filtered or unexported fields
}
type SearchHandle ¶ added in v0.5.0
type SearchHandle struct {
// contains filtered or unexported fields
}
type SignatureHandle ¶ added in v0.5.0
type SignatureHandle struct {
// contains filtered or unexported fields
}
type StructElementAttributeHandle ¶ added in v1.0.0
type StructElementAttributeHandle struct {
// contains filtered or unexported fields
}
type StructElementHandle ¶ added in v0.9.0
type StructElementHandle struct {
// contains filtered or unexported fields
}
type StructTreeHandle ¶ added in v0.9.0
type StructTreeHandle struct {
// contains filtered or unexported fields
}
type TextPageHandle ¶ added in v0.5.0
type TextPageHandle struct {
// contains filtered or unexported fields
}
type XObjectHandle ¶ added in v0.5.0
type XObjectHandle struct {
// contains filtered or unexported fields
}
Source Files
¶
- action.go
- annotation.go
- attachment.go
- bitmap.go
- bookmark.go
- bytes_reader_closer.go
- clip_path.go
- data_avail.go
- dest.go
- document.go
- font.go
- form_handle.go
- fpdf_annot_no_experimental.go
- fpdf_attachment_no_experimental.go
- fpdf_catalog_no_experimental.go
- fpdf_dataavail.go
- fpdf_doc.go
- fpdf_doc_no_experimental.go
- fpdf_edit.go
- fpdf_edit_no_experimental.go
- fpdf_ext.go
- fpdf_flatten.go
- fpdf_formfill.go
- fpdf_formfill_no_experimental.go
- fpdf_javascript_no_experimental.go
- fpdf_ppo.go
- fpdf_ppo_no_experimental.go
- fpdf_progressive.go
- fpdf_progressive_no_experimental.go
- fpdf_save.go
- fpdf_searchex.go
- fpdf_signature_no_experimental.go
- fpdf_structtree.go
- fpdf_structtree_no_experimental.go
- fpdf_text.go
- fpdf_text_no_experimental.go
- fpdf_thumbnail_no_experimental.go
- fpdf_transformpage.go
- fpdf_transformpage_no_experimental.go
- fpdfview.go
- fpdfview_no_experimental.go
- fpdfview_no_win32.go
- glyph_path.go
- handles.go
- implementation.go
- javascript_action.go
- link.go
- metadata.go
- page.go
- page_object.go
- page_object_mark.go
- pagerange.go
- path_segment.go
- plugin.go
- render.go
- search.go
- signature.go
- struct_tree.go
- struct_tree_no_experimental.go
- text.go
- text_no_experimental.go